Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
PM Status hack (pm folders on forumhome) Details »»
PM Status hack (pm folders on forumhome)
Version: 1.00, by The_Wanderer The_Wanderer is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-14-2003 Last Update: Never Installs: 59
 
No support by the author.

First of all, this is a modified version of the PM Gauge hack by Bald_Bouncer. Although i didn't use much of his code i suppose he deserve some credit
I tested this on 2.2.9 but it should work on earlier versions as well.
If you install this remember to click Install

What does this hack do?
This hack displays how many percent of your pm quota you use as well as displaying a "PM Status" which starts as Low , then changes to Normal then Critical and finally it changes to full when you're pm quota reaches its limit.
when the status goes "critical" the pm bar starts to blink

Version 1.1
Right under the pm status you'll find links to all your pm folders. Users wont forget to delete the pms in their "sent items" folder anymore, for sure.

Version 1.2
same as v1.1 but with fewer queries

v1 screenshots
v1.1 screenshot


I know this isn't much of a hack, but my members seem to like it anyway.. this is also my first hack. I guess it's a start, right?

UPGRADING:
v1.1: https://vborg.vbsupport.ru/attachmen...&postid=345294
v1.2: https://vborg.vbsupport.ru/attachmen...&postid=390598

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-22-2003, 02:00 AM
maoz440 maoz440 is offline
 
Join Date: Nov 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack on my 2.29 site with 7,000+ users! <clicks install>
Reply With Quote
  #23  
Old 03-08-2003, 06:25 PM
-Sidekick- -Sidekick- is offline
 
Join Date: May 2002
Location: Cudahy, Wi
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 things I'd like to point out.

When I empty everything out of my folders, it says my folders are 1% full. How can they be 1% full when there's nothing in them?

Also, when everything is empty is says, "Your PM folders:" and then nothing. Could you make it when all folders are empty that line disappears as well? Or maybe after that it says All Folders Empty or something.
Reply With Quote
  #24  
Old 03-08-2003, 06:43 PM
refertech refertech is offline
 
Join Date: May 2002
Location: Atlanta, Georgia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by -Sidekick-
2 things I'd like to point out.

When I empty everything out of my folders, it says my folders are 1% full. How can they be 1% full when there's nothing in them?

Also, when everything is empty is says, "Your PM folders:" and then nothing. Could you make it when all folders are empty that line disappears as well? Or maybe after that it says All Folders Empty or something.
May just put a zero after it when they are empty. Or does it, I havent installed it yet but I will. Very nice hack
Reply With Quote
  #25  
Old 03-08-2003, 08:53 PM
-Sidekick- -Sidekick- is offline
 
Join Date: May 2002
Location: Cudahy, Wi
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No it doesn't. They disappear. That's why I'm posting... lol
Reply With Quote
  #26  
Old 03-15-2003, 09:33 AM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-08-03 at 08:25 PM -Sidekick- said this in Post #23
2 things I'd like to point out.

When I empty everything out of my folders, it says my folders are 1% full. How can they be 1% full when there's nothing in them?

Also, when everything is empty is says, "Your PM folders:" and then nothing. Could you make it when all folders are empty that line disappears as well? Or maybe after that it says All Folders Empty or something.
hmm.. i'll have to check on that

EDIT: It says 0% on my testboard.. I might have edited it and forgot to upload.. I'll try to sort it out..

EDIT2: done... it says 0% now and when you have 0 pms the line saying "Your PM folders:" disappears.. You can either re-install the entire hack or follow the instruction bellow:

In index.php find:
Quote:
if ($pmpercent < 50) {$pmstatus = "<font color=lime>Low</font>";}
Add above:
Quote:
if ($pmpercent != "0") {$pmfolderlinks = "<br>Your folders:";} else {$pmfolderlinks = "";}
In index.php find:
Quote:
if ($allpm[messages] < 1) {
$pmpercent = "1";
}
Replace with:
Quote:
if ($allpm[messages] < 1) {
$pmpercent = "0";
}
In forumhome_pmloggedin find:
Quote:
Your Inbox is $pmpercent% full - Current PM status: <b>$pmstatus</b><br>Your PM folders: $pmfolderlink
Replace with:
Quote:
Your Inbox is $pmpercent% full - Current PM status: <b>$pmstatus</b>$pmfolderlinks $pmfolderlink
Done
thanks for pointing it out, sidekick
Reply With Quote
  #27  
Old 03-15-2003, 12:41 PM
refertech refertech is offline
 
Join Date: May 2002
Location: Atlanta, Georgia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you edit the original with this info too.

Thanks, Great edits.

Mark
Reply With Quote
  #28  
Old 03-15-2003, 09:12 PM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:41 PM refertech said this in Post #27
Did you edit the original with this info too.

Thanks, Great edits.

Mark
yeah, i did.. as i said, you can just download it again and install it, or follow the instructions above

oh, and remember to click Install if you install it
Reply With Quote
  #29  
Old 03-15-2003, 09:14 PM
refertech refertech is offline
 
Join Date: May 2002
Location: Atlanta, Georgia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Opps, sorry.
Reply With Quote
  #30  
Old 04-16-2003, 06:14 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this hack adds FOUR queries to the front index? Ouch.

I'd really love to use it, but that might be a bit much...?
Reply With Quote
  #31  
Old 04-16-2003, 06:22 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 07:14 PM Alien said this in Post #30
Wow this hack adds FOUR queries to the front index? Ouch.

I'd really love to use it, but that might be a bit much...?
Use v1.. It's only adding one query.
That's exactly what I thought about v1.1

Regards,
Oblivion Knight
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07464 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete