![]() |
User rights for Smilies
what this hack do,
you can define rights for smilies, like posticons for example you can give registerd users right zu access all smilies, unregistred or not loged user can use only default smilies installation: easy 4 plugins ( 1 product ) 4 file change import the XML file, with product importer in the misc.php find ( on 2 positions !! ) Code:
$smilies = $db->query_read(" Code:
// Smilies for Usergroups Hack BEGIN include/functions_editor.php find Code:
// query smilies Code:
// Smilies for Usergroups Hack BEGIN includes/class_bbcode.php find Code:
$smilies = $this->registry->db->query_read(" replace Code:
// Smilies for Usergroups Hack BEGIN admincp/image.php find ( on 2 positions ) Code:
print_stop_message('smilie_categories_dont_support_permissions'); Code:
#print_stop_message('smilie_categories_dont_support_permissions'); Code:
iif($category['imagetype'] != 3, Code:
#iif($category['imagetype'] != 3, done dont forget, VB 3.5 has post cache, this modification works for new posts or posts which are not in the cache |
Nice idea. I am all for adding little extras for special members.
Though, is it possible to accomplish these file edits via another plug-in or similar? |
If they type the replace code for the smilies won't it still parse though?
|
i dont found other places for changes which has hooks :/
but you can deaktivate this hack in admincp and you will see all smilies ;) |
PM me when you have a plugin for it :)
|
All times are GMT. The time now is 07:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|