Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Allow user to select what is shown in their postbit. Details »
Allow user to select what is shown in their postbit.
Mod Version: 1.00, by RC Attacker (Member) RC Attacker is offline
Developer Last Online: Apr 2011 I like it Show Printable Version Email this Page

vB Version: 3.8.2 Rating: (0 vote - 0 average) Installs: 14
Released: 03 Jun 2009 Last Update: Never Downloads: 3
Not Supported Template Edits Code Changes  

Description
This template modification will allow the user to select what they want shown in their own postbit via their control panel. This can be done with anything in your postbit (i.e. user title, avatar, rank, location, post count, join date, custom profile field(s), etc).

Screenshot
Check the attachments at the bottom of this post for an example.

Install
A) Admin CP > User Profile Fields > Add New User Profile Field
A.1) Choose Multiple-Selection Checkbox (you may use multiple-selection menu).

A.2) Put "Hidden Post Information" in Title (you may write whatever you want).

A.3) Put whatever you intend to have the option to hide in Options ("Avatar", "User Title", "Join Date", "*Custom profile field name*", etc). Remember the order they are in!

A.4) The rest is irrelevant. I suggest you give some kind of description so your members know what this is for. I would probably either put this on the "Edit Details" page or "Thread Viewing" section on the options page. You will probably want to hide this from your members list.

A.5) After you save, remember the the field ID. This will be in Name column. You will see "fieldx", 'x' being the ID number.
B) Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit_legacy
B.1) Replace 'x' with the field ID and 'y' with the ID of the option.

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

The ID of the option is multiplied by two for each one. The first option on your list would be 1, the second would be 2, the third is 4, the fourth is 8, the fifth is 16, the sixth is 32, and so on.

B.2) In postbit_legacy, take the conditional you just made and post it before the conditional of the first option that you listed. I will use the avatar for my example.

Find:

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

Add above from what you have in step B.1:

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

Add below:

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


B.3) Repeat this process on everything you made an option for. Remember to put in the right option ID in your conditional. The field ID will remain the same.
C) Done. Go into your control panel and choose what you want hidden from your posts.

------
Please Mark as Installed if you've found this useful. This is my first time posting a mod and I would appreciate any feedback you have for it. If you need help, I'll try to help you here, but you're more likely to receive a quicker response at AdminAddict.

Download Now

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

Screenshots

Click image for larger version

Name:	Picture 237.png
Views:	512
Size:	88.5 KB
ID:	100072   Click image for larger version

Name:	Picture 238.png
Views:	397
Size:	41.7 KB
ID:	100073   Click image for larger version

Name:	Picture 239.png
Views:	294
Size:	40.1 KB
ID:	100074   Click image for larger version

Name:	Picture 240.png
Views:	302
Size:	22.3 KB
ID:	100075  

Click image for larger version

Name:	Picture 241.png
Views:	350
Size:	27.3 KB
ID:	100076  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
End-User Options Select Postbit jesus likes pie vBulletin 3.8 Add-ons 12 05 Jul 2010 04:05
End-User Options Select Postbit jesus likes pie vBulletin 3.7 Add-ons 16 26 Oct 2008 14:10

Comments
  #2  
Old 03 Jun 2009, 21:54
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Real name: Tony
Nice idea. Thanks
__________________
Grumpy and bad tempered. I'm a pensioner, so don't care any more
Reply With Quote
  #3  
Old 04 Jun 2009, 18:11
goxy63 goxy63 is offline
 
Join Date: Oct 2008
cool

Thanks
__________________
VB5-- WHO HAS VISITED TODAY(last 24h) PLEASE VOTE HERE
VB5--FIRST POST ON EVERY PAGE PLEASE VOTE HERE
Reply With Quote
  #4  
Old 09 Jun 2009, 12:40
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Real name: Henry
Good idea for more user control, Thanks!
Reply With Quote
  #5  
Old 09 Jun 2009, 14:59
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
A short question, why are these steps:
A.1) Choose Multiple-Selection Checkbox (you may use multiple-selection menu).

A.2) Put "Hidden Post Information" in Title (you may write whatever you want).
necessary?
Reply With Quote
  #6  
Old 12 Jun 2009, 12:05
letsjoy's Avatar
letsjoy letsjoy is offline
 
Join Date: Jul 2006
cool mod thnx for share
__________________
"Everything you can imagine is real"
-Pablo Picasso

Pakistan - Ahmad
Reply With Quote
  #7  
Old 12 Jun 2009, 23:55
mikey1991's Avatar
mikey1991 mikey1991 is offline
 
Join Date: Nov 2008
Real name: Mikey
Any chance you cold integrate this with this: http://www.vbulletin.org/forum/showthread.php?t=213395 to make them "Show Signature"
__________________
Reply With Quote
  #8  
Old 14 Jun 2009, 06:54
RC Attacker RC Attacker is offline
 
Join Date: Aug 2006
Originally Posted by Kolbi View Post
A short question, why are these steps:

necessary?
If you do not do that (or some form of it), the user will have no way to choose what they want shown in their postbit.
Reply With Quote
  #9  
Old 19 Jun 2009, 21:13
Crashh Crashh is offline
 
Join Date: May 2007
RC Attacker, thx for your hack! is it possible to add an option hide all users information in postbit with mine?
Reply With Quote
  #10  
Old 23 Jun 2009, 20:29
RC Attacker RC Attacker is offline
 
Join Date: Aug 2006
Originally Posted by Crashh View Post
RC Attacker, thx for your hack! is it possible to add an option hide all users information in postbit with mine?
I believe you are asking if the changes you make in your own User CP can affect everyone, correct?
Reply With Quote
  #11  
Old 22 Jul 2009, 01:29
choccyclaire's Avatar
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Sorry to sound dumb, but will this hide the info from just that users post or does it mean that info will be hidden on all members post that the user sees?
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 00:56.

Layout Options | Width: Wide Color: