Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 01-17-2003, 11:51 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting yet handy feature.. Thanks Wanderer, working great.

/me clicks Install.
Reply With Quote
  #13  
Old 01-18-2003, 09:39 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just noticed that this doesn't count the messages in the sent items directory..

Do they not add to the inbox limit or should these indeed be counted aswell at the messages in the inbox directory?
Reply With Quote
  #14  
Old 01-18-2003, 09:59 AM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm that's strange.. the original pm gauge hack only counted messages from the inbox and not the sent items directory.. but i changed that in my hack..it works fine on my own forums.. maybe i uploaded the wrong hack.. let me just check :ermm:

EDIT: OOOPS.. i've located the problem

in index.php find
Quote:
$pmpercent = round(($inboxpms[messages] / $pmquota) * 100,2);
and replace with
Quote:
$pmpercent = round(($allpm[messages] / $pmquota) * 100,2);
Reply With Quote
  #15  
Old 01-23-2003, 07:20 PM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot
Reply With Quote
  #16  
Old 01-23-2003, 07:20 PM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added another feature..

now you'll be able to see your pm folders and how many pms there are in each folder on the pm bar, i'll add a screenshot so you can see what i mean

here's the upgrade file :banana:
Reply With Quote
  #17  
Old 01-23-2003, 08:23 PM
GunsNetwork GunsNetwork is offline
 
Join Date: Jul 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW ~ I love your last edit for this hack.

This is an awesome hack for me. I have OVER 19600 members on my website.

So for very large website this hack is A DAM GOOD ONE.

I have about 11ish member from VBulletin.org send me hacks cause if it will work on a website as large as mine then it will work on a smaller website.

Here is my website The Guns Network

My website is the largest gun site on the web. We do over 37 Million hits a month on average.

So if you have any more hacks and want to see if they would work. All I ask is get most of the bugs out and lets test it.

My compliments to your PM hack.

Sincerely

Peter aka BowHunt
Reply With Quote
  #18  
Old 01-24-2003, 07:20 PM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad you like it. It took me quite some time to do it, seeing how i'm not that experienced with PHP yet. A lot of my members didn't even know the sent items folder existed untill after i installled the hack.

I don't have any other hacks in progress at the moment, but i'll start working as soon as i come up with something
Reply With Quote
  #19  
Old 02-05-2003, 08:38 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

Thanks for the fix you posted to my question earlier on Wanderer.

Top stuff mate.
Reply With Quote
  #20  
Old 02-06-2003, 11:06 PM
HarryBO HarryBO is offline
 
Join Date: Jan 2003
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

++++ the Hack doesn´t work on my vb! I´ve tried it 3 times, but i can´t see a difference! Can someone help me?
Reply With Quote
  #21  
Old 02-07-2003, 05:23 PM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhm.. that's strange. Are you sure you installed it right?
uhm, can you please send a working link to your forums?
Reply With Quote
Reply


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 11:25 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.05042 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (3)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_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