PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
BamBamPSK
Regular
Regular


Joined: Nov 11, 2003
Posts: 61

PostPosted: Sun Jan 18, 2004 9:40 am Reply with quote Back to top

ok im looking for some one to help me out a bit......i know most people have the pop up blockers and others dont have the pop up window enabled so what i was wondering is if there is a way to make the PM links "glow" or blink? to draw attention to itsself so they know they have a new PM...this would only glow or blink when a new pm is in their box and is always on by default.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Jan 18, 2004 2:07 pm Reply with quote Back to top

There are many options to accomplish this. Real quickly, and this is just throw together code, you could try this. In your user info block code, assuming you are using one of the more common ones, you should have code like this
Code:
   $content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\">"._BUNREAD.": <b>$newpms</b><br />\n";
Modify it to this
Code:
   if ($newpms>0) $content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\"><span style=\"position:relative; height:10;filter:glow(Color=#009966,Strength=3)\">"._BUNREAD."</span>: <b>$newpms</b><br />\n";
    else $content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\">"._BUNREAD.": <b>$newpms</b><br />\n";
and play around with it. Bottom line you will probably want to add some sort of style attribute to a span tag to surround the UNREAD message text.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
BamBamPSK
Regular
Regular


Joined: Nov 11, 2003
Posts: 61

PostPosted: Sun Jan 18, 2004 2:34 pm Reply with quote Back to top

thanks
View user's profile Send private message
ecvej
Hangin' Around


Joined: Oct 10, 2004
Posts: 45
Location: Northampton, UK

PostPosted: Mon Nov 15, 2004 3:48 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!


I made the status bar flash there when users have a PM. You might want to edit your javascript.php instead of your header.php. (I had special reasons for editing my header.php)
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum