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)

bananalive 03-28-2014 08:55 PM

1 Attachment(s)
Quote:

Originally Posted by ReMarkable1991 (Post 2489013)
Not sure what you meant by this, however when I upload that xml file in products it doesn't change anything in match finder. It still only shows the name =$

See attached screenshot

Email me about the other query

ReMarkable1991 03-28-2014 09:06 PM

Quote:

Originally Posted by bananalive (Post 2490119)
See attached screenshot

Email me about the other query

Allright so that is for life match finder in premium right? Still not sure what else is different. Will contact you about the other!

Another question, if I go to host.org/teams.php and other .php pages like tournament etc. it stops showing the sub navigation for competition(with Teams / Ladders / Help / Tournaments) but shows forums with New Posts / FAQ / Community etc. is there a way to fix it?

bananalive 03-29-2014 01:59 PM

Quote:

Originally Posted by ReMarkable1991 (Post 2490120)
Allright so that is for life match finder in premium right? Still not sure what else is different. Will contact you about the other!

Another question, if I go to host.org/teams.php and other .php pages like tournament etc. it stops showing the sub navigation for competition(with Teams / Ladders / Help / Tournaments) but shows forums with New Posts / FAQ / Community etc. is there a way to fix it?

Have you enabled in settings:

Vbulletin options -> competition settings -> general settings -> navbar link -> yes

ReMarkable1991 03-29-2014 02:17 PM

Quote:

Originally Posted by bananalive (Post 2490227)
Have you enabled in settings:

Vbulletin options -> competition settings -> general settings -> navbar link -> yes

Yes, that isn't the problem it does show them but it doesn't keep showing them when I for example go to teams.php.

I found a fix but it only works for some pages. If I go to navigation manager then to the competition part. It gives a line called Tab Script(s) : by default only competitions was there.

When I add teams.php or ladders.php it keeps showing the sub navbar when I switch page. However I can only put in like 20 characters in. If I save with lets say 22 it shortens it with 2 once I safe it.

Another problem with this is that it only works with default pages made by you. If I for example put in the name of my chat program (the define name in php file) it keeps showing up forum sub nav bar.

bananalive 03-31-2014 08:01 PM

Quote:

Originally Posted by ReMarkable1991 (Post 2490230)
Yes, that isn't the problem it does show them but it doesn't keep showing them when I for example go to teams.php.

I found a fix but it only works for some pages. If I go to navigation manager then to the competition part. It gives a line called Tab Script(s) : by default only competitions was there.

When I add teams.php or ladders.php it keeps showing the sub navbar when I switch page. However I can only put in like 20 characters in. If I save with lets say 22 it shortens it with 2 once I safe it.

Another problem with this is that it only works with default pages made by you. If I for example put in the name of my chat program (the define name in php file) it keeps showing up forum sub nav bar.

vbulletin has maximum field size for that, for additional page names you need to edit plugin 'Tournament and Ladder Tab'

ReMarkable1991 03-31-2014 08:34 PM

I see this line there :

Code:

if (THIS_SCRIPT === competitions OR THIS_SCRIPT === ladders OR THIS_SCRIPT === tournaments OR THIS_SCRIPT === tll_credits OR THIS_SCRIPT === tll_tickets OR THIS_SCRIPT === teams OR THIS_SCRIPT === kings)
I need to add a

Code:

OR THIS_SCRIPT === chat
in between (hooks)

the name for chat can be found as define as in the products php right?

Will try it some more 2morrow, however how comes ladders or tournaments.php pages don't see the competitions sub nav bar when they are allready in that line?

Making Tab Scripts empty or only competitions doesn't work either.

ReMarkable1991 04-01-2014 07:07 AM

I have tried some stuff with it now, it seemed https://vborg.vbsupport.ru/showthread.php?t=283123 bugged my navbar.

disabling this product made teams.php/tournaments.php etc. show the subnavbar again. However for my chatbox this is not the case.

By adding it to tab scripts it does only show Teams, Help, Rules, and itself Full Screen Chat so ladders/tournaments/new are missing.

I tried adding the lane as I suggested above and it now looks like :
Code:

if ($vbulletin->options['tmnt_navbar'] && $vbulletin->options['simpleversion'] < 4200)
{
if (THIS_SCRIPT === competitions OR THIS_SCRIPT === ladders OR THIS_SCRIPT === tournaments OR THIS_SCRIPT === tll_credits OR THIS_SCRIPT === tll_tickets OR THIS_SCRIPT === teams OR THIS_SCRIPT === kings OR THIS_SCRIPT === mgc_cb_evo)
{
        $vbulletin->options['selectednavtab'] = 'competitions';
}
$template_hook['navtab_middle'] .= vB_Template::create('tmnt_navbar')->render();
}
if ($vbulletin->options['tmnt_quicklinks'])
{
        $template_hook['navbar_quick_links_menu_pos4'] .= '<li><a href="competitions.php">'.$vbulletin->options['tmnt_modname'].'</a></li>';
}

I have also found another plugin named set_navigation_tab and it now looks like

Code:

if (in_array(THIS_SCRIPT, array('tournaments','teams','tll_tickets','tll_credits','kings','leagues','cstats','mgc_cb_evo') ))
{
  foreach ($tabs AS $tbid => $tbinfo)
  {
    if ($tbinfo['url'] == 'competitions.php')
    {
      $tabid = $tbinfo['root'];
    }
  }
}

not sure if any other plugins need edits?

Bestrafung 04-04-2014 01:55 PM

I have the premium version installed but haven't heard back from the developer yet so I'm hoping someone can point me in the correct direction. I have a strange issue with pagination links below the ladder including the script name twice and breaking the links. Instead of:
/ladders.php?l10-name&page=2
I get:
/ladders.phpladders.php?l10-name&page=2

Has anyone else had this problem or know how to resolve it? It only seems to affect the ladder pagination links.

UPDATE: Seems there was an issue with the ladders.php, developer sent the newest copy and all is well again. Thanks again Bananalive.

Bluefin221 04-25-2014 08:07 AM

Very random issue started happening to me last night, profiles went on the blink and I couldn't figure out what was wrong, database error emails were piling up but I couldn't access them as they were 24mb for each email and freezing my email. Anyway finally accessed the error which is related to the competitions module and profiles.

I get the following error, mind this is chopped as its 24mb worth of text I'm receiving through email seems just an infinite wall of text.

Code:

Database error in vBulletin 4.2.2:

Invalid SQL:

                        REPLACE INTO datastore
                                (title, data, unserialize)
                        VALUES
                                ('tll_data', 'a:16845:{i:0;a:12:{s:7:\"matches\";s:1:\"0\";s:12:\"matches_draw\";s:1:\"0\";s:13:\"matches_unfin\";s:1:\"0\";s:11:\"matches_won\";s:1:\"0\";s:12:\"matches_lost\";i:0;s:11:\"matches_acc\";s:1:\"0\";s:11:\"matches_rej\";s:1:\"0\";s:14:\"matches_accper\";d:0;s:12:\"ladder_joins\";s:1:\"0\";s:10:\"tmnt_joins\";s:1:\"0\";s:9:\"tmnt_wins\";s:1:\"0\";s:8:\"dateline\";i:1395511670;}i:1;a:12:{s:7:\"matches\";s:1:\"0\";s:12:\"matches_draw\";s:1:\"0\";s:13:\"matches_unfin\";s:1:\"0\";s:11:\"matches_won\";s:1:\"0\";s:12:\"matches_lost\";i:0;s:11:\"matches_acc\";s:1:\"0\";s:11:\"matches_rej\";s:1:\"0\";s:14:\"matches_accper\";d:0;s:12:\"ladder_joins\";s:1:\"0\";s:10:\"tmnt_joins\";s:1:\"


bananalive 04-26-2014 08:55 AM

Quote:

Originally Posted by Bluefin221 (Post 2494609)
Very random issue started happening to me last night, profiles went on the blink and I couldn't figure out what was wrong, database error emails were piling up but I couldn't access them as they were 24mb for each email and freezing my email. Anyway finally accessed the error which is related to the competitions module and profiles.

I get the following error, mind this is chopped as its 24mb worth of text I'm receiving through email seems just an infinite wall of text.

Code:

Database error in vBulletin 4.2.2:

Invalid SQL:

                        REPLACE INTO datastore
                                (title, data, unserialize)
                        VALUES
                                ('tll_data', 'a:16845:{i:0;a:12:{s:7:\"matches\";s:1:\"0\";s:12:\"matches_draw\";s:1:\"0\";s:13:\"matches_unfin\";s:1:\"0\";s:11:\"matches_won\";s:1:\"0\";s:12:\"matches_lost\";i:0;s:11:\"matches_acc\";s:1:\"0\";s:11:\"matches_rej\";s:1:\"0\";s:14:\"matches_accper\";d:0;s:12:\"ladder_joins\";s:1:\"0\";s:10:\"tmnt_joins\";s:1:\"0\";s:9:\"tmnt_wins\";s:1:\"0\";s:8:\"dateline\";i:1395511670;}i:1;a:12:{s:7:\"matches\";s:1:\"0\";s:12:\"matches_draw\";s:1:\"0\";s:13:\"matches_unfin\";s:1:\"0\";s:11:\"matches_won\";s:1:\"0\";s:12:\"matches_lost\";i:0;s:11:\"matches_acc\";s:1:\"0\";s:11:\"matches_rej\";s:1:\"0\";s:14:\"matches_accper\";d:0;s:12:\"ladder_joins\";s:1:\"0\";s:10:\"tmnt_joins\";s:1:\"


What version are you running?

Do you want to forward one of the emails onto me?


All times are GMT. The time now is 04:43 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.03392 seconds
  • Memory Usage 1,769KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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