PM Notify & Guest Register bar

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
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
Locked
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

PM Notify & Guest Register bar

Post by Stoker »

PM Notify & Guest Register bar

Author: Stoker, Cback and Strato
Version: 1.0.0
Description: This mod was originally created by Cback for phpBB2. When I converted to phpBB3 this mod was one of the first mods I modified and installed.
Later there was added some code provided by Strato at STG.
The PM Notify & Guest Register bar shows a bar with a registration link to Guests.
For registered users it shows a bar when there is new or unread Private messages. For the last part the users have to enable Pop up window on new private message in the user control panel.
Download:
Moved to here: viewtopic.php?f=35&t=1182



Subsilver 2 Edits

Open styles/subsilver2/template/overall_header.html
Find and delete:

Code: Select all

<!-- IF S_USER_PM_POPUP -->
   if ({S_NEW_PM})
   {
      popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
   }
<!-- ENDIF -->
Find:

Code: Select all

<body class="{S_CONTENT_DIRECTION}">
Add after:

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}"><img style="width: 50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" />{L_PMG_WELCOME} {SITENAME}. {L_PMG_REGISTER}<img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" /></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">
<a href="{U_PRIVATEMSGS}"><img style="width:50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" />{L_PMG_HELLO} {S_USERNAME} {L_PMG_YOUHAVE} {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --> {L_PMG_AND} {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" /></a>
</div></div>
<!-- ENDIF -->
Open styles/subsilver2/theme/stylesheet.css
Find:

Code: Select all

/* Misc
Before add:

Code: Select all

/* PM Notify & Guest Register bar
----------------------------------------*/
#info {
    overflow: visible;
   min-width: 750px;
    width: 100%;
    position: fixed;
    left: 0;
    z-index:200;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 1.5em;
   font-weight: bold;
}

#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
    display: block;
    float: left;
    width:100%;
    clear: both;
    color: #fff;
    padding: .85em 0 .85em 0;
    border-bottom: .25em solid #fff;
   text-align: center;
    text-decoration: none;
   background-image: url('./images/pmreg.png');
   background-position: bottom;
   background-repeat:repeat-x;
}

#infobar a:hover {
    color: #fff;
   background-image: url('./images/pmreg.png');
   background-position: top;
   background-repeat:repeat-x;
   border-bottom: .25em solid #fff;
   cursor: pointer;
}
Attachments
PM Notify & Guest Register bar.zip
(141.92 KiB) Downloaded 725 times
Board rules! No PM support
apnaitaly
BBCoder II
BBCoder II
Posts: 28
Joined: 05 Mar 2010, 23:09
Contact:

Re: PM Notify & Guest Register bar

Post by apnaitaly »

can you Please Tell me how i can set Register bar like which you have ?


Same Colour & Images ,

Thanks
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: PM Notify & Guest Register bar

Post by Fire-Fox »

Remove for now.

Can post it again, if Stoker lets me :)

Don't wanna post mods, without his okay :)
Last edited by Fire-Fox on 28 Mar 2010, 18:45, edited 2 times in total.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: PM Notify & Guest Register bar

Post by cisco007 »

I see that Stoker let you post this!
apnaitaly
BBCoder II
BBCoder II
Posts: 28
Joined: 05 Mar 2010, 23:09
Contact:

Re: PM Notify & Guest Register bar

Post by apnaitaly »

any Help , how i can set Register bar & Pop like here

same Colours & Pictures
dlraid
BBCoder II
BBCoder II
Posts: 5
Joined: 29 Mar 2010, 17:58

Re: PM Notify & Guest Register bar

Post by dlraid »

i would like to have in same color without images
b4t4k
BBCoder I
BBCoder I
Posts: 3
Joined: 11 Mar 2010, 10:22
Contact:

Re: PM Notify & Guest Register bar

Post by b4t4k »

...
Last edited by Stoker on 01 Apr 2010, 09:10, edited 1 time in total.
Reason: Post removed because of mis-quoting
User avatar
IpHeX
BBCoder II
BBCoder II
Posts: 23
Joined: 23 Mar 2010, 21:02

Re: PM Notify & Guest Register bar

Post by IpHeX »

Please, any Help , how we can set Register bar & Pop like here

same Colours & Pictures
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: PM Notify & Guest Register bar

Post by cisco007 »

guys please, if Stoker wants this new version he will release it when and if he wants!
pororo
BBCoder II
BBCoder II
Posts: 15
Joined: 22 Apr 2010, 07:24

Re: PM Notify & Guest Register bar

Post by pororo »

Looks good. Will this work with Prosilver SE theme?
Locked