PM Notify & Guest Register bar

Modifications for phpBB3.
Try the Mods here and share Your own Mods
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

PM Notify & Guest Register bar

Post by Stoker »

New version here


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: http://www.phpbb3bbcodes.com/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;
}
You do not have the required permissions to view the files attached to this post.

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

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, 16:45, edited 2 times in total.

Re: PM Notify & Guest Register bar

Post by cisco007 »

I see that Stoker let you post this!

Re: PM Notify & Guest Register bar

Post by apnaitaly »

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

same Colours & Pictures

Re: PM Notify & Guest Register bar

Post by dlraid »

i would like to have in same color without images

Re: PM Notify & Guest Register bar

Post by b4t4k »

...
Last edited by Stoker on 01 Apr 2010, 07:10, edited 1 time in total.
Reason: Post removed because of mis-quoting

Re: PM Notify & Guest Register bar

Post by IpHeX »

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

same Colours & Pictures

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!

Re: PM Notify & Guest Register bar

Post by pororo »

Looks good. Will this work with Prosilver SE theme?