The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Changing class_core.php path and admincp dir to a sub-folder
Hi, how can I change the class_core.php path? I know how to change config.php's, but I don't know class_core's.
Also I wanted to change admincp directory to a sub-folder, like "includes/admincp". I changed this in the config file and saved, and also in the footer links of my forum it links to the http://site.com/includes/admincp/index.php, but when I click on it, it shows 500 error. I tried to find any lines relating to the path in admincp/index.php, but either found nothing or unable to find the relevant thing. Can you help me for the both? Thanks |
#2
|
|||
|
|||
Why would you want to change the class_core.php path? I highly recommend you to keep the original directory structures aside from the admincp directory.
Also the admincp directory must be in the root of your forum, but it can be named anything. It cannot be inside of another directory. If you're worried about security, just add an additional password to your admincp directory. http://www.htaccesstools.com/article...rd-protection/ |
#3
|
|||
|
|||
Thanks Dave, I want to just change these two only to see how to change and to see if I get any errors. Just playing with vBulletin.
I know how to add password for each folder/file. |
#4
|
|||
|
|||
The following files reference to class_core.php either through a comment or through an inclusion:
includes\functions_filesystemxml.php includes\init.php includes\md5_sums_vbulletin.php install\init.php install\tableprefix.php vb\db\result.php vb\input.php You mainly want to look at the init.php file. |
#5
|
|||
|
|||
Thanks Dave for the fast response.
I'll be looking at that. What about admincp? It requires much modifications? Or I better ignore that? |
#6
|
|||
|
|||
The global.php file in the admincp directory contains this line:
PHP Code:
|
#7
|
|||
|
|||
Thanks again Dave, that did the trick.
But after changing the name and path in init.php, forum did not run, so I took a look at error_log and see this error: HTML Code:
PHP Parse error: syntax error, unexpected 'Content' (T_STRING) in /home/***/public_html/forum/includes/init.php on line 722 PHP Code:
I commented these tags and now the forum runs well, logged in and everything is well. What do these lines do? Are they related to facebook log in? And only facebook log in? |
#8
|
|||
|
|||
Yes, but that error should not be happening.
|
#9
|
|||
|
|||
Thanks again, I was working on admincp modifications. The new path runs well after modifying the global.php in admincp, but css and some hrefs are not correct and I was working on it.
That's interesting to modify Thanks a bunch |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|