What is this?
This will display an information bar across the top of the browser window that appears to be like the Information Bar that is from Windows XP SP2. When the user clicks it they will be sent to the registration page for your forums. This is not a popup.
If the user is logged in then this will not display at all. This only appears on the page for people who are not logged in.
I love the way this looks and I want to have one that shows up there when the user is browsing a private forum. As it stands, I have a secondary usergroup that about 10 people are in. Those 10 people can view 1 forum that noone else can. I would like a bar like this to show at the top if their secondary usergroup = a certain number.
I just dont want them thinking these posts are in the open forum because obviously it appears to them as though they are.
What would the conditional be for that? I can figure the rest out.
I, like many of you get tired of constantly seeing the Help! emails about 'Ive registered but cant post' only to find that they typically didnt read that they need to activate their account.
I have tweaked the template changes here a touch to give these guys a friendly nudge:
Header:
PHP Code:
<if condition="($show['guest'] || is_member_of($bbuserinfo,3)) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> <div id="infobar"><if condition="$show['guest']"><a href="http://www.thenailgeek.com/register.php?referrerid=1">It appears you are not yet a geek!. To join the worlds largest community of nail professionals, click here...</a><else /> <a href="http://www.thenailgeek.com/register.php?do=requestemail">Thanks for registering. Please follow the activation email instructions sent to you or click here to resend them</a> </if><embed src="http://www.thenailgeek.com/infobar.wav" autostart="true" loop="0" hidden="true"></embed></div> </td> </tr> </table> </if>
headerinclude:
PHP Code:
<if condition="($show['guest'] || is_member_of($bbuserinfo, 3)) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <link rel="stylesheet" href="http://www.thenailgeek.com/infobar.css" type="text/css" /> </if>
Anyhooo. It sure helps prevent those annoying emails!
I, like many of you get tired of constantly seeing the Help! emails about 'Ive registered but cant post' only to find that they typically didnt read that they need to activate their account.
I have tweaked the template changes here a touch to give these guys a friendly nudge:
Header:
PHP Code:
<if condition="($show['guest'] || is_member_of($bbuserinfo,3)) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<div id="infobar"><if condition="$show['guest']"><a href="http://www.thenailgeek.com/register.php?referrerid=1">It appears you are not yet a geek!. To join the worlds largest community of nail professionals, click here...</a><else />
<a href="http://www.thenailgeek.com/register.php?do=requestemail">Thanks for registering. Please follow the activation email instructions sent to you or click here to resend them</a>
</if><embed src="http://www.thenailgeek.com/infobar.wav" autostart="true" loop="0" hidden="true"></embed></div>
</td>
</tr>
</table>
</if>
headerinclude:
PHP Code:
<if condition="($show['guest'] || is_member_of($bbuserinfo, 3)) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<link rel="stylesheet" href="http://www.thenailgeek.com/infobar.css" type="text/css" />
</if>
Anyhooo. It sure helps prevent those annoying emails!