PDA

View Full Version : VB Blinking Icon + UserInfo


paul41598
04-26-2006, 10:00 PM
VB Blinking Icon + UserInfo

This hack has been ported to vBulletin 3.5.4 from the vBulletin 3.0.0 series.

The original author is Sebastian
His original thread here (https://vborg.vbsupport.ru/showthread.php?t=75619&highlight=blink+pm+icon)


--------------------------------------------------------------------------------
This is my first major ported and released hack for vB 3.5 series.
--------------------------------------------------------------------------------

----------------
Description:
----------------
When you get a PM the "Private Messages: x Unread, Total x." disappears and is replaced with a little blinking icon, if the user that sent the PM is a admin/mod the icon will blink a red color, if its a normal user, it will blink yellow.

Along with this you can view who sent the message, and if multiple people sent you PMs it will show their names.. If they sent you more than one, it will tell you that too. It will also take you directly to the PM without having to go to your inbox first. After you've read all your PMs (or you dont have any) the "Private Messages: x Unread, Total x." returns to normal.

----------------
Installation:
----------------
Difficulty: Easy
Time: Less Than 5 Minutes


Again, my first port released for 3.5, so hopefully it works for everyone like it did me.
If you like it, CLICK INSTALL!!

Tyegurl
04-27-2006, 05:17 PM
wow ty 2 releases!

hcmagix
04-27-2006, 06:27 PM
Hm we have in our german hack forum the same hack
http://www.vbhacks-germany.com/forum/showthread.php?t=1158

and use this icons

Snake
04-27-2006, 07:20 PM
Thanks. Will install this tonight when I get back to home! :)

tei727
04-27-2006, 07:25 PM
There's another hack just like this isn't there with a different envelope icon?

paul41598
04-27-2006, 07:27 PM
yes, but this displays the userinfo next to it, (look at screenshots)

In addition, it displays a different icon for an admin/mod and a regular user.

Tyegurl
04-27-2006, 07:27 PM
okay i got it fixed....somehow at the bottome global.php the last few lines were duplicated and it showed up in the top of the forum and in my shoutbox....wow!!

.Tim
04-27-2006, 09:47 PM
I didn't want to do the file edit, so I made it a plugin and it works perfectly. Here it is for anyone else who wants to try it. It works perfect on my test board and my live board. No claims it'll work anywhere else but it should. (note: it just replaces the need to edit the file, you still need to do the template edit)
Hope this is useful for someone. :cool:

Barakat
04-27-2006, 11:55 PM
works perfect.

creedmaniac
04-28-2006, 06:35 PM
I didn't want to do the file edit, so I made it a plugin and it works perfectly. Here it is for anyone else who wants to try it. It works perfect on my test board and my live board. No claims it'll work anywhere else but it should. (note: it just replaces the need to edit the file, you still need to do the template edit)
Hope this is useful for someone. :cool:

i used your plugin...so i'm thinking this error is from that...




Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT pmtext.pmtextid, pmtext.fromusername, pmtext.fromuserid, pmtext.dateline, pm.pmid, user.userid, user.usergroupid,
COUNT(pmtext.fromuserid) AS fromusertotal FROM vbpmtext AS pmtext
LEFT JOIN vbpm AS pm USING(pmtextid)
LEFT JOIN vbuser ON (user.userid=pmtext.fromuserid)
WHERE pm.userid = 1 AND messageread = 0
GROUP BY pmtext.fromusername ORDER BY user.usergroupid ASC;

MySQL Error : Unknown table 'user' in field list
Error Number : 1109
Date : Friday, April 28th 2006 @ 03:33:48 PM
Script : http:///home/private.php
Referrer : http:///home/private.php?do=newpm
IP Address : 5656565656
Username : Creed
Classname : vb_database

.Tim
04-28-2006, 09:14 PM
Sorry, I don't know what to tell you. I guess try and see if the original file edit way works.

Boofo
04-29-2006, 08:47 PM
This will list all uoir unread pms in that box? What if you get 50 of them? ;)

creedmaniac
04-29-2006, 09:53 PM
ok, my post a few up...where i said it was the plugin at fault...i was wrong...i just did the code change and am getting the exact same error

grecostimpy
05-06-2006, 12:09 AM
My message tracking does not work anymore. Not sure if its related, but seems kinda co-in-kee-dink.

creedmaniac
05-14-2006, 07:57 AM
are you going to be supporting this hack paul41598?