PDA

View Full Version : Setting up a Plugin/Hook to perform this action?


bhxtyrant
10-07-2005, 07:16 PM
Hey guys,Need a little help with this one.I just upgraded to vBulletin 3.5,I am really interested in impimenting vBAcms into my website,one thing i did after rebuilding all my templates was make a custom template using the same code as the normal header template.I want to be able to use this second template on the CMS as a custom header.So i was trying to figure out how i can call the new template.The default header uses $header,i would like the new template to use $vba_cms_header is this possible?And if so can someone give me a little example code on how to set it up?I would prefer to handle it thisa way so i can rid myself of the "Some of my images are broken on my vBa pages" issue without editing all my default vB forum temapltes to include a full path address.

Also i was wondering if making a custom "Powered by vBadvanced CMS" copyright is allowed?i know currently you guys use normal text/hyperlink for the copyright,would an image be possible?Thanks for your time.

Brian
10-08-2005, 02:01 PM
Just use an if condition in your header instead.
<if condition="THIS_SCRIPT == 'adv_index'">
CMPS header here
<else />
Forum header here
</if>

As for the copyright, an image is fine as long as it links back here and the same text is used.

Our Sponsors
 

bhxtyrant
10-08-2005, 05:28 PM
Thanks for the reply Brian,I got it working now.Thanks alot.