vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   PM RedAlert - show unread PMs on every page (https://vborg.vbsupport.ru/showthread.php?t=35607)

Kumaro 03-03-2002 01:05 AM

excellent hack! i'll test it later when i get time, but it sounds really good.

Kumaro 03-03-2002 01:19 AM

Is it absolutly mandatory that we shut down our vb to run the query?

Overgrow 03-03-2002 03:23 AM

>>Is it absolutly mandatory that we shut down our vb to run the query?

hahah no, that is your choice! It's advised but not mandatory.

Kumaro 03-03-2002 12:18 PM

I get this error after running the query:

Error
SQL-query : [Edit]

ALTER TABLE 'user' ADD 'pmunread' SMALLINT(6) DEFAULT "0" NOT NULL

MySQL said:

You have an error in your SQL syntax near ''user' ADD 'pmunread' SMALLINT(6) DEFAULT "0" NOT NULL' at line 1

Overgrow 03-03-2002 02:27 PM

Sorry, extra quotes got in there somehow. This is the correct query:

ALTER TABLE user ADD pmunread SMALLINT(6) DEFAULT "0" NOT NULL;

That works and I've updated the text file. Thanks.

TECK 03-03-2002 03:09 PM

this is a great hack.. :) i think a good mod would be to have it blink in a little table, right beside the nav bar. alot more visible. just a suggestion.

regards,
nakkid.

Overgrow 03-03-2002 03:12 PM

Thanks man. Nice new logo up top there.. If you want to make your site blink, more power to ya ;) Most people use image buttons and not text links like I do, so substituting a GIF with an animated new PM gif would be the way to go.

TECK 03-03-2002 03:14 PM

excellent point.. and thanks for the logo thing.. ;)

Kumaro 03-03-2002 09:42 PM

this works great! thanks overgrow!

streamzone 03-03-2002 11:58 PM

i like the looks of this. i did everythin up til this point here:
"4) Change your site-wide Private Messaging link. Mine is located in my PHP
parsed header file and I do something like this:

if ($bbuserinfo[userid] > 0 and $bbuserinfo[pmunread]==1)
$pmstyle=" style=\"color:#ffdc00;\"";"

I am terribly n00b on that. I honestly have no clue what that means or where to look for it.

<shame>
haha


All times are GMT. The time now is 01:46 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
  • Page Generation 0.01060 seconds
  • Memory Usage 1,723KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete