short.ShortStory

Download plugins, language packs and stuff.

short.ShortStory

Postby FI-DD » Sun Oct 16, 2005 7:03 pm

Truncates the short story of an article to a given number of characters.



For example:



"This is my short story" becomes "This is my short sto..."
Attachments
shortShortStory.zip
short.ShortStory
(657 Bytes) Downloaded 2630 times
Last edited by FI-DD on Fri Nov 21, 2008 7:53 pm, edited 2 times in total.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Ramon » Mon Nov 14, 2005 12:23 pm

FI-DD could you customize this download so custom quick tags are supported in it?
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

Postby FI-DD » Mon Nov 14, 2005 12:44 pm

Sorry, I didn't get it.



What do you mean exactly?
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Ramon » Mon Nov 14, 2005 2:06 pm

Well when I use the Short story tag in my template, it doesn't transfer the custom quick tags to working html :(
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

Postby FI-DD » Mon Nov 14, 2005 2:47 pm

Fixed. :D
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Ramon » Mon Nov 14, 2005 3:37 pm

Thanks :)



I finally managed to complete my site now :)



It's http://www.fminside.net/
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

Nice plugin..... but need little improvement

Postby itzzmesur » Thu May 10, 2007 3:37 am

Hi Fi-DD



now the short story is even counting the numbers of <img src={images}/lsadjfas;l.jpg width="" height="" />, can we exclude the images from the count.
itzzmesur
 
Posts: 35
Joined: Thu Feb 08, 2007 8:11 am

Postby Ramon » Thu May 10, 2007 7:26 am

if you make a custom tag like [ img ] [/ img ] it will work ;)
Image
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

can you make it more clear how to use short tag...

Postby itzzmesur » Sun May 13, 2007 4:43 am

Hello Ramon , Please make it more clear on using short tag (there might be some links),

(and also FI-DD can't we update the plugin to address this kind of problem)



and also i've used two plugins (shortstroy and short title) and when i activate both,

the images does not get displayed, it directly shows the name of image....



to confirm i checked the HTML source for the problem and it's displaying {image}, i hope its not mapping to the actual url.
itzzmesur
 
Posts: 35
Joined: Thu Feb 08, 2007 8:11 am

Postby asson » Mon Jul 30, 2007 3:13 pm

Thanks for this plugin, I just installed it working just fine.
The only problem I relised is the last letter before (...) shows in a strange way, like this �
How to fix that?
I'm using UTF-8 om my pages.
asson
 
Posts: 46
Joined: Fri Nov 24, 2006 2:15 am
Location: Karlstad, Sweden

Postby ClickyMouse » Sun Jan 06, 2008 1:53 am

Is there any way to modify the script that makes shorter the full-story instead the shor-story?

Thanks!

See ya!
User avatar
ClickyMouse
 
Posts: 19
Joined: Sat Jan 05, 2008 3:15 pm

Postby FI-DD » Wed Jan 09, 2008 6:57 pm

You can create your own plugin by copying the existing plugin. Then replace every $row['short'] with $row['full'].
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby ClickyMouse » Wed Jan 09, 2008 8:19 pm

Thanks man! You rock!

One another thing: I have some troubles with this plugin and W3C Validation, because when a paragraph get cutted by the plugin, it lacks of the </p> at the end.

How can I add a </p> after the (...)

Thanks!
User avatar
ClickyMouse
 
Posts: 19
Joined: Sat Jan 05, 2008 3:15 pm

Postby FI-DD » Wed Jan 09, 2008 8:39 pm

In the plugin change this:
Code: Select all
'...'


to this:
Code: Select all
'...</p>'
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby ClickyMouse » Wed Jan 09, 2008 10:58 pm

Thanks! It worked perfectly!

If you allow me, I could "re"make the plugin, to make short the fullstory (the advantadge of this, is that you only have to write one story, the full one, and then it gets "shriked" by the plugin) and post it here.

Of course, your name will be on it.

Cheers!
User avatar
ClickyMouse
 
Posts: 19
Joined: Sat Jan 05, 2008 3:15 pm

Next

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron