Recent Topics

1 Mar 02, 2010 01:19    

My b2evolution Version: Not Entered

I installed livejournal crosspost, but despite setting it to friends only in options it creates new lj posts as public. Any fix for this?

Also randomly the twitter plugin says status more than 140 characters. It should never do that. PHP has lots of ways of manually ensuring that such an error would be avoided. But anyways, help with that is appreciated as well.

2 Mar 02, 2010 02:13

Ok I fixed twitter, if you want to do the same, go to line 142, hit enter for a new line (should be right after the last $msg = part) and paste the following to limit the number of characters, I put 136 as some special characters count as 2, and I'm paranoid and don't want to keep tweaking this.

if(strlen($msg) > 136) $msg = substr($msg,0,136);

Or if you aren't worried about that, but want it a little more aesthetic on the twitter side, use this line instead.

if(strlen($msg) > 136) $msg = substr($msg,0,136)."...";


Form is loading...