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)

gamerscms 09-24-2008 06:41 PM

Edit: Hold

gamerscms 09-24-2008 06:43 PM

New error:

Code:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/sites/xboxhive.co.uk/public_html/forums/tournament.php on line 311

gamerscms 09-24-2008 06:45 PM

Same fix as the above error on line 311

foreach ($errors as $error) {

I just changed it.

john102774 09-24-2008 06:46 PM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 1629439)
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

I applied the above steps but it's still not working. Please view attachment. I must be doing something wrong.

gamerscms 09-24-2008 06:48 PM

where do you invite new members?

Also when you create a new team you can only enter a team name and no more you then need to go to edit team to enter tags etc.

john102774 09-24-2008 06:52 PM

What do we have to do in order to make this MOTM?!? :)

gamerscms 09-24-2008 06:55 PM

select Nominate for MOTM up at the top on the right side.

I have also selected it.

bananalive 09-24-2008 06:55 PM

Quote:

Originally Posted by john102774 (Post 1629452)
I applied the above steps but it's still not working. Please view attachment. I must be doing something wrong.

Sorry you are doing it right, it was mistake in a template

Find in template tmnt_cmptlms_top
HTML Code:

<td class="alt1"><b>Score</b></td>
Replace with
HTML Code:

<td class="alt1"><b>$vbphrase[tmnt_score]</b></td>

john102774 09-24-2008 06:58 PM

Quote:

Originally Posted by gamerscms (Post 1629456)
select Nominate for MOTM up at the top on the right side.

I have also selected it.

Yes I have done that, but how can we guarantee that this will be MOTM? ;)

bananalive 09-24-2008 06:58 PM

Quote:

Originally Posted by gamerscms (Post 1629453)
where do you invite new members?

Users click join and team leader can accept or reject them
(I will be adding invite system soonish)
Quote:

Originally Posted by gamerscms (Post 1629453)
Also when you create a new team you can only enter a team name and no more you then need to go to edit team to enter tags etc.

I'll change that in next version (but I wont make them compulsory :D)

john102774 09-24-2008 07:01 PM

Quote:

Originally Posted by bananalive (Post 1629457)
Sorry you are doing it right, it was mistake in a template

Find in template tmnt_cmptlms_top
HTML Code:

<td class="alt1"><b>Score</b></td>
Replace with
HTML Code:

<td class="alt1"><b>$vbphrase[tmnt_score]</b></td>

Excellent Mod indeed, Thanks Bananalive! :up:

It was well worth the wait. :)

gamerscms 09-24-2008 07:02 PM

Great work, once this is finished we would like some custom paid work on this depending if it is needed, the way you are going it does not look like it will.

thanks a lot :D

Also on the tag in the team edit a space between the tag and name on the team page would be great.

also able to add a image to the tournament listing of each tournament going on. COD4,Halo and so forth.

A place to change the default images of the Tournament Details without messing with the defaults from the forums.

gamerscms 09-24-2008 07:16 PM

New error found, time is not updating when you click edit in tournament details.

Code:

Could not find phrase ''.
Code:

Warning: Wrong parameter count for str_replace() in [path]/tournament.php on line 754
also when you check the PM View all Tournaments Here you have made a error in the http://

Code:

http://\"http//[/COLOR]www.xboxhive.co.uk/forums/tournament.php\"

bananalive 09-24-2008 07:25 PM

Quote:

Originally Posted by gamerscms (Post 1629475)
New error found, time is not updating when you click edit in tournament details.

Code:

Could not find phrase ''.
Code:

Warning: Wrong parameter count for str_replace() in [path]/tournament.php on line 754

Sorry, count in str_repace() is not compatabile with PHP 4

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) { 

I don't have that error with the PM, have you edited the templates? Are you using PM tournament details to self or PM all competitors?

gamerscms 09-24-2008 07:38 PM

Im testing the PM all Competitors and when i click to view the tournaments link i get the above error.

no edits have been made.

thanks the the time fix.

bananalive 09-24-2008 07:53 PM

Quote:

Originally Posted by gamerscms (Post 1629496)
Im testing the PM all Competitors and when i click to view the tournaments link i get the above error.

Find in tournament.php
HTML Code:

$message = addslashes($description);
Replace with
PHP Code:

$message $description


gamerscms 09-24-2008 07:58 PM

Works perfect :)

Thanks a lot, did you see my requests that would be great to see in this?

Chris11987 09-24-2008 08:12 PM

Great job, banalive. I'll install and play around with the new version shortly.

bananalive 09-24-2008 08:17 PM

Quote:

Originally Posted by gamerscms (Post 1629510)
Works perfect :)

Thanks a lot, did you see my requests that would be great to see in this?

Cool. Yes I have. (So far in v2.4 I've fixed above glitches and added team logos.)

gamerscms 09-24-2008 08:26 PM

Thanks a lot i will have more ideas for you tomorrow :p

Donation of ?10.00 sent i do hope you keep this updated it is a great hack.

Lets hope more send some ??? :)

Strafe 09-24-2008 08:27 PM

Quote:

Originally Posted by bananalive (Post 1629521)
So far in v2.4 I've fixed above glitches and added team logos.

Ok I'm definitely staying up tonight for that! :D

Shop 09-24-2008 08:37 PM

Banana,

first of all great Mod. I have a problem though with my template. When viewing the team list page how do you make that table smaller so that it all fits.

here is the link so you can see what I'm talking about. I'm terrible when it comes to css stuff.

http://www.mymaddenpad.com/forums/to...=viewteam&id=2

Or Remove the box on the left.

Thanks.

wastemytime 09-24-2008 08:56 PM

Another one..

Code:

Parse error: syntax error, unexpected $end in /home/clients/xxx/www/tournament.php on line 1156
So, can i use it with php4 or not, i dont want to change this everytime an update is available.

gamerscms 09-24-2008 08:59 PM

Quote:

Originally Posted by wastemytime (Post 1629555)
Another one..

Code:

Parse error: syntax error, unexpected $end in /home/clients/xxx/www/tournament.php on line 1156
So, can i use it with php4 or not, i dont want to change this everytime an update is available.

Just wait untill 2,4 is out that will fix it all, i edited it myself.

Hornstar 09-24-2008 09:09 PM

this is truly looking amazing. However I have never used a tournament system before.

So could someone give me a few examples of some tournaments that could be set up that members would really enjoy on a Gaming site?

How exactly does the tournament take place anyway? I am just a little confused on that side of it. thanks.

Chris11987 09-24-2008 11:18 PM

Quote:

Originally Posted by hornstar1337 (Post 1629560)
this is truly looking amazing. However I have never used a tournament system before.

So could someone give me a few examples of some tournaments that could be set up that members would really enjoy on a Gaming site?

How exactly does the tournament take place anyway? I am just a little confused on that side of it. thanks.

I actually have a Super Smash BRos. Brawl tournament being set up on my site soon, using this. People basically register into a tournament, and it'll make the brackets, and the people play and report their results. Then someone with the proper permissions (which you set, according to usergroups) advances the winners.

It basically allows people to be inserted into a bracket and keep things looking sexy and organized, while simple at the same time.

WNxWakko 09-25-2008 12:42 AM

Very sweet mod now. I commend the hard work you have done. Everything appears to work without error. I will let you know if my testers uncover anything.

I know Ive posted suggestions in previous threads. What are you going to work on next for this?

KHALIK 09-25-2008 01:10 AM

:)

DONATED you some cash, excellent work bananalive.

Keep up the good work and hopefully you will support 5v5 and double elimination in the near future as well.:

WNxWakko 09-25-2008 01:40 AM

I kicked in a donation as well.

KHALIK 09-25-2008 03:01 AM

WNxWakko, check your pm pls.

KHALIK 09-25-2008 03:12 AM

Updated it to the latest version v2.3.9 (VB 3.7.3) php4 , when I go into usergroups and click on "save" I get this error, without making any changes or enabling tournanment permissions.

If I disable the product, I am able to save other non-tournanment settings without db error message under Usergroups.



Quote:

`tournamentpermissions` = '1023',
`maxteams` = '1'
WHERE usergroupid=6;

MySQL Error : Unknown column 'tournamentpermissions' in 'field list'
Error Number : 1054
Request Date : Thursday, September 25th 2008 @ 04:05:43 AM
Error Date : Thursday, September 25th 2008 @ 04:05:43 AM
Script : http://www.fragmasters.co.uk/forum/a....php?do=update
Referrer : http://www.fragmasters.co.uk/forum/a...&usergroupid=6
IP Address : XX.xXX.XXX.XXX
Username : Fragmaster
Classname : vb_database
MySQL Version : 4.1.22-standard


If you want access to admincp please pm me.

djlotus 09-25-2008 03:20 AM

Quote:

Originally Posted by djlotus (Post 1627976)
When entering a comment for a tournament, the browser does not redirect, and the direct link for redirect does not work. The comment does post, just no redirect.

Still the same problem. any suggestions?

AK47 Nemesis 09-25-2008 04:02 AM

I upgraded this to the latest version, but i now get a total blank page. Any idea what is causing this? I did everything correctly: Uploaded the files (And overwrited), and Imported the product (Also overwrited).

Chris11987 09-25-2008 08:38 AM

Perhaps the drop-down menu on "Tournaments" can be rid of, since all of the options revealed are on the side menu right next to it now.

Strafe 09-25-2008 09:42 AM

The current version is broken and does not allow creation of teams, banana says he will have the patch up 'hopefully' tomorrow ;)

jlew24asu 09-25-2008 11:42 AM

LOL ok maybe I am just doing this wrong. my permissions (for me as admin) are all set to yes. when I click ADD for a new tourney, a BLANK white page loads.

this is happening on 2 of my forums. I know I'm not crazy and I know this mod works..what am I doing wrong?

bananalive 09-25-2008 01:50 PM

Thanks, for all your donations they are much appreciated.

If you are getting a blank page check the url for adding a tournament it should be http://www.yourforum.com/tournament.php?do=add (all lower case letters)

@wastemytime I will provide fixes for problems as they are found which will be released with the modification's next release. This includes making the modification compatible with PHP 4

@KHALIK I think i have found 'error' in bitfields, it will be includded in next release (if you do still get error just post back here)

@Shop I'll make the side navigation an option in vBulletin options for those with fixed forum widths or forum menu of left.

Shop 09-25-2008 02:52 PM

Quote:

Originally Posted by bananalive (Post 1630045)
@Shop I'll make the side navigation an option in vBulletin options for those with fixed forum widths or forum menu of left.

Banana, I saw you signed up. Thanks for looking at it for me. I look forward to the next release.

AK47 Nemesis 09-25-2008 03:22 PM

Quote:

Originally Posted by bananalive (Post 1630045)
Thanks, for all your donations they are much appreciated.

If you are getting a blank page check the url for adding a tournament it should be http://www.yourforum.com/tournament.php?do=add (all lower case letters)

Checked it, but it's still blank, also on the tournament.php page itself.

jlew24asu 09-25-2008 04:48 PM

Quote:

Originally Posted by AK47 Nemesis (Post 1630123)
Checked it, but it's still blank, also on the tournament.php page itself.

me too :(


All times are GMT. The time now is 12:24 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.02906 seconds
  • Memory Usage 1,844KB
  • 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
  • (8)bbcode_code_printable
  • (5)bbcode_html_printable
  • (3)bbcode_php_printable
  • (17)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