vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [release] 3.0.0 beta 7 show PM box status in postbit (https://vborg.vbsupport.ru/showthread.php?t=88355)

peterska2 11-05-2003 09:49 PM

[release] 3.0.0 beta 7 show PM box status in postbit
 
OK so it ain't a pretty template hack but be gentle on me coz it is my first one.

Code:

<if condition="$userinfo['options'] & $_USEROPTIONS['receivepm']">
PM box:
</if>$userinfo[pmtotal]/<if condition="$userinfo[usergroupid]==x">y</if>
<if condition="$userinfo[usergroupid]==x">y</if>
<if condition="$userinfo[usergroupid]==x">y</if>
<if condition="$userinfo[usergroupid]==x">y</if>

Replace the 'x' with the usergroup ID and insert in 'y' the PM quota for that usergroup. Add additional lines as required.

Pop it in the postbit_userinfo whereever you want it to appear.

Feedback welcome

peterska2

PS this is up and running at www.peterska2.co.uk if you want to see how it looks

edit] Floris has released something like this before. this is some of my own work and some isn't. Any credit for those bits (tweaked slightly admittedly) goes to floris/xiphoid [/edit]

Schorsch 11-08-2003 03:03 PM

can't reach your site!! can you attach a screenshot?

MindTrix 11-08-2003 05:26 PM

Screenie would be nice, i would like to see this

peterska2 11-08-2003 09:39 PM

1 Attachment(s)
Here we go then.

One screenie attached of selected postbits from a randomly selected thread.

MindTrix 11-08-2003 09:41 PM

Ah nice one looks good. Can members see over members inbox status?

peterska2 11-08-2003 09:47 PM

yeah. you can see everyones. Thats the idea behind it so that you dont try to PM someone with a full inbox.

MindTrix 11-08-2003 09:51 PM

Ohh well done, could prove useful. I cant install or test myself as i dont have vB3 yet :p Well done ne wayz

Floris 11-09-2003 09:52 PM

I rather not have members check eachother out, so on vbulletin.nl I have made it so that only YOU see in YOUR post the status of YOUR pm box :) The other version of what this hack can do :P

Nice job peterska2

peterska2 11-09-2003 10:38 PM

Quote:

Originally Posted by xiphoid
I rather not have members check eachother out, so on vbulletin.nl I have made it so that only YOU see in YOUR post the status of YOUR pm box :) The other version of what this hack can do :P

Nice job peterska2

I did say that some of it was by you and adapted by me.

Nice work with the original Xiphoid


All times are GMT. The time now is 08:15 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
  • Page Generation 0.00969 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete