Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Small plugin to show Membergroups in Postbit Details »»
Small plugin to show Membergroups in Postbit
Version: 1.00, by craiovaforum craiovaforum is offline
Developer Last Online: Jun 2018 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 02-06-2006 Last Update: Never Installs: 31
Uses Plugins Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-09-2006, 11:15 AM
Benedict Benedict is offline
 
Join Date: Jan 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OO, I like the look of this.

When adding the Phrase what do I select for each attribute:

Phrase Type: ?
Product: ?
Varname: member_groups
Text: Member of

Thanks

Ben
Reply With Quote
  #13  
Old 02-09-2006, 01:01 PM
Akagi Akagi is offline
 
Join Date: Jan 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Benedict
OO, I like the look of this.

When adding the Phrase what do I select for each attribute:

Phrase Type: ?
Product: ?
Varname: member_groups
Text: Member of

Thanks

Ben
Phrase Type: Global
Product: vBulletin

cheers! *clicks install*
Reply With Quote
  #14  
Old 02-09-2006, 01:33 PM
Benedict Benedict is offline
 
Join Date: Jan 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, great mod

Clicks install :thumb:
Reply With Quote
  #15  
Old 02-09-2006, 03:48 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Phrase Type: Global
Product: vBulletin
indeed, the defaults should be okay

hmm maybe one of these days i'll update the .xml so it will add the phrase and modify the template automatically upon install.
Reply With Quote
  #16  
Old 02-09-2006, 03:52 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW it works fine on 3.5.3.
Reply With Quote
  #17  
Old 02-13-2006, 02:35 AM
mrahul mrahul is offline
 
Join Date: Nov 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont know y? I edited the template postbit & added phrase & even installed the plugin. but nothing shows up
Reply With Quote
  #18  
Old 02-15-2006, 04:56 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you using postbit? perhaps you edited postbit but your style actually uses the postbit_legacy template.
try modifying that one.
Reply With Quote
  #19  
Old 02-16-2006, 08:13 AM
mrahul mrahul is offline
 
Join Date: Nov 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i tried modifying both at a time & I am using the default VB style. I dont use any extra r additional styles.
Reply With Quote
  #20  
Old 02-18-2006, 02:54 PM
Thanatos Thanatos is offline
 
Join Date: Dec 2001
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would it be difficult to make one of these for usergroups as well?
Reply With Quote
  #21  
Old 02-18-2006, 04:17 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Thanatos
would it be difficult to make one of these for usergroups as well?
??
it is for usergroups...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:24 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.04644 seconds
  • Memory Usage 2,304KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete