The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Bugs Bugfix serendipity_plugin_twitter.php

Found a bug? Tell us!!
User avatar
seraphyn
Regular
 
Posts: 211
Joined: Fri Dec 01, 2006 9:42 am

Postby seraphyn » Mon May 30, 2011 11:20 am

For the right link to the notice at the Date we need to change in the line 279 $value->id_str . to $value->id . :
from:
Code: Select all
$str_output[] = '<li class="twitter_update_' . $odd_css . '"><span> ' . $status->text = $api->replace_links_in_status($va    lue->text, $this->get_config('linktext','link'), 'twitter_update_link', 'twitter_user') . '</span><a class="twitter_update_time" href="' . $statu    s_url . $value->id_str . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';



to:
Code: Select all
$str_output[] = '<li class="twitter_update_' . $odd_css . '"><span> ' . $status->text = $api->replace_links_in_status($va    lue->text, $this->get_config('linktext','link'), 'twitter_update_link', 'twitter_user') . '</span><a class="twitter_update_time" href="' . $statu    s_url . $value->id . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';

then the Date links to the notice in identi.ca

To be continued...
Greetings Seraphyn

EDIT: I put for myself a
Code: Select all
<br>
in front of '</span><a class="twitter_update_time" href="' . $s tatus_url . $value->id . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';
so it turns to '<br></span><a class="twitter_update_time" href="' . $s tatus_url . $value->id . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';
which looks better imo


Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests