View Full Version : Notices on index.php only?
K4GAP
02-26-2009, 05:36 PM
Is there a way to make the notices only appear on the index.php page?
Dismounted
02-27-2009, 11:15 AM
In the navbar, edit the conditional for notices, and add:
AND THIS_SCRIPT == 'index'
K4GAP
02-27-2009, 11:40 PM
In the navbar, edit the conditional for notices, and add:
AND THIS_SCRIPT == 'index'
In this area?
<if condition="$show['notices']">
<form action="profile.php?do=dismissnotice" method="post" id="notices">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" id="dismiss_noticeid" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="$return_link" />
And if so, where?
K4GAP
03-01-2009, 07:30 PM
Could someone please help me with this? I just don't know how and where.
Lynne
03-01-2009, 08:02 PM
In the navbar, edit the conditional for notices, and add:
AND THIS_SCRIPT == 'index'
In this area?
<if condition="$show['notices']">
<form action="profile.php?do=dismissnotice" method="post" id="notices">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" id="dismiss_noticeid" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="$return_link" />And if so, where?
<if condition="$show['notices'] AND THIS_SCRIPT == 'index'">
<form action="profile.php?do=dismissnotice" method="post" id="notices">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" id="dismiss_noticeid" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="$return_link" />
K4GAP
03-01-2009, 08:51 PM
Lynne you have come through for me more times either directly or indirectly than I can remember. Either from me searching for answers and using your advice on others posts, or in direct reply to my own. Thanks you, thank you, thank you.
You are a GREAT asset to vbo!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.