The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Rookie here
where adding code to modify the install like index.php when it askes to add code above something
Example> If>(adminexample) t hen add code above this ,here is the stupid question copy the code right above this? I know silly but Im cornfused thxs rook Find: __________________________________________________ ______________________________ ___________ if (can_administer('canadminstyles')) ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯ Above this, add: __________________________________________________ ______________________________ ___________ construct_nav_option("General Settings", 'arcadeadmin.php?do=general', '<br />'); construct_nav_option("Game Settings", 'arcadeadmin.php?do=games', '<br />'); construct_nav_option("Score Settings", 'arcadeadmin.php?do=scores', '<br />'); construct_nav_option("Challenges", 'arcadeadmin.php?do=challenges', '<br />'); construct_nav_group("Arcade", '<hr />'); |
#2
|
||||
|
||||
if it shows you a line like:
Find : K Above this ADD: F it would look like F K |
#3
|
||||
|
||||
basically in whatever program that you are using to edit the file, hit the find/search option within that program to find the particular line that you are looking for.
In this case, you are looking for "if (can_administer('canadminstyles'))". Then once you find this line, you have to copy the second part and add it above this code depending on the instructions given. So in this case or particular example that you have used, the final code after editing should look like this, Code:
construct_nav_option("General Settings", 'arcadeadmin.php?do=general', '<br />'); construct_nav_option("Game Settings", 'arcadeadmin.php?do=games', '<br />'); construct_nav_option("Score Settings", 'arcadeadmin.php?do=scores', '<br />'); construct_nav_option("Challenges", 'arcadeadmin.php?do=challenges', '<br />'); construct_nav_group("Arcade", '<hr />'); if (can_administer('canadminstyles')) |
#4
|
||||
|
||||
Quote:
Ok will try Im sorry Im "new" green as the grass LOl However I have time and I will spend every second i can to learn this once all the code is in and i have to go run insall.php can u tell me how Im sorry, I do know how to upload the file to the proper place with ftp Thank you again I will learn!! Ober:banana: |
#5
|
||||
|
||||
you installing a new vBulletin forum?
|
#6
|
||||
|
||||
no problem Ober, no need to be sorry we all start from somewhere. As for running the install.php, basically first you have to upload it to the folder that the instruction gives you. In most cases, the install.php file of the mods/hacks goes in the /admincp folder of your forums. Once you have uploaded the file and made all the file edits in the instruction, just go to http://www.yoursite.com/forums/admincp/install.php and follow the instructions again from there.
by running install.php it means to just simply go to that page and it should do the install automatically for you, good luck. I think he is installing some kind of arcade hack/addon Xtrato by looking at the example code he has given, not sure though. |
#7
|
||||
|
||||
Quote:
Warning: Unknown(/home/niceman/public_html/forums/includes/class_database_analyse.php): failed to open stream: No such file or directory in /admincp/plugin.php(1232) : eval()'d code on line 1 Fatal error: (null)(): Failed opening required '/home/niceman/public_html/forums/includes/class_database_analyse.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/niceman/public_html/forums/admincp/plugin.php(1232) : eval()'d code on line 1 Quote:
Ober |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|