[XF 2] PHP Criteria

xxF

Legend
LEGEND
ULTIMATE
PREMIUM
MEMBER
Joined
Jul 26, 2025
Messages
3,588
Reaction score
48,420
Deposit
0$
[XF 2] PHP Criteria

This addon allows you to create complex criteria for advanced trophies or user group promotions with custom PHP code.

For example, you can use:
  • Count the number of threads the user has created in specific forum
  • Analyze users signatures
  • Count the number of likes on single messages
  • Retreive data from addons (like Resource Manager or Question Threads)
  • See how many times (and when) user has edited his post
  • ...
In other words, this addon gives you a full access to xenForo engine and database when creating trophies/promotions.

Moreover you can even combine default xenForo criteria and your custom PHP code!

Your possibilities are limited only by your imagination!

Installation

  1. Download an addon archive and unpack it somewhere
  2. Open upload folder and move src folder to your forum root directory
  3. In admin panel go to "Add-ons" section and install "PHP Criteria" addon
Thats it!
You can now create advanced trophies/promotions!

Demo: https://xenforo.com/community/resources/php-criteria.5899/

[XF 2] PHP Criteria 1.0.0
Hidden text, you need have 5 messages or buy VIP, now you have 0 posts.
https://anon.to/?

View hidden content is available for registered users!
 
Top Bottom