What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Support Bracket/Tournament List colour problems.

Clement

Freaky Coder
Staff member
I can't see your pages.

On xF1 version you have to edit the xfa_tourn_bracket.css template.

Clément
 

Hecter

Member
I deleted it because it was a complete mess, couldn't see bracket scores, round robin scores or anything. Tried editing through bracket css but its all attached to the main theme colours as well.
 

Clement

Freaky Coder
Staff member
You deleted the template ??? That's not recommended.

Anyways, the style tag for the css code should be:
div.jQBracket .team div.label
 

Hecter

Member
No I deleted the full addon, I updated the div.label but that only updates brackets and not round robin for example.
 

Hecter

Member
I basically need to know specifically where and what to edit to get these to change, on one you cannot see the text, and the other we can barely see the text but cannot change the background colour, we would like the background colour to match the actual forums and the team names in yellow to match the theme.
 

Hecter

Member
Just to update we fixed the round robin colours but we cannot see the text on the bracket: https://fifaesport.net/forum/tournaments/blah.3/

I can change the background colour but still no text shows.

0e36771bd33c793a79dee149cd924e22-png.jpg


As you can see no team text exists? Its also the same in a single user bracket with no text appearing for username within the bracket.

How do we fix this, this is a completely fresh install.
 
Last edited:

Clement

Freaky Coder
Staff member
That file doesn't exist?

And I still have the issue with the actual bracket even despite me editing the div.jQBracket .team div.label

Have a look for yourself: https://fifaesport.net/forum/tournaments/test-bracket.2/

https://fifaesport.net/forum/tournaments/blah.3/

As I said your pages are not viewable for guests so can't tell.

I basically need to know specifically where and what to edit to get these to change, on one you cannot see the text, and the other we can barely see the text but cannot change the background colour, we would like the background colour to match the actual forums and the team names in yellow to match the theme.

Just to update we fixed the round robin colours but we cannot see the text on the bracket: https://fifaesport.net/forum/tournaments/blah.3/

I can change the background colour but still no text shows.

0e36771bd33c793a79dee149cd924e22-png.jpg


As you can see no team text exists? Its also the same in a single user bracket with no text appearing for username within the bracket.

How do we fix this, this is a completely fresh install.

Hard to say as I can't see your pages.

Anyways, for the team label for team that win the parent div has class team and win, the label itself has the class label.
For the team that loss the parent div has class team and lose, the label itself has the class label.
 

Hecter

Member
As I said your pages are not viewable for guests so can't tell.





Hard to say as I can't see your pages.

Anyways, for the team label for team that win the parent div has class team and win, the label itself has the class label.
For the team that loss the parent div has class team and lose, the label itself has the class label.

Its literally not showing the text for team, anyway I have set an account for you to have a look here are the details.

username: testaccount
password: xenfactory
 

Clement

Freaky Coder
Staff member
Hum indeed that's very strange, and not an issue of css.
Data is just not there.

It's a roster based tournament right ?
Could you please send me an export of your xfa_tourn_bracket database table ?
 

Hecter

Member
Hum indeed that's very strange, and not an issue of css.
Data is just not there.

It's a roster based tournament right ?
Could you please send me an export of your xfa_tourn_bracket database table ?

Its happening in roster bracket and also single player bracket we tested both, round robin is perfectly fine. Here is a test single player bracket again no entries despite there being scores added and winners no text displays: https://fifaesport.net/forum/tournaments/test-1v1.4/


Code:
-- phpMyAdmin SQL Dump
-- version 4.7.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Aug 06, 2018 at 03:43 PM
-- Server version: 5.7.23
-- PHP Version: 5.6.30

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `fifaespo_forum`
--

-- --------------------------------------------------------

--
-- Table structure for table `xfa_tourn_bracket`
--

CREATE TABLE `xfa_tourn_bracket` (
  `bracket_id` int(10) UNSIGNED NOT NULL,
  `tournament_id` int(10) UNSIGNED NOT NULL,
  `bracket` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `xfa_tourn_bracket`
--

INSERT INTO `xfa_tourn_bracket` (`bracket_id`, `tournament_id`, `bracket`) VALUES
(2, 3, '{\"teams\":[[\"3\",\"2\"],[\"4\",\"1\"]],\"results\":[[[[\"2\",\"1\"],[\"2\",\"1\"]],[[\"2\",\"3\"]]]]}'),
(3, 2, '{\"teams\":[{\"id\":\"0\",\"pid\":\"7\",\"name\":\"Creed\",\"w\":0,\"l\":0,\"t\":0,\"p\":0,\"rW\":0,\"rL\":0,\"r\":0},{\"id\":\"1\",\"pid\":\"8\",\"name\":\"Fenix\",\"w\":0,\"l\":0,\"t\":0,\"p\":0,\"rW\":0,\"rL\":0,\"r\":0},{\"id\":\"2\",\"pid\":\"6\",\"name\":\"Unity\",\"w\":0,\"l\":0,\"t\":0,\"p\":0,\"rW\":0,\"rL\":0,\"r\":0},{\"id\":\"3\",\"pid\":\"5\",\"name\":\"The WonderKiids\",\"w\":0,\"l\":0,\"t\":0,\"p\":0,\"rW\":0,\"rL\":0,\"r\":0}],\"matches\":[{\"a\":{\"team\":0,\"score\":null},\"b\":{\"team\":1,\"score\":null},\"round\":3},{\"a\":{\"team\":0,\"score\":null},\"b\":{\"team\":2,\"score\":null},\"round\":1},{\"a\":{\"team\":1,\"score\":null},\"b\":{\"team\":2,\"score\":null},\"round\":2},{\"a\":{\"team\":0,\"score\":null},\"b\":{\"team\":3,\"score\":null},\"round\":2},{\"a\":{\"team\":1,\"score\":null},\"b\":{\"team\":3,\"score\":null},\"round\":1},{\"a\":{\"team\":2,\"score\":null},\"b\":{\"team\":3,\"score\":null},\"round\":3}]}'),
(4, 4, '{\"teams\":[[\"10\",\"9\"]],\"results\":[[[[\"1\",\"0\"]]]]}');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `xfa_tourn_bracket`
--
ALTER TABLE `xfa_tourn_bracket`
  ADD PRIMARY KEY (`bracket_id`),
  ADD KEY `tournament` (`tournament_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `xfa_tourn_bracket`
--
ALTER TABLE `xfa_tourn_bracket`
  MODIFY `bracket_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

On another note how do I stop tournament wins being added for selected tournaments?
 

Clement

Freaky Coder
Staff member
The brackets for tournaments with ids 3 and 4 are incorrect.
The team names are missing here, no idea why though, they were created with latest tournament version ?

Regarding the question at the end of your message, I am not sure to understand.
 

Hecter

Member
The brackets for tournaments with ids 3 and 4 are incorrect.
The team names are missing here, no idea why though, they were created with latest tournament version ?

Regarding the question at the end of your message, I am not sure to understand.

They were created using [XFA] Tournament 2.7.0 using a nice fresh clean install.

On the part you do not understand, when someone wins a round robin for example it goes through as a tournament win, however because I need to do groups into knockouts I would have 8 round robins (groups) and then a bracket for the final 16 teams, so I cannot have 8 teams being crowned with tournament wins before the tournament is even over.
 

Clement

Freaky Coder
Staff member
They were created using [XFA] Tournament 2.7.0 using a nice fresh clean install.

How was bracket generated ? Manually or automatically ?

Scores were input when generating the bracket ?

On the part you do not understand, when someone wins a round robin for example it goes through as a tournament win, however because I need to do groups into knockouts I would have 8 round robins (groups) and then a bracket for the final 16 teams, so I cannot have 8 teams being crowned with tournament wins before the tournament is even over.

Ohhhhh I understand, well you can't avoid that as of the current code.
 

Clement

Freaky Coder
Staff member
Could you please try to do a manual generation ?
See if you have the same behavior.
 
Top