Hello,
I have debug mode turned on to ensure best programming practices. I noticed the following output :
Notice: Only variables should be passed by reference in /var/www/vhosts/woowclover.com/old.woowclover.com/wp-content/plugins/buddypress-sticker/bp-sticker.php on line 115
This poses 2 issues:
1. it sends that output 134 times PER POST. This means that this function gets called arguably much more than it needs to be. Can’t the product of this function be cached in the previous function ? Can’t it be outputted as a separate html element that is afterwards referenced to ?
2. It seems that the line in question :
$file_type = strtolower(end(explode(‘.’, $file)));
could be re-written as:
$placeholder = explode(‘.’, $file);
$placeholder = end($placeholder);
$file_type = strtolower($placeholder);
which accomplishes both goals of having the code more readable and avoiding the warning.
Perhaps you guys could implement these suggestions.
Thank you,
Adrian.
Hi.
I would like to thank You for this great plugin.
Tried to upgarde functionality to bbpress topic and reply form.
Added code to class BpStickers
` add_action( ‘bbp_theme_before_topic_form_content’,array($this,’list_stickers’));
add_action( ‘bbp_theme_before_reply_form_content’,array($this,’list_stickers’));
add_filter( ‘bbp_get_topic_thread_excerpt’,array($this, ‘bp_st_translate_sticker’ ));
add_filter( ‘bbp_get_reply_thread_excerpt’,array($this, ‘bp_st_translate_sticker’ ));
`
And it works with standard editor, but shows code instead emoticons at printed topic / reply
Another problem is that i have installed plugin:
https://pl.www.ads-software.com/plugins/bp-forum-editor/
And woul’d like to filter tinymce also, because for now it puts code only in html tab of tinymce editor.
What do You think about it?
Thanks.
]]>hi everybody on buddypress
i have a problem when i active BuddyPress Sticker the plugin resize iFlyChat plugin Unwelcome.
–
iFlyChat before active BuddyPress Sticker
https://qomac.ir/wp-content/uploads/bp_stickers_inactive.png
after active BuddyPress Sticker
https://qomac.ir/wp-content/uploads/bp_stickers_css.png
changing the size how to do ?
]]>Hello,
First, this is a awesome plugin. Nice work!!!
I have a (small) problem: on my laptop (Chrome browser) i see only a circle as button and not the smiley-face in the button.
On my smartphone i can see a nice smiley-face in the circle-button.
How can i solve this?
Regards,
Christophe
Hi,
in Version 1.2 there are problems, if I want add images in a reply.
It’s not possible.
Hi
Nice plugin but it’s not compatible with rtl buddypress.
I mean it’s better to have a css for rtl websites.
Can we add extra pictures to this plugin so it gives more option for users
]]>