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)

Gamelobby 11-19-2008 04:14 AM

So i guess it got uploaded automatically.. when i uploaded all the ".php" files.?
Because the images are working fine now.

mozik 11-20-2008 04:55 AM

Are you going to make it so we can edit our rosters and team leaders and can edit them. Like remove and invite people by username?

Maybe a button to get to your team.

And for challenges maybe have them so for each ladder they are separate, not just one list.

That would be cool.

Toupsx 11-20-2008 01:33 PM

Server Type Linux
Web Server Apache (cgi)
PHP 4.4.9
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 20.00 MB
PHP Memory Limit 40.00 MB
MySQL Version 5.0.51a-log
MySQL Packet Size 10.00 MB

Or is there any specific PHP settings that the mod requires to install? A few options in my php are turned off..

Would any of these be limiting it banana so that it couldn't finish installing? I don't see why it's the only mod that just sits there and doesn't install through th product manager for me, anything else will.

It seems that it does do the database edits, just doesn't do any template edits or add the permission settings into my vbulletin... the database edits are done and it just stops after that..

Saint Dean 11-20-2008 01:40 PM

Hello,

WOndering if you could create a page for results of previous tournaments
Set it in rows like they are but who won what and when.

Spencey 11-20-2008 06:44 PM

I get this message once ive created a tournament:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /home/sites/mysite.com/public_html/forums/includes/adminfunctions.php on line 936

I've been getting this problem for over a month now, anyone know whats a matter?

honcho 11-20-2008 09:06 PM

brilliant way of doing online gamming turnies though thanx big time for this

OMGNOWAI 11-20-2008 09:18 PM

Okay I can edit the usergroup permissions but the link isn't showing up on the index I gave my group full permissions and even when I go to competition.php manually it says I don't have the privilege.

Mr.Fix 11-21-2008 03:56 PM

Hey bananalive, appriciate alot for this really good mod!

Everything seems to be working fine for me except for one thing. After you add a single elimination ladder with teams not players, when it creates a topic on the forums, instead of No. of teams it still shows No Players: even though it is a team elimination not players.

WNxWakko 11-21-2008 11:43 PM

Edit - Nevermind. Resolved. Good mod!

bananalive 11-22-2008 09:34 AM

Quote:

Originally Posted by Toupsx (Post 1669344)
Server Type Linux
Web Server Apache (cgi)
PHP 4.4.9
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 20.00 MB
PHP Memory Limit 40.00 MB
MySQL Version 5.0.51a-log
MySQL Packet Size 10.00 MB

Or is there any specific PHP settings that the mod requires to install? A few options in my php are turned off..

Would any of these be limiting it banana so that it couldn't finish installing? I don't see why it's the only mod that just sits there and doesn't install through th product manager for me, anything else will.

It seems that it does do the database edits, just doesn't do any template edits or add the permission settings into my vBulletin... the database edits are done and it just stops after that..

I've got very little experience with servers so I cannot tell you if it is a setting stopping you installing but this might work if its problem with usergroup permissions
Open product-tournament2008.xml

Find
PHP Code:

        <code version="2.5.1">
            <
installcode><![CDATA[$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup ADD tournamentpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup ADD ladderpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup ADD maxteams INT(10) DEFAULT '1' NOT NULL ;");
]]></
installcode>
            <
uninstallcode><![CDATA[$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup DROP COLUMN maxteams;");]]></uninstallcode>
        </
code

Replace with
PHP Code:

        <code version="2.5.1">
            <
installcode><![CDATA[$db->hide_errors();
$arraya = array();
$results $vbulletin->db->query_read("SHOW COLUMNS FROM "TABLE_PREFIX ."usergroup");
while(
$column $db->fetch_array($results)){
$field $column['Field'];
$arraya array_merge((array)$field$arraya);
}
if (!
in_array("tournamentpermissions"$arraya)) {
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup ADD tournamentpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
}
if (!
in_array("ladderpermissions"$arraya)) {
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup ADD ladderpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
}
if (!
in_array("maxteams"$arraya)) {
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup ADD maxteams INT(10) DEFAULT '1' NOT NULL ;");
}
]]></
installcode>
            <
uninstallcode><![CDATA[$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE "TABLE_PREFIX ."usergroup DROP COLUMN maxteams;");]]></uninstallcode>
        </
code

Quote:

Originally Posted by Spencey (Post 1669533)
I get this message once ive created a tournament:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /home/sites/mysite.com/public_html/forums/includes/adminfunctions.php on line 936

I've been getting this problem for over a month now, anyone know whats a matter?

modify PHP settings to increase memory_limit option
Quote:

Originally Posted by OMGNOWAI (Post 1669616)
Okay I can edit the usergroup permissions but the link isn't showing up on the index I gave my group full permissions and even when I go to competition.php manually it says I don't have the privilege.

Make sure you userid is not in Banned Userids list in Tournament & Ladder Options


All times are GMT. The time now is 08:34 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.02820 seconds
  • Memory Usage 1,773KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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