Hacks: xoCode: Latest Tweet

Posted by: Dylianon 2010/7/7 1:10:00 5558 reads This xoCode extension allows you to show the latest tweet of a twitter user.

How to install this xoCode extension?
1. Download [THIS] archive.
2. Extract it to a local folder.
3. Upload the contents of the "htdocs" folder to your XOOPS root directory.
THAT'S ALL

- You can change the styling of the Latest Tweet div in the htdocs/class/textsanitizer/lt/lt.css file.
- If you have installed other extensions like the "Acronym" one please read the "MANUAL INSTALLATION" section below.

How to use this xoCode extension?
You can place the [lt]twitter-username[/lt] tag in any xoCode enabled field (like the signature field of your profile). If you place [lt]XOOPS_forums[/lt] in a xoCode enabled textfield this would display the latest tweet of the twitter user "XOOPS_forums".

You can see a demonstration of this extension [HERE] (At the signature/"handtekening" section).

-- MANUAL INSTALLATION --
1. Download [THIS] archive.
2. Extract it to a local folder.
3. Replace /htdocs/class/textsanitizer/config.php with the copy from you server.
4. Open the just replaced file and replace this code (line 27):
"iframe" => 0,
With this code:
"lt" => 1,
"iframe" => 0,

5. Upload the contents of the "htdocs" folder to your XOOPS root directory.

I hope you all like this extension, I know I do .