I used this to good effect, I tried a similar thing in the skin but this is much better. I did it your way....and I added some setting in the admin area to change the teaser length from the portal settings page. I need that since I use a lot of images in the portal and they always cut off too short and display the html.
Open up your acp and under admin tab>SQL Management> SQL toolbox - scroll down to run a manual query. assuming your using the standard
ibf_ prefix for the tables!
INSERT INTO `ibf_up_settings` (`name`, `value`) VALUES ('tease_length', '400');
Edit the file /public_html/forum/sources/action_admin/uportal.php
find the code below near line 309
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Number of Latest News Items to display:</b>" ,
$this->ipsclass->adskin->form_input( "num_latest_news", $GLOBALS['setting']['num_latest_news'] )
) );
Add Below that
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>How many charactors to show?</b>" ,
$this->ipsclass->adskin->form_input( "tease_length", $GLOBALS['setting']['tease_length'] )
) );
Open the file /public_html/forum/sources/action_public/uportal.php - same name as the admin file, diff folder!
Now do the same edit redalert did in NEWS not Latest news
find
while($fetch = $this->ipsclass->DB->fetch_row($query))
{
Add below
$fetch[post] = substr($fetch[post], 0, $GLOBALS['setting']['tease_length']).$this->ipsclass->lang['more'];
I also wanted to dress up the title of each block a bit so I added a line above that which puts an intro in front of the title "Featured forum post ::"
$fetch[title] = ($this->ipsclass->lang['news_main'].$fetch[title]);
Open up file /public_html/forum/cache/lang_cache/en/lang_uportal.php
stick in a new line in there somewhere with the others
'news_main' => "Featured Forum Post :: ",
'more' => ".....[more] ",