another twitter block

Permalink
not realising thathttp://www.concrete5.org/community/forums/block_requests/twitter_bl... exists, i've created another one - a sloppier one :D

this essentially just an edited rss reader

ps: the twitter account needs to public (unprotected)

edit: if you already installed the other one, and wants to try mine, delete existing block on the site. overwrite the block files. go to dashboard > add functions > twitter. hit refresh

2 Attachments

kutis
 
kutis replied on at Permalink Reply 1 Attachment
kutis
clone to concrete5.org front page.

pop up link only works on the poster @name and permalink
kutis replied on at Permalink Reply 1 Attachment
kutis
slight update on twitter search, tried to update the post above, just won't accepts the new file
Lazza replied on at Permalink Reply
Lazza
You don't encode your arguments. Bad thing... Here is the correct line in the controller:
$feed = $fp->load('...?q='.rawurlencode($this->query).'');


Sorry I can't write the url without the forum messing up everything.
I dropped the wildcards because they were doing wrong, so don't write 'em. ;)
Lazza replied on at Permalink Reply
Lazza
Also note you're never opening something in new window that way. You need to pass the variable trough the function, this way:
getuser($item->get_permalink(),$rssObj->launchInNewWindow)

And then the function starts as following:
function getuser($permalink,$aux) {
   $arr = explode('/', $permalink);
   $target = '';
   if($aux) $target = 'target="_blank"';