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)

Chris11987 10-10-2008 12:34 PM

Quote:

Originally Posted by bananalive
You could rename the file to something else 'competitions.php'?

I guess that could work, but then competitions.php by itself still brings up all tournaments by default. If it had both files, it could put a nice focus on both elements of the mod equally, since it currently leans towards tournaments more so than the ladders.

bananalive 10-10-2008 02:29 PM

Quote:

Originally Posted by Firewarrior (Post 1641584)
Great work so far m8 and with the ELO systeam being added this is turning out to be a GREAT mod.

I have a other segestion for you:
Must leagues and cups now use xraygaming (aka xray anti cheat)
on there site there is a php code that will allow you to link your xray profile to your website.

Is there anyway you can add this in as well so when a use registers he must submit his profile info as well but you the opiton of turning it off.
Also be it be nice so that it will say his info so that he dont have to keep typing it in ever time to play a cup but be able to edit it if needed.

Here is the code that on the site

For more info you can see http://www.xraygaming.com/index.php?pageid=xac-linking
But this would be a GREAT added and i am sure a lot of other people would like to see this added

I'm going to be adding option to display userfield soonish, not sure if that would be sufficient for what you want to do.
Quote:

Originally Posted by butler312 (Post 1641599)
I have a member on my forum who is creating tournaments himself and then advancing himself all the way through so he gets the win, just so he can be in the top of the HOF. Is there a way I can:

a) prevent him from creating tournaments individually. I know how to change the permissions for a certain group, but not an individual

b) remove his wins. Maybe have it so that when the tournament is deleted that all the stats for it are removed?

Also, in the future it would also be cool if you could set it so that the results of a tournament effect the ladder rankings. Each match could count towards the rankings and then the winner (and runner up?) would also get bonus points, based on the amount of people entered and the average rating of everyone entered.

I'm going to be creating option to ban userids from tournaments for such nuisance individuals.
Quote:

Originally Posted by BlackLava (Post 1641705)
Any news about my bug? the one with screenshots there https://vborg.vbsupport.ru/showpost....&postcount=682

Are other members seeing all registered players even if there are more than 10? (That's my bug, listing is showing only if there are a few registered)

I have tested this on my forum, but I am not getting any problem. Are any of the users joined have special characters in their name? and have you modified the php file or templates at all?
Quote:

Originally Posted by Stifmeister2 (Post 1641862)
If you allow everyone to create tournaments this is bound to happen. :( There are always kids out there... The best way is to let only adminds and mods and other people you can trust create tournaments imo. ;)

Or make a special group for this one mofo. :p

A secondary usergroup would probably be best for now
Quote:

Originally Posted by Chris11987 (Post 1641884)
I guess that could work, but then competitions.php by itself still brings up all tournaments by default. If it had both files, it could put a nice focus on both elements of the mod equally, since it currently leans towards tournaments more so than the ladders.

In the latest version front page has been redone to show latest 2 announcement, latest 5 tournaments and latest 5 ladders.

computer1 10-10-2008 03:18 PM

HI!
I have install this nowe and create some test but when I shuld delite my test
I get error messages whit token name and cant delite this why ?.

And I have vba cmps installed and whe I use this is like crap whit the design enny ideers about this ?

BlackLava 10-10-2008 04:13 PM

Quote:

Originally Posted by bananalive (Post 1641965)
I have tested this on my forum, but I am not getting any problem. Are any of the users joined have special characters in their name? and have you modified the php file or templates at all?

No special characters (outside numbers but I don't think it's the problem for sure) and I haven't modified your tournaments templates.
Created a new tournament now and added players manually, seems it's working (15 showing on page). I'll investigate more (still can't see the ones listed for the other tournament).

EDIT : After checking all players account in the bugged tournament, I've seen one of those was renamed (his forums account is renamed). I've removed him manually through the database in the table tmnt_players but the tourney still does not show the registered players... Any tip? (I'll recreate it adding each player manually otherwise)

bananalive 10-10-2008 05:53 PM

Quote:

Originally Posted by computer1 (Post 1641997)
HI!
I have install this nowe and create some test but when I shuld delite my test
I get error messages whit token name and cant delite this why ?.

And I have vba cmps installed and whe I use this is like crap whit the design enny ideers about this ?

Try opening tournament.php and replacing all $html with $tlhtml
Then open product and replace all $html with $tlhtml
Quote:

Originally Posted by BlackLava (Post 1642044)
No special characters (outside numbers but I don't think it's the problem for sure) and I haven't modified your tournaments templates.
Created a new tournament now and added players manually, seems it's working (15 showing on page). I'll investigate more (still can't see the ones listed for the other tournament).

EDIT : After checking all players account in the bugged tournament, I've seen one of those was renamed (his forums account is renamed). I've removed him manually through the database in the table tmnt_players but the tourney still does not show the registered players... Any tip? (I'll recreate it adding each player manually otherwise)

By special characters I meant ' or " which might (shouldn't) break php code.

The tournament part of the hack should not be affected by name changes or accounts being deleted as those details are kept in tmnt_players table. Sorry I cannot think of anything else.

BlackLava 10-10-2008 09:02 PM

Now the registrations are full but the tournament is written "In Progress" and nothing is listed, neither players or drawings.
Created a new one, copied everyone there manually through "add player" and those were listed fine but at the end I have "In Progress" and same result.
(Used LMS tournament and date/hour is now "21 hours ago", don't know if that matter)

Thanks for help
Edit : Sent you an example link through PM

camomouse 10-10-2008 10:13 PM

Code:

Database error in vBulletin 3.7.3:

Invalid SQL:
SELECT userid, username, description, title, type, pot, noplayers, id, status, freeslots FROM tmnt_tmnts ORDER BY id DESC LIMIT 0, 5;

MySQL Error  : Table 'xaax2.tmnt_tmnts' doesn't exist
Error Number  : 1146
Request Date  : Friday, October 10th 2008 @ 07:11:56 PM
Error Date    : Friday, October 10th 2008 @ 07:11:56 PM
Script        : http://xaax.biz/forums/tournament.php
Referrer      : http://xaax.biz/
IP Address    : xxx.xxx.xxx.xxx
Username      : CamoMouse
Classname    : vB_Database
MySQL Version : 5.0.51b-community-nt


fernas 10-10-2008 11:25 PM

Teams for ladders?? That would be perfect for this mod.

Spencey 10-10-2008 11:57 PM

I'm getting this message? Any help?

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2949120 bytes) in /home/sites/site.com/public_html/forums/tournament.php(2029) : eval()'d code on line 1891

BlackLava 10-11-2008 06:03 AM

Update : I've switched from LMS to single eliminations and it's now working fine, not sure now what's the need of LMS system.

Andiehuk 10-11-2008 08:57 AM

1 Attachment(s)
Possible features: How about the ability to challenge other players in a 1v1 match. A VBAdvanced module to display the Hall of Fame or up and coming matches etc would be great :D

Nice work by the way, I have it installed on our test site at the mo. Only prob I am seeing at the moment is the layout (pic attacted) whereby the menu and latest windows have a nice gap between them. I'm sure I saw a post on that before though so will look around. Unless of course someone else has the answer?

Ta muchly

Andy

gamerscms 10-11-2008 10:35 AM

Quote:

Originally Posted by Spencey (Post 1642346)
I'm getting this message? Any help?

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2949120 bytes) in /home/sites/site.com/public_html/forums/tournament.php(2029) : eval()'d code on line 1891


You need to edit your php.ini file to allow more MB if you are unsure contact your host.

bananalive 10-11-2008 04:05 PM

Quote:

Originally Posted by camomouse (Post 1642306)
Code:

Database error in vBulletin 3.7.3:

Invalid SQL:
SELECT userid, username, description, title, type, pot, noplayers, id, status, freeslots FROM tmnt_tmnts ORDER BY id DESC LIMIT 0, 5;

MySQL Error  : Table 'xaax2.tmnt_tmnts' doesn't exist
Error Number  : 1146
Request Date  : Friday, October 10th 2008 @ 07:11:56 PM
Error Date    : Friday, October 10th 2008 @ 07:11:56 PM
Script        : http://xaax.biz/forums/tournament.php
Referrer      : http://xaax.biz/
IP Address    : xxx.xxx.xxx.xxx
Username      : CamoMouse
Classname    : vB_Database
MySQL Version : 5.0.51b-community-nt


Is this new install or upgrade from previous version?

TrIn@dOr 10-11-2008 04:30 PM

<i>Great work man!!</i>

Wish list for me:
1. make ladders team playable
2. make images path variable on vB theme selection

TrIn@dOr 10-11-2008 05:09 PM

Can someone give me an xml only with the English language?, I want to translate it to Spanish.

Thanks.

bananalive 10-11-2008 06:54 PM

Quote:

Originally Posted by TrIn@dOr (Post 1642787)
2. make images path variable on vB theme selection

Changed in next release.
Quote:

Originally Posted by TrIn@dOr (Post 1642804)
Can someone give me an xml only with the English language?, I want to translate it to Spanish.

Thanks.

I'm not sure I understand, the product file attached is only in English. You can translate product using phrases.

WNxWakko 10-11-2008 09:37 PM

Rules still after several updates from you is still throwing the same errors.

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM tmnt_rules;

MySQL Error : Table 'xxxx.tmnt_rules' doesn't exist
Error Number : 1146
Date : Saturday, October 11th 2008 @ 05:36:08 PM
Script : http://warriornation.net/Forum/tournament.php?do=rules
Referrer : http://warriornation.net/Forum/tournament.php
IP Address : xxx
Username : WNxWakko
Classname : vB_Database

gamerscms 10-11-2008 10:10 PM

Quote:

Originally Posted by WNxWakko (Post 1642954)
Rules still after several updates from you is still throwing the same errors.


There was a new file uploaded back a few pages that fixed it for me.

bananalive 10-12-2008 10:18 AM

Quote:

Originally Posted by WNxWakko (Post 1642954)
Rules still after several updates from you is still throwing the same errors.

https://vborg.vbsupport.ru/showpost....&postcount=712

Chris11987 10-12-2008 10:51 AM

Is ELO on the new 2.5.2 version?

P.Jackson 10-12-2008 11:23 AM

keep getting ablack page after updating when clicking add new tourne , player etc any ideas? i checked permissions etc

bananalive 10-12-2008 11:28 AM

Quote:

Originally Posted by Chris11987 (Post 1643244)
Is ELO on the new 2.5.2 version?

Yes
Quote:

Originally Posted by P.Jackson (Post 1643264)
keep getting ablack page after updating when clicking add new tourne , player etc any ideas? i checked permissions etc

Revert any template edits you have made on Tournament templates

Toupsx 10-12-2008 12:38 PM

Possible to add auto-create a thread in x forum for a challenge for the two users for the ladders? Would be a great addition.

P.Jackson 10-12-2008 03:41 PM

yea the above would be a massive bonus , also some ladder stats users can have in there profile :)

djlotus 10-12-2008 05:18 PM

Any way to get the brackets to show on a black background?

bananalive 10-12-2008 08:17 PM

Quote:

Originally Posted by djlotus (Post 1643457)
Any way to get the brackets to show on a black background?

This post shows how to change bracket colours:

https://vborg.vbsupport.ru/showpost....&postcount=554

djlotus 10-12-2008 08:21 PM

Quote:

Originally Posted by bananalive (Post 1643587)
This post shows how to change bracket colours:

https://vborg.vbsupport.ru/showpost....&postcount=554

Thank you sir

P.Jackson 10-12-2008 08:56 PM

getting thios error when entering a draw i.e 3-3 in fifa09



HTML Code:

Database error in vBulletin 3.7.0:
Invalid SQL:
UPDATE tmnt_ladder_players SET draws = draws + 1, wstreak = 0, lstreak = 0, latime =1223848576, rank = 987.637901382 WHERE lid = 1 AND userid = 1, time =1223848576;
MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' time =1223848576' at line 1
Error Number  : 1064
Request Date  : Sunday, October 12th 2008 @ 10:56:16 PM
Error Date    : Sunday, October 12th 2008 @ 10:56:16 PM
Script        : /tournament.php?do=laddersubmitscore&id=7
Referrer      : /tournament.php?do=laddersubmitscore&id=7
IP Address    :
Username      :
Classname    :


BucWiLd 10-12-2008 10:46 PM

maybe this should have been released as a beta, till it was all worked out

Chris11987 10-12-2008 10:47 PM

Before I try out the new version (I'm still on 2.4.6), do I have to uninstall my current, or can I just overwrite it? Because I remember a lot of problems with tables/fields that were going on during some upgrades before, where something wasn't being overwritten properly.

EvilJohn 10-12-2008 11:28 PM

Just installed. Thank you nice mod. I was hoping I could use teams in the ladder. :( Looks like users only. Teams also for ladders would be awesome feature.

JAnders 10-13-2008 02:30 AM

I just updated to the latest version and the elo system is great. However, I have some ladders already in progress.. and it's only calculation on a going forward basis how can I make it calculate for all the matches that were already played.

you can take a look to understand better:
http://fifamexico.net/foros/tourname...iewladder&id=1

corazorback 10-13-2008 02:45 AM

Code:

Database error in vBulletin 3.7.3:

Invalid SQL:
SELECT *
                        FROM tmnt_members JOIN tmnt_teams on tmnt_members.teamid = tmnt_teams.teamid WHERE tmnt_members.leader=1 AND tmnt_members.userid=3 AND tmnt_teams.noplayers >= 999 AND tmnt_teams.noplayerstmnt_teams.noplayers <= 1;

MySQL Error  : Unknown column 'tmnt_teams.noplayerstmnt_teams.noplayers' in 'where clause'
Error Number  : 1054
Request Date  : Sunday, October 12th 2008 @ 09:44:16 PM
Error Date    : Sunday, October 12th 2008 @ 09:44:16 PM
Script        : http://www.mysite.net/tournament.php?do=join&id=1
Referrer      : http://www.mysite.net/tournament.php?do=view&id=1
IP Address    : XXXXXXXXXXXXXXXXX
Username      : THEHATED
Classname    : vB_Database
MySQL Version : 5.0.45-community-log

What do I do now??? It won;t let me join in created tournaments.

JAnders 10-13-2008 02:52 AM

Quote:

Originally Posted by corazorback (Post 1643802)
Code:

Database error in vBulletin 3.7.3:

Invalid SQL:
SELECT *
                        FROM tmnt_members JOIN tmnt_teams on tmnt_members.teamid = tmnt_teams.teamid WHERE tmnt_members.leader=1 AND tmnt_members.userid=3 AND tmnt_teams.noplayers >= 999 AND tmnt_teams.noplayerstmnt_teams.noplayers <= 1;

MySQL Error  : Unknown column 'tmnt_teams.noplayerstmnt_teams.noplayers' in 'where clause'
Error Number  : 1054
Request Date  : Sunday, October 12th 2008 @ 09:44:16 PM
Error Date    : Sunday, October 12th 2008 @ 09:44:16 PM
Script        : http://www.teamtoxicity.net/tournament.php?do=join&id=1
Referrer      : http://www.teamtoxicity.net/tournament.php?do=view&id=1
IP Address    : 75.70.245.87
Username      : THEHATED
Classname    : vB_Database
MySQL Version : 5.0.45-community-log

What do I do now??? It won;t let me join in created tournaments.

looks like there's an error in the sql statement 'tmnt_teams.noplayerstmnt_teams.noplayers' that looks like it's 2 columns not separated

Chris11987 10-13-2008 07:27 AM

Would we edit "ELO Rank" as "Score" in the Phrases, or templates?

Spencey 10-13-2008 09:41 AM

I'm getting this message now when trying to create a team tournament?

Database error in vBulletin 3.7.3:

Invalid SQL:
SELECT *
FROM tmnt_members JOIN tmnt_teams on tmnt_members.teamid = tmnt_teams.teamid WHERE tmnt_members.leader=1 AND tmnt_members.userid=4 AND tmnt_teams.noplayers >= 999 AND tmnt_teams.noplayerstmnt_teams.noplayers <= 1;

MySQL Error : Unknown column 'tmnt_teams.noplayerstmnt_teams.noplayers' in 'where clause'
Error Number : 1054
Request Date : Monday, October 13th 2008 @ 11:38:29 AM
Error Date : Monday, October 13th 2008 @ 11:38:29 AM
Script : http://www.mysite.com/forums/tournam...?do=join&id=20
Referrer : http://www.mysite.com/forums/tournam...?do=view&id=20
IP Address : XX.XXX.XX.XXX
Username : admin
Classname : vb_database
MySQL Version : 5.0.67-community

corazorback 10-13-2008 10:34 AM

Quote:

Originally Posted by JAnders (Post 1643808)
looks like there's an error in the sql statement 'tmnt_teams.noplayerstmnt_teams.noplayers' that looks like it's 2 columns not separated

Any ideas on how I could fix this?? What if I do a complete fresh installation? Could I go in an clear out the MySQL Database for this mod?

OcR Envy 10-13-2008 11:08 AM

Can't say enough about this mod, the author is actually listening to our requests and keeping periodic updates.

Amazing work again Banana.

bananalive 10-13-2008 12:44 PM

Quote:

Originally Posted by P.Jackson (Post 1643617)
getting thios error when entering a draw i.e 3-3 in fifa09

Sorry, fixed in next version.
Quote:

Originally Posted by Chris11987 (Post 1643672)
Before I try out the new version (I'm still on 2.4.6), do I have to uninstall my current, or can I just overwrite it? Because I remember a lot of problems with tables/fields that were going on during some upgrades before, where something wasn't being overwritten properly.

Upgrade otherwise you will lose your tournament/ladder data.
Quote:

Originally Posted by Chris11987 (Post 1643919)
Would we edit "ELO Rank" as "Score" in the Phrases, or templates?

Edit phrase ladder_elorating
Quote:

Originally Posted by Spencey (Post 1643973)
I'm getting this message now when trying to create a team tournament?

Database error in vBulletin 3.7.3:

Sorry, fixed in next version.

Chris11987 10-13-2008 02:28 PM

I want to make the file twice and have one name tournament and one named ladder. Simple enough, but where would I go to edit the url for things like "tournament.php&do=__________"? Is that inside the tournament.php file?

Also, where it says "Forums > Tournaments > Ladders" in the navbar, how would I make it so it doesn't say "Tournaments" when I'm on a ladders page.


All times are GMT. The time now is 01:31 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.03014 seconds
  • Memory Usage 1,867KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (26)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