• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
[TH] User Group BB Codes

Unmaintained [TH] User Group BB Codes 1.0.3

No permission to download
Compatible XF 1.x versions
1.3, 1.4, 1.5
License
https://opensource.org/licenses/MIT
What does this add-on do?

This add-on adds 14 new BB-codes:
  • [ADMIN] - Administrator
    Show only to administrators.

    Example:
    Code:
    [ADMIN]Administrators can see this[/ADMIN]
    Output:
    Administrators can see this
  • [GUEST] - Unregistered
    Show only to users who are unregistered.

    Example:
    Code:
    [GUEST]Guests can see this[/GUEST]
    Output:
    Guests can see this
  • [ISMEMBEROFUSERGROUP=option] - Is Member of User Group
    Show only to users who are a member of one or more of the user groups specified. User group IDs should be entered as a comma-separated list.

    Example:
    Code:
    [ISMEMBEROFUSERGROUP=1,2]Registered users and guests can see this[/ISMEMBEROFUSERGROUP]
    Output:
    Registered users and guests can see this
  • [ISNOTMEMBEROFUSERGROUP=option] - Is Not Member of User Group
    Show only to users who are a not a member of any of the user groups specified. User group IDs should be entered as a comma-separated list.

    Example:
    Code:
    [ISNOTMEMBEROFUSERGROUP=1,2]Registered users and guests can't see this[/ISNOTMEMBEROFUSERGROUP]
    Output:
    Registered users and guests can't see this
  • [ISNOTUSERID=option] - Is Not User ID
    Show to everyone except the specified users. User IDs should be entered as a comma-separated list.

    Example:
    Code:
    [ISNOTUSERID=1]Site admin can't see this[/ISNOTUSERID]
    Output:
    Site admin can't see this
  • [ISNOTUSERNAME=option] - Is Not Username
    Show to everyone except the specified users. Usernames should be entered as a comma-separated list.

    Example:
    Code:
    [ISNOTUSERNAME=Admin]Site admin can't see this[/ISNOTUSERNAME]
    Output:
    Site admin can't see this
  • [ISUSERID=option] - Is User ID
    Show only to specified users. User IDs should be entered as a comma-separated list.

    Example:
    Code:
    [ISUSERID=1]Site admin can see this[/ISUSERID]
    Output:
    Site admin can see this
  • [ISUSERNAME=option] - Is Username
    Show only to the specified users. Usernames should be entered as a comma-separated list.

    Example:
    Code:
    [ISUSERNAME=Admin]Site admin can see this[/ISUSERNAME]
    Output:
    Site admin can see this
  • [MOD] - Moderator
    Show only to moderators.

    Example:
    Code:
    [MOD]Moderators can see this[/MOD]
    Output:
    Moderators can see this
  • [NOTADMIN] - Not Administrator
    Show only to non-administrators.

    Example:
    Code:
    [NOTADMIN]Administrators can't see this[/NOTADMIN]
    Output:
    Administrators can't see this
  • [NOTGUEST] - Not Unregistered
    Show only to users who are not unregistered.

    Example:
    Code:
    [NOTGUEST]Guests can't see this[/NOTGUEST]
    Output:
    Guests can't see this
  • [NOTMOD] - Not Moderator
    Show only to non-moderators.

    Example:
    Code:
    [NOTMOD]Moderators can't see this[/NOTMOD]
    Output:
    Moderators can't see this
  • [NOTREGISTERED] - Not Registered
    Show only to users who are not registered.

    Example:
    Code:
    [NOTREGISTERED]Registered users can't see this[/NOTREGISTERED]
    Output:
    Registered users can't see this
  • [REGISTERED] - Registered
    Show only to users who are registered.

    Example:
    Code:
    [REGISTERED]Registered users can see this[/REGISTERED]
    Output:
    Registered users can see this
The BB codes automatically remove themselves in quotes and snippets as appropriate to avoid any secrets being spilled.

Author
ThemeHouse
Downloads
108
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from ThemeHouse

Latest updates

  1. Version 1.0.3 released

    New features: Added [ISUSERNAME], [ISUSERID], [ISNOTUSERNAME] and [ISNOTUSERID] BB-codes.
  2. Version 1.0.2 released

    Bug fixes: Fixed bug that [ISNOTMEMBEROFUSERGROUP] BB Code was not working due to "Supports...
  3. Version 1.0.1 released

    New features: Added [ISNOTMEMBEROFUSERGROUP], [NOTADMIN], [NOTGUEST], [NOTMOD] and...

Latest reviews

This is very useful for play-by-post roleplaying games when only some characters in a party comprehend a particular language or notice something in a scene: you can point out the relevant details to the particular user(s) without having to send a conversation message. Very nice. I do wish they consistently all started with "is" or "isnot," though: for example, that the "mod" tag were "ismod" instead.
i can whisper to my fellow players inside posts!! how cool is that!
i've been looking for something like this to add to my site. The components works like a charm!