Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 May 2011, 09:07
need2fart need2fart is offline
 
Join Date: Aug 2009
Making a more specific spoil/hide bbcode


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

How could I create something like that utilizing members post counts? So I could define what minimum post count the user must have in order to see the hidden content?
Reply With Quote
  #2  
Old 27 May 2011, 01:59
asdfadrian asdfadrian is offline
 
Join Date: May 2011
In your bbcode manager for the replace code you want to do something like this if you want the user viewing the thread to have a post count greater than 50.


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

Note: The variable $userbbinfo is for vbulletin templates, if you are using a custom made page, you will need to include the globals.php, or define your variables if you have your own variable system.

I hope this helps!
Reply With Quote
  #3  
Old 27 May 2011, 15:42
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
That's a good thought but unfortunately it won't work because the bbcode replacement is not a template.

You could take a look at this mod: http://www.vbulletin.org/forum/showthread.php?t=230244 . I don't think it would be very hard to modify it to do what you want.
Reply With Quote
  #4  
Old 29 May 2011, 19:24
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Check out this mod too. http://www.vbulletin.org/forum/showthread.php?t=97366
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #5  
Old 11 Jun 2011, 09:24
need2fart need2fart is offline
 
Join Date: Aug 2009
Originally Posted by BirdOPrey5 View Post
That was perfect and just what I was looking for! Thanks a lot dude. =)
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements MARCO1 BBCODE Hide Tags [ hide] [/ hide] MARCO1 vBulletin 4.x Add-ons 372 01 Feb 2018 13:21
BB Code Enhancements MARCO1 BBCODE Hide Tags [ hide] [/ hide] - Updated For VB 4.1.0 my123world Modification Graveyard 5 06 Dec 2010 21:30



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

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 19:24.

Layout Options | Width: Wide Color: