PM Notify & Guest Register bar
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Re: PM Notify & Guest Register bar
Stoker, would it be possible to have the sender and the subject line in the popup?
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: PM Notify & Guest Register bar
What if you have 3 new messages and maybe 2 unread?
But no, I wont be doing something like that.
But no, I wont be doing something like that.
Board rules! No PM support
Re: PM Notify & Guest Register bar
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.
- GHOSTWRiTAZ
- BBCoder II
- Posts: 20
- Joined: 28 May 2010, 01:09
Re: PM Notify & Guest Register bar
Hey Stoker, excellent mod m8, if I may say so, well I tried it on twilightbb (based on Subsilver2), there are some problems with the mod.
-first is doesn't hover over the header/banner ! instead it adds itself before ? very strange !
-second it ain't transparent
-third the height of the bar/font is very small !
what could be the problem m8, I'm hoping for some support on your side cause I love this mod.
Best Regards,
G
-first is doesn't hover over the header/banner ! instead it adds itself before ? very strange !
-second it ain't transparent
-third the height of the bar/font is very small !
what could be the problem m8, I'm hoping for some support on your side cause I love this mod.
Best Regards,
G
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: PM Notify & Guest Register bar
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.
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.
Board rules! No PM support
- GHOSTWRiTAZ
- BBCoder II
- Posts: 20
- Joined: 28 May 2010, 01:09
Re: PM Notify & Guest Register bar
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.
tnx it worked, seemed I forgot to refresh the theme
Stoker one small question if I may, which code is added to the .css
to get the images between the text like here on your site. Example see below
[hsimg2=http://i25.tinypic.com/73djd5.png]Example[/hsimg2]
Tnx in advance.
Best Regards,
G
- Steve
- BBCoder VI
- Posts: 848
- Joined: 05 Mar 2010, 01:10
- BBCodes: 2000
- Favourite BBCode: p**n tube
- Favourite MOD: Non of Stokers
Re: PM Notify & Guest Register bar
ok try this if installed.
Open styles/prosilver/template/overall_header.html
find:
replace with:
the bit i added was this either side:
replace image_name.gif with your actual image name and file format and must be located in your styles/theme/images folder
Open styles/prosilver/template/overall_header.html
find:
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!" />
- GHOSTWRiTAZ
- BBCoder II
- Posts: 20
- Joined: 28 May 2010, 01:09
Re: PM Notify & Guest Register bar
Hey Steve©,
tnx for your quick reply but unfortunally it didn't work, did exactly what you said, refreshed theme and template but it didn't show the image as explained and changed in the above tutorial !
I was thinking that it should be changed here , but than again I could be wrong
Open styles/subsilver2/theme/stylesheet.css
At the very bottom, on a new line add:
hope to hear from you.
Best Regards,
Okay I did this :
Open styles/subsilver2/template/overall_header.html
so I've added :
and
Result : Image(s) mail.png are shown but I get twice the PM notify bar, strange what am I doing wrong ?
tnx for your quick reply but unfortunally it didn't work, did exactly what you said, refreshed theme and template but it didn't show the image as explained and changed in the above tutorial !
I was thinking that it should be changed here , but than again I could be wrong
Open styles/subsilver2/theme/stylesheet.css
At the very bottom, on a new line add:
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;
}
Best Regards,
Okay I did this :
Open styles/subsilver2/template/overall_header.html
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;">
Last edited by GHOSTWRiTAZ on 24 Jul 2010, 03:21, edited 3 times in total.
Re: PM Notify & Guest Register bar
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!
- GHOSTWRiTAZ
- BBCoder II
- Posts: 20
- Joined: 28 May 2010, 01:09
Re: PM Notify & Guest Register bar
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!
didn't change the stylesheet.css, except added the code from #1 by Stoker,
anyways I'm getting twice the bar, any ideas how come m8 tnx.