Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
5 registered (24hourcampfire, Bill B, ChevyGuy, FordDoctor, Gardener), 14 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/10/04
Posts: 1703
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#216446 - 08/13/08 09:32 AM News Item Truncated Puzzle
GEN™ Offline
member

Registered: 12/12/06
Posts: 108
Loc: GEN Basement
In the Portal template:

{if $news[item].newsicon}
<img style="float:left; margin: 10px;" src="{$config.BASE_URL}/images/{$style_array.news}/{$news[item].newsicon}" alt="" />
{/if}
<br />
{$news[item].body} {if $news[item].truncated} <a href="{ubb url="ubb=showflat&Number=`$news[item].topic_id`" title=$news[item].subject}">To be continued?</a>{/if}
<br /><br />
</td></tr>
{$tbclose}
{/section}

How do I truncate a news item?
_________________________
Stephen G
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.imperialblogspace.com

Top
#216456 - 08/14/08 02:12 PM Re: News Item Truncated Puzzle [Re: GEN™]
GEN™ Offline
member

Registered: 12/12/06
Posts: 108
Loc: GEN Basement
Anyone?
_________________________
Stephen G
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.imperialblogspace.com

Top
#216460 - 08/15/08 08:38 AM Re: News Item Truncated Puzzle [Re: GEN™]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
You can use [#end_news_blurb#] at the point you want to end the announcement for the main portal page. Removing the # signs of course. wink

This is somewhat of a hidden feature at this point that I need to figure out how to make a bit more easy to use.


Edited by Rick (08/15/08 08:39 AM)
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#216467 - 08/15/08 05:17 PM Re: News Item Truncated Puzzle [Re: Rick]
GEN™ Offline
member

Registered: 12/12/06
Posts: 108
Loc: GEN Basement
This is exactly what I've been wanting for a long time...thank you, thank you, thank you.

Works like a charm.

smile
_________________________
Stephen G
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.imperialblogspace.com

Top


Shout Box

Today's Birthdays
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
Shrinking graemlins
by Djuma
Today at 05:48 PM
2 problems I'm seeing now.
by DougMM
Today at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Today at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Today at 12:28 PM
Font and column shifts occuring
by Bill B
Yesterday at 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154962 Posts

Max Online: 978 @ 06/24/07 08:19 PM