I would like to start by apologizing to everyone who requested assistance with TSE during my absence these last 17 days. An unfortunate turn of events took place on March 12th that left me without a computer and internet access until today. A capacitor decided to explode on my motherboard and took my northbridge with it. (Yes, it decided to explode. It was conspiring against me.)
I just finished building my new computer and getting the basics installed, and this post is the first thing I’ve decided to do before continuing with setting up the rest of the computer.
Now, to the problems at hand:
The issue that people are having with the CTI for Tango Smileys Extended is partly my fault in the wording I used to explain how to insert the CTI into the comments.php file. Here is the better explained way to add the CTI to your comments.php file:
- Open your comments.php file.
- Find the comment textarea, which should look something like
<textarea name="comment" id="comment"></textarea> - If you want the CTI smileys above the textarea, type
<?php tse_cti_anywhere(); ?>before the textarea. - If you want the CTI smileys below the textarea, type
<?php tse_cti_anywhere(); ?>after the textarea. - Save your comments.php file.
The extra stuff that I listed in my original instructions was for people who wanted to use the CTI smileys with other plugins, and is not needed to add the CTI smileys to the comments.
Hope this helps!



Tags:
Categories:
Related posts:
4 Comments
Yahoo! Answers: A Place for Women's Heath!
Hi Whesley,
Thanks for the quick reply (it seems I am lucky I didn’t have to wait long) and sorry for the bad events that you had for the last days.
I applied your intructions above and the CTI worked great for comments. However, my problem now is with another plugin I use and that is still not working. I need it to work with WP Wall. When Tango is activated, the wp default converting of smilies is disabled and then neither ways work for wp wall ! (it works fine with the wp default enabled). I tried adding both or either codes at a time to the wp-wall-widget.php of the plugin where the comment form is (basically wp wall uses the wp comments system). None of the trial worked to either make the CTI clickable or make the smilies (when shorthanded) convert !!!
[CODE BLOCK MISSING]
I appreciate your kind help and thank you so much for the good work
Cheers
Getting the tango smileys to work in WP Wall is an easy fix! Here’s what you have to do:
Open
wp-wall.phpand go to line 250. Replaceconvert_smilieswithtse_switcher. This tells WP Wall to use the tango smileys.Next, if you want clickable smileys in the WP Wall widget, open
wp-wall-widget.phpand go to line 67. Add<?php tse_cti_anywhere('wpwall_comment'); ?>before or after the textarea (depending on where you want the smileys to be – either above or below the textarea) and save the file.If you have any other issues, let me know!
Update:
I added [CODE BLOCK MISSING] after TEXTAREA in wp-wall-widget.php and it worked the CTI click fine now. The smilies conversion is still not working though ! what am I doing wrong ?! Is there where I am supposed to put that code ?
All worked like a charm ! thank you sooo much Whesley for your great and kind help.