Customizing SMF > Modifications and Packages
SimpleTwitter
Suki:
Search this topic, I recall someone posted a fix for that.
mamavrn:
--- Quote from: SpiritL on April 28, 2012, 11:45:53 PM ---Hello, Suki. I have a problem with your mod.
SMF 2.0.2
Russian UTF-8
But posts in Twitter looks like: ? ? ? ? flower ? ? ? ? ? ? ? ? ? ? http://... (without blanks)
Can you help me?
--- End quote ---
SpiritL, I solved same problem.
In file Source/SimpleTwitter.php find
--- Code: ---$twt_message = utf8_decode($msgOptions['subject']);
--- End code ---
and replace
--- Code: ---$twt_message = iconv("windows-1251","UTF-8",$msgOptions['subject']);
--- End code ---
find
--- Code: ---$twitter = $connection->post('statuses/update', array('status' =>utf8_encode($mensaje)));
--- End code ---
replace
--- Code: ---$twitter = $connection->post('statuses/update', array('status' =>iconv("UTF-8", "windows-1251" ,$mensaje)));
--- End code ---
Gà Mái:
Suki, i read all 11 pages and check it all, but it not work. :(
Suki:
What exactly didn't work?
Please give as much details as possible, list all the steps you did, your SMF version and your PHP version, if you have cURL installed, etc.
NiceCarvings:
Hi I like this mod!
I cannot stop i form posting my hidden boards. I think because I have pretty urls mod.
Do you have any ideas for me?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version