Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User Title HTML markup in Postbit based on UserGroup Details »
User Title HTML markup in Postbit based on UserGroup
Mod Version: 1.00, by Seven Skins (Coder/Designer) Seven Skins is offline
Developer Last Online: Aug 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (2 votes - 3.00 average) Installs: 14
Released: 05 Nov 2008 Last Update: Never Downloads: 105
Supported Template Edits  

User Title HTML markup in Postbit based on UserGroup

Here is a small hack for postbit as some people have requested.
This will markup user titles in postbit. (Not user name)




Template to edit: Postbit.

Full Install Instructions are in the text file attached.



Find in postbit:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




You will have to change X for the usergroup ID.
Three user groups IF statements has been added but you can add more as needed.



Enjoy


.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods User Name markup in Nabvbar based on UserGroup abus3d vBulletin 3.7 Template Modifications 8 30 Aug 2009 17:41
Username color on forumhome (as based on usergroup markup) MentaL vBulletin 3.6 Template Modifications 17 16 Sep 2007 16:42

Comments
  #2  
Old 06 Nov 2008, 00:28
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Real name: Josh Arcadia
So if I create 5 usergroups, how can I use this?
__________________
. █│║▌│█│║▌║│█║▌│║║█║
Reply With Quote
  #3  
Old 06 Nov 2008, 11:42
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
^^


you keep adding the code just below the last <else /> replacing $post[usertitle] and change the color: #0000FF as required.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Screen Shot below gives you idea what to do.







.
Reply With Quote
  #4  
Old 02 Nov 2009, 02:26
m411b m411b is offline
 
Join Date: Feb 2009
Thank you much for this!

Last edited by m411b; 02 Nov 2009 at 02:32.
Reply With Quote
  #5  
Old 18 Mar 2012, 20:46
tommyxv tommyxv is offline
 
Join Date: Feb 2005
can you update this for vb 4 as the conditionals are different?
Reply With Quote
  #6  
Old 10 Dec 2013, 18:47
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
Hi.
I want to use this, however, I'm trying to do something special with it.
How can I make it show the color only if they're a moderator of that forum?
For example;
UserA is a moderator of ForumID 5.
If UserA posts in ForumID 5, I want their usertitle to show with a color for everyone. However, if UserA posts in ForumID 15 (which they don't moderate), their usertitle shows as normal. How can I do this? Thanks
Reply With Quote
  #7  
Old 13 Dec 2013, 04:28
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
You would use conditionals that only display the formatting in the forums you wish. Check the articles sections for the vB3 conditionals list. I forget the exact syntax off the top of my head, but you would just wrap the specific parts you want displaying differently in the conditional statement.

On an unrelated note, it's 12:28 AM, and I'm drinking coffee. Yes. Yes it does.
__________________
Reply With Quote
  #8  
Old 21 Dec 2013, 07:34
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
Originally Posted by Digital Jedi View Post
You would use conditionals that only display the formatting in the forums you wish. Check the articles sections for the vB3 conditionals list. I forget the exact syntax off the top of my head, but you would just wrap the specific parts you want displaying differently in the conditional statement.

On an unrelated note, it's 12:28 AM, and I'm drinking coffee. Yes. Yes it does.
Thanks for responding.
However, I know what you're meaning.. but I'm trying to go more in depth & complicated.
If I'm a guest viewing vB.org at your post right now, and you're a moderator of this forum this is posted on, your usertitle would show with the color and what not. However, if I'm a guest viewing another post you made on vB.org in, for example, the Articles forums (which you don't moderate), then your usertitle would show without any customization..
Reply With Quote
  #9  
Old 21 Dec 2013, 13:18
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
I may be recalling incorrectly, but I was fairly certain there was an is_moderator() function for vB 3 conditionals. Something like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Probably not the exact syntax, but I can't seem to find a reference to it this morning.
__________________
Reply With Quote
  #10  
Old 21 Dec 2013, 22:03
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
Originally Posted by Digital Jedi View Post
I may be recalling incorrectly, but I was fairly certain there was an is_moderator() function for vB 3 conditionals. Something like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Probably not the exact syntax, but I can't seem to find a reference to it this morning.
Yes, that will show if the user who is looking is a moderator.
I want it to show if anyone is looking at a post of a moderator in that forum..
With that if condition, if I am a moderator of forums 5, 6, and 7 I will be able to see the code. However, if I'm a normal user and I'm looking at the moderator's post in forum 5, 6 or 7, I won't be able to see the code.. which is what I am looking for.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:55.

Layout Options | Width: Wide Color: