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)

bananalive 01-02-2009 09:12 PM

Quote:

Originally Posted by Covert-OPs_ (Post 1696935)
Just curious if you have given any thought to these features?

I've been working on the bugs and optimising the code rather than doing new features. I do plan on adding more Challenge Details in the future but I'm not sure when atm.

edytwinky 01-02-2009 09:52 PM

Another vote for Double Elimination. That would be awesome!

Queball_Beast 01-03-2009 02:21 AM

Thank you Banana, it worked like a charm.


Happy New Year everyone :cool:

Quote:

Originally Posted by bananalive (Post 1699711)
Your missing the tournamentpermissions column, import attached product file and that should fix it.


bahisyeri 01-04-2009 06:45 PM

Everything is good even with 3.8.0 RC2 but when i want to use MySQLi getting blank screens on submitting scores i fixed them by myself with adding simple fetch_array's but i think you need to work on it too and please response for my ideas on thread :P

AzzidReign 01-05-2009 12:18 AM

Quote:

Originally Posted by AzzidReign (Post 1688207)
I get this error when I go to update:
Warning: implode() [function.implode]: Invalid arguments passed in [path]/admincp/plugin.php(1986) : eval()'d code on line 9

This error was fixed when I updated.

THANKS

gorentals 01-05-2009 02:54 PM

I have the same issue and I'm at 2.7.4. But it works when add the sidebar links. When I just have the Top Links bar enabled and click on the teams field there is no link to create team even if I have permissions. Is there an easy fix?

Thanks

Quote:

Originally Posted by yathyo (Post 1680981)
I'm testing the script, it looks great! But I got a problem. "Create Team" link does no appears :(

EDITED: Also Create new annoucement is not visible.

I have all permissions ON

Several bug detected, ie links pointing base forum not "competitions.php"

EDITED AGAIN :D : bananalive got a PM ;)

Thanks in advance ;)


Jaxel 01-05-2009 04:48 PM

1 Attachment(s)
So I finally got around to re-installing this mod... but I got a question...

1 - since we cant do double-elim and it will be some time before we can... is there a chance we could do 64 player single-elim tournaments? 32 players just isn't enough for a meaningful single-elim tournament in my community. 128 players would be even better.

2 - does this system have any method of score reporting for single elim tournaments? It would be so much easier to manage if players could submit their scores; and when both players confirm the scores, then it should advance the bracket automatically.

3 - the cancel button doesnt work in the edit tournament page.

4 - is there any way to DELETE tournaments?

5 - there are a series of formatting errors, which I have explained in the included attachments...

Jaxel 01-05-2009 04:59 PM

Also... the year dates on tournament creation are screwy... its 2009 now.

Can we also get it so that the tournament creation page defaults to 32 players, and single elimination, and 2009?

brucegs 01-06-2009 08:55 AM

Quote:

Originally Posted by rob01 (Post 1640016)
one question, i keep getting this error
Fatal error: Call to undefined function cal_days_in_month() in /home/robtbs/public_html/forum/tournament.php on line 749

and someone already told me , i should install calendar-extension

but my webhosting dosnt support it...

so what else i can do? for fixing this error :(

I am getting this exact error as well, and unfortunately I also cannot get the calandar extension installed on my server. Is there anything else I can do to try and fix this problem?

Jaxel 01-06-2009 10:24 AM

New issue... which I think is a MAJOR issue...

The script creates a new thread on the creation of a new tournament... but the thread message itself provides no link to the actual tournament itself so that people can register! Big oversight.

bananalive 01-06-2009 11:17 AM

Quote:

Originally Posted by brucegs (Post 1703082)
I am getting this exact error as well, and unfortunately I also cannot get the calandar extension installed on my server. Is there anything else I can do to try and fix this problem?

Here's a fix for your problem:
http://www.bananalive.co.cc/showthread.php?p=46#post46
Quote:

Originally Posted by Jaxel (Post 1703132)
New issue... which I think is a MAJOR issue...

The script creates a new thread on the creation of a new tournament... but the thread message itself provides no link to the actual tournament itself so that people can register! Big oversight.

The thread is created before the tournament so threadid is known to save the tournament. It saves a query rather than inserting the tournament, creating the thread, then editing in the threadid into the tournament details. However I agree with you it is necessary and I'll change it in next version.

brucegs 01-06-2009 11:54 AM

Quote:

Originally Posted by bananalive (Post 1703175)

awesome thank you very very much, you are a legend. :D

For anyone else using this fix make sure that you make four edits. Both the code snippets supplied in banaalive's link occur twice in the php file.

bananalive 01-06-2009 12:20 PM

See red text

Quote:

Originally Posted by Jaxel (Post 1702445)
So I finally got around to re-installing this mod... but I got a question...

1 - since we cant do double-elim and it will be some time before we can... is there a chance we could do 64 player single-elim tournaments? 32 players just isn't enough for a meaningful single-elim tournament in my community. 128 players would be even better. I'm trying to work out a code for the tournaments which will mean there will be no restrictions (apart from screen size).

2 - does this system have any method of score reporting for single elim tournaments? It would be so much easier to manage if players could submit their scores; and when both players confirm the scores, then it should advance the bracket automatically.

3 - the cancel button doesnt work in the edit tournament page. There is problem with & not being accepted by JavaScript. Will be fixed in next version.

4 - is there any way to DELETE tournaments? Tournament Tools -> Delete Tournament

5 - there are a series of formatting errors, which I have explained in the included attachments... I'll fix the buttons in next version. The editor width is not defined by me but in vboptions or a template (can't remember exactly).


Jaxel 01-06-2009 03:20 PM

Quote:

Originally Posted by bananalive (Post 1703208)
The editor width is not defined by me but in vboptions or a template (can't remember exactly).

What I am saying is you are using the wrong editor width option. There are TWO:

Message Area Width
&
User Control Panel Message Area Width

The User CP width is there because of the sidebar, you should use that width.

And there are TONS upon TONS of uncached template errors.

indie2industry 01-07-2009 08:09 AM

I like this alot. But how do you uninstall this??? I have a professional custom battle script and this will definatly conflict with the new scripts.

bananalive 01-07-2009 01:05 PM

Quote:

Originally Posted by indie2industry (Post 1703985)
I like this alot. But how do you uninstall this??? I have a professional custom battle script and this will definatly conflict with the new scripts.

Click uninstall in admincp -> product list

bananalive 01-07-2009 01:09 PM

Quote:

Originally Posted by Jaxel (Post 1703336)
And there are TONS upon TONS of uncached template errors.

On which pages are the templates not cached, one of the recent versions released did fix few uncached templates.

JesterP 01-09-2009 02:19 AM

Awesome mod, will be perfect for my site once I get a handle on it. Thank you.

Where can I view a graphical bracket in the script like I see in your screenshots?

Also, how can I limit avatar size in your table?

http://www.wizard101central.com/foru...6cfde8787e.gif

Thanks again!!

J

brucegs 01-09-2009 05:06 AM

Hi all
I whipped up a quick how to guide for my forums and thought some of you might find it useful. You might want to customise it a bit for your forums, and it may have some spelling mistakes :P

If I have gotten anything wrong please let me know :)


Teams

How do I create a team?
  1. Click on the 'New Team' link in the left hand navigation menu.
  2. Enter your Team Name, Slogan, team tag and description.

Once you have created your team it will be displayed in the Teams List. You can invite other players to join your team by clicking the 'Add User to Team' link located at the top of your team description. Type the username that you want to invite into the textbox provided and click the <Go> button. The user will be automatically added to your team.

How do I join an existing team?
There are two ways to join a team:
  1. Team Leaders can add you to their team
  2. You can ask to join a team by viewing the team's details and clicking on the 'Join Team' link located at the top of the team description. A join request will then be sent to the team leader. Note to Team Leaders, the system does not currently support PM notifications of Join requests. In order to see the join requests you need to view your team details page.


Ladders

How do I create a Ladder?
  1. Click on the 'Ladder List' link in the left hand navigation menu
  2. Click on the 'Create Ladder' link located at the base of the ladder list
  3. Enter the Ladder Title, Whether or not the ladder is for individual players or teams, and a Ladder Description.
  4. Click the <add> button. The Ladder is now created.

How do I join a Ladder?
This depends on the ladder type.
For team based Ladders ony Team Leaders (the person who created the team) can join the Ladder.
Anyone can join a player based ladder.

To join a ladder view the ladder information and click the 'Join Ladder' link

How do I challenge a Team / Player?
Only Team leaders can challenge other teams.
Any player can challenge another player.

To submit a challenge:
  1. View the ladder
  2. Click on a player/team name and select 'Challenge Player' from the drop down menu provided.
  3. The player/team leader that you have challenged will be sent a private message notifying them of the challenge. They can then view the 'Ladder Challenges' page (located in the left hand navigation bar) to either accept or reject the challenge.
  4. Once a challenge has been accepted you will then need to sort out amongst yourselves the date/time of the match.

Note: if a challenge has been rejected then the challenge will be removed from the 'Ladder Challenges' page. At this stage, PM notifications are not sent upon challenge acceptences / rejections.

Tournaments

What is the difference between an LMS Tournament and Single Elimination?
LMS (Last Man Standing) Tournaments are held at a specific time and date. All players/teams jump into the server at the same time and battle it out until only one is left standing. Players/teams are then given a score by the tournament creator. The higher the score the higher their placing in the tournament. Once all matches have been played the tournament creator will select 'finish' from the Tournament Tools drop down menu and the system will calculate the final standings based on the player/team scores.

In Single Elimination Tournaments competitors progress through the rounds of the tournament. The tournament draw and the number of rounds will be automatically created by the system using the number of players/teams in the tournament.

How do I create a Tournament?
  1. Click on the 'Tournament List' link in the left hand navigation menu
  2. Click on the 'Create Tournament' link located at the base of the tournament list
  3. Enter the title, whether or not the tournament is for individual players or teams, number of players/teams, type (LMS or single elim), date and description.
  4. Click the <add> button. The Tournament is now created and will appear on the tournament list. A new thread advertising the tournament will automatically be posted to the Social Tournaments and Ladders forum.
  5. The tournament will start and be listed as 'in progress' once all slots have been filled. If there are still open slots by the time the tournament is due to start the tournament creator can remove the empty slots by clickign the little [-] icon next to the 'Total slots' in the tournament details box (located in the top right hand corner of the tournament details page).


How do I join a Tournament?
For team based Tournaments ony Team Leaders (the person who created the team) can join the tournament.
Anyone can join a player based tournament.

To join a tournament view the tournament information and click the 'Join Tournament' link

brucegs 01-09-2009 05:10 AM

also bananalive, a couple feature requets if thats ok :)

Is it possible to add the following to the mod:

Teams:
1. PM notifications when a user submits a join request
2. PM notification when a Team Leader adds a new member (PM goes to the new member saying that he has been added to the team)

Ladders:
1. Automated thread post when a new ladder is created
2. PM Notification when someone accepts or rejects a challenge.


cheers, and thanks for the great hack! :)

PcGamer 01-09-2009 02:01 PM

Great script... Just waiting on the following to start actually using it :)


Future Features:

* Allowing a player to only join one team per ladder

Gleedo 01-09-2009 06:22 PM

Not directly a mod problem but a skin one i guess, but for some reason the 'tournament' link in the nav bar doesnt render quite correctly....notice the color bleeds into the bottom half of the bar, where as the other links do not. Any ideas how to fix that? I guess the a style template needs tweaking or something :confused:

http://i188.photobucket.com/albums/z...p/darkskin.jpg

EDIT: I found the style manager > edit template > header, but there is nothing in there for the 'Tournaments' link, so I guess thats getting added by some other method :confused:

Shinden 01-09-2009 09:15 PM

hey, great mod !!
i have just one little problem :
a tournament started because the playerlimit was reached, so i cant change the playerlimit ( i accidently had it set too low ) and tournament type ( from lms to singe elimitination ) anymore, since its already "in progress".
is there a way to solve this, or do i have to create a new tournament now ?

and if so, is there a way for me to manually add teams to it so i wont have to wait for everyone to re-join ?

thanks in advance

Jaxel 01-09-2009 09:46 PM

Hmm... pretty much everywhere...

private.php?do=showpm: Uncached templates: tmnt_postbit (1)

I DONT use "show stats in postbit", why is it even calling the template?

competitions.php?do=rules: Uncached templates: bbcode_code (1)

competitions.php?do=swapplayer: Uncached templates: tmnt_swapplayer (1)

competitions.php?do=editrules: Uncached templates: tmnt_editrules (1)

Also... do you plan on expanding the TOP MENU? I would rather use that, but there is way too much missing from it.

JesterP 01-09-2009 09:56 PM

Quote:

Originally Posted by brucegs (Post 1705935)
Hi all
I whipped up a quick how to guide for my forums and thought some of you might find it useful. You might want to customise it a bit for your forums, and it may have some spelling mistakes :P

Thank you so much. I'm still trying to grasp it all. :)

J

Jaxel 01-10-2009 12:25 PM

Can I request something new for the "Show Stats in Postbit" feature? Can we have ranks based on the ladders? Maybe look at their ladder scores, take the highest of all their scores, and then display the ranking? When a person's ladder score is updated, it should compare their new score, with their other ladder scores, and then take the highest score and extract the determined rank. Then place the rank in the User's table; to be displayed in the postbit and userinfo pages.

I use the Go/Shogi rankings on my forums...
  • Unranked - 0-99
  • 20 Kyu - 100-199
  • 19 Kyu - 200-299
  • 18 Kyu - 300-399
  • 17 Kyu - 400-499
  • 16 Kyu - 500-599
  • 15 Kyu - 600-699
  • 14 Kyu - 700-799
  • 13 Kyu - 800-899
  • 12 Kyu - 900-999
  • 11 Kyu - 1000-1099
  • 10 Kyu - 1100-1199
  • 9 Kyu - 1200-1299
  • 8 Kyu - 1300-1399
  • 7 Kyu - 1400-1499
  • 6 Kyu - 1500-1599
  • 5 Kyu - 1600-1699
  • 4 Kyu - 1700-1799
  • 3 Kyu - 1800-1899
  • 2 Kyu - 1900-1999
  • 1 Kyu - 2000-2099
  • 1 Dan - 2100-2199
  • 2 Dan - 2200-2299
  • 3 Dan - 2300-2399
  • 4 Dan - 2400-2499
  • 5 Dan - 2500-2599
  • 6 Dan - 2600-2699
  • 7 Dan - 2700-2799
  • 8 Dan - 2800-2899
  • 9 Dan - 2900-2999

ZenMastr1968 01-10-2009 01:12 PM

First off, BananaLive, looks good so far. I installed this in my forums yesterday and some of the higher ranking members of the site have been testing this out. I noticed something this morning that if I use the Tournament Tools menu option to "PM me the Details" on an existing Tournament (either one that I created or otherwise), I get a vBulletin error message saying
The following users were not found:
1. 35
I looked it up and my user ID on the site is 35...

It looks like I'm using ver 2.7.4 Probably just a syntax error or something

MotMann 01-10-2009 03:40 PM

Wonderful ... I'm still waiting for that. Ist there a german Translation?

WNxWakko 01-10-2009 04:03 PM

The fetch userid when you attempt to add a player to a tournament is no longer working for me. It worked when I was on 2.6.9 and then recently upgraded to the most current 2.7.4. Any ideas? When you click the button, it does absolutly nothing. its like the button has no function at all.

Denver Jackson 01-10-2009 04:54 PM

Hi Bannalive,

Good work so far on this modification. I am running a FIFA rankings website and need a good script something abit like this.

I was just wondering could you remove the accept challenges and challange a player parts from the script as they are not any use to me and only cause players more time to enter scores and play.

Is there any chance you could make it so the admin creates the fixtures and then the players enter the scores themselves ?

Cheers :)

bananalive 01-10-2009 05:16 PM

Quote:

Originally Posted by WNxWakko (Post 1707436)
The fetch userid when you attempt to add a player to a tournament is no longer working for me. It worked when I was on 2.6.9 and then recently upgraded to the most current 2.7.4. Any ideas? When you click the button, it does absolutly nothing. its like the button has no function at all.

I'll check this later.

Quote:

Originally Posted by MotMann (Post 1707411)
Wonderful ... I'm still waiting for that. Ist there a german Translation?

check http://www.vbulletin-germany.org/

Quote:

Originally Posted by Gleedo (Post 1706594)
Not directly a mod problem but a skin one i guess, but for some reason the 'tournament' link in the nav bar doesnt render quite correctly....notice the color bleeds into the bottom half of the bar, where as the other links do not. Any ideas how to fix that? I guess the a style template needs tweaking or something :confused:

EDIT: I found the style manager > edit template > header, but there is nothing in there for the 'Tournaments' link, so I guess thats getting added by some other method :confused:

Look at plugin: Tournament AutoInsert Links

HTML Code:

<td class=\"vbmenu_control\"><a href=\"".$vbulletin->options['bburl']."/competitions.php$session[sessionurl_q]\">$modname</a></td>

Spencey 01-10-2009 07:00 PM

Hey! I really hate to be a pain in the ass here but i really wanna get this tournaments plugin working for my clan. You keep improving and improving your work and its making me jealous lol so anyways on with the issue

I get a error saying basically i need to increase my PHP memory limit, im very new at this but apparently you have to edit some file called the php.ini file yeh?

Well this is what it looks like..so whats the problem?
"post_max_size = 110Mupload_max_filesize = 110Mmemory_limit = 90M"

but when i go into my Admin CP the PHP Memory limit is 8MB? How do i increase it

bananalive 01-10-2009 07:19 PM

Quote:

Originally Posted by Spencey (Post 1707660)
Hey! I really hate to be a pain in the ass here but i really wanna get this tournaments plugin working for my clan. You keep improving and improving your work and its making me jealous lol so anyways on with the issue

I get a error saying basically i need to increase my PHP memory limit, im very new at this but apparently you have to edit some file called the php.ini file yeh?

Well this is what it looks like..so whats the problem?
"post_max_size = 110Mupload_max_filesize = 110Mmemory_limit = 90M"

but when i go into my Admin CP the PHP Memory limit is 8MB? How do i increase it

Sorry but I have no experience with servers, you could try contacting your web server host and asking them

p.s. my PHP Memory Limit is 32.00 MB

Gleedo 01-10-2009 07:39 PM

Quote:

Originally Posted by bananalive (Post 1707522)
Look at plugin: Tournament AutoInsert Links

HTML Code:

<td class=\"vbmenu_control\"><a href=\"".$vbulletin->options['bburl']."/competitions.php$session[sessionurl_q]\">$modname</a></td>

Ah thanks very much banana - it all renders ok now thanks :)

PHATTPANTZ 01-11-2009 03:34 PM

This mod is probably the main reason I got VB for my site, so am very excited about it, but unfortunately cannot get it to install... I have followed the readme instructions to the letter to upload all the files, however when I use Product Manager to upload the xml product file from my local drive (having set the overwrite to 'yes' as instructed), the importer freezes on the "Importing Product, Please Wait..." screen and the browser says 'Done'. If I move away fom this screen back to the AdminCP, the product shows in my Product Manager screen, but there are no options for it anywhere, or permission options, so it cannot be used. Having tried many times, on both my live and test forums (including a fresh install of both VB 3.7.4 and 3.8.0), and left it running for several hours (in case it was just slow to upload) I'm now unsure as to how to proceed. Can anyone help? I have successfully added other products without this issue.

bananalive 01-11-2009 03:50 PM

Quote:

Originally Posted by PHATTPANTZ (Post 1708676)
This mod is probably the main reason I got VB for my site, so am very excited about it, but unfortunately cannot get it to install... I have followed the readme instructions to the letter to upload all the files, however when I use Product Manager to upload the xml product file from my local drive (having set the overwrite to 'yes' as instructed), the importer freezes on the "Importing Product, Please Wait..." screen and the browser says 'Done'. If I move away fom this screen back to the AdminCP, the product shows in my Product Manager screen, but there are no options for it anywhere, or permission options, so it cannot be used. Having tried many times, on both my live and test forums (including a fresh install of both VB 3.7.4 and 3.8.0), and left it running for several hours (in case it was just slow to upload) I'm now unsure as to how to proceed. Can anyone help? I have successfully added other products without this issue.

What php version are you using?

G0F0RBR0KE 01-12-2009 07:54 AM

I'm getting a blank page after submitting a tournament

bananalive 01-12-2009 01:12 PM

Quote:

Originally Posted by EvilAkuma (Post 1709449)
I'm getting a blank page after submitting a tournament

Follow these instructions:
http://www.bananalive.co.cc/showthread.php?t=20

G0F0RBR0KE 01-12-2009 02:15 PM

I shall try that. After trying the Team challenge, they don't get a PM to accept the challenge.

I did what u ask and still getting blank page.
================================

WNxWakko 01-12-2009 04:30 PM

Any progress on the Fetch userid?


All times are GMT. The time now is 02:38 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.03121 seconds
  • Memory Usage 1,895KB
  • 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
  • (20)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