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)

XShava 09-23-2008 03:51 PM

1 Attachment(s)
i delete all team. And now Create Team links get Error.

Strafe 09-23-2008 04:05 PM

Just want you to know that you're doing a great job and don't let the bugs keep you down ;) Keep up the good work!!! I'm checking the thread multiple times daily for new releases :D

Btw if you can add avatar image for teams it would be awesome!

Kaelon 09-23-2008 04:10 PM

Great job with these updates. I noticed that you started adding version notes for 2.3.9 -- any chance that will be coming out soon?

WNxWakko 09-23-2008 04:12 PM

Quote:

Originally Posted by XShava (Post 1628657)
i delete all team. And now Create Team links get Error.

Yup, I get the same thing. When I try to create a team, I get what he is getting.

Firewarrior 09-23-2008 07:53 PM

Quote:

Originally Posted by XShava (Post 1628657)
i delete all team. And now Create Team links get Error.

Quote:

Originally Posted by WNxWakko (Post 1628682)
Yup, I get the same thing. When I try to create a team, I get what he is getting.

Yeah i am getting the same error when i try and create a team

Also some requests/segestions for you next version

When you goto the tournament page at the top you have tournaments
maybe you could add next to tournaments, Teams | Create a Team | join a Team so it would be like this at the top: Tournaments | Teams | Create Team | Join Team

Its just that at first i found it hard to find where to create a team and this will make it easyer for new people to the site

conker1 09-23-2008 08:30 PM

installed, but when i tyr join to Tournament script said me "You are not Leader of any team so you cannot join this tournament. Click here to go back to the tournament.".

All Permissions is done.

valendono 09-23-2008 09:20 PM

tq banana, its work now, I forgot I edit tmnt_new because value of number team I edited before. Thanks again, but 2.3.8 still not work on "add team".

Chris11987 09-24-2008 07:17 AM

*agrees with Firewarrior's suggestion*

When making a tournament thread, the original post adds a bunch of slashes to the bb code."

[SIZE=\"4\"]see[/size]
[COLOR=\"Plum\"][SIZE=\"7\"]see[/size][/color]
[SIZE=\"5\"][COLOR=\"DarkGreen\"]see[/color][/size]

Another error, this ones pretty big:

I hosted a 32 person tournament, and one of the people advanced to the bracket BELOW them. Like person #2 advanced to the bracket that should be the winner of Person #3, and Person #4. I can't regress him, and I can't advance either of the people that are REALLY supposed to be in that bracket, resulting in the tournament being broken and unable to finish.

edit: I was finally able to regress him and get things back on track, but now there's another problem. In the final round of the tourney, iI had my username and another's in the finals. I kept trying to progress my name to the winner bracket, but whenever the page reloaded, it would remain the same. Another member was able to do it for me for some reason, to the other member.

bananalive 09-24-2008 12:36 PM

Sorry about the error with creating new teams. I deleted a part of the code when i was adding permissions to limit number of teams created per user. Fixed in next release (hopefully out in few hours :D)
Quote:

Originally Posted by conker1 (Post 1628842)
installed, but when i try join to Tournament script said me "You are not Leader of any team so you cannot join this tournament. Click here to go back to the tournament.".

All Permissions is done.

Are you trying to enter a team tournament? If you are you need to be team leader to enter a team into a tournament.
Quote:

Originally Posted by Chris11987 (Post 1629084)
When making a tournament thread, the original post adds a bunch of slashes to the bb code.

Another error, this ones pretty big:

I hosted a 32 person tournament, and one of the people advanced to the bracket BELOW them. Like person #2 advanced to the bracket that should be the winner of Person #3, and Person #4. I can't regress him, and I can't advance either of the people that are REALLY supposed to be in that bracket, resulting in the tournament being broken and unable to finish.

edit: I was finally able to regress him and get things back on track, but now there's another problem. In the final round of the tourney, iI had my username and another's in the finals. I kept trying to progress my name to the winner bracket, but whenever the page reloaded, it would remain the same. Another member was able to do it for me for some reason, to the other member.

Fixed tournament thread issue.

There was error with the javscript which prevented one of the players in round 5 winning - fixed it now.

john102774 09-24-2008 12:51 PM

Quote:

Originally Posted by john102774 (Post 1617211)
Great Hack! Nominated for MOTM.

Question regarding Custom Score Type for LMS Tournaments: For the LMS Tourney, ex. A Race determine by best lap time.

Is there a way to set winner to be the person with the fastest time (including decimals and colons) instead of showing the winner who has the highest number?

Not sure if this has already been asked. Thanks for the great hack!

Has there been an update regarding the above quote? Thanks! :up: :D

bananalive 09-24-2008 01:08 PM

Quote:

Originally Posted by john102774 (Post 1629228)
Quote:

Originally Posted by john102774
Question regarding Custom Score Type for LMS Tournaments: For the LMS Tourney, ex. A Race determine by best lap time.

Is there a way to set winner to be the person with the fastest time (including decimals and colons) instead of showing the winner who has the highest number?

Has there been an update regarding the above quote? Thanks! :up: :D

Sorry for delay here you go. (Not sure if this will work with colons.)

For LMS to display lowest score as winner...

Find in tournament.php
Code:

ORDER BY score DESC");
Replace with
Code:

ORDER BY score ASC");

Gn_Snake 09-24-2008 01:52 PM

Quote:

Originally Posted by Antek (Post 1628360)
Next ideas:
- integration with vBExperience (medals in postbit)
- switch off/on details in postbit

Good Idea :up:

djlotus 09-24-2008 02:50 PM

Great hack so far, and great response time. I have a suggestion for future release.

Add player name to team without having to have player registered on forums.

AK47 Nemesis 09-24-2008 03:03 PM

Hi, great addon, i'm about to install it on my site. I'm not sure if this is already in this addon, but it would be cool if people and teams could add logo's to their teampage, like max 350x200 or something. Keeping doing what your doing mate! This is huge. Awesome.

Strafe 09-24-2008 03:18 PM

Hey got a problem, after I updated to 2.3.8 I can no longer add teams at all, not even with admin. I even reinstalled, uninstalled the mod several times and no luck.

It returns error page with no message.

When I set the max teams for usergroup to 0, it gives me the message: Error: You can only create 0 teams

but when I set it to above 0 then nothing on the error message and still can't create a team.

Can you look in to it? Thanks!

Update: Just did another installation of 2.3.8 on a brand new forums that never installed this mod before, still unable to create team.

bananalive 09-24-2008 03:21 PM

Quote:

Originally Posted by Strafe (Post 1629311)
Hey got a problem, after I updated to 2.3.8 I can no longer add teams at all, not even with admin. I even reinstalled, uninstalled the mod several times and no luck.

It returns error page with no message.

When I set the max teams for usergroup to 0, it gives me the message: Error: You can only create 0 teams

but when I set it to above 0 then nothing on the error message and still can't create a team.

Can you look in to it? Thanks!

The error has been reported above and the fix is in next version (out very soon - sometime today)

john102774 09-24-2008 03:30 PM

Thanks Banana, that works!

One more questions. The score rounds it self to a nearest whole number. How can I prevent this from happening if a user has a time score of 10:02.834?

Thanks for a great hack! :)

Strafe 09-24-2008 03:37 PM

Quote:

Originally Posted by bananalive (Post 1629316)
The error has been reported above and the fix is in next version (out very soon - sometime today)

Thanks for the quick reply, next time I'll read the other posts more carefully :)

gamerscms 09-24-2008 03:49 PM

This hack gets better and better, thank you very much for this.

EDIT: fix is already on the to do list.

john102774 09-24-2008 03:53 PM

Quote:

Originally Posted by gamerscms (Post 1629340)
This hack gets better and better, thank you very much for this.

EDIT: fix is already on the to do list.

+100000000000000 :D

bananalive 09-24-2008 04:06 PM

The next version is coming out very soon, just adding side menu to it.


--------------------------------------------------------------


Quote:

Originally Posted by john102774 (Post 1629327)
One more questions. The score rounds it self to a nearest whole number. How can I prevent this from happening if a user has a time score of 10:02.834?

Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_UINT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
If that still doesnt work:

Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_STR);

john102774 09-24-2008 04:21 PM

Quote:

Originally Posted by bananalive (Post 1629355)
The next version is coming out very soon, just adding side menu to it.


--------------------------------------------------------------



Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_UINT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
If that still doesnt work:

Open tournament.php find:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_INT);
Replace with:
Code:

$score = $vbulletin->input->clean_gpc('p', 'score', TYPE_STR);

I tried both edits you mentioned. Still does not seem to work. :o

This might be a challenge... hmmm..

bananalive 09-24-2008 04:26 PM

Quote:

Originally Posted by john102774 (Post 1629371)
I tried both edits you mentioned. Still does not seem to work. :o

This might be a challenge... hmmm..

Did you try inputting new score with file edits? (It wont alter the score already inputted only what is allowed to be stored in database)

john102774 09-24-2008 04:29 PM

Quote:

Originally Posted by bananalive (Post 1629378)
Did you try inputting new score with file edits?

Yes sir. :)

AK47 Nemesis 09-24-2008 04:59 PM

1 Attachment(s)
I found something, although this is something from outside the addon.

Basicly i have this news slider on the frontpage of my site (1st screen). This takes images from specified forums (In this case: News and Announcements). However, when i go to Tournaments, 1 of the slides shows up above the tournaments (2nd screen). Does this addon pulls stuff from other templates which might affect this?

bananalive 09-24-2008 05:13 PM

1 Attachment(s)
Quote:

Originally Posted by john102774 (Post 1629380)
Yes sir. :)

Sorry i forgot to change the database. Import attached product and it should work (fingers crossed)
Quote:

Originally Posted by AK47 Nemesis (Post 1629390)
I found something, although this is something from outside the addon.

Basicly i have this news slider on the frontpage of my site (1st screen). This takes images from specified forums (In this case: News and Announcements). However, when i go to Tournaments, 1 of the slides shows up above the tournaments (2nd screen). Does this addon pulls stuff from other templates which might affect this?

Someone had problem like this before and they resolved it by reverting their Forum Tournament templates.

AK47 Nemesis 09-24-2008 05:16 PM

Quote:

Originally Posted by bananalive (Post 1629399)
Someone had problem like this before and they resolved it by reverting their Forum Tournament templates.

I can't revert them as i haven't modified them. But i don't understand why it would appear there in the first place. I'll just go and try some stuff, hoping i can get it to make it disappear.

EDIT: What does $html do?

bananalive 09-24-2008 05:24 PM

Quote:

Originally Posted by AK47 Nemesis (Post 1629403)
I can't revert them as i haven't modified them. But i don't understand why it would appear there in the first place. I'll just go and try some stuff, hoping i can get it to make it disappear.

EDIT: What does $html do?

Oh ok, it shouldn't appear. What is the product hack which is causing the issues (I'll have a look for conflicts as well)

$html is the variable containing all the page data before it gets parsed

john102774 09-24-2008 05:28 PM

wooohoooo!!!!!!!!!!!

It works!!!

Bananalive for Presidente!!!

Thank you. :D

john102774 09-24-2008 05:37 PM

How can I change the Tournament Results titling "Score" to something else like "Lap Time"?

Darkpsy 09-24-2008 05:40 PM

I would also like to see perhaps a Tournament Supervisor or Admin option. When defined, that user would have control over just that tournament or tournaments if defined in other tourneys.

bananalive 09-24-2008 05:43 PM

Quote:

Originally Posted by john102774 (Post 1629413)
How can I change the Tournament Results titling "Score" to something else like "Lap Time"?

Edit phrase tmnt_score

wastemytime 09-24-2008 06:01 PM

In Version 2.3.9, by clicking on my Navbar Link Tournaments:


Code:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/clients/xxx/www/tournament.php on line 215

john102774 09-24-2008 06:09 PM

Quote:

Originally Posted by bananalive (Post 1629416)
Edit phrase tmnt_score

Sorry, I'm a noob. :o

Where is the location to Edit phrase? :D

I've looked in the tournament.php and Styles & template but was unable to locate it.

bananalive 09-24-2008 06:14 PM

Quote:

Originally Posted by wastemytime (Post 1629419)
In Version 2.3.9, by clicking on my Navbar Link Tournaments:


Code:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/clients/xxx/www/tournament.php on line 215

Sorry i used a bit of code which doesnt work with PHP 4 heres the fix below.

Find in tournament.php
Code:

foreach ($errors as &$error) {
Replace with
Code:

foreach ($errors as $error) {

gamerscms 09-24-2008 06:18 PM

Getting a error on the latest file:

Code:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/sites/xboxhive.co.uk/public_html/forums/tournament.php on line 215
Ok to above post :)

bananalive 09-24-2008 06:24 PM

Quote:

Originally Posted by john102774 (Post 1629426)
Sorry, I'm a noob. :o

Where is the location to Edit phrase? :D

AdminCP -> Languages & Phrases -> Search in Phrases

Search for Text: tmnt_score
Search in ...: Phrase Variable Name Only

Click Find

Click Edit next to phrase on next page

Put what you want to change it to in the box (English (US) Translation) and click save

gamerscms 09-24-2008 06:27 PM

Still getting a error and new error:

Code:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/sites/xboxhive.co.uk/public_html/forums/tournament.php on line 2

Parse error: syntax error, unexpected T_STRING in /home/sites/xboxhive.co.uk/public_html/forums/tournament.php on line 2


bananalive 09-24-2008 06:35 PM

Quote:

Originally Posted by gamerscms (Post 1629441)
Still getting a error and new error:

Code:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/sites/xboxhive.co.uk/public_html/forums/tournament.php on line 2

Parse error: syntax error, unexpected T_STRING in /home/sites/xboxhive.co.uk/public_html/forums/tournament.php on line 2


Try removing copyright text at top

Code:

/*======================================================================*\
|| #################################################################### ||
|| # Copyright ? BananaLive Scripts. All Rights Reserved. ############# ||
|| #################################################################### ||
\*======================================================================*/


gamerscms 09-24-2008 06:40 PM

Still the same i think it would be best to upload a new version.

Code:

{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
{\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\lang2057\f0\fs20 <?php\par
error_reporting(E_ALL & ~E_NOTICE);\par
define('THIS_SCRIPT', 'tournament2008');\par
$phrasegroups = array('posting', 'postbit', 'user', 'timezone', 'global', 'pm', 'reputationlevel', );\par
$specialtemplates = array(\par
\tab 'bbcodecache',\par
\tab 'smiliecache',\par
);\par
$globaltemplates = array(\par



All times are GMT. The time now is 09:59 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.04334 seconds
  • Memory Usage 1,860KB
  • 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
  • (19)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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