![]() |
PM Status hack (pm folders on forumhome)
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 :D 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 |
Screenshots
|
Thnx ill try
|
You spelled unnecessary wrong in your screen shots! :)
|
ooops.. it's fixed now though :rolleyes:
|
Hehe, could you add a bar with % full aswell? Underneath the text would be nice. :)
Nice hack! |
hmm yes.. that should be very easy.. just add the part of the PM Gauge code i didn't use.. erh actually..
download the attached file and follow instructions :) |
Thanks. :)
|
Nice hack!
*clicks install* |
Installed! :)
|
Interesting yet handy feature.. Thanks Wanderer, working great.
/me clicks Install. |
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? |
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 :o in index.php find Quote:
Quote:
|
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: |
screenshot
|
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 |
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 ;) |
Thanks for the fix you posted to my question earlier on Wanderer.
Top stuff mate. |
++++ 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?
|
Uhm.. that's strange. Are you sure you installed it right?
uhm, can you please send a working link to your forums? |
Great hack on my 2.29 site with 7,000+ users! :D <clicks install>
|
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. :) |
Quote:
|
No it doesn't. They disappear. That's why I'm posting... lol
|
Quote:
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:
Quote:
Quote:
Quote:
Quote:
Quote:
thanks for pointing it out, sidekick |
Did you edit the original with this info too. :)
Thanks, Great edits. Mark |
|
Opps, sorry. :)
|
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...? |
Quote:
That's exactly what I thought about v1.1 ;) Regards, Oblivion Knight |
Quote:
feel free to edit v1.1 to use less queries though... |
ok i updated it.. v1.2 features the same as v1.1 but it uses less queries :)
definetly worth a try, methinks :D this was tested on my testforum and my forum, it should work :) here's the upgrade file (it's also included in the zip on the first page) |
What's "less" queries? :)
How many in total will it add to forumhome exactly? -Jason |
I believe v1 added one query, so this will add only 1 query maybe to the forumhome no matter how many folders a user has?
|
My "Your Inbox is 8% full" went to 0% after I installed the upgrade to 1.2
|
uhm.. i think it adds 1 lol... i'll test it tomorrow, k?
EDIT: yeah it adds only 1 query nomatter how many folders you have :) Quote:
|
Sounds great, I'll give it a test!
(I'll just wait a day in case there is a bug confirmed from above) lol ;) -Jason |
i can now confirm that it works.. i tried re-installing it using the v1.2 install file, and everything worked fine..
i've changed nothing in the part of the code, that tells you how many % you've used.. :\ oh and it uses a total of 2 queries apparently.. I can't seem to figure a way for it to use only 1. Not yet at least :D but still 2 is better than 4 ;) |
for those of you who installed v1.2, you have to find and delete $ignoreusers near ORDER BY pmfolderid ASC
i'll update the install files included in the zip on the first page |
Great hack! Cheers!
|
All times are GMT. The time now is 11:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|