vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   PM Alert (SIMPLE) NO IMAGE! (https://vborg.vbsupport.ru/showthread.php?t=124349)

BadgerDog 03-27-2007 08:06 PM

Very nice.... thank you .. :)

Is there a way to make it blink?

Regards,
Badger

Ben Wilkins 05-10-2007 03:29 PM

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


BadgerDog 05-11-2007 09:41 AM

Quote:

Originally Posted by Ben Wilkins (Post 1245018)
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

Ben Wilkins 05-11-2007 04:42 PM

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

BadgerDog 05-11-2007 04:49 PM

Quote:

Originally Posted by Ben Wilkins (Post 1245702)
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

Smiry Kin's 05-15-2007 10:49 PM

how u get the the pm alert thats below the arrow there?

SuperTaz 06-11-2007 01:01 AM

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 (Post 1245482)
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

RMS-Chef 06-11-2007 08:33 PM

Quote:

Originally Posted by Baudman (Post 1055553)
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

wolf32 06-11-2007 09:28 PM

flawless *clicks installed*

rjmjr69 06-12-2007 01:15 AM

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


All times are GMT. The time now is 09:14 PM.

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.01304 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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