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 11-03-2008 06:49 PM

Quote:

Originally Posted by XShava (Post 1658770)
Install and gets error in Team page when click team name.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/competitions.php on line 2987

Hmmm... not sure why you get that error, works fine on my vB

Find in competitions.php
PHP Code:

$array implode(","$array); 

Replace with
PHP Code:

//$array = implode(",", $array); 


Toupsx 11-03-2008 07:11 PM

Quote:

Originally Posted by bananalive (Post 1658371)
Use product-errorfix2008.xml to completely uninstall modification tables. (Only use if you have no tournament data, it completely uninstalls the mod.)

Okay.. well I have tournament data.. so that would erase it.. :confused:

gamerscms 11-03-2008 07:13 PM

There is a bug in the add new user to team, when adding a user no matter which user i enter i get the following message

Quote:

Ultra Shotz is not a forum member, please check your spelling. Click here to go back to the team page.

gamerscms 11-03-2008 07:14 PM

There is a bug in the add new user to team, when adding a user no matter which user i enter i get the following message and he is a forum member all spelt correct.

Quote:

Ultra Shotz is not a forum member, please check your spelling. Click here to go back to the team page.

EHSkaRMa 11-03-2008 07:49 PM

Quote:

Originally Posted by bananalive (Post 1658744)
Have a go at this... it should hopefully disable Donation System for whole of tournament & ladders modification.

Open plugin 'DSL-Parse Modules'
Find...
PHP Code:

if (substr(THIS_SCRIPT,-6,6)!="verify" && !defined(IN_MKP) && substr(THIS_SCRIPT,0,4)!="dyna"

Replace With...
PHP Code:

if (substr(THIS_SCRIPT,-6,6)!="verify" && !defined(IN_MKP) && substr(THIS_SCRIPT,0,4)!="dyna" && THIS_SCRIPT!="tournament2008"


Where would I find DSL-Parse Modules?
I looked in my plugins but dont see anything like that. I have the newest version (0.2.1) of the donation system

iogames 11-03-2008 09:09 PM

why don't u make the graphics from bottom to top?

Gamelobby 11-04-2008 01:28 AM

Quote:

Originally Posted by bananalive (Post 1658794)
Hmmm... not sure why you get that error, works fine on my vB

Find in competitions.php
PHP Code:

$array implode(","$array); 

Replace with
PHP Code:

//$array = implode(",", $array); 


Sorry, but where do i find "competitions.php"
What is it under.?

Also if you put in a "team logo" it pushes it off the page to the right.?
Any ideas.?

valendono 11-04-2008 07:18 AM

I try "Special Usergroups can add Forum Members to Any Team without confirmation from team leader or the forum member" .. that username or user id ?

Add User to Team: testing

than

testing is not a forum member, please check your spelling. Click here to go back to the team page.

error or bugs ?

mikeo9043 11-04-2008 01:42 PM

Cool, I will give this one a try later

bananalive 11-04-2008 01:45 PM

Quote:

Originally Posted by EHSkaRMa (Post 1658833)
Where would I find DSL-Parse Modules?
I looked in my plugins but dont see anything like that. I have the newest version (0.2.1) of the donation system

Oh, i downloaded v1.0.0, I'll have a look again for you.
Quote:

Originally Posted by gamerscms (Post 1658811)
There is a bug in the add new user to team, when adding a user no matter which user i enter i get the following message and he is a forum member all spelt correct.

Yep, sorry. I'll release fix in next version but here's the manual fix
Find in competitions.php
PHP Code:

    $u $result['userid'];
    if (
$userid == '') { 

Replace with
PHP Code:

    $u $result['userid'];
    if (
$u == '') { 

Quote:

Originally Posted by iogames (Post 1658875)
why don't u make the graphics from bottom to top?

Sorry I don't understand. What graphics are you referring to?
Quote:

Originally Posted by Gamelobby (Post 1659039)
Sorry, but where do i find "competitions.php"
What is it under.?

Also if you put in a "team logo" it pushes it off the page to the right.?
Any ideas.?

competitions.php is the main php file for this modification included in the archive of the first post of this thread.
Quote:

Originally Posted by valendono (Post 1659192)
I try "Special Usergroups can add Forum Members to Any Team without confirmation from team leader or the forum member" .. that username or user id ?

Add User to Team: testing

than

testing is not a forum member, please check your spelling. Click here to go back to the team page.

error or bugs ?

You enter the Username of the forum member. See above.

cscgirl 11-04-2008 01:48 PM

Is the visual (flow chart type) ladder created when the tournament starts? So far I just see a team list of those that have joined but the tournament has not started yet.

Also, when you upload a team logo where is this supposed to be displayed? I uploaded one to my team but I don't see it anywhere.

Gamelobby 11-04-2008 04:24 PM

The logo appears in the "team stats", but on mine it cuts off half of the image. (right half of image is off the page)

es-league.com 11-04-2008 04:39 PM

I have the 2.62 installed here

and have added a few test ladders and tournaments.
When trying to view a test team profile I get the following error message :

Quote:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/competitions.php on line 2987
any ideas ???

Strafe 11-04-2008 08:07 PM

Quote:

Originally Posted by bananalive (Post 1659328)
Yep, sorry. I'll release fix in next version but here's the manual fix

Hey banana, just a quick note - I haven't came back to check on the mod for awhile and there's a really big reason to it.

EVERY new version always seem to have some problems so I always want to wait for the next patch before installing them.

Bottom line is, maybe try to check your work a bit more before releasing versions (or get some volunteer testers). All the new version bugs scares me away.

I think you should stick to bigger and sturdy releases instead of tossing out small (and deadly) patches every other day.

Don't mean any offense, I still thank you for this useful mod, but lines I quoted above are way too common for me to try the newer versions.

Thanks for understanding.

jdelator 11-04-2008 08:29 PM

How do you remove
Tournaments Joined: 10
Tournament Wins: 2
these fields from a user's post?

This mod rocks btw.

Revvin 11-04-2008 09:08 PM

In the tournament options near the bottom there is an option to turn 'Stats in Postbit' on or off

Stifmeister2 11-04-2008 09:56 PM

Quote:

Originally Posted by Strafe (Post 1659564)
Bottom line is, maybe try to check your work a bit more before releasing versions (or get some volunteer testers). All the new version bugs scares me away.

This always happens to me too. :( I still have that very old 2.2.1 version installed. Every time there is a new version many people complain about database errors so I'm too afraid to upgrade. The 2.2.1 works perfectly for me now, but I really need some features (like the teams etc) so I want to upgrade.


I can't afford to lose any of my tournament data, it would be a killer for me, since the tounaments can't be reproduced.


And I have no experience of phpmyadmin or stuff like that.

gamerscms 11-04-2008 10:52 PM

Quote:

Originally Posted by Stifmeister2 (Post 1659598)
This always happens to me too. :( I still have that very old 2.2.1 version installed. Every time there is a new version many people complain about database errors so I'm too afraid to upgrade. The 2.2.1 works perfectly for me now, but I really need some features (like the teams etc) so I want to upgrade.


I can't afford to lose any of my tournament data, it would be a killer for me, since the tounaments can't be reproduced.


And I have no experience of phpmyadmin or stuff like that.

Your data will not be lost at all, just follow the install notes and you will be fine i have active tournaments and i have upgraded with no issue's or lose of data.

chill and have some faith in your self and this hack :up:

cscgirl 11-05-2008 12:07 AM

I have redone the whole thing and now there is no option for team leaders to add users to their team? I am confused.

valendono 11-05-2008 07:07 AM

Team Members (3) but the members is 4 id, why not counted because 1 user added by Admin ? And also about the future team swap not just user swap pls.. Thanks.

es-league.com 11-05-2008 02:28 PM

this mod has messed up my vb :(
I just got home to 177 vbulletin database error messages
in my inbox all relating to this tournament mod.

It wont let me uninstall from the vb admincp either !!

very frustrating !! :(

I have been running vb for years without hiccups too !!

Quote:

Database error in vBulletin 3.7.4:
Invalid SQL:
SELECT t.champion, u.userid FROM tournaments AS t
LEFT JOIN user AS u ON (t.champion = u.username)
WHERE champion<>'';
MySQL Error : Table 'xxxxxxxxx.tournaments' doesn't exist
Error Number : 1146
Request Date : Wednesday, November 5th 2008 @ 04:23:59 PM
Error Date : Wednesday, November 5th 2008 @ 04:23:59 PM
Script : http://www.combatrevolution.net/priv...owpm&pmid=1268
Referrer : http://www.combatrevolution.net/private.php

bananalive 11-05-2008 02:33 PM

Quote:

Originally Posted by es-league.com (Post 1659937)
this mod has messed up my vb :(
I just got home to 177 vbulletin database error messages
in my inbox all relating to this tournament mod.

It wont let me uninstall from the vb admincp either !!

very frustrating !! :(

I have been running vb for years without hiccups too !!

The error mentioned in your code was encountered by another user. The problem was traced to ibproArcade

es-league.com 11-05-2008 02:38 PM

ok thanks for the prompt reply...

any suggestiond as to how we fix this ??

ibproarcade has been on my site for years running
alongside other mods with no issues...

we cant use pm messaging now either with same
error message coming up

fodvapor 11-05-2008 02:40 PM

Can you add "Double Elimination" to the options please?

es-league.com 11-05-2008 02:44 PM

I get the following error when trying to uninstall this mod :

Quote:

Invalid SQL:
ALTER TABLE usergroup DROP COLUMN maxteams;;
MySQL Error : Can't DROP 'maxteams'; check that column/key exists
Error Number : 1091
Request Date : Wednesday, November 5th 2008 @ 04:43:30 PM
Error Date : Wednesday, November 5th 2008 @ 04:43:30 PM
Script : http://www.combatrevolution.net/admi...do=productkill
Referrer : http://www.combatrevolution.net/admi...urnament2008&s=
MySQL Version : 5.0.51a-community

fodvapor 11-05-2008 02:50 PM

es-league....i run the arcade and tourney mod, and have not seen the errors you have posted. Have you installed any other mods lately that could of "screwed" with them ? Did you just upgrade to 3.7.4 ? Cuz im still running 3.7.3

es-league.com 11-05-2008 02:54 PM

Quote:

Originally Posted by fodvapor (Post 1659947)
es-league....i run the arcade and tourney mod, and have not seen the errors you have posted. Have you installed any other mods lately that could of "screwed" with them ? Did you just upgrade to 3.7.4 ? Cuz im still running 3.7.3

upgraded to 3.74 last night....

do you think there could be a conflict with 3.74 then ??

this is the 1st time I have never been able to uninstall a mod on vb before though ??

fodvapor 11-05-2008 03:04 PM

It could be conflicting ....im not sure.

CvP 11-05-2008 03:48 PM

Quote:

Originally Posted by fodvapor (Post 1659941)
Can you add "Double Elimination" to the options please?

++SUPPORT

and group matches before knockout matches (like you see in FIFA).

verrrrrrrrry nice mod.

gamerscms 11-05-2008 07:32 PM

New error when trying to admin add a player to the team:
Code:

Database error in vBulletin 3.7.4:

Invalid SQL:
UPDATE tmnt_teams SET noplayers=noplayers+1 WHERE teamid=;

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 '' at line 1
Error Number  : 1064
Request Date  : Wednesday, November 5th 2008 @ 09:31:25 PM
Error Date    : Wednesday, November 5th 2008 @ 09:31:25 PM
Script        : http://www.xboxhive.co.uk/forums/competitions.php?do=viewteam&id=11
Referrer      : http://www.xboxhive.co.uk/forums/competitions.php?do=viewteam&id=11
IP Address    : *******
Username      : ********
Classname    : *********
MySQL Version : 5.0.67-community


Gleedo 11-05-2008 07:36 PM

Great mod, testing it now.

My only issue so far might not be a mod problem but a vbCMPS problem....

For some reason, the link to 'Tournaments' on the homepage is not looking at /forums/tournaments.php, its lookiing mydomain.com/tournaments.php which is incorrect...

See here:
http://www.urbanstrikeforce.com/index.php

Any idea what i need to do to correct this?:confused:

EHSkaRMa 11-05-2008 07:43 PM

Quote:

Originally Posted by bananalive (Post 1659328)
Oh, i downloaded v1.0.0, I'll have a look again for you.


Any luck with this one yet banana? All other functions are working properly.
But this is holding me back from opening my tourneys to my community.
Thanks.

Toupsx 11-05-2008 08:15 PM

any chance you could send me the 2.5.8 version? any version I've tried above it my server times out because of the script connecting to my database over and over to run sql queries using up too much memory apparently according to my host.. so.. yeah that was the last working version for me =\

iogames 11-06-2008 03:57 AM

Graphics pyramid style?

does it works for 3.6x?

bananalive 11-06-2008 01:36 PM

1 Attachment(s)
Quote:

Originally Posted by Gleedo (Post 1660088)
Great mod, testing it now.

My only issue so far might not be a mod problem but a vbCMPS problem....

For some reason, the link to 'Tournaments' on the homepage is not looking at /forums/tournaments.php, its lookiing mydomain.com/tournaments.php which is incorrect...

See here:
http://www.urbanstrikeforce.com/index.php

Any idea what i need to do to correct this?:confused:

In Plugin Tournament AutoInsert Links
Find
Code:

href=\"competitions.php
Replace with
Code:

href=\"".$vbulletin->options['bburl']."/competitions.php
Quote:

Originally Posted by EHSkaRMa (Post 1660090)
Any luck with this one yet banana? All other functions are working properly.
But this is holding me back from opening my tourneys to my community.
Thanks.

I've download it now and have a look.
Quote:

Originally Posted by Toupsx (Post 1660107)
any chance you could send me the 2.5.8 version? any version I've tried above it my server times out because of the script connecting to my database over and over to run sql queries using up too much memory apparently according to my host.. so.. yeah that was the last working version for me =\

Attached. If anything the queries have been streamlined.
Quote:

Originally Posted by iogames (Post 1660286)
Graphics pyramid style?

does it works for 3.6x?

Ye but see first post for instructions to install on version 3.6.x

fodvapor 11-06-2008 01:43 PM

Is double elimination possible ?
Please...lol

bananalive 11-06-2008 01:44 PM

Quote:

Originally Posted by EHSkaRMa (Post 1660090)
Any luck with this one yet banana? All other functions are working properly.
But this is holding me back from opening my tourneys to my community.
Thanks.

Plugin: Donation System Bar and Menu

Find
PHP Code:

if (substr(THIS_SCRIPT,-6,6)!="verify"){ 

Replace with
PHP Code:

if (substr(THIS_SCRIPT,-6,6)!="verify" AND THIS_SCRIPT!="tournament2008"){ 


bananalive 11-06-2008 01:55 PM

v2.6.4: 6 November 2008
- Viewing team page auto-checks and corrects Team's Member Count
- Recent Matches added on Ladder page
- Upcoming matches added on Ladder page

Denver Jackson 11-06-2008 02:15 PM

Awsome keep them updates coming :)

Strafe 11-06-2008 03:27 PM

Hey banana, could you do us a huge favorite?

Could you keep a 'stable' release version posted? That way you can do all the experimental ones while still providing a stable version for everyone to use in the meantime.

Thanks a bunch.


All times are GMT. The time now is 10:28 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.02432 seconds
  • Memory Usage 1,871KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_php_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