The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom PHP broke page template
Hello. I've been trying to figure out how to output the user name field for a long time and recently came across this article, which provided the basic information I needed. I created a test PHP page and it worked on it's own with the following code:
PHP Code:
However, after pasting that code into a custom PHP module on the user profile page and saving the changes, the user profile page now only returns the error "Couldn't read config file config.php", with no apparent way to revert the change. I've since figured out all I needed to include in my custom PHP module was this: PHP Code:
Unfortunately my user profile page is still broken and I have no idea how to fix it. Can anyone assist, please? --------------- Added [DATE]1463601764[/DATE] at [TIME]1463601764[/TIME] --------------- I have found a file called vbulletin-pages.xml that refers to a page guid="vbulletin-4ecbdac82f0bb4.37025811" for the "User Profile" page, but I don't know how/where to access that actual page to manually restore an older version of it. Suggestions, anyone? Am I headed in the right direction? Thanks. |
#2
|
||||
|
||||
Disable PHP/HTML module rendering in AdminCP > Settings > Options > General Settings > Disable PHP, Static HTML, and Ad Module rendering
|
4 благодарности(ей) от: | ||
fruppit, Lynne, MarkFL, TheLastSuperman |
#3
|
|||
|
|||
Thanks, Glenn. You're a life saver!
|
2 благодарности(ей) от: | ||
MarkFL, TheLastSuperman |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|