vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VB Blinking Icon + UserInfo (https://vborg.vbsupport.ru/showthread.php?t=114233)

paul41598 04-26-2006 10:00 PM

VB Blinking Icon + UserInfo
 
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


--------------------------------------------------------------------------------
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...ead.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

Quote:

Originally Posted by .Tim
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?


All times are GMT. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01505 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete