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 Gauge (https://vborg.vbsupport.ru/showthread.php?t=34248)

mbaskett 06-03-2002 01:22 PM

So, where would i put the code if I wanted to display the gauge for each in every post? ie: under their avatar......

HappyPike 06-05-2002 09:45 PM

So this hack only counts the messages in the inbox folder???

Edit: Never mind. I found the fix that makes the hack count all the folders in this thread. :)

Thomas P 06-06-2002 07:12 AM

Quote:

Originally posted by HappyPike
So this hack only counts the messages in the inbox folder???

Edit: Never mind. I found the fix that makes the hack count all the folders in this thread. :)

Does it work for you?

I used the all-folder version, too, but still got ~36% PM though I already got a mail stating that my quota is reached...

Freestyler 06-14-2002 09:18 AM

Quote:

Originally posted by JZarate
Is there any ways this could be made smaller? And added as a column to the PM Table. Similar to the size hotmail uses.
I'm wanting to know the exact same thing :cheeky:

Limpkinw 06-17-2002 04:05 PM

Also interested in a smaller version...not so great with my columns and stuff :)

Quote:

Originally posted by Freestyler


I'm wanting to know the exact same thing :cheeky:


Bro_Joey_Gowdy 06-30-2002 01:20 PM

nice hack

Prince 07-08-2002 12:16 AM

I wantd it to be smaller also, here is how I did it...it's a little better.

PHP Code:

<tr>
      <
td bgcolor="{secondaltcolor}" colspan="6"><smallfont>Your PM box is <b>$pmpercent%</bfull<br>
      <
img src="$barimgwidth="$pmpercent%" height="6">
        <
table border="0" cellspacing="0" width="100%">
          <
tr>
            <
td width="33%"><smallfont>0%</td>
            <
td width="34%">
              <
p align="center"><smallfont>50%</td>
            <
td width="33%">
              <
p align="right"><smallfont>100%</smallfont></p>
            </
td>
          </
tr>
        </
table>
      </
td>
    </
tr


87GTR 07-08-2002 11:03 AM

I log in as as mod and it show 30% useage all the time no matter how many is in my folders.

is there a fix for this

87GTR 07-08-2002 11:14 AM

ok I fix it and changed the code some and took out the query so that 1 less query your server has to make.

I changed mine to do all the pm's for your account not just the inbox.

here is the code change I did

Code:

//PM GAUGE HACK BY GOBLIN
$inboxpms=$allpm;

and I commetted out the next line that is a query.
and thats it.


Prince 07-08-2002 03:16 PM

Quote:

Originally posted by 87GTR
ok I fix it and changed the code some and took out the query so that 1 less query your server has to make.

I changed mine to do all the pm's for your account not just the inbox.

here is the code change I did

Code:

//PM GAUGE HACK BY GOBLIN
$inboxpms=$allpm;

and I commetted out the next line that is a query.
and thats it.


Will you please post your html template code you used!

Thanks! :)


All times are GMT. The time now is 04:59 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.01197 seconds
  • Memory Usage 1,748KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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