The Arcive of vBulletin Modifications Site. |
|
vB Blinking Evelope on PM Details »»
|
|||||||||||||||||||||||||
This hack should work for every Release Candidate version.
============= DEMO BOARD ============= Demo board is located at: http://www.forumfreedom.net/ Feel free to visit. ============= DESCRIPTION ============= This hack is very simple: it adds a blinking envelope to your forum if you have a new private message, making it easier to know if you have a new private message. This actually came from a request from the 3.5 modification request forum. ============= INSTALLATION ============= Difficulty: Easy Time: Less than a minute PLEASE CLICK INSTALL!!! UPDATE: NO LONGER REQUIRES FILE EDIT. Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
sugg: just make the envelop modif in the template, no need to edit the global.php...
Code:
<if condition="$show['pmstats']"><br /><if condition="$bbuserinfo['pmunread']!= 0"><IMG SRC=benvelope.gif></if> EDIT: changed the $vbulletin-> to bbuserinfo, as it's not parsed correctly in templates... YET! |
|
#3
|
|||
|
|||
|
Tried doing that but...
The following error occurred when attempting to evaluate this template: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/adamgess/public_html/forum/includes/adminfunctions_template.php(3510) : eval()'d code on line 42 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. That's why I had to do the template edit... maybe I'll try again later. |
|
#4
|
|||
|
|||
|
There... now it doesn't require a file edit.
Tried to do it before but it wasn't working for me. |
|
#5
|
|||
|
|||
|
i just edited my post... the $vbulletin-> thing is not parsed in templates, i always forget that... now it's working!
|
|
#6
|
||||
|
||||
|
Any pics?
|
|
#7
|
||||
|
||||
|
I am confused, 1st post claims that no file edits are required, yet the instructions show to modify global.php as well as edit the navbar template??
Am I missing something, should there be an xml file in the folder? |
|
#8
|
||||
|
||||
|
You can do the global part as a navbar temple edit.
I'm still using Chen's old vb2 one that uses js and it works fine.
|
|
#9
|
||||
|
||||
|
er... now I'm confused. do we need to edits or not?
|
|
#10
|
||||
|
||||
|
According to the ZIP - yes.
@adamgesel Could you please update the ZIP to make this a Template Modification so it can be moved to the correct Forum? Thanks. |
![]() |
|
|