![]() |
I'm now getting the no permissions page with:
Quote:
Quote:
|
Success. it installed templates to styleid 1 but not the rest. i had not got my styleid 1 set to show up.
Thanks for trying to help The Sandman |
Best hack i ever had on my forum,great job!!
The only negative is the phrasing,++++ i'm trying to do this by myself,but needs many time to spend.... :( ;) |
This is a fantastic mod
I have Vbulletin 3.0.3 up and running and the only hitch was in the file includes/showthread.php the following is not there anymore "// ###################### Start getreputationimage #######################" Inserting the necessary code in where I next saw "reputation" code blew up cookies and all threads were not accessible. So I used a little common sense and looked again, the code insertion was near the top so I popped it in above what looked like a new external function call for the reputation image. here is what my file looks like that works fine with 3.0.3 now - note the // hack and // hack end comments delimiting the inseted arcade hack code. require_once('./includes/functions_bbcodeparse.php'); //hack if ($arcadegeneral['awardson']==1) { // declares the arcade image directory $stylevar['imgdir_arcade'] = "images/arcade"; $arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscor e,miniimage,gameid FROM " . TABLE_PREFIX . "games "); while ($arcade = $DB_site->fetch_array($arcade_result)){ if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){ $awards[$arcade[shortname]]['userid'] = $arcade['highscorerid']; $awards[$arcade[shortname]]['gametitle'] = $arcade['title']; $awards[$arcade[shortname]]['icon'] = $arcade['miniimage']; $awards[$arcade[shortname]]['highscore'] = $arcade['highscore']; $awards[$arcade[shortname]]['gameid'] = $arcade['gameid']; } } } //end hack require_once('./includes/functions_reputation.php'); |
i'm having a problem with individual game installations. since i've upgraded, i've been getting this error when i try to install a new game:
Warning: main(./global.php): failed to open stream: No such file or directory in /forum/games/zookeeper.game.php on line 13 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/tmp:/home:/usr/home:/usr/local/bin:/usr/share/') in /forum/games/zookeeper.game.php on line 13 perhaps i'm just installing it wrong. can someone give me a quick reply on exactly where to put the files? so far, i put the images files in the /images/arcade folder (the .gifs) i put the .swf and .php install file in the /games folder and run the .php from the browser. it doesn't work and i get the above error. anyone have any ideas? -yinyang |
This hack works with 3.0.3.
|
Quote:
|
nice hack but i can't install :(
whene i press the "Add Templates" button (first step) i got blank page ! can any one help me ? thanks, |
Nvm, I got it to work perfectly
|
I need some help!
I edited all of the php files, then went to access my forums. I am getting this error on my forum home: Unable to add cookies, header already sent. File: /home/texasatv/public_html/forums/includes/functions.php Line: 3827 Here is the code I edited. I thought I did everything correct? Can someone please help me! $stylevar['outerdivwidth'] = $stylevar['outertablewidth'] . 'px'; } else { $stylevar['outerdivwidth'] = $stylevar['outertablewidth']; } // declares the arcade image directory $stylevar['imgdir_arcade'] = "images/arcade"; // get CSS width for divwidth from tablewidth if (strpos($stylevar['tablewidth'], '%') === false) { $stylevar['divwidth'] = $stylevar['tablewidth'] . 'px'; } else if ($stylevar['tablewidth'] == '100%') |
All times are GMT. The time now is 09:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|