The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PM notification
Hi All,
I want to ask maybe it's a mod or a script. When a PM reciveid that de color changing to a color en other color its change ever 1second. I want to set left avatar en pm image. You see here what i mean only the pm color changing by 1 second to other color. You see here left avatar en a pm image howe to set it? Thnx for helping en sorry for my broking english |
#2
|
|||
|
|||
Hi,
I can help with the PM notification, but the avatar would require a plugin to work. For the notification, follow these conditional rules: HTML Code:
<if condition="$bbuserinfo[pmunread]"> You have a new message <else /> You have no new messages </if> In the template navbar, find HTML Code:
<if condition="$show['member']"> <td class="alt2" nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> HTML Code:
<if condition="$show['member']"> <td <if condition="$bbuserinfo[pmunread]">style="background-color:yellow"<else />class="alt2"</if> nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> Hope this is what you were looking for. |
#3
|
|||
|
|||
Hi Jamesfyx
Thank you for helping me whit this. Butt when the pm is received its not changing color. I want that the color change just like a police sirene . Thnx for helping. |
#4
|
|||
|
|||
Ah, you want the colour to alternate.
The easiest way would be to use a 1x1 animated gif which flashes red, blue and white and then use this as the background istead of yellow. I don't have the tools to create this however, but here is the code you would need to use: HTML Code:
<if condition="$show['member']"> <td <if condition="$bbuserinfo[pmunread]">style="background: url('path/to/image.gif')"<else />class="alt2"</if> nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> |
#5
|
|||
|
|||
Hi jamesyfx,
Thnx for helping my. This is what i have searched . Butt what i want to that the pm color change again to other color en near 1 second color change again to the yellow color en change again to a green color en again to yellow about 1 second. I hope you know howe now. Thnx en sorry for my broking english. --------------- Added [DATE]1276204090[/DATE] at [TIME]1276204090[/TIME] --------------- I have search on the other site.. Butt i see this in the script: I dont now howe to use it butt maybe sombody now it: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|