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

Reply
 
Thread Tools
Member's Group in Post-Bit(legacy) Details »»
Member's Group in Post-Bit(legacy)
Version: 1.0, by Developer Developer is offline
Developer Last Online: Nov 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 01-26-2006 Last Update: Never Installs: 31
Template Edits
 
No support by the author.

Description:
this is a simple modification that show every member's group in his post
installation:
open Post-Bit(legacy) and find
Code:
					<div>
						$vbphrase[posts]: $post[posts]
					</div>
then add below it
Code:
<if condition="is_member_of($post,1)">Member's Group:Guests</if>
<if condition="is_member_of($post,2)">Member's Group:Members</if>
<if condition="is_member_of($post,3)">Member's Group:Users Awaiting Email Confirmation</if>
<if condition="is_member_of($post,4)">Member's Group:(COPPA) Awaiting Moderation</if>
<if condition="is_member_of($post,5)">Member's Group:Super Moderators</if>
<if condition="is_member_of($post,6)">Member's Group:Administrators</if>
<if condition="is_member_of($post,7)">Member's Group:Moderators</if>
<if condition="is_member_of($post,8)">Member's Group:Banned</if>
Donation::.
Feel Free To
aT lAsT:
click Install

Show Your Support

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

Comments
  #2  
Old 01-27-2006, 07:25 PM
ProjectTR ProjectTR is offline
 
Join Date: Jan 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks I will add phrase for another language
Reply With Quote
  #3  
Old 01-27-2006, 07:47 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A better way then a bajillion <if> statements would prolly be using the rank system. You can make a rank for each usergroup.

Just an alternate idea
Reply With Quote
  #4  
Old 01-28-2006, 06:35 AM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could also simply use this:
Code:
<div class="userinfo"><b>$vbphrase[usergroup]:</b> $post[displaygrouptitle]</div>
- it uses the title of a usergroup so it basically shows the same but doesn't use <if>'s
Reply With Quote
  #5  
Old 01-28-2006, 12:22 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep I've already figured that for my forums.
Reply With Quote
  #6  
Old 01-28-2006, 12:32 PM
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Location: EgYpT
Posts: 662
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is just a way from many ways
Reply With Quote
  #7  
Old 01-30-2006, 11:08 PM
amadergaan amadergaan is offline
 
Join Date: Jan 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yorixz,

exactly where do i put the code...below this?

Code:
<div>
						$vbphrase[posts]: $post[posts]
					</div>
Reply With Quote
  #8  
Old 02-02-2006, 02:24 AM
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Location: EgYpT
Posts: 662
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

is it possible to display the membergroup as well?
something like this thread:

https://vborg.vbsupport.ru/showthrea...5&page=2&pp=15
Reply With Quote
  #10  
Old 03-10-2006, 04:17 AM
BabyNameAddict BabyNameAddict is offline
 
Join Date: Feb 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz
You could also simply use this:
Code:
<div class="userinfo"><b>$vbphrase[usergroup]:</b> $post[displaygrouptitle]</div>
- it uses the title of a usergroup so it basically shows the same but doesn't use <if>'s
Excellent :banana:
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 01:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04679 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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
  • (5)bbcode_code
  • (1)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
  • (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
  • (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_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