vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Small plugin to show Membergroups in Postbit (https://vborg.vbsupport.ru/showthread.php?t=107356)

craiovaforum 02-06-2006 10:00 PM

Small plugin to show Membergroups in Postbit
 
This is just a port of the hack made by Gary_King for 3.0. Original thread here.
The code was actually written by Andreas. I merely put it all together in a plugin for the users that requested it.

Install instructions:

1. Import the plugin
2. Edit the postbit or postbit_legacy template (or both).
find:
PHP Code:

<div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon]</div

above that, add:
PHP Code:

<if condition="$groupstr != ''"><div>
$vbphrase[member_groups]: <br>$groupstr
</div></if> 

3. Add a new phrase called member_groups containing:
Code:

Member of
Thats about it. Dont forget to click Install :)

If you like this modification don't forget to donate ;)

CBE 02-07-2006 09:23 AM

Great !!!!!!!

The first install :D

Azhrialilu 02-07-2006 10:49 AM

Oh now I like this! Thank you :)

craiovaforum 02-07-2006 01:27 PM

Quote:

Originally Posted by Azhrialilu
Oh now I like this! Thank you :)

you can also change the font, the colors of the text shown, in fact all the formatting, using HTML ;)

I have it blue on my forum, take a look: www.craiovaforum.ro

Snake 02-07-2006 01:30 PM

So this displays a user's group membership in postbit, am I right?

craiovaforum 02-07-2006 01:48 PM

Quote:

Originally Posted by Aftermath
So this displays a user's group membership in postbit, am I right?

Yes, you're right

Snake 02-07-2006 05:48 PM

Oh that's what I've been looking for. Thanks!

craiovaforum 02-07-2006 07:05 PM

Quote:

Originally Posted by Aftermath
Oh that's what I've been looking for. Thanks!

click install then ;)

mrahul 02-08-2006 09:28 AM

I am beginner. Can some one tell me how to make a new phrase ?

craiovaforum 02-09-2006 10:07 AM

admincp -> Languages and Phrases -> Phrase Manager -> Add new phrase button


All times are GMT. The time now is 07:29 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.01541 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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