3.1 & 3.2 & 3.3 Extensions Database 3.1 / 3.2PM Notify & Guest Register bar

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

Bullseye
Users
Users
Posts: 60
Joined: 22 Sep 2015, 01:44
    Android Chrome

Re: PM Notify & Guest Register bar

Post by Bullseye »

Lol the little puppy gifs is there a way to fix it so that it doesn't disappear off the screen when viewed on a phone?

[ Post made via Android ] Image
Last edited by Bullseye on 27 Sep 2015, 22:28, edited 1 time in total.
Image

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: PM Notify & Guest Register bar

Post by Sniper_E »

You could try to shorten the message by removing those images in the pmregbar.css file.

Code: Select all

@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
    #infobar img {
        display:none;
    }
}
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: PM Notify & Guest Register bar

Post by martin »

May be some thing like this so it dont get seen on a mobile ? after all the pm number shows up just fine

(i dont have it installed to test) but as soon as the forum starts to be responsive the bar will vanish.
image.jpg

Code: Select all

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP and PMREGBAR_ENABLEREG -->
<div class="responsive-hide">
<div id="info"><div id="infobar">
<a href="{U_REGISTER}"><img style="width: 50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/reg.png" /><!-- IF not PMREGBAR_ENABLE_TEXT -->{L_PMREGBAR_WELCOME} {SITENAME}. {L_PMREGBAR_REGISTER}<!-- ELSE -->{PMREGBAR_TEXT_FIELD} <!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/reg.png" /></a>
</div></div>
<!-- ENDIF -->

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_DISPLAY_PM and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) and PMREGBAR_ENABLEPM -->
<div id="info"><div id="infobar">
<a href="{U_PRIVATEMSGS}"><img style="width:50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/mail.png" />{L_PMREGBAR_HELLO} {S_USERNAME} {L_PMREGBAR_YOUHAVE} {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --> {L_PMREGBAR_AND} {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/mail.png" /></a>
</div></div></div>
<!-- ENDIF -->
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by martin on 28 Sep 2015, 01:31, edited 1 time in total.
Image

User avatar

Bullseye
Users
Users
Posts: 60
Joined: 22 Sep 2015, 01:44
    Android Chrome

Re: PM Notify & Guest Register bar

Post by Bullseye »

Thank Martin, I'll have a play around with it & I'll let you know how I get on...... :eyes2:

[ Post made via Android ] Image

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: PM Notify & Guest Register bar

Post by martin »

In short the pm bar will show but as soon as the forum starts to shrink and the theme becomes responsive there is no pm bar :whistl:

<div class="responsive-hide">

demo Martins-place.info - Index page grab the side of the page and start to make it smaller and watch the who is where it will vanish.






watch mchat collapse button video 00000
Last edited by martin on 28 Sep 2015, 02:21, edited 3 times in total.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: PM Notify & Guest Register bar

Post by martin »

Css for the pm/reg bar being used here dont know if dm has custom css or not as i have to steal code as he dont share it no more so here is his css :rolling:

Code: Select all

/**
*
* @package phpBB Extension - PM Notify & Guest Register bar
* @copyright (c) 2015 dmzx - https://www.dmzx-web.net
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* @Author Stoker - http://www.phpbb3bbcodes.com
*
*/

#info {
    overflow: visible;
	min-width: 750px;
    width: 100%;
    position: fixed;
    left: 0;
    z-index:200;
    margin-top: -8px;
    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;
}

.pm-mail {
	background: url("images/mail.png");
	background-repeat: no-repeat;
	padding: 20px 24px;
	vertical-align:middle;
}

.pm-reg {
	/* background: url("images/reg.png"); */
	background-repeat: no-repeat;
	padding: 10px 35px;
	vertical-align:middle;
}

/* Responsive Layout
--------------------------- */
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
    .pm-mail {
        display: none;
    }

    .pm-reg{
        display: none;
    }
	#info {
		min-width: 300px;
    }
}

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: PM Notify & Guest Register bar

Post by dmzx »

Yes fixed here and will update the extension soon.

User avatar

Bullseye
Users
Users
Posts: 60
Joined: 22 Sep 2015, 01:44
    Windows 7 Firefox

Re: PM Notify & Guest Register bar

Post by Bullseye »

Nice one, I'll wait for the update to roll out, rather than editing it, I love this extension :eusa_dance:

User avatar

Bullseye
Users
Users
Posts: 60
Joined: 22 Sep 2015, 01:44
    Windows 7 Firefox

Re: PM Notify & Guest Register bar

Post by Bullseye »

martin wrote:css for the pm/reg bar being used here dont know if dm has custom css or not as i have to steal code as he dont share it no more so here is his css :rolling:

Code: Select all

/**
*
* @package phpBB Extension - PM Notify & Guest Register bar
* @copyright (c) 2015 dmzx - https://www.dmzx-web.net
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* @Author Stoker - http://www.phpbb3bbcodes.com
*
*/

#info {
    overflow: visible;
	min-width: 750px;
    width: 100%;
    position: fixed;
    left: 0;
    z-index:200;
    margin-top: -8px;
    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;
}

.pm-mail {
	background: url("images/mail.png");
	background-repeat: no-repeat;
	padding: 20px 24px;
	vertical-align:middle;
}

.pm-reg {
	/* background: url("images/reg.png"); */
	background-repeat: no-repeat;
	padding: 10px 35px;
	vertical-align:middle;
}

/* Responsive Layout
--------------------------- */
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
    .pm-mail {
        display: none;
    }

    .pm-reg{
        display: none;
    }
	#info {
		min-width: 300px;
    }
}

Do I just add:

Code: Select all

/* Responsive Layout
--------------------------- */
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
    .pm-mail {
        display: none;
    }

    .pm-reg{
        display: none;
    }
   #info {
      min-width: 300px;
    }
}
To the bottom of: ext/dmzx/pmregbar/styles/all/theme/pmregbar.css ?

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: PM Notify & Guest Register bar

Post by dmzx »


User avatar

Superl
Users
Users
Posts: 43
Joined: 04 Dec 2015, 00:19
    Windows 10 Chrome

Re: PM Notify & Guest Register bar

Post by Superl »

Small suggestion on the register bar, you should also include "or login" with the link to the login page.

Nice work like always, thanks for the hard work :thumbup:

User avatar

nelflucifer
Users
Users
Posts: 70
Joined: 03 Jan 2016, 12:24
    Windows 7 Opera

Re: PM Notify & Guest Register bar

Post by nelflucifer »

ru.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image
Learn to read people's thoughts, not forgetting about their.
The extension translate from English to Russian...
English Forums
Available 251 extension with translation into Russian language...

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Windows 10 Chrome

Re: PM Notify & Guest Register bar

Post by martin »

Stoker has posted his version of the ext https://www.phpbb.com/community/viewtop ... #p14328936

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: PM Notify & Guest Register bar

Post by dmzx »

First post updated

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: PM Notify & Guest Register bar

Post by dmzx »

First post updated

Post Reply Previous topicNext topic