Include and Exclude Tags

Started by Throndir, May 26, 2016, 04:10:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Throndir

[include u=333]Only Linwelin can see this line![/include]

[exclude u=333]Linwelin should not be able to see this line[/exclude]


New mod installed, will be great for DMs. The User ID can be obtained by going to their profile,a nd look for the u=#. For example mine is 2, eg:

http://forums.fantasyworldcreations.com/index.php?action=profile;u=2

For groups its not as useful, since tbh everyone's ina ll sorts of groups. But if you want to do that, (admins only), look at the Membergroups in the admin page, and hover over each one, and look for "group=#".

This works for multiple users, and etc. See the documentation below.

Include & Exclude Tag Package v1.1
-----------------------------------
Adds two new tags, with the soul purpose of showing and hiding things from specific users and groups.
Tag is used as so:
Parameters: g = 1,2 (group ids') and u = 1,2 (user ids')
eg. [include g=1,2 u=1,2,3]Groups 1, 2 and Members 1, 2, 3 are the only ones that can see this[/include]
eg. [exclude g=1,2 u=1,2,3]Groups 1, 2 and Members 1, 2, 3 are the only ones that can't see this[/exclude]

Also, in addition to that, included and excluded content won't show up when quoted regardless of whether they can see it or not as it would require quite a lot of work for me to do as such.  Also, anyone with the permission to modify anyone's posts can view it as well.


Throndir

#1
As you ran around the corner, you seemed to see something in the distance.[include u=333] Because you're Kin, you can definitely tell it was Lyolf about to troll you.[/include] You kept moving forward cautiously...

[include u=382]Something bad is going to happen to your hero![/include]

[include u=332]However, they are ALL clueless as to what exactly it may be![/include]