vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Show users 'Position' within the Community in Postbit Legacy (https://vborg.vbsupport.ru/showthread.php?t=201269)

Deadly Stream 01-09-2009 10:00 PM

Show users 'Position' within the Community in Postbit Legacy
 
Due to this I have decided to leave the vBulletin community and no longer wish to have my work associated with it.

Apologies to those who use this work.

Extreme24 01-10-2009 12:27 PM

Couldn't you have done this with a usertitle added to the group?

(In AdminCP)
Go to UserGroup - > Usergroup Manager - > (The Group You Wish to Edit) - > Add a Custom Title for all Members of this Group.

Wouldn't that be the same? (No edits or anything. A vB default.)

Deadly Stream 01-10-2009 12:51 PM

But when the user changes his/her title then no one will know if they're staff or a member who's got a custom title. It could be done like that but this way a user, or staff member for that matter can't accidently change it.

--Stream

lazydesis 01-10-2009 04:39 PM

this can be done via ranks much easily ... u can use text instead of rank images :)

anyways nice template edits. but if u have 15-20 groups .. you dont want to be writing so many if else statements.

xthecanadianx 01-11-2009 11:37 PM

this is the only way to allow user titles, user ranks, and usergroup id's
to all show on the post bit at the same time.

check out my postbit as an example.
http://www.dunercentral.com/forums/d...008-drags.html

i took it to the next level and added icons for each usergroup.

this is great info. yes you can use the rank system, but if you want all
titles to show, this is the best way. again, refer to my link for an
example.

M3xital 01-13-2009 12:21 PM

Quote:

Originally Posted by xthecanadianx (Post 1709120)
i took it to the next level and added icons for each usergroup.

Hi, can you explain how you did it?
Thanks

xthecanadianx 01-14-2009 04:45 AM

Quote:

Originally Posted by M3xital (Post 1710891)
Hi, can you explain how you did it?
Thanks

here ya go. just change the image locations to match the
locations of the images that you want to use.

Code:

<div class="info"><if condition="($post[displaygroupid]== 6)">
<img src="http://www.dunercentral.com/forums/images/ranks/admin-rank.png"
<else />
<if condition="($post[displaygroupid]== 2)">
<img src="http://www.dunercentral.com/forums/images/ranks/member-rank.png"
<else />
<if condition="($post[displaygroupid]== 9)">
<img src="http://www.dunercentral.com/forums/images/ranks/elite-rank.png"
<else />
<if condition="($post[displaygroupid]== 7)">
<img src="http://www.dunercentral.com/forums/images/ranks/mod-rank.png"
<else />
<if condition="($post[displaygroupid]== 5)">
<img src="http://www.dunercentral.com/forums/images/ranks/smod-rank.png"
<else />
<if condition="($post[displaygroupid]== 10)">
<img src="http://www.dunercentral.com/forums/images/ranks/vip-rank.png"
<else />
<if condition="($post[displaygroupid]== 8)">
<img src="http://www.dunercentral.com/forums/images/ranks/banned-rank.png"
<else />
</if></if></if></if></if></if></if></div>



All times are GMT. The time now is 02:10 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.01175 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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