Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Code Request for new Tag
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 25 February 2010 :  21:13:19  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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?

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 26 February 2010 :  02:05:17  Show Profile  Visit HuwR's Homepage  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07