View Full Version : Broken Footer version number...
interfx
02-18-2007, 09:50 AM
Help I modified my footer on my site, to include a conditional statement in my footer... When it shows up, the version number is broken.... I have a number of these condition statements...
Powered by: VBAvanced Links Directory v%1$s
<if condition="THIS_SCRIPT == 'linksindex'">
<phrase 1="$vba_options[links_version]">$vbphrase[powered_by_vba_links]</phrase>
</if>
Any ideas on this?
Brian
02-18-2007, 03:20 PM
Which site is it that you're having the problem on? That's the correct phrase and such, so it should display fine while in the links directory. Though you cannot use that <if condition>. That would only allow the copyright to be displayed on the links index page. To show it through the rest of the links directory it would need to be this:
<if condition="VBA_SCRIPT == 'links_directory'">
<phrase 1="$vba_options[links_version]">$vbphrase[powered_by_vba_links]</phrase>
</if>
interfx
02-18-2007, 07:01 PM
Thanks that did work... I was having the same issue with VBGallery, and thought it would be something like this...
<if condition="THIS_SCRIPT == 'gallery_index'">
<phrase 1="$vba_options[gallery_version]">$vbphrase[powered_by_vbadvanced_gallery]<br />
</if>
I realize I need to ask over at Photopost, but really something I'm trying to so on CMPS...
Thanks for the help on the links...
Brian
02-19-2007, 10:27 AM
I'm not sure what they've changed, but assuming they've left these things alone then you should be able to use this code:
<if condition="VBA_SCRIPT == 'gallery'">
<phrase 1="$vba_options[gallery_version]">$vbphrase[powered_by_vbadvanced_gallery]<br />
</if>
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.