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)

Jaxel 09-02-2008 08:05 AM

Would there be any way to have an DOUBLE ELIMINATION option?

Also, could there be a way for an admin to define the value of a tournament? (Local tournaments worth 100 points. Regional tournaments worth 400 points, National tournaments worth 2000 points)... then distribute the points based on custom algorithms? Like I would want 1st place gets 50% of the points, 2nd place gets 20% of the points, 3rd place gets 10% of the points, and both 5th place players (double elimination remember?) get 5% each of the points, and all remaining players get the remaining 10% of the points distributed evenly amongst them (with a maximum of 1% each)?

Sort of the way the Tennis Circuits do it. This way we could have true rankings?

Also, lots of uncached templates.

Blackhat 09-02-2008 09:34 AM

for the score type you should have a drop down and not a text box or can you put whatever you like in there ?

bananalive 09-02-2008 10:00 AM

Quote:

Originally Posted by Blackhat (Post 1612655)
for the score type you should have a drop down and not a text box or can you put whatever you like in there ?

You can put whatever you like in there. Eg. Point, Kill, Death, etc.
(Put it in singular form as the modification works out if number of points is plural and adds 's' to end of word if it is.)

bananalive 09-02-2008 10:11 AM

Quote:

Originally Posted by Jaxel (Post 1612595)
Would there be any way to have an DOUBLE ELIMINATION option?

Not that I know of at the moment.
Quote:

Also, could there be a way for an admin to define the value of a tournament? (Local tournaments worth 100 points. Regional tournaments worth 400 points, National tournaments worth 2000 points)... then distribute the points based on custom algorithms? Like I would want 1st place gets 50% of the points, 2nd place gets 20% of the points, 3rd place gets 10% of the points, and both 5th place players (double elimination remember?) get 5% each of the points, and all remaining players get the remaining 10% of the points distributed evenly amongst them (with a maximum of 1% each)?

Sort of the way the Tennis Circuits do it. This way we could have true rankings?
I like this idea, I'll bring it when I bring in tournament categories.
Quote:

Also, lots of uncached templates.
Oops, that will be fixed in v1.7

Jaxel 09-02-2008 11:12 AM

Well would there be a way for you to set it up so that we could do double elimination tourmanents? Single elimination tournaments in the video game scene are non-existant, or tournaments that no one cares about. Frankly, unless there is double elimination, I cant use this. Also, is there a Round Robin option? Dont need Last Man Standing or Single Elimination.

To clarify the scoring system... this would be with double elimination... In double elimination tournaments, there is no 4th place, instead there are two 5th placed players. Everything in parenthesis should be admin definable; even the min and max of the ranking allocations.

Tournament Categories (point values definable)
- Local Tournaments (100 points)
- Regional Tournaments (500 points)
- National Tournaments (2000 points)

Ranking Allocations (percentages definable)
- 1st Place (50% points)
- 2nd Place (20% points)
- 3rd Place (10% points)
- 5th Place (5% points each to both players)
- The remaining 10% gets split up evenly between all other players (1 point min - 1% max)

Also, any chance to support up to 128 players? How about the ability to limit people to creating only ONE tournament a month?

Chris B 09-02-2008 11:30 AM

Any way to change the LMS option, or even add new options?

Chris B 09-02-2008 11:59 AM

Also is is possible to remove the Tournament details from the postbit?

bananalive 09-02-2008 12:15 PM

Quote:

Originally Posted by Chris B (Post 1612744)
Also is is possible to remove the Tournament details from the postbit?

AdminCP -> Plugins & Products -> Plugin Manager -> Edit {Tournament Postbit} -> Set 'Plugin is Active' to 'No' -> Save

Chris B 09-02-2008 12:19 PM

Quote:

Originally Posted by bananalive (Post 1612750)
AdminCP -> Plugins & Products -> Plugin Manager -> Edit {Tournament Postbit} -> Set 'Plugin is Active' to 'No' -> Save

Thanks. :)

Lombardo 09-02-2008 01:31 PM

If you get a league structure on this, i'll be installing without a doubt.

Reinhart 09-02-2008 02:33 PM

YES! Remove player was added!
Going live soon!

Just so everyone knows..
On 3.6 banana uses div variables for the comments that are only defined by 3.7.. so you'll have some template work ahead of you if you want to get this thing to work properly :)..
But otherwise its running fine!

valendono 09-02-2008 03:43 PM

about the phrase after submit comment.. sumtin like cannot find phrase.. only me or still on dev about that phrase ?

mlthmp 09-02-2008 04:20 PM

Think there may be anyway to add "Scores" for 1<vs>1 matches?

Like I said before, all my suggestions / ideas are minor ones, I plan on using this anyway this script is exactly what I've been looking for! I really like it.

stickskills 09-02-2008 04:24 PM

I see pagination for comments! Looks like it isn't too far from me downloading, unless there's major progress on the ladder mod :P.

Honestly, I'd like to see the ladder & tournament mods released as a package.

Reinhart 09-02-2008 04:41 PM

Get a DB error when trying to add player:

Invalid SQL:
SELECT COUNT(*) AS countrows FROM user WHERE userid=Luke;

MySQL Error : Unknown column 'Luke' in 'where clause'

Luke was the member i was trying to add :)

schlottkej 09-02-2008 06:08 PM

A couple thoughts that I have not seen mentioned yet:

Allow admin to create tournament categories to organize them in.
Allow 1v1 scoring and ability to add types of scores
Ability to add guest users

Jaxel 09-02-2008 07:51 PM

Okay, I have an additional change to the ranking system... Remember, in double elimination tournaments, there is no 4th place, instead there are two 5th placed players. Everything in parenthesis should be admin definable; even the min and max of the ranking allocations.

Tournament Categories (point values definable)
- Local Tournaments (100 points)
- Regional Tournaments (500 points)
- National Tournaments (2000 points)

Ranking Allocations (percentages definable)
- 1st Place (50% points)
- 2nd Place (20% points)
- 3rd Place (10% points)
- 5th Place (5% points each to both players)
- The remaining 10% gets split up evenly between all other players (1 point min - 1% max)

Players shouldn't be ranked by their total number of points. Instead, they should be ranked by the top 10 scores (admin definable number) during the course of the past year. This way it doesn't require a person to attend every tournament, and ranks them simply by their best 10 performances in the past year. It would also automatically prune out retired players who don't attend events anymore; and give preference to regional and national tournaments since they are worth more points. Maybe setup a cronjob once a week to recalculate rankings?

Also, let me reiterate, that I need the ability to make it so tournaments have a MINIMUM of 16 players, and maximum of 128... with double elimination.

bananalive 09-02-2008 08:18 PM

Quote:

Originally Posted by Reinhart (Post 1612924)
Get a DB error when trying to add player:

Invalid SQL:
SELECT COUNT(*) AS countrows FROM user WHERE userid=Luke;

MySQL Error : Unknown column 'Luke' in 'where clause'

Luke was the member i was trying to add :)

I've fixed this 'error' in v1.8
Userid is meant to be number, for example, my userid on (this forum) is 223075 and my username is bananalive

You can find a user's userid by putting your mouse over their name and you will see link in status bar to their profile. The number after member.php?u= is their unique userid, this is the number you want to use if asked for userid

bananalive 09-02-2008 08:20 PM

Quote:

Originally Posted by stickskills (Post 1612912)
I see pagination for comments! Looks like it isn't too far from me downloading, unless there's major progress on the ladder mod :P.

Honestly, I'd like to see the ladder & tournament mods released as a package.

I still haven't decided whether to incorporate ladder modification into this tournament hack but i most likely will release ladder modification as separate modification.

Reinhart 09-02-2008 08:48 PM

Quote:

Originally Posted by bananalive (Post 1613069)
I've fixed this 'error' in v1.8
Userid is meant to be number, for example, my userid on (this forum) is 223075 and my username is bananalive

You can find a user's userid by putting your mouse over their name and you will see link in status bar to their profile. The number after member.php?u= is their unique userid, this is the number you want to use if asked for userid

Nice!
Well im not getting the db error anymore.. It just says "Invalid Username" or Invalid UserID" no matter what I put in there :)

NICE ICONS BTW!
Gotta add that to the changelog!
The ajax add slots is really impressive.
Great work.

Edit: OOOOHH.. I have to enter BOTH User ID and Username..
Seems a little much but i guess im cool now!

bananalive 09-02-2008 08:53 PM

Quote:

Originally Posted by Reinhart (Post 1613093)
Nice!
Well im not getting the db error anymore.. It just says "Invalid Username" or Invalid UserID" no matter what I put in there :)

Userid has to be number (not zero) and username is text string

Reinhart 09-02-2008 08:57 PM

Sorry to keep replying but I really love this mod..
Another suggestion that should be really easy yet really helpful..

Tournament Creators can "PM ALL" Participants.. to either let them know its starting.. let them know who won.. next round... last minute changes etc.

Whatddya think?!

mlthmp 09-02-2008 09:17 PM

I am just amazed at how quickly this mod if progressing!

Installed 1.8.

Few more suggestions.
1st, Might it be possible for the tournament winner to be shown in another color? Maybe the player or team that wins be shown in red, etc?
2nd, I still really think a space between "pairings" on the administrative side of the event would be helpful.. to minimize confusion. (For the first round)
3rd, Ability to show in user profiles Tournaments won.

EWGF 09-02-2008 09:49 PM

Keeps getting better and better :D

glorify 09-03-2008 12:07 AM

Looks GREAT banana. Excellent work. Voted MOTM, btw. Anyone running a live demo of default 1.8?

If I install 1.8, will it overwrite old custom templates? Will it keep current tourneys in place? I know I'll have to edit the old ones to match the new features.

Reinhart 09-03-2008 12:18 AM

Quote:

Originally Posted by glorify (Post 1613197)
Looks GREAT banana. Excellent work. Voted MOTM, btw. Anyone running a live demo of default 1.8?

If I install 1.8, will it overwrite old custom templates? Will it keep current tourneys in place? I know I'll have to edit the old ones to match the new features.

Yes it keeps current tourneys in place.

Yes it overwrites templates (I think.. I always say allow overwrite)..

glorify 09-03-2008 12:20 AM

Yikes. I'll back up. Didn't see any images with the dload package you spoke of. Any screen?

Reinhart 09-03-2008 12:29 AM

1 Attachment(s)
Heres what the icons look like for anyone interested.

glorify 09-03-2008 12:36 AM

Nice--don't see the icons or cannedreplies.xml in the dload package :(

I think the readme for the xml to import has the wrong name.

x4a 09-03-2008 12:37 AM

evry time i join tornumnt or submit a coment its say :

Could not find phrase ''.

SnapOff Racing 09-03-2008 12:38 AM

amazing epic mod. 5* installed.

Jaxel 09-03-2008 12:39 AM

a 128 man double elimination bracket is really needed.

jjmf 09-03-2008 01:03 AM

Never mind... my mistake!
Installed fine!

Reinhart 09-03-2008 01:23 AM

Quote:

Originally Posted by Jaxel (Post 1613213)
a 128 man double elimination bracket is really needed.

LoL.. I think he has his hands full getting the bugs out and getting this thing off the ground before he adds custom stuff like that.

siveriano 09-03-2008 02:03 AM

Quote:

Originally Posted by Reinhart (Post 1613235)
LoL.. I think he has his hands full getting the bugs out and getting this thing off the ground before he adds custom stuff like that.

but this still a pretty good mod , lol updates twice a day. keep up the good work bro.

Reinhart 09-03-2008 02:45 AM

Quote:

Originally Posted by siveriano (Post 1613260)
but this still a pretty good mod , lol updates twice a day. keep up the good work bro.

Oh yeah totally.. Im loving the daily updates :)

glorify 09-03-2008 03:55 AM

Got it upgraded. First class work. banana, even on the default templates, the competitors are showing as 'Tournament Winner'

Can we have something showing (an edited by message and time) if someone edits their posts? Not saying people like to change their entries after a tourney starts or anything ;)

Chris11987 09-03-2008 06:17 AM

Is it possible to make it so a user can advance their opponent, basically admitting their own defeat, instead of needing a person that can edit to do it?

edit: The comments seem to be glitchy. My usergroup has YES for everything and can't post comments. I hit submit and nothing gets added. People in my same usergroup are able to post them, but mine won't show up.

glorify 09-03-2008 11:16 AM

I can delete a comment, but the redirect says "error, Tournament does not exist."

jjmf 09-03-2008 11:51 AM

I have translated the mod using the VB language manager.
Problems I?ve noticed so far:
1 - When using Portuguese (my primary language) the "Join tournament" link does not appear, even with it translated. If I switch to English, it appears fine.
2 - The same happens to the "Add player" link witch is also translated.
3 - There is no way to translate the "PM me the detais" string.
4 - The + and - buttons to increase/decrease the numbers of players doesn't appear also when using Portuguese language, only when using English.
5 - When I tried to join a tournament, got this mysql error:
Quote:

Invalid SQL:
UPDATE vb3_user SET tmnt_joins = tmnt_joins + 1 WHERE userid=36;

MySQL Error : Unknown column 'tmnt_joins' in 'field list'
Thats all for now.
Keep the good work!


All times are GMT. The time now is 02:23 PM.

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.02375 seconds
  • Memory Usage 1,836KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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