Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM Alert (SIMPLE) NO IMAGE! Details »»
PM Alert (SIMPLE) NO IMAGE!
Version: 1.00, by Ben Wilkins Ben Wilkins is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 08-18-2006 Last Update: Never Installs: 78
Template Edits
 
No support by the author.

If you want to display:

You have a pm, waiting to be read.

when a user has a new private message:

Just add this to the bottom of your header template

PHP Code:
<center>
<
font size="4" color="red" style="bold">
<if 
condition="$bbuserinfo['pmunread']">You have a private messagewaiting to be read.</if></font>
</
center
See the attachment for example



This mod works on all versions of VB

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-27-2007, 08:06 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice.... thank you ..

Is there a way to make it blink?

Regards,
Badger
Reply With Quote
  #33  
Old 05-10-2007, 03:29 PM
Ben Wilkins Ben Wilkins is offline
 
Join Date: Aug 2006
Location: England, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. Change it to this if you want a blink

PHP Code:
<center>

<
a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if 
condition="$bbuserinfo['pmunread']"><blink>You have a private messagewaiting to be read.</blink></if></font></a>

</
center
Reply With Quote
  #34  
Old 05-11-2007, 09:41 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ben Wilkins View Post
Yes. Change it to this if you want a blink

PHP Code:
<center>

<
a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if 
condition="$bbuserinfo['pmunread']"><blink>You have a private messagewaiting to be read.</blink></if></font></a>

</
center

Thanks Ben....

I tried that, but it didn't seem to make IE6 blink. I remember someone saying somplace, that browsers no longer recognized that command as it was found to be extrememely annoying?

Regards,
Badger
Reply With Quote
  #35  
Old 05-11-2007, 04:42 PM
Ben Wilkins Ben Wilkins is offline
 
Join Date: Aug 2006
Location: England, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it works in Firefox, and from what I've heard opera. It was found by Microsoft that it was putting the browsing users off, because it was like an advertisement keep on blinking.

I can figure out a way to make it attractive later tonight. Have any simple template change requests, then please PM me while i have time on my hands
Reply With Quote
  #36  
Old 05-11-2007, 04:49 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ben Wilkins View Post
Yes, it works in Firefox, and from what I've heard opera. It was found by Microsoft that it was putting the browsing users off, because it was like an advertisement keep on blinking.

I can figure out a way to make it attractive later tonight. Have any simple template change requests, then please PM me while i have time on my hands
I thought it was great the way you've done it Ben....

I can imagine that the blink would be annoying, but for something like being notifed that one has private messages, I would have thought most users wouldn't mind it, but I culd be wrong....

Regards,
Badger
Reply With Quote
  #37  
Old 05-15-2007, 10:49 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how u get the the pm alert thats below the arrow there?
Reply With Quote
  #38  
Old 06-11-2007, 01:01 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about this:

Quote:
<center>
<font size="5" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a new private message!</if></font>
</center>
Would that work better?

Quote:
Originally Posted by BadgerDog View Post
Thanks Ben....

I tried that, but it didn't seem to make IE6 blink. I remember someone saying somplace, that browsers no longer recognized that command as it was found to be extrememely annoying?

Regards,
Badger
It works with IE7. I have it working on my site
Reply With Quote
  #39  
Old 06-11-2007, 08:33 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Baudman View Post
I hope you don't mid but I changed the code a bit so you can click it now when you see it. It will take you to your pm box.

Code:
<center>
<a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message, waiting to be read.</if></font></a>
</center>
Change www.yourdomain.com to your sites address

Thanks this hack is great.

I should also add that you have to add /forums/ or what ever extention you have your forums in. Some people have http://www.yourdomain.com/forums/private.php for an example. if your site isn't set to direct to your forums like I have above (http://www.yourdomain.com/private.php) then change the path like this last example I gave. most people can change the green section to what ever they have.

I hope I have not confused to many poeple cause I don't normally add to things so I have no Idea how to get my point accross. lol
Or just use
Code:
$vboptions[bburl]/private.php
Reply With Quote
  #40  
Old 06-11-2007, 09:28 PM
wolf32 wolf32 is offline
 
Join Date: Jan 2007
Location: Virginia Beach, VA
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

flawless *clicks installed*
Reply With Quote
  #41  
Old 06-12-2007, 01:15 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use this code it gets blinking blue centered.



PHP Code:
<center>

<
a href="http://www.yourforumaddress.com/forums/private.php" target="_blank"><font size="5" color="#0066cc" style="bold">
<if 
condition="$bbuserinfo['pmunread']"><blink>You have a NEW private MESSAGEPlease click here to read</blink></if></font></a>

</
center
Notice in the url field that its followed by /forums Thats how many people have forums setup on servers if your getting a 404 page error when clicking the link try using this code................

Awesome mod couldnt be any easier to install thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:22 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.05537 seconds
  • Memory Usage 2,333KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete