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 10-02-2008 07:31 PM

Quote:

Originally Posted by gamerscms (Post 1635815)
Would be great to see some rules pages added.

I'm going to be adding rules page and front page next.

Queball_Beast 10-02-2008 07:34 PM

Thank you for this info and I look forward to the update.

As for editing the vbphrase " tmnts " I do not want to edit all the phrases for Tournaments, I only want the name on the navbar to change from Tournaments to whatever I decide.


Cant wait to see this as Mod of the Month

Thanks again

Quote:

Originally Posted by bananalive (Post 1635899)
It uses different tables but I will create product file to move ladders info across.

Edit vbphrase tmnts though this edits all instances of the phrase


Gn_Snake 10-02-2008 08:19 PM

How are delete the announcements?

Internetcafe 10-02-2008 08:37 PM

Quote:

Originally Posted by Internetcafe (Post 1634840)
Members profile / stats page shows multiple tournament listings !? :-

Quote:

Originally Posted by bananalive (Post 1635737)
Just released v2.4.6 which should address all current bugs, etc. along with new features.

Any problems post below

Updated to 2.4.6 and above problem still persists !?

VGPelega 10-02-2008 09:48 PM

I was just looking at this new install, and the new announcements part.

I assume that anyone can post an announcement, as I can't see any settings in ACP, for usergroup permissions, or in the tournaments options.

Am I just being silly here, but shouldn't this be usergroup controlled?

Upon testing, I also only see an edit option after an announcement is posted, any chance of a "delete" button in there?? (bit cheeky of me, but it would be handy for a lot of people I reckon.)

DstrucTIonS 10-03-2008 12:25 AM

I see a tournament with brackets in one of your screenshots. Where do I go to view this in the install?

Chris11987 10-03-2008 12:46 AM

Quote:

Originally Posted by DstrucTIonS (Post 1636109)
I see a tournament with brackets in one of your screenshots. Where do I go to view this in the install?


After a tournament is filled and has started, the brackets will display.

XStealth6 10-03-2008 04:12 AM

Update: I'm still getting this error:

Quote:

Warning: Wrong parameter count for str_replace() in [path]\tournament.php on line 642
Only when creating a new tournament.

Aslo, the Coding is messed up when creating a tournament, it's not aligned like it was before, now it's all linear..

screenshot below on this link:

http://i38.tinypic.com/2cmves0.jpg

Any possible fixes for the above?

PS. This is in IE7. In FireFox it works/looks fine.

and a big THANK YOU! for developing this script! it's awsome!
Voted for MOTM, Will also be donating shortly.

valendono 10-03-2008 05:42 AM

ok 2.4.6.. sumbody ask to join team then accepted.. then I delete from join team tournament.. the list tournament.php?do=teams still count 2 but only my self on that team (1) not 2

indie2industry 10-03-2008 06:14 AM

Quote:

Originally Posted by bananalive (Post 1635750)
Open template tmnt_results copy into notepad/wordpad

Replace all #000000 with html hex code

Here's few examples...

#FFFFFF = White
#FF0000 = Red
#00FF00 = Green
#0000FF = Blue
#FFFF00 = Yellow
#00FFFF = Aqua Greeny Blue
#FF00FF = Pink
#C0C0C0 = Grey

Thanks, This looks GREAT!!!

mgckim 10-03-2008 06:58 AM

Hi I like this mod however I get this error when I import the xml file.

vBulletin Message:
"No file uploaded and no local file found."

I did upload all 4 files as instructed to my forums folder. And put import as ./includes/xml/product-tournament2008.xml

and yet still doesn't work.

What am I doing wrong?

Chris11987 10-03-2008 11:18 AM

I have a suggestion of maybe seperating the tournaments and ladders. While the same team form one can be used for the, they are still two very different things, in terms of competition on a forum. For the url's sake, having tournaments.php and ladders.php.

Also having a navbar/quicklinks option for "Ladders" as well, like how "Tournaments" has.

edit: I also have a question: For the slots in the tournament, how are they determined? When people sign up, are they just given a random 9-digit number, and then the slots go in order of those numbers assigned? If I want to change slots for people, I currently have to manually edit ther user ID and name fields in phpmyadmin, but would it be easier to just change the slot number to any number that would be, say the lowest, in order to get them in slot #1?

Firewarrior 10-03-2008 02:45 PM

for people that are still getting the follow error when creating a new tournament
Warning: Wrong parameter count for str_replace() in [path]\tournament.php on line 642
it already been posted howto fix it by BananaLive


Find in tournament.php
PHP Code:

            $hour str_replace(".5"""$hour$count);
            if (
$count == 1) { 

Replace with
PHP Code:

            $hourb str_replace(".5"""$hour);
            if (
$hourb != $hour) { 

thats what i did and it worked fine :D

Firewarrior 10-03-2008 02:49 PM

Bug & Suggestion

Bug: Well i think its a bug. there is no way to delete any of your Announcements
Suggestion: In the ladder it be good if you can added ladders for teams as well
because atm only players can signup and not teams
So it be good if when you create a ladder you can pick for teams or players (1v1)

Chris11987 10-03-2008 03:05 PM

I think (and hope) the teams for ladders suggestion is going to be added in the future, as I'm guessing it was part of the reason for them to be combined in the first place.

JAnders 10-03-2008 03:59 PM

I'm Running vb 3.5.8 can I install this mod on this version?

I can update to anything higher than that because my php does not meet minimim req :(

so I installed it and I get database error

whenever I hit the url

www.fifamexico.net/foros/tournament.php

any ideas?

Toupsx 10-03-2008 08:02 PM

Here's my issue... I installed the ladder mod before this.. then downloaded this and tried installing it.. it failed the install because of duplicate column names when trying to make them in the tables.. now I can't install it at all because it made other columns in the tables and the script isn't set to overwrite them if already exists or skip if already exists.. so if anyone could help me with this that would be great.. can't uninstall it either to reverse the database modifications because it never actually installed..

Chris11987 10-03-2008 08:21 PM

Quote:

Originally Posted by Toupsx (Post 1636737)
Here's my issue... I installed the ladder mod before this.. then downloaded this and tried installing it.. it failed the install because of duplicate column names when trying to make them in the tables.. now I can't install it at all because it made other columns in the tables and the script isn't set to overwrite them if already exists or skip if already exists.. so if anyone could help me with this that would be great.. can't uninstall it either to reverse the database modifications because it never actually installed..

This is the EXACT Issue I had 2 days ago. I opened up the XML file and a blank wordpad document. Copy all of the install codes down into the wordpad document, making sure to make the proper adjustments for it to be entered as an SQL Query. Once you have all of them, copy the entire thing and enter the query. It should write whatever is missing, and since you will have all tables/fields after that, it will be able to uninstall in the AdminCP. Or you can do it all in pieces, instead of at once.

For some reason after doing that, I had an issue with a table called "tournaments" which was actually from the ibProArcade, which I just deleted and solved.

CardMafia 10-03-2008 08:41 PM

Please help with this...

Quote:

Fatal error: Call to undefined function cal_days_in_month() in /............../tournament.php on line 649
the quote is modified to remove the path to my site.


I get this error while making a tournament

JAnders 10-03-2008 09:24 PM

maybe this post can will help you:
https://vborg.vbsupport.ru/showpost....&postcount=573

insainz 10-03-2008 10:24 PM

Hi and Thanks for this. I have installed it with no errors but it simply does not show up in the nav bar, quick links or the side pannel. any ideas? it is as if it is not enabled but I have enabled it.

Chris11987 10-03-2008 11:00 PM

^ Make sure you have your usergroup able to view it.

djlotus 10-03-2008 11:15 PM

Quote:

Originally Posted by insainz (Post 1636811)
Hi and Thanks for this. I have installed it with no errors but it simply does not show up in the nav bar, quick links or the side pannel. any ideas? it is as if it is not enabled but I have enabled it.

If you have a custom navbar, you need to enter in there manually.

Toupsx 10-03-2008 11:35 PM

Quote:

Originally Posted by Chris11987 (Post 1636748)
This is the EXACT Issue I had 2 days ago. I opened up the XML file and a blank wordpad document. Copy all of the install codes down into the wordpad document, making sure to make the proper adjustments for it to be entered as an SQL Query. Once you have all of them, copy the entire thing and enter the query. It should write whatever is missing, and since you will have all tables/fields after that, it will be able to uninstall in the AdminCP. Or you can do it all in pieces, instead of at once.

For some reason after doing that, I had an issue with a table called "tournaments" which was actually from the ibProArcade, which I just deleted and solved.

no chance you saved that text file is there?
and.. how can it uninstall from the admin cp if it was never installed through it?

Chris11987 10-03-2008 11:40 PM

The ladder mod is still sitting in your AdminCP, isn't it? If you have 1.1, do you want me to check it out and give you the query? I did it with my tourney mod, not the ladders mod, but it should still work in the end.

Toupsx 10-03-2008 11:51 PM

Quote:

Originally Posted by Chris11987 (Post 1636836)
The ladder mod is still sitting in your AdminCP, isn't it? If you have 1.1, do you want me to check it out and give you the query? I did it with my tourney mod, not the ladders mod, but it should still work in the end.

No, i uninstalled the ladders mod, currently have no ladder or tournament mod installed and can't install the tourney because of the columns already existing in the tables of my database

Chris11987 10-03-2008 11:53 PM

Oh, so when it uninstalled, it kept some left over? Well maybe you can try manually deleting the tables and the fields added by the ladders mod. I would back up my database before messing with any of that though.

Toupsx 10-03-2008 11:58 PM

Quote:

Originally Posted by Chris11987 (Post 1636839)
Oh, so when it uninstalled, it kept some left over? Well maybe you can try manually deleting the tables and the fields added by the ladders mod. I would back up my database before messing with any of that though.

Don't think you're understanding me fully.. its not the ladder mod with the duplicate column names anymore.. it got rid of those from the uninstall of the ladder mod. but before I uninstalled the ladder mod I tried installing the tourney mod.. so it made all those columns and then failed because of the ladder mod having some duplicates.. now that the ladder mod is gone it can't install because there's ones from the tourney mod's try to install so it has those duplicates now.. heh

mgckim 10-04-2008 12:20 AM

Quote:

Originally Posted by insainz (Post 1636811)
Hi and Thanks for this. I have installed it with no errors but it simply does not show up in the nav bar, quick links or the side pannel. any ideas? it is as if it is not enabled but I have enabled it.

I am having same problem as this person.

Finally installed it but it doesn't show up in nav bar at the top.

How do I make it show up? I went to vBulletin Option and it was enabled there.

Toupsx 10-04-2008 12:39 AM

Quote:

Originally Posted by mgckim (Post 1636855)
I am having same problem as this person.

Finally installed it but it doesn't show up in nav bar at the top.

How do I make it show up? I went to vBulletin Option and it was enabled there.

if you have a custom style you'll need to add it to that style, it only auto-adds it for the default VB style not your custom ones.

mgckim 10-04-2008 12:45 AM

actually I found out that I had to enable usergroup permission.

Thanks for the help tho. looks wonderful

john102774 10-04-2008 03:57 AM

When I try to manually add users by clicking add player, I get this error -> Error: tmnt_selectuser.js not uploaded. Is there a way to bypass this error message? :D

Chris11987 10-04-2008 04:25 AM

You didn't load the file. I'm pretty sure that file was only in the earlier versions of the tourney mod, IIRC.

JAnders 10-04-2008 06:07 AM

Quote:

Originally Posted by JAnders (Post 1636558)
I'm Running vb 3.5.8 can I install this mod on this version?

I can update to anything higher than that because my php does not meet minimim req :(

so I installed it and I get database error

whenever I hit the url

www.fifamexico.net/foros/tournament.php

any ideas?

any ideas on this issue?:(

Chris11987 10-04-2008 07:02 AM

^ The Database error you're getting is this:

MySQL Error : Unknown column 'phrasegroup_reputationlevel' in 'field list'

I'm not too sure on where to go from there, but I guess it's a start.

Also, if you guys like this mod, be sure to vote for it as "Mod of the Month" for October, here.

KrU$ty 10-04-2008 08:32 AM

im getting the following error when i try and change usergroup permissions:

Quote:

Database error in vBulletin 3.7.3:

Invalid SQL:
UPDATE mainusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '<img src=\"\" />',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`ei_auto` = '0',
`ei_forumid` = '',
`forumpermissions` = '6025471',
`genericpermissions` = '1378358979',
`attachlimit` = '0',
`pmquota` = '500',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '55',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '60',
`profilepicmaxwidth` = '150',
`profilepicmaxheight` = '150',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '168027',
`sigpicmaxwidth` = '300',
`sigpicmaxheight` = '70',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '3',
`sigmaximages` = '1',
`albumpermissions` = '128',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '31',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '383',
`tournamentpermissions` = '407',
`maxteams` = '2',
`ladderpermissions` = '3',
`ugphelpcenter` = '2729',
`smspermissions` = '1'
WHERE usergroupid=2;

MySQL Error : Unknown column 'tournamentpermissions' in 'field list'
Error Number : 1054
Request Date : Saturday, October 4th 2008 @ 07:29:55 PM
Error Date : Saturday, October 4th 2008 @ 07:29:56 PM
Script : http://eveprovide.com/admincp/usergroup.php?do=update
Referrer : http://eveprovide.com/admincp/usergr...&usergroupid=2
IP Address : 58.107.182.63
Username : Sylithr
Classname : vB_Database
MySQL Version : 4.1.22-standard

Revvin 10-04-2008 09:16 AM

Brilliant script! a lot of people have been waiting for something like this and I think the commercial ladder script vendors should be very worried. My only issue so far has been when clicking on a player to challenge them the player challenging gets the error message: "Please complete both the subject and message fields." the challenge is still made though but it will cause users some confusion. Sorry if this has been reported - I read the first 18 pages of this thread :)

My suggestions/wish list
  • Players get a PM when challenged - this will stop challenges laying dormant should the ladder run for some time and players don't regulalry visit.
  • Admin ability to set points scored for wins, draws and losses in a ladder
  • Admin ability to restrict the number of places a challenger can challenge above him, i.e in a 20 player ladder you may want to restrict the challenges to 5 places above the challenger
  • Rules page - yes I know its coming but I thought I'd just add my 2 cents :)

Chris11987 10-04-2008 09:59 AM

Quote:

Admin ability to set points scored for wins, draws and losses in a ladder
I'm keeping my fingers crossed for the ELO Rating System to be added. It's what all the big boys use. It has a formula that determines points gained/losses based on how much higher/lower the other person was to you. As much as I would love ladders, they're not very usable without ELO.

Toupsx 10-04-2008 11:09 AM

Few Suggestions:
- Auto-create ladder challenge thread
- Postbit mini stats for ladder (rank & name of ladder)
- A way to administrate the ladder..? Edit players & scores, remove, add, etc.

bananalive 10-04-2008 11:50 AM

Quote:

Originally Posted by JAnders (Post 1636558)
I'm Running vb 3.5.8 can I install this mod on this version?

I can update to anything higher than that because my php does not meet minimim req :(

so I installed it and I get database error

whenever I hit the url

www.fifamexico.net/foros/tournament.php

any ideas?

I've got no experience with vB 3.5.x but obviously some additions were made in vB 3.6.x, which means it isn't backwards compatible. Sorry.
Quote:

Originally Posted by Chris11987 (Post 1637042)
I'm keeping my fingers crossed for the ELO Rating System to be added. It's what all the big boys use. It has a formula that determines points gained/losses based on how much higher/lower the other person was to you. As much as I would love ladders, they're not very usable without ELO.

With the ELO rating system if both players have the same rank, how do the ranks change?

Quote:

Originally Posted by KrU$ty (Post 1637008)
im getting the following error when i try and change usergroup permissions:

Upgrade to latest version of Forum Tournaments & Ladders. I added code in v2.4.6 which checks that the appropriate columns have been added.
Quote:

Originally Posted by john102774 (Post 1636933)
When I try to manually add users by clicking add player, I get this error -> Error: tmnt_selectuser.js not uploaded. Is there a way to bypass this error message? :D

Revert template tmnt_newplayer and upgrade to latest version of modification which does not require the file.


All times are GMT. The time now is 10:08 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.03069 seconds
  • Memory Usage 1,863KB
  • 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_php_printable
  • (22)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