• 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.

Hecter

Member
Joined
Jan 16, 2016
Messages
79

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
I can't see your pages.

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

Clément
 

Hecter

Member
Joined
Jan 16, 2016
Messages
79
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.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
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
Joined
Jan 16, 2016
Messages
79
No I deleted the full addon, I updated the div.label but that only updates brackets and not round robin for example.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
Because round robin is based off another css template, xfa_tourn_champ.css.
 

Hecter

Member
Joined
Jan 16, 2016
Messages
79
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
Joined
Jan 16, 2016
Messages
79
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.



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:

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
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.



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
Joined
Jan 16, 2016
Messages
79
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
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
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
Joined
Jan 16, 2016
Messages
79
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?
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
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
Joined
Jan 16, 2016
Messages
79
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.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
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.
 

Hecter

Member
Joined
Jan 16, 2016
Messages
79
How was bracket generated ? Manually or automatically ?

Scores were input when generating the bracket ?
Everything has been done automatically, scores were input after bracket generation.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
Could you please try to do a manual generation ?
See if you have the same behavior.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
Ah that's the manual generation.
By automated I meant through the cron task.