AI Assistant
Notifications
Clear all

Disable Emoticons

4 Posts
2 Users
0 Reactions
2,222 Views
Posts: 4
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@gaskt)
Member
Joined: 7 years ago
[#4201]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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: 6645
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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