DevFuse Products (View All Products)
Display ad codes problem
#1
Posted 07 October 2011 - 12:23 AM
I just want to display vertical ads 160X600 on all pages except board index (as i am using hooks for board index)...please let me know if anybody come across it...
also please let me know if you have come across any mods....
thanks in advance
#2
Posted 07 October 2011 - 01:49 AM
Open Admin CP > Look & Feel Tab > select skin > Global Templates > globalTemplate
Find:
{$items['adHeaderCode']}
<if test="mainpageContent:|:$html">{$html}</if>
{$items['adFooterCode']}
Replace With:
<div class='ipsLayout ipsLayout_withright ipsLayout_largeright clearfix'>
<div class='ipsLayout_content clearfix'>
{$items['adHeaderCode']}
<if test="mainpageContent:|:$html">{$html}</if>
{$items['adFooterCode']}
</div>
<div class='ipsLayout_right'>
{ad code here}
</div>
</div>
Save. Will add a sidebar to all pages similar to the sidebar for an ad.
Keep up to date with DevFuse mod development and releases.

#3
Posted 07 October 2011 - 11:29 PM
can you let me know how to display it only on the pages i need.... because on the board index i am using hooks...and i want to display it only on message view page and topics list page...
and also how to resize the width of the side bar...
thanks a lot for your help...
#4
Posted 08 October 2011 - 09:36 PM
<if test="showOnTopic:|:ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'forums' AND ipsRegistry::$current_section == 'topics'">
<div class='ipsLayout ipsLayout_withright ipsLayout_smallright clearfix'>
<div class='ipsLayout_content clearfix'>
{$items['adHeaderCode']}
<if test="mainpageContent:|:$html">{$html}</if>
{$items['adFooterCode']}
</div>
<div class='ipsLayout_right'>
{ad code here}
</div>
</div>
<else />
{$items['adHeaderCode']}
<if test="mainpageContent:|:$html">{$html}</if>
{$items['adFooterCode']}
</if>
Keep up to date with DevFuse mod development and releases.

#5
Posted 09 October 2011 - 05:32 PM
thanks for your time in helping me out.....
#6
Posted 11 October 2011 - 01:28 AM
<if test="showOnTopic:|:( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'forums' AND ipsRegistry::$current_section == 'topics' ) OR ( ipsRegistry::$current_application == 'members' AND ipsRegistry::$current_module == 'messaging' AND ipsRegistry::$current_section == 'view' )">
Keep up to date with DevFuse mod development and releases.

#7
Posted 11 October 2011 - 05:51 PM
Your video system is amazing... thanks for your support once again...
Edited by andhrawatch, 11 October 2011 - 06:54 PM.
#8
Posted 25 October 2011 - 10:26 PM
can you let me know how to add ads on reply page?
#9
Posted 27 October 2011 - 12:25 AM
<if test="showOnTopic:|:( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'forums' AND ipsRegistry::$current_section == 'topics' ) OR ( ipsRegistry::$current_application == 'members' AND ipsRegistry::$current_module == 'messaging' AND ipsRegistry::$current_section == 'view' ) OR ( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'post' AND ipsRegistry::$current_section == 'post' AND $this->request['do'] == 'reply_post' )">
Try this code, replacing the top line as before.
Keep up to date with DevFuse mod development and releases.

#10
Posted 21 November 2011 - 08:01 PM
Hi can i display ads to be displayed only on one forum ? please let me know if you have any information...thanks for your support;
#12
Posted 22 November 2011 - 08:31 PM
thankyou.
#13
Posted 24 November 2011 - 01:38 AM
<if test="showOnTopic:|:( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'forums' AND ipsRegistry::$current_section == 'topics' AND $this->request['f'] == '15' ) OR ( ipsRegistry::$current_application == 'members' AND ipsRegistry::$current_module == 'messaging' AND ipsRegistry::$current_section == 'view' ) OR ( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'post' AND ipsRegistry::$current_section == 'post' AND $this->request['do'] == 'reply_post' )">
Keep up to date with DevFuse mod development and releases.

#14
Posted 04 December 2011 - 11:13 PM
i need to display ads only on topic's list page of a perticular forum .... i tried changing code with the help of your previous replies but no luck.....
#15
Posted 07 December 2011 - 01:10 AM
<if test="showOnTopic:|:( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'forums' AND ipsRegistry::$current_section == 'forums' AND $this->request['f'] == '15' ) OR ( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'forums' AND ipsRegistry::$current_section == 'topics' ) OR ( ipsRegistry::$current_application == 'members' AND ipsRegistry::$current_module == 'messaging' AND ipsRegistry::$current_section == 'view' ) OR ( ipsRegistry::$current_application == 'forums' AND ipsRegistry::$current_module == 'post' AND ipsRegistry::$current_section == 'post' AND $this->request['do'] == 'reply_post' )">
Keep up to date with DevFuse mod development and releases.

#16
Posted 15 December 2011 - 12:41 AM
#17
Posted 23 December 2011 - 04:48 PM
for example first five topics in a forum are PINNED and i want to place ad after these topics ... can i do that?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











