dcramer / wp-lifestream

Lifestreaming plugin for Wordpress
http://forums.lifestrm.com/index.php
122 stars 30 forks source link

Lifestream always truncates regardless of settings #65

Open matthew-dean opened 13 years ago

matthew-dean commented 13 years ago

I'm not sure if I'm misunderstanding this setting, but no matter how I set the "Description Cutoff" field, it ALWAYS truncates my Twitter posts. I've tried wiping the database, refreshing the feeds, deleting and re-importing the feed, setting the field to both -1 and to a high number.

No matter what, it insists on truncating everything. Can you help?

matthew-dean commented 13 years ago

Anyone?

mousey commented 13 years ago

A real dirty hack would be to open up the core.php folder and amend the truncate length from 128 to whatever you wanted.

Line 522: 'truncate_length' => '128', Line 554: function truncate($string, $length=128)

add 3 characters to the maximum you want as the code removes 3 from the length for ...

Let me know if this helps