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)

Motoman 04-08-2006 12:01 PM

Wouldnt it be easier to use vb urls instead of regular hyperlinks? Or are the normal hyperlinks safer? Lol sorry I'm a noob with this coding stuff and I've learned some php (I think so atleast) from looking at others work....here is what I'm talking about.

PHP Code:

<if condition="$bbuserinfo['pmunread']">
    <
a href="private.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/newpm.gif" border="0" width="22" height="10"></a>
    </if> 


rareclownfish 04-08-2006 12:07 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*


I tried to use this one, but my unser name sowhed up twice. there is a bug somewhere.

Mathiau 04-12-2006 12:50 PM

very nice works even in vbb 3.5.3

rareclownfish 04-12-2006 04:13 PM

????? Anyone.

ericgtr 04-13-2006 01:01 AM

Quote:

Originally Posted by rareclownfish
????? Anyone.

I don't know about that one, it's someone elses version. However, the mod I posted does fully work and is in the text file.

rareclownfish 04-13-2006 02:34 AM

ok thanks

plateau 04-13-2006 06:56 AM

installed!

TitanJeff 04-13-2006 09:33 AM

For whatever reason, it sometimes doesn't show up. Love it when it does tho.

ericgtr 04-13-2006 06:11 PM

Quote:

Originally Posted by TitanJeff
For whatever reason, it sometimes doesn't show up. Love it when it does tho.

It will show only when you have a PM and once you read it, it goes away until you receive another one :)

TitanJeff 04-13-2006 07:12 PM

Quote:

Originally Posted by ericgtr
It will show only when you have a PM and once you read it, it goes away until you receive another one :)

:)

I understand that. But in my forum, it sometimes doesn't show up before the PM is read. It may be glitch of some sort. I am viewing on FireFox for Mac.

And I may have another hack that messes with it.


All times are GMT. The time now is 08:05 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.01305 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)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