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)

JacquiiDesigns 10-29-2013 10:39 PM

Quote:

Originally Posted by Bestrafung (Post 2457110)
PHP5.4 changed error reporting a little. VB used to only report errors and not warnings, the way PHP error reporting changed now all warnings are reported. There's an option buried in the options for VB4.2.2 to enable PHP compatibility mode. Do that and everything works again. You can check out the post on the vbulletin.com forum for more info. I want to thank bananalive for helping me troubleshoot and attempt to patch the issue. If I'd done some reading on the official forums sooner I'd have seen it was an issue with VB and not the mod.

Thank you so much for the links and the advice.
I think I've got the issue sorted now! Have a great night ;)

J.

bananalive 11-03-2013 01:57 PM

Quote:

Originally Posted by MundoGT (Post 2456836)
Hi I have a problem...

After following the instructions, in AdminCP i only see this: https://vborg.vbsupport.ru/external/2013/11/58.png

In user Groups / Edit permissions i can't find anything.

Have you imported the product file?

bananalive 11-03-2013 02:14 PM

Quote:

Originally Posted by betts02 (Post 2456643)
Quote:

Originally Posted by betts02 (Post 2407641)
Also how you you change the position of the columns for wins.loss,etc

Current position:

PYD, PD, W, D, L, F, A, STR, XP

When in most leagues and what i want, It should be:

PYD, W, D, L, F, A, PD, STR, XP

Still looking for an update on this when possible please

I tried your earlier template fixes but nothing worked

Cheers


Find in template tmnt_ladder_cmpt
Code:

<vb:if condition="in_array('matches', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.matches}</td>
                </vb:if>
                <vb:if condition="in_array('points', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}"><vb:if condition="$ladder['pos_points']">{vb:raw cmpt.points}<vb:else />{vb:raw cmpt.totalpoints}:{vb:raw cmpt.pointsagainst}</vb:if></td>
                </vb:if>
                <vb:if condition="in_array('pointsdifference', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsdifference}</td>
                </vb:if>

                <vb:if condition="in_array('wins', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.wins}</td>
                </vb:if>
                <vb:if condition="in_array('draws', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.draws}</td>
                </vb:if>
                <vb:if condition="in_array('losses', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.loses}</td>
                </vb:if>
                <vb:if condition="in_array('totalpoints', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.totalpoints}</td>
                </vb:if>
                <vb:if condition="in_array('pointsagainst', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsagainst}</td>
                </vb:if>
                <vb:if condition="in_array('streak', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw streak}</td>
                </vb:if>
                <vb:if condition="in_array('xp', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell;<vb:if condition="!$vboptions['tmnt_elorating']"> font-weight: bold;</vb:if> {vb:raw cmpt.css}">{vb:raw cmpt.xp}</td>
                </vb:if>

Replace with

Code:

<vb:if condition="in_array('matches', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.matches}</td>
                </vb:if>
                <vb:if condition="in_array('points', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}"><vb:if condition="$ladder['pos_points']">{vb:raw cmpt.points}<vb:else />{vb:raw cmpt.totalpoints}:{vb:raw cmpt.pointsagainst}</vb:if></td>
                </vb:if>
                <vb:if condition="in_array('wins', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.wins}</td>
                </vb:if>
                <vb:if condition="in_array('draws', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.draws}</td>
                </vb:if>
                <vb:if condition="in_array('losses', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.loses}</td>
                </vb:if>
                <vb:if condition="in_array('totalpoints', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.totalpoints}</td>
                </vb:if>
                <vb:if condition="in_array('pointsagainst', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsagainst}</td>
                </vb:if>
                <vb:if condition="in_array('pointsdifference', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsdifference}</td>
                </vb:if>

                <vb:if condition="in_array('streak', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw streak}</td>
                </vb:if>
                <vb:if condition="in_array('xp', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell;<vb:if condition="!$vboptions['tmnt_elorating']"> font-weight: bold;</vb:if> {vb:raw cmpt.css}">{vb:raw cmpt.xp}</td>
                </vb:if>


ZiG 11-05-2013 09:21 AM

I have a question for Banana... as I did a bit of searching and couldn't really seem to find the answer.

I'm attempting to create a league for a specific online video-game, in which the game would be played similar to a football season. Teams would be separated into specific divisions, a regular season of a determined amount of games would be played, and than it would lead into a playoff bracket. Is this possible with this script?

Yunus DOGU 11-05-2013 03:22 PM

thank you , nice plugin...

betts02 11-08-2013 09:43 PM

Quote:

Originally Posted by bananalive (Post 2457991)
Find in template tmnt_ladder_cmpt
Code:

<vb:if condition="in_array('matches', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.matches}</td>
                </vb:if>
                <vb:if condition="in_array('points', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}"><vb:if condition="$ladder['pos_points']">{vb:raw cmpt.points}<vb:else />{vb:raw cmpt.totalpoints}:{vb:raw cmpt.pointsagainst}</vb:if></td>
                </vb:if>
                <vb:if condition="in_array('pointsdifference', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsdifference}</td>
                </vb:if>

                <vb:if condition="in_array('wins', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.wins}</td>
                </vb:if>
                <vb:if condition="in_array('draws', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.draws}</td>
                </vb:if>
                <vb:if condition="in_array('losses', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.loses}</td>
                </vb:if>
                <vb:if condition="in_array('totalpoints', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.totalpoints}</td>
                </vb:if>
                <vb:if condition="in_array('pointsagainst', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsagainst}</td>
                </vb:if>
                <vb:if condition="in_array('streak', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw streak}</td>
                </vb:if>
                <vb:if condition="in_array('xp', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell;<vb:if condition="!$vboptions['tmnt_elorating']"> font-weight: bold;</vb:if> {vb:raw cmpt.css}">{vb:raw cmpt.xp}</td>
                </vb:if>

Replace with

Code:

<vb:if condition="in_array('matches', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.matches}</td>
                </vb:if>
                <vb:if condition="in_array('points', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}"><vb:if condition="$ladder['pos_points']">{vb:raw cmpt.points}<vb:else />{vb:raw cmpt.totalpoints}:{vb:raw cmpt.pointsagainst}</vb:if></td>
                </vb:if>
                <vb:if condition="in_array('wins', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.wins}</td>
                </vb:if>
                <vb:if condition="in_array('draws', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.draws}</td>
                </vb:if>
                <vb:if condition="in_array('losses', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.loses}</td>
                </vb:if>
                <vb:if condition="in_array('totalpoints', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.totalpoints}</td>
                </vb:if>
                <vb:if condition="in_array('pointsagainst', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsagainst}</td>
                </vb:if>
                <vb:if condition="in_array('pointsdifference', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow alt2" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw cmpt.pointsdifference}</td>
                </vb:if>

                <vb:if condition="in_array('streak', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell; {vb:raw cmpt.css}">{vb:raw streak}</td>
                </vb:if>
                <vb:if condition="in_array('xp', $vboptions['tmnt_ladder_columns'])">
                        <td class="blockrow" style="text-align: center; display: table-cell;<vb:if condition="!$vboptions['tmnt_elorating']"> font-weight: bold;</vb:if> {vb:raw cmpt.css}">{vb:raw cmpt.xp}</td>
                </vb:if>


Done this and i get

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3822

vBulletin Message
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

gfaria91 11-12-2013 08:11 PM

Hi,

I've been using banana live vb tournament mod and I encountered some problems.

REPORTING ERRORS:

When activating password for leagues and ladders I get the following error when trying to insert the password to join the league/ladder:

Not Found

The requested document was not found on this server.
Web Server at @domain_name@

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

There is no way to report results on a Double Elimination tournament bracket.

Also, in double elimination tournaments is not possible to revert results when you give victory for the wrong team, for example.

stalkingdatoast 11-13-2013 10:56 AM

1 Attachment(s)
How can i add images to the tournaments Rules?

bananalive 11-16-2013 10:24 AM

Quote:

Originally Posted by stalkingdatoast (Post 2460375)
How can i add images to the tournaments Rules?

AdminCP -> Settings -> Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> YES

bananalive 11-16-2013 10:26 AM

Quote:

Originally Posted by gfaria91 (Post 2460196)
Hi,

I've been using banana live vb tournament mod and I encountered some problems.

REPORTING ERRORS:

When activating password for leagues and ladders I get the following error when trying to insert the password to join the league/ladder:

Not Found

The requested document was not found on this server.
Web Server at @domain_name@

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

There is no way to report results on a Double Elimination tournament bracket.

Also, in double elimination tournaments is not possible to revert results when you give victory for the wrong team, for example.

Fixed in v6.5.1


All times are GMT. The time now is 09:24 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.03160 seconds
  • Memory Usage 1,817KB
  • 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
  • (4)bbcode_code_printable
  • (7)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