Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 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

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 02-24-2009 Last Update: Never Installs: 19
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.
This is an updated version of my original release.

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

Download Now

File Type: xml membergroups-in-postbit.xml (428 Bytes, 134 views)

Screenshots

File Type: jpg Image2.jpg (11.3 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 02-26-2009, 07:37 AM
itsheinz itsheinz is offline
 
Join Date: Feb 2009
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to use this hack but i dont get the number 3 procedure:
Code:
3. Add a new phrase called member_groups containing:
Member of
Will you help on this guys,please.
Reply With Quote
  #13  
Old 02-26-2009, 08:07 AM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to adminCP

go to Languages & Phrases -> Phrase Manager
Click add new phrase

Type the name: member_groups
Type the "text": Member of

Do the eventual translations and click save
Reply With Quote
  #14  
Old 02-26-2009, 01:49 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, I was looking for something like that, marked installed, thanks!

Tip: Put the "howto" in a readme.txt and put that together with the product.xml in a zipfile.
It's easyer that way for us users.
Reply With Quote
  #15  
Old 02-26-2009, 01:59 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled again. I've just seen that the usergroup is already displayed in the postbit_legacy on my forums. And there only a few users which have more usergroups.
Reply With Quote
  #16  
Old 02-26-2009, 02:30 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use the usergroup system alot on my forum and that's why I made this plugin.
Reply With Quote
  #17  
Old 02-26-2009, 05:42 PM
itsheinz itsheinz is offline
 
Join Date: Feb 2009
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by craiovaforum View Post
Go to adminCP

go to Languages & Phrases -> Phrase Manager
Click add new phrase

Type the name: member_groups
Type the "text": Member of

Do the eventual translations and click save
thanks for that,but i got another prob,
Hook location:
Title:
Execution order:
Reply With Quote
  #18  
Old 02-26-2009, 06:08 PM
abroad abroad is offline
 
Join Date: Mar 2007
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should change the heqadline to usergroup instead of membergroup... it confuses
Reply With Quote
  #19  
Old 02-27-2009, 07:31 AM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsheinz View Post
thanks for that,but i got another prob,
Hook location:
Title:
Execution order:
Hello.

Did you import the attached .xml via the "download/upload plugins" section in admincp?
Reply With Quote
  #20  
Old 03-06-2009, 05:13 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DOH i installed this thinking it was Social Groups
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 05:47 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.04388 seconds
  • Memory Usage 2,324KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete