View Full Version : Question about hacks disappearing
Chimpie
05-25-2008, 02:18 AM
At the bottom of my forum (www.skywarnforum.org/forums) all of my hacks have disappeared...
Members Who Have Visted Today
CYB Advanced Forum Statistics
Latest Pictures Album
Who's Chatting
The night that it disappeared I did two things to the forum - Installed vBAdvanced and a friend and I worked on some errors using a HTML checker. We're not sure where the hacks disappeared. We think it was after the integration, but not 100%.
What can/should I look for (coding, templates, etc) to see if something was accidentally erased?
Or any other thoughts?
Chimp
Lynne
05-25-2008, 02:57 AM
Did you look to see if the Products were still listed in Products & Plugins? Maybe you just have them disabled.
Chimpie
05-25-2008, 10:52 AM
Did you look to see if the Products were still listed in Products & Plugins? Maybe you just have them disabled.
Nope, they are all there. I even uninstalled and reinstalled them. They still don't show up.
Lynne
05-25-2008, 04:25 PM
Do you have plugins enabled in your vboptions? Or, did someone add a line to the config.php file to disable options?
Chimpie
05-25-2008, 11:17 PM
Do you have plugins enabled in your vboptions? Or, did someone add a line to the config.php file to disable options?
Plugins have always been enabled. Double checked. Yep, still enabled.
Config.php file looks good.
Thanks though. Any other thoughts?
Boofo
05-25-2008, 11:24 PM
Did you try disabling vBAdvanced to see if that is the problem? And did you re-do the settings for each mod after you re-installed them?
Lynne
05-25-2008, 11:30 PM
You no longer have a standard vbulletin index page. Could the hacks you had installed (that aren't working) have a conditional to only work on THIS_SCRIPT == 'index'? My guess is the page you have there now is not called 'index' and if the hacks have that conditional, then they aren't going to work there.
Chimpie
05-25-2008, 11:52 PM
You no longer have a standard vbulletin index page. Could the hacks you had installed (that aren't working) have a conditional to only work on THIS_SCRIPT == 'index'? My guess is the page you have there now is not called 'index' and if the hacks have that conditional, then they aren't going to work there.
This is a very strong possibility. Where would I go to fix it? And what should I put?
Brandon Sheley
05-25-2008, 11:53 PM
You might of made a new page with the vba product, then placed your forum inside that page
I don't use vba, so I'm not sure on the lingo, but try and boofo said and try disabling the vba and see if your index appears like before..
Chimpie
05-26-2008, 12:37 AM
There is this in the vBAdvanced CP...
THIS_SCRIPT Integration Method
Any default vBulletin file (and most vB hacks) will define the constant "THIS_SCRIPT" at or near the top of the file to help identify it. If you wish to integrate files but cannot use the filename options above, simply open the file you wish to integrate, look for the THIS_SCRIPT constant near the top, and enter the value here. Separate each THIS_SCRIPT value with a carriage return (new line).
Example code to look for:
define('THIS_SCRIPT', 'value');
From this example, you would enter 'value' (without the quotes) in the box to the right.
I'm not sure what file to pull up for the hacks to get the information.
Lynne
05-26-2008, 02:17 AM
This is a very strong possibility. Where would I go to fix it? And what should I put?
First, you would have to look at your new vbadvanced php page and see what it defines THIS_SCRIPT as near the top (where it says "define('THIS_SCRIPT', 'something')". Then you will have to go through all the plugins in the modifications that aren't working and see if they have a conditional that says THIS_SCRIPT == 'index' and change 'index' to 'something'. Be aware that everytime you update one of those modifications, you will need to redo this change.
Chimpie
05-31-2008, 12:48 PM
An upgrade to 3.7.1 and a fresh install of the theme fixed everything.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.