![]() |
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%') |
Quote:
|
I couldnt be bothered repeating the process of creating the styles again so that the templates would be inherited, so i went into Style Manager-> All Style options. Then i chose the styles that didnt have the templates, selected Edit Settings from the drop down menu and at the top I changed the Parent style to be the one with the installed templates.
It just means that i have 1 parent style and 3 Child Styles of that group now, rather than 4 parent styles. |
Quote:
Warning: Invalid argument supplied for foreach() in /home3/me/myname/www/forum/includes/functions.php on line 2853 |
alright stupid me.... LOL got the prob solved somehow :D thanks for the help, beth :D
|
What happens if I upgrade to 3.03? The arcade does not work anymore... Any solutions?
|
Quote:
|
Quote:
|
I installed this mod and I have a small, well sorta small problem.
I did all the template changes for two of my 4 skins.. Default Liquid -----Default Fixed White Powder Liquid -----White Powder Fixed I did the edits for the two Liquid versions. I figured they would auto do it for the child skins. So when everything was complete. I found out that I get blank pages on all the arcade pages on every skin accept White Powder Fixed. This doesn't make any sense. So I went back and checked to see if the edits got erased some how. They didn't.. You can see here.. http://symptales.net/forums/?styleid=1 Please try and see how the arcade only shows up on White Powder Fixed. I did skip one edit in the php files. In the includes/functions_showthread.php I couldn't find // ###################### Start getreputationimage ####################### What should I do? Could that be the problem? |
If you read through the thread for the last few pages you'd have the answer to the getreputationimage.
Instead of putting the code into functions_showthread.php above this: Code:
// ###################### Start getreputationimage ####################### Code:
// ###################### Start doimicons ####################### |
Quote:
anyone have an answer to this? please help! |
the php file needs to be in the admincp folder.
|
Quote:
hmm..it still didn't fix my problem with the skins. Any ideas for that? |
Sorry I've no idea. I'm only a learner at this stuff. The solution i had for my problem was only worked out through what made sense on a test board so maybe someone with more experience can help.
Good luck. :) |
can anyone else help me with my skin problem?
|
Quote:
|
Quote:
|
Does anyone know how to help me?
I did all the template changes for two of my 4 skins.. Default Liquid -----Default Fixed White Powder Liquid -----White Powder Fixed I did the edits for the two Liquid versions. I figured they would auto do it for the child skins. So when everything was complete. I found out that I get blank pages on all the arcade pages on every skin accept White Powder Fixed. This doesn't make any sense. So I went back and checked to see if the edits got erased some how. They didn't.. You can see here.. http://symptales.net/forums/?styleid=1 Please try and see how the arcade only shows up on White Powder Fixed. |
Upgraded fine how ever my images are broken with the arcage.. instead of to images/arcade/ its just think the pictures are at root e.g http://www.domain.com/trophy.gif http://www.domain.com/chopper1.gif http://www.domain.com/arrow.gif http://www.domain.com/tetris1.gif etc etc
Anyone help??? |
@John: Can you post an updated Version of the hack, which works with v3.0.3
Greets Ordo |
I simply love this arcade but I messed something up and now high scores are not bing recorded....
Help please... I have many members who love my arcade.... |
Quote:
|
Quote:
|
Thanks ^_^
|
Can anyone offer me a fix????
|
It installed fime and everything, but when the link to it is clicked, by me, other admins/mods, or members, it says they don't have permission to access it. I checked all usergroup permissions and everything, but it still persists...
|
Nvm, i figured it out. I forgot to edit the global.php file. Thats what i get for trying to do it at 6am, after working w/ coding for the last 15 hours ^_^;;
|
Thanks, works great!
|
Just a quick question. Is there any Multiplayer games for this great hack so many users can play together? I had no chance to go deeper and investigate this myself, so if anyone could answer this I'll appreciate that.
|
Quote:
|
Quote:
|
All times are GMT. The time now is 09:35 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|