Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:21 am EST

Geeklog Forums

title length of forum topics


t.bag

Anonymous
The forum overview on the homepage (the 5 recent posts) cuts the topic titles, which makes sense for layout reasons. But while you can see the topic titles in full length on the (actual) geeklog forum, on my forum, they have the same length as in the recent posts block , which doesn't look nice with all the space available. Now how can I prevent the topic titles from being shortened?
 Quote

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
In the Forum Settings, change the Title Length to 80 or 90 characters.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

t.bag

Anonymous
Hey cool, thank you (how could I overlook this?)

But there's no way to change the title length of the 5 recent posts, right? It's not that important, I'm just curious.
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Quote by t.bag: Hey cool, thank you (how could I overlook this?)



But there's no way to change the title length of the 5 recent posts, right? It's not that important, I'm just curious.


Why dun you, probably as the Admin. Edit the post. I believe that will work rite?
Die young, stay Pretty
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Quote by t.bag: But there's no way to change the title length of the 5 recent posts, right? It's not that important, I'm just curious.


Your are referring to the centerblock I think. This is a config option in the code for the block. Look in plugins/forum/functions.inc for the plugins_centerblock_forum function and change the setting for subject_limit.
Text Formatted Code

function plugin_centerblock_forum($where=1,$page=1,$topic ='') {
    global $_CONF, $_USER, $_TABLES, $LANG_GF01, $LANG_GF02, $mode, $order, $PHP_SELF;
    $post_limit="7";        // How many posts you want displayed
    $subject_limit="30";    // The length of characters of the subject you want displayed
    $pi_name = 'forum';     // Plugin name
    $img_dir = $_CONF['layout_url'] . "/forum/image_set";
    $retval = '';
 

Geeklog components by PortalParts -- www.portalparts.com
 Quote

All times are EST. The time is now 12:21 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content