The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Plugin added copyright notice to $cronimage
Hey guys,
I installed a bad plugin that shows a copyright notice when $cronimage is called. I've uninstalled the plugin and it is still there. I've looked around in the phrases, database and templates and can't figure out how to remove it. I found this code in it's install XML if that helps: Code:
'; $vbulletin->templatecache['footer'] = str_replace($str_ga,$str_ga.addslashes($vbulletin->options['advert_ga']),$vbulletin->templatecache['footer']); } $advert_copyright = '<div class=\"smallfont\" style=\"text-align:center;\">PluginName By <a href=\"http://www.domainname.com\"> XYZ</a></div>'; $str_copy = '$cronimage <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->'; $vbulletin->templatecache['footer'] = str_replace($str_copy,$str_copy.$advert_copyright,$vbulletin->templatecache['footer']); Thanks. |
#2
|
|||
|
|||
that is the code that is adding it
|
#3
|
|||
|
|||
If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.
|
#4
|
|||
|
|||
I've tried asking the mod dev, but have got no help from him (he probably thinks I'm trying to remove his copyright). Is it possible to tell where the HTML was added to?
|
#5
|
|||
|
|||
The footer template?
(But this looks more like a run-time edit i.e. its added when the PHP code is executed...) |
#6
|
|||
|
|||
No its not in the footer template. The only way Ive figured out how to remove it is by removing the $cronimage call in the the footer template. But obviously I can't do that. It's a strange thing.
|
#7
|
|||
|
|||
|
#8
|
||||
|
||||
Open the footer template, then save it again. It may be that it has been stored in the cache. Re-saving it should fix this if it is the case.
|
#9
|
|||
|
|||
Most likely Opserty already gave the correct answer in post #5
|
#10
|
|||
|
|||
Thanks for the help guys, but none of those suggestions worked. The only way I can get it to go away is to remove code "$cronimage" from the footer. Then it doesn't show up, but obviously I can't leave it that way.
Re-saving the footer doesn't change it. I tried searching through my DB using PHPmyAdmin but I'm not sure what I'm doing enough to mess with that. If I disable my plugins using the code "define('DISABLE_HOOKS', true);" then it disappears. I've searched my phrases and templates and there is nothing that matches the website address he has used. It's weird. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|