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 Status hack (pm folders on forumhome) (https://vborg.vbsupport.ru/showthread.php?t=47744)

Oblivion Knight 01-17-2003 11:51 AM

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

/me clicks Install.

Oblivion Knight 01-18-2003 09:39 AM

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?

The_Wanderer 01-18-2003 09:59 AM

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:

$pmpercent = round(($inboxpms[messages] / $pmquota) * 100,2);
and replace with
Quote:

$pmpercent = round(($allpm[messages] / $pmquota) * 100,2);

The_Wanderer 01-23-2003 07:20 PM

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:

The_Wanderer 01-23-2003 07:20 PM

screenshot

GunsNetwork 01-23-2003 08:23 PM

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

The_Wanderer 01-24-2003 07:20 PM

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 ;)

Oblivion Knight 02-05-2003 08:38 PM

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

Top stuff mate.

HarryBO 02-06-2003 11:06 PM

++++ 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?

The_Wanderer 02-07-2003 05:23 PM

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


All times are GMT. The time now is 08:14 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.01026 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (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