vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Add flashing envelope PM notification (https://vborg.vbsupport.ru/showthread.php?t=103202)

arcadian_girl 03-26-2006 01:20 AM

installed and works great :)

Rukbat 03-27-2006 05:38 PM

I absolutely LOVE this hack!
Is there any way to put the blinky right in front of the "Private Messages" line instead of above it?

eeps, n/m, figured it out...
in case anyone else wants to do the same:
Code:

                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <br /><if condition="$bbuserinfo['pmunread']">
                                <a href="http://www.****.com/forums/private.php?"><img border="0" src="http://www.****.comt/forums/images/newpm.gif" width="22" height="10"></a>
                                </if>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                </div>

I'd add a screenshot, but everytime I try the newpm.gif doesn't show up *shrugs*

ericgtr 03-28-2006 12:00 PM

Quote:

Originally Posted by Rukbat
I absolutely LOVE this hack!
Is there any way to put the blinky right in front of the "Private Messages" line instead of above it?

eeps, n/m, figured it out...
in case anyone else wants to do the same:
Code:

                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <br /><if condition="$bbuserinfo['pmunread']">
                                <a href="http://www.****.com/forums/private.php?"><img border="0" src="http://www.****.comt/forums/images/newpm.gif" width="22" height="10"></a>
                                </if>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                </div>

I'd add a screenshot, but everytime I try the newpm.gif doesn't show up *shrugs*

Thanks for presenting another option. I think the reason the newpm.gif isn't showing in your attachment is because it's animated but I think it's easy enough to get what you are saying. :)

Jordan17 03-28-2006 08:02 PM

I am using a custom icon! in a custom way. Normally the members avatar shows on the right hand side of the Welcome box, when they receive new mail, this shows (its animated but you can't see it in the screenshot).

https://vborg.vbsupport.ru/

dan35 03-29-2006 06:01 AM

Quote:

Originally Posted by Jordan17
I am using a custom icon! in a custom way. Normally the members avatar shows on the right hand side of the Welcome box, when they receive new mail, this shows (its animated but you can't see it in the screenshot).

https://vborg.vbsupport.ru/


It looks nice ;)

TeddyKGB 03-29-2006 05:38 PM

Mine works...kind of.

I altered the path just a bit so the image went in the images/misc folder and it appears....BUT it wont stop blinking even if I have no new PM's.

Very strange. I'd rather deal with forcing myself to look for new PM's than deal with a constantly blinking pm

ericgtr 03-29-2006 05:50 PM

The following condition will only display it if you have an unread PM. Make sure you have the if statements in your template surrounding your altered image path.

Code:

<if condition="$bbuserinfo['pmunread']">
your code
</if>


TeddyKGB 03-29-2006 07:52 PM

I'll give it another try. Thanks!

Borgs8472 03-30-2006 10:53 PM

I installed this, but just out of interest, what forum software or site first made that flashing mail icon? It's been around for years!

Mosh 04-08-2006 10:15 AM

I did it another way, but took the idea from this template mod, so am clicking Install. Thanks for the idea :)


All times are GMT. The time now is 04:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01179 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete