dave101
Forum Replies Created
-
Forum: Plugins
In reply to: [Football Pool] Used only show football resultsThank you!
Forum: Plugins
In reply to: [Football Pool] User AvatarThank you! excelent!
Forum: Plugins
In reply to: [Football Pool] Add Flags to Groups TableMy contribution will add the following to the code:
add_filter ('footballpool_group_table_start_template', array (__CLASS__, 'change_group_start_template'), null, 2); public static function change_group_start_template ($ template_start, $ layout) { $ template_start = '<div class = "ranking group-ranking -'. $ layout. '% css_class%"> <h2>% group_name% </ h2> <table class = "ranking group-ranking"> <thead> '; if ($ layout == 'wide') { $ template_start. = '<tr> <th class = "team"> Teams </ th> <th class = "wins"> <span title = "Played"> JUG </ span> </ th> <th class = "wins"> <span title = "% wins_expl%">% wins_thead% </ span> </ th> <th class = "draws"> <span title = "% draws_expl%">% draws_thead% </ span> </ th> <th class = "losses"> <span title = "% losses_expl%">% losses_thead% </ span> </ th> <th class = "wins"> <span title = "points"> PTS </ span> </ th> <th class = "goals"> <span title = "Goals for and find"> GF-GC </ span> </ th> </ tr> </ thead> <tbody> '; } return $ template_start; }Thanks, and I hope another user can use it.
Forum: Plugins
In reply to: [Football Pool] Add Flags to Groups TableExcellent AntoineH extension, but I wanted to rename the headers of the table that would be this one:
$ template_start. = '<tr> <th class = "team"> Teams </ th> <th class = "plays"> Games </ th> <th class = "wins"> <span title = "% wins_expl%">% wins_thead% </ span> </ th> <th class = "draws"> <span title = "% draws_expl%">% draws_thead% </ span> </ th> <th class = "losses"> <span title = "% losses_expl%">% losses_thead% </ span> </ th> <th class = "points"> Point </ th> <th class = "goals"> Dif. </ th> </ tr> </ thead> <tbody> ';But he does not show it to me. Would you help me?
Thank you so much!Forum: Plugins
In reply to: [Football Pool] Add bonus question to Ranking PageExcelent!!!!!! Thank you!!!
Forum: Plugins
In reply to: [Football Pool] Prediction Countdownthank you Antoine
Forum: Plugins
In reply to: [Football Pool] Display the flagsI’ll try AntoineH, Thanks
Forum: Plugins
In reply to: [Football Pool] AvatarsOk. Thank you!
Forum: Plugins
In reply to: [Football Pool] AvatarsNow find the solution!
you have to go to define.php in the line:
“if (! defined (‘FOOTBALLPOOL_NO_AVATAR’)) define (‘FOOTBALLPOOL_NO_AVATAR’, true); // set to false if you want to show avatars in the ranking”
and where it says “true” put “false”
I leave this doubt in case anyone does not know.Very good plugin.
Forum: Plugins
In reply to: [Football Pool] Extension plugins for the plugin (using hooks)Excellent Shortcode [php-scores]
I wonder if instead of putting the names of the teams, you can put the flag? I code exchange.
Thank you so muchForum: Plugins
In reply to: [Football Pool] Show the successes (toto) rankingWhich is the variable showing that data?
Forum: Plugins
In reply to: [Football Pool] Show the successes (toto) rankingAll right! thank you very much
Another query?
And as I show the total of the full result of each user in the ranking table?Thank you very much!