![]() |
vB Blinking Evelope on PM
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. |
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! |
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. |
There... now it doesn't require a file edit.
Tried to do it before but it wasn't working for me. |
i just edited my post... the $vbulletin-> thing is not parsed in templates, i always forget that... now it's working!
|
Any pics?
|
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? |
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. ;) |
er... now I'm confused. do we need to edits or not?
|
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. |
All times are GMT. The time now is 02:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|