I was wondering if its better to display last post info for forums, in forum index by moving the post author to the second line giving more space for post title
(Link-4546) also
i ported my forum from vb so there was container forum with no posts , but has 3 child forums
now in forum index the topics/posts count for it is 0 ,
(Link-4548) hope if it possible to reflex the total count of child forum posts/topics instead
No opinions on the place of the name.
IIRC there is an option in the admin panel for that shows the counting of the 1st child level in the parent (I always forgot where the darn thing is, though. xD)
Thank you for pointing me to that option , yes i found it :
Administration Center > Forum > Settings : Count child's posts in parent's totals [check box]
This seems to be standard in my forum. :o
Hmm you must be using another theme other than default or a modified one
Or am i missing some native option which can do this for me?
@Jorin I see that you are using a custom theme , however no matter what customizing is done, length of the subject is the same, I think its limited to a $short_subject = 24 character , AND in your case = 14 since your (Antw.: ) and (...) are counted :o
Antw.: Deutsche Sprac...
123456789-123456789-1234
and it get worse in my Arabic language forum , so please anybody , if there is an option to control this setting let me know , or at least post some modification that solve this issue
I am using the default theme but with other colors. Didn't change the layout.
ok , any thoughts on my request , any help ?!!
BoardList.class.php:
$this_last_post['link'] = '<a href="' . $this_last_post['href'] . '" title="' . $row_board['subject'] . '">' . $row_board['short_subject'] . '</a>';
to:
$this_last_post['link'] = '<a href="' . $this_last_post['href'] . '" title="' . $row_board['subject'] . '">' . $row_board['subject'] . '</a>';
you get the whole thing.
Then, if you want to have the subject on its own line:
.lastpost_link {
display: block;
}
.board_lastposter {
display: inline;
}
.board_lasttime {
display: inline;
padding-left: 0.3em;
}
Or something like that.
@emanuele thanks for your help , very appreciated .
As you mentioned this will get the whole subject title , and broke the site look or at least shift many areas specially when window resized , not mentioning the mobile mode which will be completely screwed
So my last question about this issue before i give up on it for good , is there another fix which allow increasing the length of the displayed subject from the standard 24 character to something like 35 or 40 ?
You can open up Load.php in your /sources file.
Find
$modSettings['subject_length'] = 24;
and try other values. I'm not 100% sure that is used everywhere, but its worth a try.
I gave a general hint, not the solution.
TBH, I'm not that good with theming and fix all the possible sizes it would take me quite a bit of time...
It's not impossible, it just requires a bit of time.
ok , and thanks again for you help
@Spuds , yes that setting did the job , thank you for your help