vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Forum Tournaments & Ladders (https://vborg.vbsupport.ru/showthread.php?t=189375)

Chris11987 11-06-2008 03:30 PM

I'll give this one a try.

Gleedo 11-06-2008 03:53 PM

Quote:

Originally Posted by bananalive (Post 1660467)
In Plugin Tournament AutoInsert Links
Find
Code:

href=\"competitions.php
Replace with
Code:

href=\"".$vbulletin->options['bburl']."/competitions.php

Thanks Banana - couldnt find competitions.php so i figured you must have meant tournament.php, so added that instead and it works fine now :)

So my code now looks like this:
Code:

if (($permissions['tournamentpermissions'] & $vbulletin->bf_ugp['tournamentpermissions']['canview'])) {
$tmnt_navbarname = $vbulletin->options['tmnt_navbarname'];
if ($vbulletin->options['tmnt_navbar'] == '1') {$tmnt_navbar_link = "<td class=\"vbmenu_control\"><a href=\"".$vbulletin->options['bburl']."/tournament.php$session[sessionurl_q]\">$tmnt_navbarname</a></td>";
eval('$template_hook[navbar_buttons_left] .= $tmnt_navbar_link;'); }
if ($vbulletin->options['tmnt_quicklinks'] == '1') {$tmnt_quicklinks = "<tr><td class=\"vbmenu_option\"><a href=\"tournament.php$session[sessionurl_q]\">$tmnt_navbarname</a></td></tr>";
eval('$template_hook[navbar_quick_links_menu_pos4] .= $tmnt_quicklinks;'); }
}


Chris11987 11-06-2008 04:03 PM

One Huge suggestion:

Make profile pages for individual players, not only teams. (per ladder, so I have one for me being on ladder 1 and I have another for being on ladder 2). Display username, recent/upcoming matches, etc.

Also, the ability to leave a short comment after every madder match (when submitting a score) would be nice.

Koidl 11-06-2008 04:10 PM

hello,

tournaments still bring me a blank screen if i want add them
would be nice if u could fix that

Gleedo 11-06-2008 04:23 PM

2.6.4 working fine for me so far, except that the 'Latest tournaments' no longer appears to show them on the homepage.....

One last issue that isnt directly a tournaments problem (if i may), the text editor is a little bit too wide (see screenshot). Is there anyway i can change the width of that editor?

http://i188.photobucket.com/albums/z...ddededitor.jpg

Chris11987 11-06-2008 08:38 PM

Ladder Bugs:

- Viewing Recent Matches shows the JOIN LADDER link, even if you're already in it.
- Viewing Upcoming Matches shows the JOIN LADDER link, even if you're already in it.
- When viewing ladder ranks, the table break the widths of the style and go off to the sides.
- Not sure if this is done on purpose, but the Rankings/Recent/Upcoming menu seems awkwardly placed.

EHSkaRMa 11-06-2008 09:33 PM

Quote:

Originally Posted by bananalive (Post 1660474)
Plugin: Donation System Bar and Menu

Find
PHP Code:

if (substr(THIS_SCRIPT,-6,6)!="verify"){ 

Replace with
PHP Code:

if (substr(THIS_SCRIPT,-6,6)!="verify" AND THIS_SCRIPT!="tournament2008"){ 



banana you ROCK! Yes, that worked perfectly, thank you very much.

Queball_Beast 11-06-2008 11:02 PM

I am thinking about running an event using the tournament system but it looks like I cant use the script to do the event.

P=Player
G= Group
Let say we get 16 players to sign up, we can divide the 16 players into 4 groups, each group battle among themselves.

[G1 ]P1-P2-P3-P4 [ Best out of 3 match duels moves on. P1 vs P2 and P3 vs P4 ] the 2

winners in this groups will face off in a Match duel and winner will face the winners of

the other groups.] IE. if P1 wins from G1, and P5 wins from G2, and P9 wins from G3

and finally P13 wins from G4. then we have P1 vs P5 [ Best out of 3 Matches ] then P9

vs P13 again best of 3 matches] now in the finals its P9 vs P1 for the championship

[G2 ]P5-P6-P7-P8

[G3 ]P9-P10-P11-P12

[G4 ]P13-P14-P15-P16

Is it possible to have something like this added to the tournament script, something like a group battles.

Thanks

WNxWakko 11-07-2008 01:32 PM

When I view a Ladder, the options at the bottom Rankings, Recent matches, Upcoming Matches need a <br /> break in the code. The Ladder table is skewed to the right.

Also to note when viewing an announcement, the edit button needs to have the width/height removed completely so that it will autosize based on what the actually edit image size is. My buttons are not VB standard so the button is deformed.

iogames 11-07-2008 05:38 PM

Ok if I have five subforums dedicated to tournaments, how do I show your hacks in just those 5 subforums?

WNxWakko 11-08-2008 03:02 AM

Here is my suggestion to fix the problem with the Ranking, Recent matches, Upcoming Matches that is causing the page to skew off the right.

tmnt_ladder_display

Code:

<div class="vbmenu_popup" id="laddertools_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr><td class="thead">$vbphrase[ladder_tools]</td></tr>
                <if condition="$canjoinladder AND !$comper">
                <tr><td class="vbmenu_option"><a href="competitions.php?do=ladderjoin&id=$lid">$vbphrase[ladder_join]</a></td></tr>
                </if>
                <if condition="$show['member']">
                <tr><td class="vbmenu_option"><a href="competitions.php?do=ladder<if condition="$ladder[pot] == 1">team</if>challenges">$vbphrase[ladder] <if condition="$ladder[pot] == 1">$vbphrase[ladder_teamchlls]<else />$vbphrase[ladder_chlls]</if></a></td></tr>
                </if>
                <if condition="$caneditladder">
                <tr><td class="thead">$vbphrase[ladder_admin_tools]</td></tr>
                <tr><td class="vbmenu_option"><a href="competitions.php?do=ladderedit&id=$lid">$vbphrase[ladder_edit]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="competitions.php?do=ladderdelete&id=$lid">$vbphrase[ladder_delete]</a></td></tr>
                </if>
                </table>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td valign="top">
<table class="tborder" style="border-bottom-width: 0px;" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="tcat" width="100%">
$title
</td>
<td style="cursor: pointer;" class="vbmenu_control" id="laddertools" nowrap="nowrap">
                <a href="#laddertools">$vbphrase[ladder_nav]</a><script type="text/javascript">vbmenu_register("laddertools");</script>       
        </td>
</tr>
</table>
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
  <td class="thead normal">$ladder[cr_time]</td>
</tr>
<tr valign="top">
        <td class="alt2">
                                                <a class="bigusername" href="member.php?u=$ladder[cr_userid]">$ladder[cr_username]</a>
        </td>
</tr>
<tr>
        <td class="alt1">$ladder[description]
                                  <div class="smallfont" style="margin-top: 12px;" align="right">
                        <if condition="$ladder[ed_username] != ''">
                        <div style="float: left;" align="left">
                                        <div class="shade">$vbphrase[tmnt_lastedit] <a class="shade" href="member.php?u=$ladder[ed_userid]">$ladder[ed_username]</a> at $ladder[ed_time]</div>
                        </div>
                        </if>
                                <if condition="$canedittmnt"><a href="competitions.php?do=ladderedit&id=$id"><img title="$vbphrase[edit]" src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit]" border="0"></a></if>
                </div>
        </td>
</tr>
          <if condition="!$comper AND $canjoinladder">
<tr>
        <td class="alt2" align="center">
                <a href="?do=viewladder&id=$id">$vbphrase[ladder_rankings]</a> | <a href="?do=viewladder&id=$id&sh=1">$vbphrase[ladder_recent_games]</a> | <a href="?do=viewladder&id=$id&sh=2">$vbphrase[ladder_upcoming_games]</a> | <a href="competitions.php?do=ladderjoin&id=$lid">$vbphrase[ladder_join]</a>
  </td>
</tr>
        </if>
</table></div></td>
<td style="padding-left: 6px;" valign="top" width="210">
<div style="padding: 0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" width="100%" border="0" cellpadding="6" cellspacing="1">
<tbody><tr align="left">
        <td class="thead" colspan="3">
                $vbphrase[ladder_details]
        </td>
</tr>
<tr>
        <td class="alt1 smallfont">
                        <div><span class="shade">$vbphrase[ladder_type]</span>
                        <if condition="$ladder[pot] == 1">$vbphrase[ladder_teams]<else />$vbphrase[ladder_singles]</if></div>
                        <div><span class="shade"><if condition="$ladder[pot] == 1">$vbphrase[ladder_noteams]<else />$vbphrase[ladder_noplayers]</if></span>
                        $ladder[noplayers]</div>
                        <if condition="$team">
                        <div><span class="shade">$vbphrase[ladder_tmin]</span>
                        $ladder[tmin]</div>
                        <div><span class="shade">$vbphrase[ladder_tmax]</span>
                        $ladder[tmax]</div>
                        </if>
                        <div><span class="shade">$vbphrase[ladder_views]</span>
                        $ladder[views]</div>
        </td>
</tr>
</tbody></table>
</div>
</td>
</tr></table>
$competitorddms
$competitors


butler312 11-08-2008 03:18 AM

Quote:

Originally Posted by Queball_Beast (Post 1660850)
I am thinking about running an event using the tournament system but it looks like I cant use the script to do the event.

P=Player
G= Group
Let say we get 16 players to sign up, we can divide the 16 players into 4 groups, each group battle among themselves.

[G1 ]P1-P2-P3-P4 [ Best out of 3 match duels moves on. P1 vs P2 and P3 vs P4 ] the 2

winners in this groups will face off in a Match duel and winner will face the winners of

the other groups.] IE. if P1 wins from G1, and P5 wins from G2, and P9 wins from G3

and finally P13 wins from G4. then we have P1 vs P5 [ Best out of 3 Matches ] then P9

vs P13 again best of 3 matches] now in the finals its P9 vs P1 for the championship


[G2 ]P5-P6-P7-P8

[G3 ]P9-P10-P11-P12

[G4 ]P13-P14-P15-P16

Is it possible to have something like this added to the tournament script, something like a group battles.

Thanks

This would be pretty sweet, although I don't think it would apply to a lot of people. I personally would love it :D

bananalive 11-08-2008 04:51 PM

Quote:

Originally Posted by Strafe (Post 1660547)
Hey banana, could you do us a huge favorite?

Could you keep a 'stable' release version posted? That way you can do all the experimental ones while still providing a stable version for everyone to use in the meantime.

Thanks a bunch.

v2.6.5 is a stable version with following minor fixes from v2.6.4
- Removed image widths for edit buttons (so they display correctly for custom buttons)
- Added spacing in ladder template after Ranking, Recent matches, Upcoming Matches
- Fixed Join Ladder link displaying on Recent Matches & Upcoming Matches pages for ladder competitors

Gleedo 11-08-2008 05:19 PM

Quote:

Originally Posted by bananalive (Post 1661893)
v2.6.5 is a stable version with following minor fixes from v2.6.4
- Removed image widths for edit buttons (so they display correctly for custom buttons)
- Added spacing in ladder template after Ranking, Recent matches, Upcoming Matches
- Fixed Join Ladder link displaying on Recent Matches & Upcoming Matches pages for ladder competitors

FYI - You forgot to increment your version number in product-tournament2008.xml ;)

WNxWakko 11-08-2008 07:44 PM

The ranking, recent matches, upcoming matches are still skewed.

See screenshot.
http://warriornation.net/temp/shot.gif

vigliarolo12 11-09-2008 04:31 AM

what exactly does LMS do and is there any way you can make double elim soon

gamerscms 11-09-2008 02:38 PM

Quote:

Originally Posted by vigliarolo12 (Post 1662166)
what exactly does LMS do and is there any way you can make double elim soon

LMS is a basic knockout tournament of players or teams, go though the tournament and the winners progress to the end.

More tournament types are coming soon.

vigliarolo12 11-09-2008 06:34 PM

Ok thanks Double Elimination would be an awesome type :D

Stifmeister2 11-09-2008 08:33 PM

Babanalive, do you think I can upgrade from a very old version 2.2.1 to this new 2.6.5 without problems?

zapiy 11-09-2008 09:46 PM

how do i delete a ladder?

pkallberg21 11-10-2008 01:48 AM

Quote:

Originally Posted by zapiy (Post 1662578)
how do i delete a ladder?

Are there any plans to upgrade this script in the future? I would really like to see this be a little bit like: https://vborg.vbsupport.ru/showthrea...ght=tournament

In this script admins can set a specific input that users have to provide in order to proceed in the tournament. It would be amazing if this could be done :)

P.Jackson 11-10-2008 07:22 AM

thats a very good idea!

also a league option for teams would be a massive addition!!

http://www.enemydown.co.uk/league.php?event=452

P.Jackson 11-10-2008 11:29 AM

1 Attachment(s)
hmm getting a weired bug on ladders

bahisyeri 11-10-2008 12:49 PM

Can you add match mode support and latest matches on main page? I mean 2 teams challenges each other and both team leader approve match details and score...

bananalive 11-10-2008 02:47 PM

Quote:

Originally Posted by zapiy (Post 1662578)
how do i delete a ladder?

Ladder Links -> Delete Ladder

bananalive 11-10-2008 03:30 PM

v2.6.6 Just Released

- Ladder competitors can leave ladders (and rejoin at later date with score intact - stops cheating)
- Those that can edit ladders can make ladder competitors leave ladder (the competitor can rejoin at later date with score intact)
- Your Challenges displayed for single ladders

fodvapor 11-10-2008 05:27 PM

Quote:

Originally Posted by vigliarolo12 (Post 1662166)
is there any way you can make double elim soon


X's 2 :D

gamerscms 11-10-2008 07:59 PM

Quote:

Originally Posted by bananalive (Post 1662965)
v2.6.6 Just Released

- Ladder competitors can leave ladders (and rejoin at later date with score intact - stops cheating)
- Those that can edit ladders can make ladder competitors leave ladder (the competitor can rejoin at later date with score intact)
- Your Challenges displayed for single ladders

I will test and PM any bugs i find :)

Cheers for the new update.

GrendelKhan{TSU 11-11-2008 08:43 AM

awesome updates! keep it up.


Also, just wanted to put in my vote for:
  • double elimation feature again as well.
  • and PM/email notifications for challenges, accepted and comments etc.
but loving it so far !!

:)

gorentals 11-11-2008 11:55 AM

Great Updates!!!

- Those that can edit ladders can make ladder competitors leave ladder (the competitor can rejoin at later date with score intact)
Quick question: If I am the admin how can I remove someone from a ladder that is no longer on the site and has made a few challenges? I am at version 2.6.6

Thanks

gorentals 11-11-2008 11:59 AM

Nevermind just figured it out.

Ok removed the player. But his challenges still exist. Anyway to remove that?

Thanks

Stifmeister2 11-11-2008 03:41 PM

I finally upgraded last night and no problems so far... Haven't tested ladder yet though.

bahisyeri 11-12-2008 02:55 PM

It has some template problems with base href :) i mean that links and some js functions not working when base href used most seo hacks uses base href...
PS: On ladder system if system set for players you can challenge other players but for team system i couldnt find how to challenge other team :/
PSS: Also after confirming challenge score, challenge scores stopping displaying on ladder challenges page of user.

Toupsx 11-13-2008 01:00 PM

Well don't know why but I can't install any version of this now... last version I was able to was 2.5.8 now anytime I try any version it installs the product but never finishes so doesn't actually do any settings such as putting the competition permissions or settings in the admincp and such..
Not sure what to do.. =\

It just sits there at
Importing Product, Please Wait...

[:]

never finishing... my server isn't timing out according to my host because there's no limit.. the only limit is on the memory which is 44mb and you said that it shouldn't be using that much I believe previously so not sure what's going on..

Im Spazzoid 11-13-2008 01:34 PM

I would love to be able to make it so that users can only be on one team per ladder, but have multiple teams so that they can be in multiple ladders. Also, categories would be nice, along with double elimination. I know that I would be willing to put my donation in if I could get those features, saves me from writing my own script :p

Although I am still testing this out so maybe it already has some of those :p

I don't know if I'm stupid or what, but I cannot seem to find where to challenge other players in a ladder set to players or teams.

shane greer 11-13-2008 06:21 PM

1 Attachment(s)
Since he latest update no one can make challenges on the ladder. Have I missed something or put something in the wrong place. Everything else works fine in relation to newest results and forthcoming matches etc.

Now when i click on a player o challenge I only have this.

Im Spazzoid 11-13-2008 09:02 PM

shane greer that is the same thing that happens to me

shane greer 11-13-2008 09:12 PM

Must be something missed out in the latest upgrade?

shane greer 11-14-2008 07:22 PM

Is there anybody out there can help?

schlottkej 11-14-2008 07:46 PM

I recently removed the old "Ladders" portion (pre-combining) and now I am receiving this error:

Database error in vBulletin 3.8.0 Beta 2:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '12251647',
`genericpermissions` = '1546131399',
`attachlimit` = '0',
`pmquota` = '500',
`pmpermissions` = '3',
`pmsendmax` = '5',
`pmthrottlequantity` = '0',
`calendarpermissions` = '17',
`wolpermissions` = '17',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '300',
`profilepicmaxheight` = '200',
`profilepicmaxsize` = '6553544',
`avatarmaxwidth` = '100',
`avatarmaxheight` = '100',
`avatarmaxsize` = '2000000',
`signaturepermissions` = '169983',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '200000',
`sigmaxrawchars` = '65535',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`albumpermissions` = '255',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '63',
`visitormessagepermissions` = '62',
`socialgrouppermissions` = '20471',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '6553544',
`itraderpermissions` = '0',
`answers_forum_perms` = '0',
`vbblog_general_permissions` = '254974',
`vbblog_customblocks` = '5',
`vbblog_custompages` = '5',
`vbblog_entry_permissions` = '8191',
`vbblog_comment_permissions` = '974',
`awardpermissions` = '1',
`groupvbglossar` = '0',
`mgc_cb_evo_permissions` = '0',
`mgc_cb_evo_nbmsg_show` = '0',
`mgc_cb_evo_nbmsg_perday_show` = '0',
`abouttodaypermissions` = '129',
`quoteitpermissions` = '2567',
`mysmiliesvb_permissions` = '1',
`mysmiliesvb_maxwidth` = '60',
`mysmiliesvb_maxheight` = '60',
`mysmiliesvb_maxsize` = '32768',
`mysmiliesvb_totalsmilies` = '50',
`mysmiliesvb_totalsize` = '1048576',
`giftpermissions` = '47',
`fcpermissions` = '1',
`tournamentpermissions` = '0',
`maxteams` = '1',
`ladderpermissions` = '3'
WHERE usergroupid=2;

MySQL Error : Unknown column 'tournamentpermissions' in 'field list'
Error Number : 1054
Request Date : Friday, November 14th 2008 @ 03:44:17 PM
Error Date : Friday, November 14th 2008 @ 03:44:18 PM
Script : http://www.thewrestlingtalk.com/admi....php?do=update
Referrer : http://www.thewrestlingtalk.com/admi...&usergroupid=2
IP Address : XXXXXXXXXXXX
Username : Schlottke
Classname : vB_Database
MySQL Version : 4.1.22-standard


All times are GMT. The time now is 11:12 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.03043 seconds
  • Memory Usage 1,872KB
  • 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
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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