vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Tournaments, Ladders & Leagues Manager v4.x (https://vborg.vbsupport.ru/showthread.php?t=238945)

Twiddler 04-11-2011 10:59 AM

Quote:

Originally Posted by bananalive (Post 2183161)
I can't replicate this. Have you modified any of the templates?

No, this just happened once I upgraded from 4.3.6. I have usergroup permissions set to not see ladders (since we are only running tournaments) and normally it would just expand to take the place of Ladders.

PcGamer 04-11-2011 11:10 AM

Quote:

Originally Posted by bananalive (Post 2183335)
Template tmnt_ladder_cmpt_top line 3
HTML Code:

<a name="group{vb:raw ladder.thisgroup}"></a><vb:if condition="$ladder['groupnames']["$c_idx"]">{vb:raw ladder.groupnames.{vb:raw c_idx}}<vb:else />{vb:rawphrase ladder_league_group_x, {vb:raw ladder.thisgroup}}</vb:if>
Replace with
HTML Code:

<a name="group{vb:raw ladder.thisgroup}"></a><vb:if condition="$ladder['groupnames'][$c_idx]">{vb:raw ladder.groupnames.{vb:raw c_idx}}<vb:else />{vb:rawphrase ladder_league_group_x, {vb:raw ladder.thisgroup}}</vb:if>
Some servers don't like the $ladder['groupnames']["$c_idx"], but want $ladder['groupnames'][$c_idx]

Thank you!
Fixed :)

bananalive 04-11-2011 11:21 AM

1 Attachment(s)
Quote:

Originally Posted by Twiddler (Post 2183337)
No, this just happened once I upgraded from 4.3.6. I have usergroup permissions set to not see ladders (since we are only running tournaments) and normally it would just expand to take the place of Ladders.

Import attached file

EasyEazy 04-11-2011 12:26 PM

Great work again mate. Got the following error when I upgraded from 4.3.6 as well

Cheers

bananalive 04-11-2011 12:53 PM

Quote:

Originally Posted by EasyEazy (Post 2183369)
Great work again mate. Got the following error when I upgraded from 4.3.6 as well

Parse error: syntax error, unexpected ')', expecting ']' in /home/absolute/public_html/forums/includes/class_core.php(4437) : eval()'d code on line 5

Cheers

Have you tried...
https://vborg.vbsupport.ru/showthrea...35#post2183335

EasyEazy 04-11-2011 01:29 PM

Quote:

Originally Posted by bananalive (Post 2183378)

My code is the following... Does it make a difference mate?

<a name="group1"></a><vb:if condition="$ladder['groupnames']["$c_idx"]">{vb:raw ladder.groupnames.{vb:raw c_idx}}<vb:else />{vb:rawphrase ladder_league_group_x, {vb:raw ladder.thisgroup}}</vb:if>


Also the number of ladders and tournaments has disappeared from next to each one when you go to competitions.php page.

https://vborg.vbsupport.ru/external/2011/04/44.jpg


And also the information on my ladder is not showing but still showing up on tournaments

https://vborg.vbsupport.ru/external/2011/04/43.jpg

bananalive 04-11-2011 01:58 PM

Quote:

Originally Posted by EasyEazy (Post 2183416)
My code is the following... Does it make a difference mate?

<a name="group1"></a><vb:if condition="$ladder['groupnames']["$c_idx"]">{vb:raw ladder.groupnames.{vb:raw c_idx}}<vb:else />{vb:rawphrase ladder_league_group_x, {vb:raw ladder.thisgroup}}</vb:if>


Also the number of ladders and tournaments has disappeared from next to each one when you go to competitions.php page.

https://vborg.vbsupport.ru/external/2011/04/44.jpg

$ladder['groupnames']["$c_idx"] should be $ladder['groupnames'][$c_idx] otherwise is breaks the condition

Go to http://www.yoursite.com/forums/compe...=rebuildcaches

Twiddler 04-11-2011 02:35 PM

Quote:

Originally Posted by bananalive (Post 2183345)
Import attached file

Fixed. Thanks a lot.

EasyEazy 04-11-2011 02:38 PM

Quote:

Originally Posted by EasyEazy (Post 2183416)

And also the information on my ladder is not showing but still showing up on tournaments

https://vborg.vbsupport.ru/external/2011/04/43.jpg

Any update on this then mate. The above worked a treat by the way

EasyEazy 04-11-2011 02:41 PM

Im sorry its now in the description tab.

Great work and thanks for your help mate.

I know its been said before but this is THE best mod available for vBulletin. The praise in here is just not enough for how good this actually is.


All times are GMT. The time now is 04:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02929 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete