PHP:
/**
* Product: sonnb - See post's links permission
* Version: 1.0.1
* Date: 09th Jun 2012
* Author: sonnb
* Website: www.sonnb.com - www.UnderWorldVN.com
*
*/
Purpose: Limit user's permission to view post's links based on:
- User's post count.
- Require user likes the post.
- Allow to set for first posts or all posts and also exclusion groups.
Requirement: Work on 1.0.10 and above due to template_hook availability.
Change logs:
- 1.0.1: Changed from template_hook to class hook that should independent from template and custom styles.
- 1.0.0: Initial release.
Download: Attached file.
Installation:
- Upload files/directories under `upload` to your XenForo's root
- Import addon xml
- Configure the add-on in AdminCP > Options > sonnb - See post's links permission
Demo: