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)

Skyrider 03-07-2009 11:26 PM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 1762719)
Have you got usergroup permissions to create tournaments?

competitions.php?do=addtmnt

EDIT:
Nevermind, thanks. the //--> in the forumhome template broke everything. Never noticed this one ^_^. Can you look at the attachment though, and see if this can be fixed/solved? I'm not sure how to on a custom template. (check the right side, its white).

bananalive 03-08-2009 10:27 AM

Quote:

Originally Posted by FF|Skyrider (Post 1762838)
EDIT:
Nevermind, thanks. the //--> in the forumhome template broke everything. Never noticed this one ^_^. Can you look at the attachment though, and see if this can be fixed/solved? I'm not sure how to on a custom template. (check the right side, its white).

That bit is using the class vbmenu_control

template: tmnt_display
HTML Code:

<td style="cursor: pointer;" class="vbmenu_control" id="tmnttools" nowrap="nowrap">

Stifmeister2 03-08-2009 02:19 PM

Quote:

Originally Posted by AzHousePro (Post 1762635)
Thanks, the ladders would be perfect for my site but we have no real use for the tournaments.

Will keep an eye on this thread with hopes we can just use the ladders one day.

Mike

You can disable tournament permissions for every usergroup. ;) So no one can use the tournaments part, just ladders.

bananalive 03-08-2009 04:20 PM

1 Attachment(s)
Quote:

Originally Posted by AzHousePro (Post 1762635)
Thanks, the ladders would be perfect for my site but we have no real use for the tournaments.

Will keep an eye on this thread with hopes we can just use the ladders one day.

Mike

I've amended the files so tournament viewing permission is not needed to view ladders.

Skyrider 03-08-2009 04:28 PM

Quote:

Originally Posted by bananalive (Post 1763106)
That bit is using the class vbmenu_control

template: tmnt_display
HTML Code:

<td style="cursor: pointer;" class="vbmenu_control" id="tmnttools" nowrap="nowrap">

Then what exactly? ^^, I'm quite new with all such template codes. What exactly do I have to add/edit in order for it to view properly?

EDIT:
Small Issue:

When I select "PM me the details" in the drop down menu, I get:

Quote:

The following users were not found:

1. 3086
But that userID is mine. Is it because I have a | in my nickname? (FF|Skyrider).

Edit #2.

Tried with another nickname (normal skyrider) and got this error *the same*

Quote:

The following users were not found:

1. 21706

Edit #3:
Possible you can add a feature so you can reset everyone's winners/lost competitions?

bananalive 03-08-2009 05:18 PM

1 Attachment(s)
Quote:

Originally Posted by FF|Skyrider (Post 1763296)
Then what exactly? ^^, I'm quite new with all such template codes. What exactly do I have to add/edit in order for it to view properly?

EDIT:
Small Issue:

When I select "PM me the details" in the drop down menu, I get:


But that userID is mine. Is it because I have a | in my nickname? (FF|Skyrider).

Edit #2.

Tried with another nickname (normal skyrider) and got this error *the same*




Edit #3:
Possible you can add a feature so you can reset everyone's winners/lost competitions?

Change class="vbmenu_control" to class="tcat"

PM Error fixed in attached file.

Skyrider 03-08-2009 06:07 PM

Another small bug.

When I go to:
Tournament Hall of Fame

I see:

1 Skyrider
1= FF|skyrider

Shouldn't the 1= be 2?

Thanks for the update and the fix! Helped me a lot! :D. Also nominated this for MOTM.

bananalive 03-08-2009 06:19 PM

Quote:

Originally Posted by FF|Skyrider (Post 1763350)
Another small bug.

When I go to:
Tournament Hall of Fame

I see:

1 Skyrider
1= FF|skyrider

Shouldn't the 1= be 2?

Thanks for the update and the fix! Helped me a lot! :D. Also nominated this for MOTM.

If the scores are equal then there are first equal, ie 1=

AK47 Nemesis 03-08-2009 10:58 PM

No answer on my previous suggestion:

A matchfinder should be nice. Would it be a possible feature for the next version? People submit a forum with prefered rules etc and other teams can accept it (Team that submitted the match stays anonemous until the match is accepted).

bananalive 03-09-2009 02:10 PM

Quote:

Originally Posted by AK47 Nemesis (Post 1763561)
No answer on my previous suggestion:

A matchfinder should be nice. Would it be a possible feature for the next version? People submit a forum with preferred rules etc and other teams can accept it (Team that submitted the match stays anonymous until the match is accepted).

Sorry I must have missed the suggestion. I don't really get it though, couldn't they just organise it and then challenge team

andeelym 03-09-2009 03:17 PM

Got a problem. Tournament does not reflect as finished when the last player have been progressed.
Please see link: http://www.sgwargames.net/forum/comp...p?do=view&id=1

Or is there anyway to "finish" the tournament?

bananalive 03-09-2009 04:05 PM

Quote:

Originally Posted by andeelym (Post 1764120)
Got a problem. Tournament does not reflect as finished when the last player have been progressed.
Please see link: http://www.sgwargames.net/forum/comp...p?do=view&id=1

Or is there anyway to "finish" the tournament?

I've found the problem. It was due to there being only two rounds.

andeelym 03-10-2009 01:45 PM

Quote:

Originally Posted by bananalive (Post 1764153)
I've found the problem. It was due to there being only two rounds.

Umm so are you saying that it cannot support tournaments with 2 rounds? like a 1v1 challenge instead of a ladder?

bananalive 03-10-2009 02:54 PM

1 Attachment(s)
Quote:

Originally Posted by andeelym (Post 1764910)
Umm so are you saying that it cannot support tournaments with 2 rounds? like a 1v1 challenge instead of a ladder?

It can; I've tested it here. Fixed files are attached

andeelym 03-10-2009 03:57 PM

Its working now. Thank you!

Stifmeister2 03-10-2009 05:45 PM

When are you going to combine all those "quick fixes" (that you've attached) into a whole new version?? I have 2.7.4 right now and I was thinking about upgrading, but I guess I'll wait for the next full release rather than upgrading to 2.7.6 and then applying those manual fixes....

The_Rascal 03-11-2009 10:33 AM

Great mod, thanks
I am however having a few 'niggles' with it..
I have uploaded graphics for the teams, but they are not showing up..
The competitions button in the navbar is not formatted the same as the rest of the bar. i.e. the graphics are there for the other buttons but the Competitions one is just blue.
Can anyone help point me in the right direction to fix these minor issues please?

Thanks

bananalive 03-11-2009 02:06 PM

Quote:

Originally Posted by Stifmeister2 (Post 1765075)
When are you going to combine all those "quick fixes" (that you've attached) into a whole new version?? I have 2.7.4 right now and I was thinking about upgrading, but I guess I'll wait for the next full release rather than upgrading to 2.7.6 and then applying those manual fixes....

I was planning to add more features before next release but I haven't had time. So I'll just upload file with all the fixes soon.

bananalive 03-11-2009 02:07 PM

Quote:

Originally Posted by The_Rascal (Post 1765606)
Great mod, thanks
I am however having a few 'niggles' with it..
I have uploaded graphics for the teams, but they are not showing up..
The competitions button in the navbar is not formatted the same as the rest of the bar. i.e. the graphics are there for the other buttons but the Competitions one is just blue.
Can anyone help point me in the right direction to fix these minor issues please?

Thanks

Is the teamlogos folder chmod 777

Could you show me screenshot of navbar so i could see what you mean pls

Stifmeister2 03-11-2009 03:17 PM

Quote:

Originally Posted by bananalive (Post 1765726)
I was planning to add more features before next release but I haven't had time. So I'll just upload file with all the fixes soon.

No problem mate take your time. ;)

The_Rascal 03-11-2009 03:57 PM

Quote:

Originally Posted by bananalive (Post 1765727)
Is the teamlogos folder chmod 777

Could you show me screenshot of navbar so i could see what you mean pls

Thanks Bananalive

Heres the nav bar (i'm using our other theme now so it's now showing in red and not blue as previously noted)
https://vborg.vbsupport.ru/external/2009/03/19.png

Just re-read the instructions, and your post, and I'd looked at the wrong folder for it's attributes... Just set it to 777 and away we go, hopefully

Thanks for your help :up:

The_Rascal 03-11-2009 04:25 PM

Can confirm that logo's now work

Jaxel 03-11-2009 04:46 PM

Any template changes with today's update?

edytwinky 03-11-2009 04:52 PM

I do apologize if this has been asked but is there a timetable set on if double elimination is going to be added?

Jaxel 03-11-2009 04:54 PM

We just found a major bug...

http://www.8wayrun.com/competitions.php?do=view&id=18

Right now we are in Semi-Finals with 4 players left...
MateoGalvan vs Botsu (this is working fine)
MOLDAIVER vs Thermidor (this is broken)

MateoGalvan, Botsu and Thermidor properly have the X and -> buttons next to their name giving us the option to progress or regress them in the tournament. However, Moldaiver does not. He just beat Thermidor, but we can not progress him to the next match. This is a HUGE bug that is making us unable to continue the tournament. I can fix the problem directly in the database, but I would rather not have to do this for every tournament.

Okay, I found out what the problem is... These are the URLS to the links next to the 4 players...
MateoGalvan javascript:progress('18', '2097', 'MateoGalvan', 'round6', '1');
Botsu javascript:progress('18', '1719', 'Botsu', 'round6', '1');
Moldaiver javascript:progress('18', '3028', 'MOLDAIVER', 'round6', '3');
Thermidor javascript:progress('18', '2320', 'Thermidor', 'round6', '2');

The text in RED is wrong, it should be '2', not '3'. Its sending Moldaiver as the winner to a match that doesn't exist. So once my tournament moderator advances him to the wrong match, he loses his X/-> functions and goes nowhere. I just tested it by replacing the 3 in my database with a 2 and then he's listed correctly, however, once again, his arrow for the next match is wrong. It sends him to 2, instead of 1.

It happens in EVERY tournament, in the lower half of Round5 and beyond.

Doctor Death 03-11-2009 09:02 PM

I have a tournament that is causing an error when trying to access it.... specifically here is error message:

Quote:

Database error in vBulletin 3.8.1:

Invalid SQL:
SELECT players.id, players.userid, players.username AS sname, user.teamname AS username, user.teamid, players.round, players.slot, players.time, players.round2, players.round3, players.round4, players.round5, players.round6, players.round7, players.round8, players.round9, players.round10, players.round11, players.winner FROM vywhbabh_tmnt_players AS players LEFT JOIN vywhbabh_tmnt_teams AS user ON (players.userid = user.teamid) WHERE tid=2 ORDER BY slot ASC;

MySQL Error : Unknown column 'players.round8' in 'field list'
Error Number : 1054
Request Date : Wednesday, March 11th 2009 @ 06:02:00 PM
Error Date : Wednesday, March 11th 2009 @ 06:02:00 PM
How is it possible to DELETE a tournament? I dont see an option to do that with?

Covert-OPs_ 03-11-2009 11:43 PM

Was todays update the one with all the new features? Can we get an list of everything in this latest update?

Wyzrd 03-12-2009 03:37 AM

Is there a way to clear the Hall Of Fame. I just ran a quick tournament to see how it worked and would like to clear the Hall Of Fame section out now.

Otherwise, nice mod.

SouthpawK 03-12-2009 05:44 AM

Kind of new to vb stuff so excuse the stupid questions...I have been reading all the replies here and this does sound great but honestly I am a little confused.

What are the different kinds of tournaments can one have with this?

More importantly...we want to have video compitetions where our members will upload their videos and other members will vote on them for the best video. Will this work for what we want to do? If not, any recommendations?

Thanks for any help

bananalive 03-12-2009 02:07 PM

Quote:

Originally Posted by Jaxel (Post 1765841)
Any template changes with today's update?

No

Quote:

Originally Posted by edytwinky (Post 1765842)
I do apologize if this has been asked but is there a timetable set on if double elimination is going to be added?

I'm very busy atm, so it will be a long while.

Quote:

Originally Posted by Doctor Death (Post 1766019)
I have a tournament that is causing an error when trying to access it.... specifically here is error message:



How is it possible to DELETE a tournament? I dont see an option to do that with?

Have a look at this post: https://vborg.vbsupport.ru/showpost....postcount=1447

Or add the column in phpmyadmin
Code:

round8 int(10) NOT NULL



Tournament Tools -> Delete

bananalive 03-12-2009 02:08 PM

Quote:

Originally Posted by Jaxel (Post 1765843)
We just found a major bug...

http://www.8wayrun.com/competitions.php?do=view&id=18

Right now we are in Semi-Finals with 4 players left...
MateoGalvan vs Botsu (this is working fine)
MOLDAIVER vs Thermidor (this is broken)

MateoGalvan, Botsu and Thermidor properly have the X and -> buttons next to their name giving us the option to progress or regress them in the tournament. However, Moldaiver does not. He just beat Thermidor, but we can not progress him to the next match. This is a HUGE bug that is making us unable to continue the tournament. I can fix the problem directly in the database, but I would rather not have to do this for every tournament.

Okay, I found out what the problem is... These are the URLS to the links next to the 4 players...
MateoGalvan javascript:progress('18', '2097', 'MateoGalvan', 'round6', '1');
Botsu javascript:progress('18', '1719', 'Botsu', 'round6', '1');
Moldaiver javascript:progress('18', '3028', 'MOLDAIVER', 'round6', '3');
Thermidor javascript:progress('18', '2320', 'Thermidor', 'round6', '2');

The text in RED is wrong, it should be '2', not '3'. Its sending Moldaiver as the winner to a match that doesn't exist. So once my tournament moderator advances him to the wrong match, he loses his X/-> functions and goes nowhere. I just tested it by replacing the 3 in my database with a 2 and then he's listed correctly, however, once again, his arrow for the next match is wrong. It sends him to 2, instead of 1.

It happens in EVERY tournament, in the lower half of Round5 and beyond.

I'll look at the algorithm.

Quote:

Originally Posted by Covert-OPs_ (Post 1766117)
Was todays update the one with all the new features? Can we get an list of everything in this latest update?

See version history, linked at top of first post of every page. [Version History]

bananalive 03-12-2009 02:10 PM

Quote:

Originally Posted by Wyzrd (Post 1766220)
Is there a way to clear the Hall Of Fame. I just ran a quick tournament to see how it worked and would like to clear the Hall Of Fame section out now.

Otherwise, nice mod.

No.

Quote:

Originally Posted by SouthpawK (Post 1766262)
Kind of new to vb stuff so excuse the stupid questions...I have been reading all the replies here and this does sound great but honestly I am a little confused.

What are the different kinds of tournaments can one have with this?

More importantly...we want to have video competitions where our members will upload their videos and other members will vote on them for the best video. Will this work for what we want to do? If not, any recommendations?

Thanks for any help

Single elimination
Last Man Standing

No, this won't work in your situation. I think want you want is something called a battle rap script but I'm not entirely sure.

bananalive 03-12-2009 03:33 PM

1 Attachment(s)
Quote:

Originally Posted by Jaxel (Post 1765843)
We just found a major bug...

http://www.8wayrun.com/competitions.php?do=view&id=18

Right now we are in Semi-Finals with 4 players left...
MateoGalvan vs Botsu (this is working fine)
MOLDAIVER vs Thermidor (this is broken)

MateoGalvan, Botsu and Thermidor properly have the X and -> buttons next to their name giving us the option to progress or regress them in the tournament. However, Moldaiver does not. He just beat Thermidor, but we can not progress him to the next match. This is a HUGE bug that is making us unable to continue the tournament. I can fix the problem directly in the database, but I would rather not have to do this for every tournament.

Okay, I found out what the problem is... These are the URLS to the links next to the 4 players...
MateoGalvan javascript:progress('18', '2097', 'MateoGalvan', 'round6', '1');
Botsu javascript:progress('18', '1719', 'Botsu', 'round6', '1');
Moldaiver javascript:progress('18', '3028', 'MOLDAIVER', 'round6', '3');
Thermidor javascript:progress('18', '2320', 'Thermidor', 'round6', '2');

The text in RED is wrong, it should be '2', not '3'. Its sending Moldaiver as the winner to a match that doesn't exist. So once my tournament moderator advances him to the wrong match, he loses his X/-> functions and goes nowhere. I just tested it by replacing the 3 in my database with a 2 and then he's listed correctly, however, once again, his arrow for the next match is wrong. It sends him to 2, instead of 1.

It happens in EVERY tournament, in the lower half of Round5 and beyond.

Upload attached file.

Covert-OPs_ 03-12-2009 04:26 PM

Is it safe to assume that this update is not the one with the new features?

SouthpawK 03-12-2009 05:01 PM

Quote:

Originally Posted by bananalive (Post 1766465)
No.



Single elimination
Last Man Standing

No, this won't work in your situation. I think want you want is something called a battle rap script but I'm not entirely sure.

Thanks for your quick response and recomendation, I appreciate it. I'll keep looking...

bananalive 03-13-2009 03:33 PM

Quote:

Originally Posted by Covert-OPs_ (Post 1766560)
Is it safe to assume that this update is not the one with the new features?

Yes

Covert-OPs_ 03-13-2009 05:23 PM

Quote:

Originally Posted by bananalive (Post 1767265)
Yes

I know you have a lot on your plate, do you have an eta on when that update would be released?

AK47 Nemesis 03-14-2009 11:39 AM

Quote:

Originally Posted by bananalive (Post 1764043)
Sorry I must have missed the suggestion. I don't really get it though, couldn't they just organise it and then challenge team

Not every team knows eachother. With a matchfinder they can put a anonymous challenge on a calendar/roster and other teams will be able to accept it. Think of it as a blind date. Also, if a team is like incredibly good, other teams won't accept challenges from that team. With this they don't know who made the challenge so every team get's to play.

An example of a matchfinder system:

http://gamebattles.com/xbox360/call-...u/match-finder

(Includes time, the reputation of the challenger, amount of players per team, best of 3 / 5, a pop up with the details and the amount of warnings the challenger has (By disputing matches for example).

Hopefully that will clear things up :)

Covert-OPs_ 03-14-2009 03:43 PM

Quote:

Originally Posted by AK47 Nemesis (Post 1767794)
Not every team knows eachother. With a matchfinder they can put a anonymous challenge on a calendar/roster and other teams will be able to accept it. Think of it as a blind date. Also, if a team is like incredibly good, other teams won't accept challenges from that team. With this they don't know who made the challenge so every team get's to play.

An example of a matchfinder system:

http://gamebattles.com/xbox360/call-...u/match-finder

(Includes time, the reputation of the challenger, amount of players per team, best of 3 / 5, a pop up with the details and the amount of warnings the challenger has (By disputing matches for example).

Hopefully that will clear things up :)

I have to agree a match finder for the ladder system would be a HUGE ADDITION!

The_Rascal 03-15-2009 10:09 AM

Quote:

Originally Posted by The_Rascal (Post 1765814)
Thanks Bananalive

Heres the nav bar (i'm using our other theme now so it's now showing in red and not blue as previously noted)
https://vborg.vbsupport.ru/external/2009/03/19.png

Just re-read the instructions, and your post, and I'd looked at the wrong folder for it's attributes... Just set it to 777 and away we go, hopefully

Thanks for your help :up:

Update
Fixed this :)
Turned off the auto placement of the mad into the navbar and edited the header template manually... this brought the graphics through aswell :up:

All working perfectly now :)


All times are GMT. The time now is 06:14 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.03177 seconds
  • Memory Usage 1,877KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (32)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