PDA


View Full Version : Moving [Read More]


Syn
06-08-2004, 10:30 PM
Here's an easy mod if you don't like the [Read More] link next to the text and on it's own line - do the following:

Replace (around line 127):
$news['message'] = fetch_trimmed_title($news['message'], $vba_options['portal_news_maxchars']) . construct_phrase($vbphrase['read_more'], $vboptions['bburl'], $news['threadid'], $session['sessionurl']);

With:
$news['message'] = fetch_trimmed_title($news['message'], $vba_options['portal_news_maxchars']) . '<p>' . construct_phrase($vbphrase['read_more'], $vboptions['bburl'], $news['threadid'], $session['sessionurl'] . '</p>');

It's small, but it helps. :D
For a person who knows NOTHING about PHP, I'm glad I could do this.

SportsCenter
06-17-2004, 08:01 PM
...what file do you have to edit? :x

Chuckie
06-17-2004, 09:04 PM
...what file do you have to edit? :x

modules/news.php

Syn
06-18-2004, 12:56 AM
Heh, oops sorry about that. ^_^

Chuckie
06-19-2004, 02:10 PM
For the few that get the Page cannot be displayed error after clicking the read more you can fix that by changing to this code.


$news['message'] = fetch_trimmed_title($news['message'], $vba_options['portal_news_maxchars']) . '<br>' . '<br>' . construct_phrase($vbphrase['read_more'], $vboptions['bburl'], $news['threadid'], $session['sessionurl']);

yahoooh
10-25-2005, 06:12 AM
What?