Re: PM Notify & Guest Register bar
Posted: 13 Jul 2010, 06:36
Stoker, would it be possible to have the sender and the subject line in the popup?
Database and Demo for phpBB3 BBCodes, Mods and Smilies
https://phpbb3bbcodes.com/
good point i wasn't thinking about it..Stoker » 13 Jul 2010, 07:23 wrote:What if you have 3 new messages and maybe 2 unread?
But no, I wont be doing something like that.
Hey Stoker m8,Stoker » 22 Jul 2010, 15:49 wrote:It should look like the screenshots in first post.
And it sou nds like you didnt add the css to the stylesheet or maybe you forgot to refresh the theme in ACP or your browser cache.
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP -->
<div id="info"><div id="infobar">
<a href="{U_REGISTER}">Welcome to {SITENAME}. Click here to register</a>
</div></div>
<!-- ENDIF -->
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP -->
<div id="info"><div id="infobar"><img src="{T_THEME_PATH}/images/image_name.gif" alt="image pinched contact admin!" /><a href="{U_REGISTER}">Welcome to {SITENAME}. Click here to register</a><img src="{T_THEME_PATH}/images/image_name.gif" alt="image stolen contact admin!" /></div></div>
<!-- ENDIF -->
Code: Select all
<img src="{T_THEME_PATH}/images/image_name.gif" alt="image stolen contact admin!" />
Code: Select all
#info {
overflow: visible;
width: 100%;
position: fixed;
left: 0;
z-index:2;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1.5em;
font-weight: bold;
background-color :#E5E5E5;
}
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active
{
display: block;
float: left;
width:100%;
clear: both;
color: #d50000;
padding: .55em 0 .55em 0;
border-bottom: .25em solid #2A7BBA;
text-align: center;
text-decoration: none;
background-color :#E5E5E5;
}
#infobar a:hover
{
color: black;
background:#F4F4F4;
border-bottom: .25em solid #b22222;
cursor: pointer;
}
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP -->
<div id="info"><div id="infobar">
<a href="{U_REGISTER}">Welcome to {SITENAME}. Click here to register</a>
</div></div>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_USER_PM_POPUP and S_DISPLAY_PM and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) -->
<div id="info"><div id="infobar"><img src="./images/mail.png" alt="" style="width: 60px; height: 50px; padding-left: 300px; vertical-align: middle;" />
<a href="{U_PRIVATEMSGS}">Hello {S_USERNAME} - You have {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --> and {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
<img src="./images/mail.png" alt="" style="width: 60px; height: 50px; padding-right: 300px; vertical-align: middle;" />
</div></div>
<!-- ENDIF -->
Code: Select all
<img src="./images/mail.png" alt="" style="width: 60px; height: 50px; padding-left: 300px; vertical-align: middle;">
Code: Select all
<img src="./images/mail.png" alt="" style="width: 60px; height: 50px; padding-left: 300px; vertical-align: middle;">
yup, you're right m8 wrote it down wrong what I mean was : Open styles/subsilver2/template/overall_header.html it's late sorrycisco007 » 24 Jul 2010, 02:48 wrote:are you saying you added html and php to the css files? you do not add that to the css files, css files are only for styling!