s0ct0j0c
21-04-2011, 08:20 AM
Hide Addon Beta 2
ORGINAL Threadhttp://xenforo.com/community/threads/hide-addon.14254/
This hack hide content from users.
===========
Install:
1. upload files to your forum directory
2. import addon xml file
3. in template 'help_bb_codes' search
-----------------------------------
http://cB9.upanh.com/21.627.28582448.bO50/example1.pnghttp://cB8.upanh.com/21.627.28582447.lh40/example.png
</dd>
</dl>
</div>
</li>
-----------------------------------
and add after
-----------------------------------
<xen:include template="hideaddon_help"></xen:include>
-----------------------------------
Bugs:
if user set need post counter > own post counter, hidden content not showing for owner
I won't fix because can't globalize post info
Usage:
hidden text - need 5 posts for view hidden content
[SHOWTOGROUPS=3,4]hidden text[/SHOWTOGRUPS] - shows hidden content only for groups Administrative, Moderating
Note:
Addon not includes editor buttons, enter tags manualy.
ORGINAL Threadhttp://xenforo.com/community/threads/hide-addon.14254/
This hack hide content from users.
===========
Install:
1. upload files to your forum directory
2. import addon xml file
3. in template 'help_bb_codes' search
-----------------------------------
http://cB9.upanh.com/21.627.28582448.bO50/example1.pnghttp://cB8.upanh.com/21.627.28582447.lh40/example.png
</dd>
</dl>
</div>
</li>
-----------------------------------
and add after
-----------------------------------
<xen:include template="hideaddon_help"></xen:include>
-----------------------------------
Bugs:
if user set need post counter > own post counter, hidden content not showing for owner
I won't fix because can't globalize post info
Usage:
hidden text - need 5 posts for view hidden content
[SHOWTOGROUPS=3,4]hidden text[/SHOWTOGRUPS] - shows hidden content only for groups Administrative, Moderating
Note:
Addon not includes editor buttons, enter tags manualy.