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)

GrendelKhan{TSU 02-27-2009 07:29 AM

Quote:

Originally Posted by Jaxel (Post 1755731)
Yeah... I had this same issue... the author of this mod doesn't format his install file correctly... What you need to do is go into your maintenance section, change the version number to this mod from 2.7.6 to 2.7.5... then re-install. This will make sure you get the new install codes.

thanks!

sorry to bug you.... I'm a n00b with stuff like that. how do you actually do that? (ie: which file do I have to edit and where do I change the mod number?). much appreciate the help. :)

Covert-OPs_ 02-27-2009 05:15 PM

What changed since the Feb 25th update?

lane 02-27-2009 05:32 PM

Quote:

Originally Posted by xplanes (Post 1755742)
Nope. He must have rezipped the file with a password protection selected as default because the redownloaded file does the same. It will not extract the zip file without a password.

I just downloaded it again, opens without a password and without issues.

Try using WinRaR

lane 02-27-2009 05:41 PM

Hi Guys,

I have run into couple of issues:

#1
Quote:

In many cases, where the Java window pop-up and asks "Are You Sure" or when you try to add a player to your team, all it does it redirect to the main page.

It happens when trying to add players, delete team, delete ladders, accept players into the team and many other places.

Anyone has any idea how to fix this?
NOW FIXED, See Below!

#2
Quote:

I have come across a second issue, the creator of the team can delete himself and therefore basically kills it.
Solution to Issue #1:
Quote:

For anyone else having the first issue I listed, you will need to edit the tmnt_shell template for your active theme.

OLD:
PHP Code:

{
    if (
confirm("Are you sure you want to delete '" title "'")) {
        
window.location.href '?do=kill&id=' id;
    }
}
function 
deleteteam(id
{
    if (
confirm("Are you sure you want to delete this team?")) {
        
window.location.href '?do=killteam&id=' id;
    }
}
function 
deleteann(id
{
    if (
confirm("Are you sure you want to delete this announcement?")) {
        
window.location.href '?do=killann&id=' id;
    }
}
function 
jointeam(id
{
    if (
confirm("Are you sure you want to join this team?")) {
        
window.location.href '?do=reqjointeam&id=' id;
    }
}
function 
rejectrecruit(id
{
    if (
confirm("Are you sure you want to reject this recruit?")) {
        
window.location.href '?do=rejectrecruit&id=' id;
    }
}
function 
confirmrecruit(id
{
    if (
confirm("Are you sure you want to confirm this recruit?")) {
        
window.location.href '?do=confirmrecruit&id=' id;
    }
}
function 
deleteplayer(idtiduserid
{
    if (
confirm("Are you sure you remove this player from this tournament?")) {
        
window.location.href '?do=killplayer&id=' id '&tid=' tid '&userid=' userid;
    }
}
function 
deleteteamplayer(id
{
    if (
confirm("Are you sure you want to remove this player from your team?")) {
        
window.location.href '?do=killteamplayer&id=' id;
    }
}
function 
makeleader(id
{
    if (
confirm("Are you sure you want to make this team member a leader?")) {
        
window.location.href '?do=makeleader&id=' id;
    }
}
function 
makecoleader(id
{
    if (
confirm("Are you sure you want to make this team player a co-leader?")) {
        
window.location.href '?do=makecoleader&id=' id;
    }
}
function 
deletecomment(idtiduserid
{
    if (
confirm("Are you sure you want to delete this comment?")) {
        
window.location.href '?do=killcomment&id=' id '&tid=' tid +'&userid=' userid;
    }
}
function 
finishtmnt(idtitletopscore
{
    if (
confirm("Are you sure you want to finish '" title "'")) {
        
window.location.href '?do=finish&id=' id '&topscore=' topscore;
    }
}
function 
progress(iduseridusernameroundslot
{
    if (
confirm("Are you sure you want to progress '" username "' to next round?")) {
        
window.location.href '?do=progress&id=' id '&userid=' userid '&round=' round '&slot=' slot;
    }
}
function 
regress(iduseridusernameround
{
    if (
confirm("Are you sure you want to regress '" username "' to previous round?")) {
        
window.location.href '?do=progress&id=' id '&userid=' userid '&round=' round '&slot=0';
    }
}
function 
progressfinish(iduseridusernameroundslot
{
    if (
confirm("Are you sure you want to progress '" username "' to next round?")) {
        
window.location.href '?do=progressfinish&id=' id '&userid=' userid '&round=' round '&slot=' slot;
    }


New:
Notice the "/competitions.php" addition to the lines.
PHP Code:

{
    if (
confirm("Are you sure you want to delete '" title "'")) {
        
window.location.href '/competitions.php?do=kill&id=' id;
    }
}
function 
deleteteam(id
{
    if (
confirm("Are you sure you want to delete this team?")) {
        
window.location.href '/competitions.php?do=killteam&id=' id;
    }
}
function 
deleteann(id
{
    if (
confirm("Are you sure you want to delete this announcement?")) {
        
window.location.href '/competitions.php?do=killann&id=' id;
    }
}
function 
jointeam(id
{
    if (
confirm("Are you sure you want to join this team?")) {
        
window.location.href '/competitions.php?do=reqjointeam&id=' id;
    }
}
function 
rejectrecruit(id
{
    if (
confirm("Are you sure you want to reject this recruit?")) {
        
window.location.href '/competitions.php?do=rejectrecruit&id=' id;
    }
}
function 
confirmrecruit(id
{
    if (
confirm("Are you sure you want to confirm this recruit?")) {
        
window.location.href '/competitions.php?do=confirmrecruit&id=' id;
    }
}
function 
deleteplayer(idtiduserid
{
    if (
confirm("Are you sure you remove this player from this tournament?")) {
        
window.location.href '/competitions.php?do=killplayer&id=' id '&tid=' tid '&userid=' userid;
    }
}
function 
deleteteamplayer(id
{
    if (
confirm("Are you sure you want to remove this player from your team?")) {
        
window.location.href '/competitions.php?do=killteamplayer&id=' id;
    }
}
function 
makeleader(id
{
    if (
confirm("Are you sure you want to make this team member a leader?")) {
        
window.location.href '/competitions.php?do=makeleader&id=' id;
    }
}
function 
makecoleader(id
{
    if (
confirm("Are you sure you want to make this team player a co-leader?")) {
        
window.location.href '/competitions.php?do=makecoleader&id=' id;
    }
}
function 
deletecomment(idtiduserid
{
    if (
confirm("Are you sure you want to delete this comment?")) {
        
window.location.href '/competitions.php?do=killcomment&id=' id '&tid=' tid +'&userid=' userid;
    }
}
function 
finishtmnt(idtitletopscore
{
    if (
confirm("Are you sure you want to finish '" title "'")) {
        
window.location.href '/competitions.php?do=finish&id=' id '&topscore=' topscore;
    }
}
function 
progress(iduseridusernameroundslot
{
    if (
confirm("Are you sure you want to progress '" username "' to next round?")) {
        
window.location.href '/competitions.php?do=progress&id=' id '&userid=' userid '&round=' round '&slot=' slot;
    }
}
function 
regress(iduseridusernameround
{
    if (
confirm("Are you sure you want to regress '" username "' to previous round?")) {
        
window.location.href '/competitions.php?do=progress&id=' id '&userid=' userid '&round=' round '&slot=0';
    }
}
function 
progressfinish(iduseridusernameroundslot
{
    if (
confirm("Are you sure you want to progress '" username "' to next round?")) {
        
window.location.href '/competitions.php?do=progressfinish&id=' id '&userid=' userid '&round=' round '&slot=' slot;
    }


There is still an issue with adding members to your team, when you select the option to add a member, it loads the home page. I am working on this now and will post up soon as I find the solution.
Cheers!

Shadawg 02-28-2009 10:42 AM

The bracket lines and boxs are all messed up on certain tournaments..... i need a fix for this fast, using latest version, vb 3.8.0

Shadawg 02-28-2009 12:08 PM

Okay second that, dont worry, there is a way around it, when creating a Tournament, set as 16max, say you only get 10, do not lower the max slots, otherwise you encounter that messed up brackets. just start the tournament.....

bananalive 02-28-2009 12:14 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1755803)
thanks!

sorry to bug you.... I'm a n00b with stuff like that. how do you actually do that? (ie: which file do I have to edit and where do I change the mod number?). much appreciate the help. :)

  1. Open product_tournaments2008.xml
  2. Find:
    PHP Code:

    <code version="2.7.6"

  3. Replace:
    PHP Code:

    <code version="2.7.7"

  4. Save Product file
  5. import Product file

bananalive 02-28-2009 12:15 PM

Quote:

Originally Posted by inslain (Post 1755739)
Is it possible to make one tournament private or password protected?

No.

lane 02-28-2009 06:17 PM

Quote:

Originally Posted by bananalive (Post 1756847)
  1. Open product_tournaments2008.xml
  2. Find:
    PHP Code:

    <code version="2.7.6"

  3. Replace:
    PHP Code:

    <code version="2.7.7"

  4. Save Product file
  5. import Product file

May I ask what all is changed or fixed by doing this?

Thank you!

bananalive 02-28-2009 07:03 PM

Quote:

Originally Posted by lane (Post 1757074)
May I ask what all is changed or fixed by doing this?

Thank you!

Only needed if you get an error of missing mysql table columns on tournament view

Gamelobby 03-01-2009 10:06 PM

I just started a LMS tournament, & there is no brackets..?
How do i know who should play who.?

Only option is to add points/score.!?

haggles 03-02-2009 12:08 AM

i too am having the problem with the latest version requiring a password to unzip. (using default windows XP unzip)

no other versions have had this problem and i just went back and found the link to 2.7.6 pre and it is fine.

thanks again banana for this awesome mod and continued support for it!

:)

edit: i tried extracting it with WinRar on another pc and you can without any password request.

edit2: if you take the last space out of the name of the zip file "vB_Tournaments+Ladders v2.7.6 .zip" and rename it "vB_Tournaments+Ladders v2.7.6.zip" it works fine using the windows default unzip program.

fattony69 03-02-2009 12:13 AM

Will this work for March Madness? I would like to have something for it!

bananalive 03-02-2009 12:31 PM

Quote:

Originally Posted by fattony69 (Post 1758104)
Will this work for March Madness? I would like to have something for it!

Sorry, I've got no idea what March Madness is.

bananalive 03-02-2009 12:34 PM

Quote:

Originally Posted by Gamelobby (Post 1757971)
I just started a LMS tournament, & there is no brackets..?
How do i know who should play who.?

Only option is to add points/score.!?

Last man standing (gaming)

there are no brackets, each round the last surviving person gets a point. Winner has won the most rounds/ points

Gamelobby 03-03-2009 03:30 AM

I see..

So the bracket shown in the example image.. is Single Elimination.? (my bad :))

Mukashi 03-03-2009 09:45 PM

Hoping you might be able to help me with this bananaalive. One of my users just created a tournament, and we're getting the following error any time we try to access the tournament from the list. I don't seem to have a way to delete it except by going into it, which we can't do while that error is there, so I'm hoping you could tell me how I could fix this myself somehow.

Quote:

Database error in vBulletin 3.8.1:

Invalid SQL:
SELECT id, userid, username, round, slot, time, round2, round3, round4, round5, round6, round7, round8, round9, round10, round11, winner FROM tmnt_players WHERE tid=2 ORDER BY slot ASC;

MySQL Error : Unknown column 'round8' in 'field list'
Error Number : 1054
Request Date : Tuesday, March 3rd 2009 @ 11:41:48 PM
Error Date : Tuesday, March 3rd 2009 @ 11:41:48 PM
Script : http://bmgf.bulbagarden.net/competit...p?do=view&id=2
Referrer : http://bmgf.bulbagarden.net/competitions.php
IP Address : 58.174.97.22
Username : Archaic
Classname : vB_Database_MySQLi
MySQL Version : 5.0.67-community

Jaxel 03-04-2009 03:47 AM

Holy crap... Bulbagarden is still open?

<--- Jaxel from UPNetwork

Mukashi 03-04-2009 04:01 AM

Still open, and a top 10k website by most measures. ;) Long time no see Jaxel.

Just to give a bit more background info regarding the issue above, I've taken a look at the database (though resisted the urge to do any fiddling), and noticed round9, round10, round11, and winner. We've had some server instability lately, so I suspect the tournament was setup during one of those, and just didn't setup right.

AK47 Nemesis 03-04-2009 06:43 AM

I have a suggestion for this already great mod. What about a matchfinder for the ladders? Some sort of calendar where you/a team can submit a match to a certain day and time. Challenge options should be possible, like this allowed, that allowed etc. I think this will make this mod even better.

bananalive 03-04-2009 08:06 AM

Quote:

Originally Posted by Mukashi (Post 1759621)
Hoping you might be able to help me with this bananaalive. One of my users just created a tournament, and we're getting the following error any time we try to access the tournament from the list. I don't seem to have a way to delete it except by going into it, which we can't do while that error is there, so I'm hoping you could tell me how I could fix this myself somehow.

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

AtomicFPS 03-04-2009 09:17 AM

How can I get the tournaments navbar to show for the full forum?

Tournaments Announcements Rules Tournaments Ladders Team List New

The whole thing?

Mukashi 03-04-2009 10:05 AM

Quote:

Originally Posted by bananalive (Post 1759903)

That appears to have fixed it alright. Thank you very much for your speedy reply.

GrendelKhan{TSU 03-04-2009 04:09 PM

Quote:

Originally Posted by bananalive (Post 1756847)
  1. Open product_tournaments2008.xml
  2. Find:
    PHP Code:

    <code version="2.7.6"

  3. Replace:
    PHP Code:

    <code version="2.7.7"

  4. Save Product file
  5. import Product file

woot! thanks :)



btw.. just for reference... is double elimination in the works? I know its on the list.. but wonder if you actually have plans or schedule for it? don't want to bug yoiu cause I love this script and think you are doing an incredible job... just wondering so I get idea and don't to be too expectant each update. :p thanx again. :)

AzHousePro 03-05-2009 03:05 AM

Is there a way to just run the ladders without running the tournaments side of things?

Mike

Vinyljunky 03-05-2009 08:12 AM

I know this may sound like a daft question :o but what are people using this mod for :confused:

It would be great if it was combined with a quiz mod :D

SSC streezer 03-05-2009 08:35 AM

loool what a question...

use it for xbox tournaments, pc lans etc. etc. if you dont know what that is, you should forget this mod^^

SSC streezer 03-05-2009 10:40 AM

1 Attachment(s)
Bug found:


shouldn't there be a "2" instead of a "=1" ???

SpawnSC 03-05-2009 11:04 PM

my brackets are screwed up and 2 players can be progressed up.. please take a look here
http://spawnsc.com/forums/competitions.php?do=view&id=1

SpawnSC 03-06-2009 09:07 AM

Quote:

Originally Posted by Shadawg (Post 1756845)
Okay second that, dont worry, there is a way around it, when creating a Tournament, set as 16max, say you only get 10, do not lower the max slots, otherwise you encounter that messed up brackets. just start the tournament.....

try this work around and when i hit start tournament it takes me back to the main tournament page and still says awaiting players.. :erm:

OttawaGolf 03-07-2009 03:15 PM

We are trying to change a team name.

It does not change on the competions page

http://forum.ottawagolf.com/competit...p?do=view&id=6

The team I am talking about is Gray1512 & Oremush

However when you click through to the team page, the new name does show. Gray1512 & Duff

Any thoughts?

bananalive 03-07-2009 04:36 PM

1 Attachment(s)
Quote:

Originally Posted by OttawaGolf (Post 1762547)
We are trying to change a team name.

It does not change on the competions page

http://forum.ottawagolf.com/competit...p?do=view&id=6

The team I am talking about is Gray1512 & Oremush

However when you click through to the team page, the new name does show. Gray1512 & Duff

Any thoughts?

Fixed in attached file.

bananalive 03-07-2009 04:37 PM

Quote:

Originally Posted by SSC streezer (Post 1760940)
Bug found:


shouldn't there be a "2" instead of a "=1" ???

1= means first equal as scores are same

bananalive 03-07-2009 04:40 PM

Quote:

Originally Posted by AzHousePro (Post 1760721)
Is there a way to just run the ladders without running the tournaments side of things?

Mike

not at the moment

bananalive 03-07-2009 04:41 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1760280)
woot! thanks :)



btw.. just for reference... is double elimination in the works? I know its on the list.. but wonder if you actually have plans or schedule for it? don't want to bug yoiu cause I love this script and think you are doing an incredible job... just wondering so I get idea and don't to be too expectant each update. :p thanx again. :)

No. Next on my list is to improve the ladder challenges.

bananalive 03-07-2009 04:44 PM

Quote:

Originally Posted by AtomicFPS (Post 1759943)
How can I get the tournaments navbar to show for the full forum?

Tournaments Announcements Rules Tournaments Ladders Team List New

The whole thing?

Its embedded in the tmnt_shell template. You might be able to copy across the code.

AzHousePro 03-07-2009 05:26 PM

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

Quote:

Originally Posted by bananalive (Post 1762597)
not at the moment


Skyrider 03-07-2009 05:55 PM

How exactly do I create a tournament? When I click on the tournament button on the navbar, I see empty bars.

OttawaGolf 03-07-2009 06:34 PM

Thats fantastic. Thanks so much for your excellent mod and support.
Quote:

Originally Posted by bananalive (Post 1762594)
Fixed in attached file.


bananalive 03-07-2009 07:32 PM

Quote:

Originally Posted by FF|Skyrider (Post 1762657)
How exactly do I create a tournament? When I click on the tournament button on the navbar, I see empty bars.

Have you got usergroup permissions to create tournaments?

competitions.php?do=addtmnt


All times are GMT. The time now is 08:35 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.02924 seconds
  • Memory Usage 1,936KB
  • 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
  • (8)bbcode_php_printable
  • (24)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