Note: You must be registered in order to post a reply. To register, click here. Registration is FREE! Before posting, make sure you have read this topic!
T O P I C R E V I E W
leatherlips
Posted - 25 February 2010 : 21:13:19 I would like to have a new tag for my forum. I want to have a VIP tag that would only allow members of a private forum to be able to see.
Sometimes my members will post about VIP content in the regular forum. I would like to be able to put that content in the [vip][/vip] tag so that it would not be visible to regular members.
Can anyone help with the code?
1 L A T E S T R E P L I E S (Newest First)
HuwR
Posted - 26 February 2010 : 02:05:17 if they quote someones reply they will be able to see the content since tags are not parsed when you do a quoted reply.
custom tags can be added using the extratags and docode functions, if you look in inc_func_common the code is there, what you will need to do is add a line to extratags and call your own version of docode which does a check to see if they are a VIP and hide the content accordingly, but it will be more difficult for quoted posts as noted above