The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PLEASE HELP! phpads - VBulletin Board Dummy Here
OK, here is the situation:
I am in desparate need of help and I think it may be a simple solution. We run a board that was running phpads (the old version) and in it we had a template called phpincludes_start and then a modified header that places the code for the ads. The rotating banner ads would display right next to the logo on the top of our boards. Here is our site: http://forum.goazcats.com This was the code that we had in phpincludes_start: require("/www/goazcats/phpAds/config.inc.php3"); require("/www/goazcats/phpAds/view.inc.php3"); require("/www/goazcats/phpAds/acl.inc.php3"); $banner = view(home); Then in the header we had the following where we wanted the banner: <? $banner; ?> Well it worked until the upgrade to 3.50 and the usage of plugins. I really think there probably is a simple solution, just do not know how to do it. You can see that our banners are working at this test page where we have both the code from the phpinclude and the banner code: http://forum.goazcats.com/adtest.php Now that there is no phpinclude_start in 3.5 where do I place the code that we had there? If I do had a plugin what template do I say the hook is in? The header template is not in the drop down menu of availavble hooks. To be honest I am not even sure if that makes sense or if I am on the right track. I could really use some help- Help please! I tried over at VBulletin and their guy said he could not help with plugins -t hough that is what seems to be the problem. If you have a solution or suggestion please let me know. Thanks so much. JS |
#2
|
|||
|
|||
Wrong forum this forum is for hack releases only.
But the code you had in phpinclude_start put that in a hook. Location of hook global_start |
#3
|
|||
|
|||
Sorry, if someone could move it to the appropriate forum that would be great.
AND PLEASE HELP |
#4
|
||||
|
||||
Okay, this is getting awfully annoying. This is like the 10th time someone's done this today.
|
#5
|
|||
|
|||
Tim already answered i think.
|
#6
|
|||
|
|||
Make a new plugin and hook it up to: global_start
give your plugin a name Plugin PHP Code: require("/www/goazcats/phpAds/config.inc.php3"); require("/www/goazcats/phpAds/view.inc.php3"); require("/www/goazcats/phpAds/acl.inc.php3"); $banner = view(home); |
#7
|
|||
|
|||
Mike, thanks, but I tried that and it did not work.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|