View Full Version : vB Blinking Evelope on PM
adamgessel
14 Sep 2005, 02:45
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.
nexialys
14 Sep 2005, 03:11
sugg: just make the envelop modif in the template, no need to edit the global.php...
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
doing so, your edit can be moved to Templates Modifications!
EDIT: changed the $vbulletin-> to bbuserinfo, as it's not parsed correctly in templates... YET!
adamgessel
14 Sep 2005, 03:16
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.
adamgessel
14 Sep 2005, 03:19
There... now it doesn't require a file edit.
Tried to do it before but it wasn't working for me.
nexialys
14 Sep 2005, 03:20
i just edited my post... the $vbulletin-> thing is not parsed in templates, i always forget that... now it's working!
dieselpowered
14 Sep 2005, 07:11
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. ;)
GrendelKhan{TSU
14 Sep 2005, 09:53
er... now I'm confused. do we need to edits or not?
Andreas
14 Sep 2005, 21:28
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.
Delphiprogrammi
25 Sep 2005, 14:42
Any pics?
that envelope jumps up and down nice nice
lairnoc
25 Sep 2005, 21:25
UPDATE: NO LONGER REQUIRES FILE EDIT.
sorry but if i dl the file still needs a file edit...
Andreas
26 Sep 2005, 11:31
Here is the Template edit
In template navbar
FIND
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE that WITH:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Upload benvelope.gif to images/misc
deathemperor
26 Sep 2005, 12:25
you missed a < before img tag, below is the correct version
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
o0Hubba0o
02 Oct 2005, 06:46
Would it be possible to get ONE person to post everything we need to do for this? All the posts saying you can or cant or should do it this way and they're all different from what's in the zip.
Delphiprogrammi
02 Oct 2005, 10:04
Would it be possible to get ONE person to post everything we need to do for this? All the posts saying you can or cant or should do it this way and they're all different from what's in the zip.
open template navbar find $pmbox variable
replace with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
upload the benvelope.gif image to /forum/images/misc
done
Vizionz
03 Oct 2005, 20:18
i liked the old blinking text on pm firget the image just make the text blink and i am straight
dsotmoon
04 Oct 2005, 00:48
installed, thanks
anyone got a blinking transparent gif for dark boards? :)
TygerTyger
06 Oct 2005, 14:31
Very handy mod indeed. I like :D Few suggestions though...
Remove your Thumbs.db file from the zip :D
Locate the envelope image in the images directory by default. Or even images/misc. That's what it's there for ;)
Add a single whitespace after $displetter in the code so it is nicely spaced between the image and the PM message info, and knock IMG and SRC down into lower case (it's good practice!)
What happened to the envelope icon? It looks corrupted mate, there's artifacts all over bumping the filesize way up. You can use mine if you like, I really posted it for thedvs but anyone who wants it can use it. There's a square and slightly rounded version, both about an 8th the filesize of the original.
Thanks for the mod again, it's the samll touches that can make the difference!
Bellinis
26 Oct 2005, 12:40
Thanks for this! :)
I've attached my blinking envelope which we used on our previous board. Very nice one.....
How would the link look like if I would like the envelope to be clickable ?
imported_magjr
27 Oct 2005, 01:27
Very nice, as was stated before, a black one would be great. I have a black skin and white folder lol. At least I KNOW pms will be read, out of sheer annoyance haha.
*clicked install*
totenmaske
28 Oct 2005, 07:03
Would this work in Postbit(I hope that the template I'm thinking of) so that the blinking envelope could be located either by the members name or by the IM icons? It might be more noticable there...
ktaylor
31 Oct 2005, 23:35
I also would really like one that is transparent in the background so that it'll mesh with any background color!
You'll also notice that the width/height needs to be changed to match the size graphic your using! :)
installed...and ... tweaked for my forums.
sensimilla
14 Nov 2005, 15:11
no longer requires file edit ? and whatabout global.php ?
G-Force 199
14 Nov 2005, 15:42
Any live screenshot here ?
The site he gave us has suspended.
* christianb clicks install
Gary King
08 Dec 2005, 21:14
A real screenshot would be nice, instead of forcing people to visit your own forums if they want to see the mod in action. Yes, you can make animated GIFs. And yes, your website IS suspended, apparently. And finally, the same effect of this could have been achieved WITHOUT any file modifications. Just use the global_start hook.
Kuimera
10 Dec 2005, 12:07
I added this smooth animation and give it a space between the icon and the "Private message" text.
Dont forget to cahnge the size of it in the template changes to 18 x 11
majorxp
15 Dec 2005, 17:00
installed
Smiry Kin's
18 Dec 2005, 05:39
work with 3.5.2?
99SIVTEC
19 Dec 2005, 23:01
it's a template edit and a file upload, so yes
Smiry Kin's
19 Dec 2005, 23:11
ok thanks, just most RC* things don't work in the the 3.5.2 ( from what i've tried, )
thanks
The Chief
09 Jan 2006, 05:05
installed, works great!!
/me clicks install
I'm lost ;)
Is the zip file on the first post accurate? If not, which post with code do I use?
Thanks in advance.
bogene2020
18 Jan 2006, 03:48
open template navbar find $pmbox variable
replace with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
upload the benvelope.gif image to /forum/images/misc
done
silurius
19 Jan 2006, 23:20
open template navbar find $pmbox variable
replace with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
upload the benvelope.gif image to /forum/images/misc
doneWhat does this fix? The original steps seem to work OK for me, although the envelope GIF is a little funny-looking (not a show-stopper).
sensimilla
24 Jan 2006, 10:03
What does this fix? The original steps seem to work OK for me, although the envelope GIF is a little funny-looking (not a show-stopper).
you have to fix those in the code above according to your image size..
width="18" height="16"
btw worked fine for me, thanks
bada_bing
27 Jan 2006, 19:01
Installed Great Hack
Even I managed it :rolleyes:
Thanks a lot
forumsoup.com
06 Feb 2006, 04:43
(The website that was provided in this forum:http://www.forumfreedom.net/) Has been suspended.
Satjunkies
09 Mar 2006, 06:46
This works fine in my Forums...any way to get this to work with my portal page?
phpdevrus
18 Mar 2006, 09:58
nice worked perfectly. clicked install.
wolfyman
20 Oct 2007, 06:55
3.6.8?
bjkinzluvr
15 Nov 2008, 14:40
Installed, but uninstalled. Wouldn't work on my 3.7.3
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.