Notifications
Clear all

Disable Emoticons

4 Posts
2 Users
0 Likes
1,184 Views
Posts: 4
Customer
Topic starter
(@gaskt)
Member
Joined: 5 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: 5872
Admin
(@astgh)
Illustrious Member
Joined: 6 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: 5 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: 6 years ago

Illustrious Member
Posts: 5872

@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