Resource icon

xF1 Beta Post Guard 1.1.4

No permission to download
Compatible XF Versions
  1. 1.0
  2. 1.1
  3. 1.2
  4. 1.3
  5. 1.4
  6. 1.5
Introduction
XenForo prevents users from creating posts with no content. However there may be other types of invalid posts that you wish to prevent.

Description
This add-on allows you to specify invalid posts using regular expressions, or "post guards". If a user attempts to submit a post which matches one of your post guards, it will fail and they will receive an error message that you specify for that post guard.

Instructions
  • In admin, go to Applications -> Post Guards -> Manage
  • Click Create Post Guard.
  • Give the post guard a label which describes what it does, a regex that matches an invalid post, and an error_phrase that should be returned to a user if the guard is triggered.
  • Create a phrase with the name you specified (Appearance -> Phrases -> Create New Phrase), with the desired content.
The regex should match PCRE (php) style.

Some useful regex may be listed in the FAQ for this resource.

Screenshots
Author
AnimeHaxor
Size
12.1 KB
Extension
zip
Downloads
9
Views
1,040
First release
Last update

More resources from AnimeHaxor

Latest updates

  1. v1.1.4

    Fix Narrowed title checking to new thread creation / title editing only
  2. v1.1.3

    Fix: Removed leading newline character
  3. v1.1.2

    Fix Removed retroactive action on thread titles

Similar resources

Add rich username (CSS) to last post section in forum index and thread list
Brivium - Individual Post AnimeHaxor
This addon adds a link to the post and it will "jump" to correct post.
Brivium - Post Thanks Importer AnimeHaxor
This addon allows you to import post thanks from vBulletin to XenForo likes.
Brivium - Prevent URL Profile Post AnimeHaxor
Prevent users to post URLs on their status updates & profile posts to prevent spammer.
731Threads
2,287Messages
63,984Members
stevenomondiLatest member
Back