Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Disable Emoticons

4 Posts
2 Users
0 Reactions
1,678 Views
Posts: 4
Customer
Topic starter
(@gaskt)
Member
Joined: 7 years ago

Good morning, I wonder if there is a possibility to show disabled emoticons for the user.

I have a vip system on my site and wanted to put animated emoticons just for vip users, I was able to put some custom emoticons just for those users with an if at wpsmiliestrans.php.

But this way ordinary users will not see the vips emoticons, I was wondering if there would be a way for them to see the emoticons, but could not use them.

3 Replies
Astghik
Posts: 6444
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi @gaskt,

You can use the following hook and write the code with if condition in your active theme's functions.php file.

remove_action('wpdiscuz_button', [$wpDiscuzSmile, 'smileHtml'], 513);
Reply
2 Replies
Customer
(@gaskt)
Joined: 7 years ago

Member
Posts: 4

Hi @astghik,

But would not that disable all emoticons? Because I want to leave only the animated ones disabled, the static ones I want to make available to everyone.

Could you show me an example of how this code would work in functions.php?

Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6444

@gaskt

Could you please send the admin login details to info[at]gvectors.com email address to allow us to understand if you have done some customizations or not and provide you some solution?

Reply
Share:
Scroll to top