Warning: The author of this contribution does not provide support for it anymore.

Red Blinking PM

Stops blinking although PM still unread - Red Blinking PM

Stops blinking although PM still unread

by lappert » Fri Apr 25, 2014 2:55 pm

I just installed the Red Blinking PM Mod. Seems to work on any new PM coming my way. But after I log on, and log off without reading the PM, when I next log in it no longer blinks and is no longer red in color.

For example, now it says "0 new messages & 1 unread message "

I was hoping for behavior where it would continue to blink and/or continue to be red until the PM was actually read. I had it set up this way in phpBB2 (although not a Mod per se)

Is there any way to correct this?

Thanks.
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Re: Stops blinking although PM still unread

by all4phone » Sat Apr 26, 2014 5:08 am

lappert wrote:For example, now it says "0 new messages & 1 unread message "
Such a situation occurs when you enter the Private maessages-> View messages: Inbox, without reading the PM, this is normal behavior function of PM and I have no influence on it.
lappert wrote:But after I log on, and log off without reading the PM
This is not normal behavior RBPM as far as I understood well - "log on, and log off". Is it log out from the board and log in again? Or rather, is that You are going to inbox PM, then you are going to index of board without having read new PM?
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: Stops blinking although PM still unread

by lappert » Sat Apr 26, 2014 5:39 am

I think the latter, but to be honest, I did not make that distinction. I'll look at that.
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Re: Stops blinking although PM still unread

by all4phone » Sat Apr 26, 2014 8:34 am

Ok, let me know.

As I wrote earlier, the mod works until you see the inbox (even if you only see subject of PM).
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: Stops blinking although PM still unread

by lappert » Sat Apr 26, 2014 8:59 am

So that's what I'm experiencing. The message blinking red is a valuable addition, but there are times I look at the inbox but do not read the PM until later. Is there a way to modify the mod to keep it blinking until the PM is actually read?

Thank you.
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Re: Stops blinking although PM still unread

by all4phone » Sat Apr 26, 2014 7:39 pm

lappert wrote:I look at the inbox but do not read the PM until later. Is there a way to modify the mod to keep it blinking until the PM is actually read?
At the moment I have a partial solution for you.
You can have a working text formatting (font, color, size, background, etc.) of information about unread PM.

This can be achieved in the following way:
Open: overall_header.html
Find:

Code: Select all

<!-- IF S_RBPM_ENABLE and S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG and S_RBPM_ENABLE_BACKGROUND -->

Replace with:

Code: Select all

<!-- IF S_RBPM_ENABLE and S_RBPM_INSC_ENABLE and (S_USER_NEW_PRIVMSG or (S_USER_UNREAD_PRIVMSG > 5)) and S_RBPM_ENABLE_BACKGROUND -->

Find:

Code: Select all

<!-- IF S_RBPM_ENABLE and S_USER_NEW_PRIVMSG -->

Replace with:

Code: Select all

<!-- IF S_RBPM_ENABLE and (S_USER_NEW_PRIVMSG or (S_USER_UNREAD_PRIVMSG > 5)) -->

Find:

Code: Select all

<!-- IF S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG -->

Replace with:

Code: Select all

<!-- IF S_RBPM_INSC_ENABLE and (S_USER_NEW_PRIVMSG or (S_USER_UNREAD_PRIVMSG > 5)) -->

Digit (5) can be customized to your needs.
Unfortunately, there is no blinking.
Check it out.
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: Stops blinking although PM still unread

by all4phone » Sun Apr 27, 2014 6:39 am

Ok, I have got full solution for You.
So let's do it:

Open: styles/prosilver/template/overall_header.html
Find:

Code: Select all

<!-- IF S_DISPLAY_PM --> &bull;
   <!-- IF S_RBPM_ENABLE and S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG and S_RBPM_ENABLE_BACKGROUND -->
   <span style="background:rgba({S_RBPM_BACKGROUND_R},{S_RBPM_BACKGROUND_G},{S_RBPM_BACKGROUND_B},{S_RBPM_BACKGROUND_TRANSP}); padding: 3px 0px 3px 7px; border: {S_RBPM_BORDER_WIDTH} {S_RBPM_BORDER_STYLE} {S_RBPM_BORDER_COLOUR}; border-right: 0px; -webkit-border-radius: {S_RBPM_BORDER_RADIUS}; -khtml-border-radius: {S_RBPM_BORDER_RADIUS}; -moz-border-radius: {S_RBPM_BORDER_RADIUS}; border-radius: {S_RBPM_BORDER_RADIUS}; -webkit-border-radius-topright: 0px; -khtml-border-radius-topright: 0px; -moz-border-radius-topright: 0px; border-radius-topright: 0px; -webkit-border-radius-bottomright: 0px; -khtml-border-radius-bottomright: 0px; -moz-border-radius-bottomright: 0px; border-radius-bottomright: 0px;">
   <!-- ELSE -->
   <span style=" background-color: none">
   <!-- ENDIF -->
      <!-- IF S_RBPM_ENABLE and S_USER_NEW_PRIVMSG -->   
      <span class="blink" style="color:{S_RBPM_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
         {S_USER_NEW_PRIVMSG}
      </span>
      <!-- ELSE -->
      <strong>{S_USER_NEW_PRIVMSG}</strong>
      <!-- ENDIF -->
      <a href="{U_PRIVATEMSGS}">
      <!-- IF S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG -->
      <span class="blink" style="color:{S_RBPM_INSC_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_VARIANT} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_INSC_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
         {PRIVATE_MESSAGE_INFO}
      </span>
         <!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
         <span style="color:{S_RBPM_UNREAD_COLOR}">
            <!-- IF S_RBPM_ENABLE_UNREAD_BLINK -->
            <span class="blink">&amp; {PRIVATE_MESSAGE_INFO_UNREAD}</span>
            <!-- ELSE -->
            &amp; {PRIVATE_MESSAGE_INFO_UNREAD}
            <!-- ENDIF -->
         </span>
         <!-- ELSE -->
         <!-- ENDIF -->
      <!-- ELSE -->
         {PRIVATE_MESSAGE_INFO}
            <!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
               &amp; {PRIVATE_MESSAGE_INFO_UNREAD}
            <!-- ELSE -->
            <!-- ENDIF -->
      <!-- ENDIF -->
      </a>
   </span>
<!-- ENDIF -->

Replace with:

Code: Select all

<!-- IF S_DISPLAY_PM --> &bull;
   <!-- IF S_RBPM_ENABLE and S_RBPM_INSC_ENABLE and (S_USER_NEW_PRIVMSG or (S_USER_NEW_PRIVMSG == 0 and S_USER_UNREAD_PRIVMSG > 2)) and S_RBPM_ENABLE_BACKGROUND -->
   <span style="background:rgba({S_RBPM_BACKGROUND_R},{S_RBPM_BACKGROUND_G},{S_RBPM_BACKGROUND_B},{S_RBPM_BACKGROUND_TRANSP}); padding: 3px 0px 3px 7px; border: {S_RBPM_BORDER_WIDTH} {S_RBPM_BORDER_STYLE} {S_RBPM_BORDER_COLOUR}; border-right: 0px; -webkit-border-radius: {S_RBPM_BORDER_RADIUS}; -khtml-border-radius: {S_RBPM_BORDER_RADIUS}; -moz-border-radius: {S_RBPM_BORDER_RADIUS}; border-radius: {S_RBPM_BORDER_RADIUS}; -webkit-border-radius-topright: 0px; -khtml-border-radius-topright: 0px; -moz-border-radius-topright: 0px; border-radius-topright: 0px; -webkit-border-radius-bottomright: 0px; -khtml-border-radius-bottomright: 0px; -moz-border-radius-bottomright: 0px; border-radius-bottomright: 0px;">
   <!-- ELSE -->
   <span style=" background-color: none">
   <!-- ENDIF -->
      <!-- IF S_RBPM_ENABLE and (S_USER_NEW_PRIVMSG or (S_USER_NEW_PRIVMSG == 0 and S_USER_UNREAD_PRIVMSG > 2)) -->   
      <span class="blink" style="color:{S_RBPM_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
         <!-- IF (S_USER_NEW_PRIVMSG == 0 and S_USER_UNREAD_PRIVMSG > 2) --><span class="blink2">{S_USER_NEW_PRIVMSG}</span><!-- ELSE -->{S_USER_NEW_PRIVMSG}<!-- ENDIF -->
      </span>
      <!-- ELSE -->
      <strong>{S_USER_NEW_PRIVMSG}</strong>
      <!-- ENDIF -->
      <a href="{U_PRIVATEMSGS}">
      <!-- IF S_RBPM_INSC_ENABLE and (S_USER_NEW_PRIVMSG or (S_USER_NEW_PRIVMSG == 0 and S_USER_UNREAD_PRIVMSG > 2)) -->
      <span class="blink" style="color:{S_RBPM_INSC_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_VARIANT} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_INSC_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
         <!-- IF (S_USER_NEW_PRIVMSG == 0 and S_USER_UNREAD_PRIVMSG > 2) --><span class="blink2">{PRIVATE_MESSAGE_INFO}</span><!-- ELSE -->{PRIVATE_MESSAGE_INFO}<!-- ENDIF -->
      </span>
         <!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
         <span style="color:{S_RBPM_UNREAD_COLOR}">
            <!-- IF S_RBPM_ENABLE_UNREAD_BLINK -->
            <span class="blink"><!-- IF S_USER_NEW_PRIVMSG == 0 and S_USER_UNREAD_PRIVMSG > 2 --><span class="blink2">&amp; {PRIVATE_MESSAGE_INFO_UNREAD}</span><!-- ELSE -->&amp; {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF -->
            </span>
            <!-- ELSE -->
            &amp; {PRIVATE_MESSAGE_INFO_UNREAD}
            <!-- ENDIF -->
            
         </span>
         <!-- ELSE -->
         <!-- ENDIF -->
      <!-- ELSE -->
         {PRIVATE_MESSAGE_INFO}
            <!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
               &amp; {PRIVATE_MESSAGE_INFO_UNREAD}
            <!-- ELSE -->
            <!-- ENDIF -->
      <!-- ENDIF -->
      </a>
   </span>
<!-- ENDIF -->

Open: styles/prosilver/theme/stylesheet.css
Find:

Code: Select all

@import url("colours.css");

Add after:

Code: Select all

@import url("rbpm.css");

Copy attached file to: styles/prosilver/theme/

Works as expected for me (FF 28.0).
Check it out please.
Attachments
rbpm.zip
(255 Bytes) Downloaded 158 times
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: Stops blinking although PM still unread

by lappert » Sun Apr 27, 2014 9:45 am

Wow! Thanks.

Sorry, I don't check in as often on the weekend. But before I do this, do I fully uninstall the Red Blinking PM Mod, or just leave things as they are? (I have not installed the partial solution).

While I use the SE Square Left Theme, it's based on Prosilver and used the Prosilver's overall_header file.
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Re: Stops blinking although PM still unread

by lappert » Sun Apr 27, 2014 9:50 am

Copy attached file to: styles/prosilver/theme/


Is there a file to download? I'm confused by this part, and I don't see a link to a file.
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Re: Stops blinking although PM still unread

by all4phone » Sun Apr 27, 2014 10:08 am

Sorry, my bad.
Attachment added.
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: Stops blinking although PM still unread

by lappert » Sun Apr 27, 2014 10:35 am

Thanks. And would I uninstall the existing Red Blinking PM Mod? Or install this new Mod on top of the earlier Mod.
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Re: Stops blinking although PM still unread

by all4phone » Sun Apr 27, 2014 10:47 am

Make edits to these files only and copy rbpm.css file to the right place, of course.
Reinstall is not required, editing and copying only.
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: Stops blinking although PM still unread

by lappert » Sun Apr 27, 2014 12:30 pm

Please forgive me for being a bit dense here. But do I uninstall and/or remove the edits I previously made from the original RBPM mod? Thank you.
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Re: Stops blinking although PM still unread

by all4phone » Sun Apr 27, 2014 2:51 pm

Just replace (concerns overall_header.html file).
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: Stops blinking although PM still unread

by lappert » Sun Apr 27, 2014 5:53 pm

I very much appreciate your help and I'm not trying to be a problem.

But when you say, "just replace," it's not specific and I still need to ask do I uninstall and/or remove the edits I previously made from the original RBPM mod before I replace the parts of the overall_header file with your new Mod?

Or do I add your new edits on while keeping the previous changes from the original Mod?
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm