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.
Yes, I did. I sent you the code I have added to our CP Style which is the default.
Dude I checked all of your styles one by one and you didnt make the edit . You have to make the edits in your each styles header. But if you have a child style then you dont need to edit the header.
Dude I checked all of your styles one by one and you didnt make the edit . You have to make the edits in your each styles header. But if you have a child style then you dont need to edit the header.
Thank you for the reply. I am aware of that and I did add this code as well as the other to my CP Style:
In CP Style:
Code:
Code:
<!-- logo -->
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<div id="infobar"><a href="http://www.cpfools.com/forum/register.php?referrerid=1">It appears you have not yet registered with our community. To register please click here...</a><embed src="infobar.wav" autostart="true" loop="0" hidden="true"></embed></div>
</td>
</tr>
</table>
</if>
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="center" width="100%"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
<br />
<if condition="$bbuserinfo['usergroupid'] == 3">
<div align="left" style="color: red; background-color: white; border: 1px solid black; padding:2px">Your account is awaiting email confirmation. Please click the activation link in the email you were sent, or visit <a href="register.php?$session[sessionurl]do=requestemail">this page</a> to resend the activation email. If you did not receive the email then it's possible it was blocked by your email client. In this case you can either disable your blocker software or enter a new email address in <a href="profile.php?$session[sessionurl]do=editpassword">your profile</a>.</div>
</if>
$_phpinclude_output
Dude I checked all of your styles one by one and you didnt make the edit . You have to make the edits in your each styles header. But if you have a child style then you dont need to edit the header.
correct. this would need to be applied to all of your styles if you have different styles on your forums.
Ok, then in order to get this to work at all, I have to edit every single style we have instead of the default one that only guests see?
i would only because you said you have added this code in and when i goto the forums i don't see the bar. when i view the code i don't see it in the code either. which would make me think that you didn't put it in the style.
i guess just try adding it to all the styles and see if it works. if it doesn't, all you have to do is remove a few lines of code in each of the styles to get them back to normal.
Slapyo:after going through it for some reason the header template isn't being used. it may be because you edited another template that called on the header template ... i'm not sure. but i am sure it isn't being called because code that isn't in any kind of conditional should show up and it doesn't. the headerinclude part is ok ... the css file gets loaded. something is causing the header template to not load.
I thank you for looking, it looks like I cannot use this mod then? Oh well, thank you anyway.