Only show 'login or register to post comments' once, allow configuration of columns shown in topic list using Admin interface

Created on 18 May 2006, about 18 years ago
Updated 4 May 2024, about 2 months ago

Actually to configure the columns available for topics in a forum list, we need to override the function theme_forum_topic_list() and reproduce the same code, but removing or adding a column.

Because there is a global variable $forum_topic_list_header with the available columns, there could be an option in the forum configuration with a list of available columns, from where we can choose those we want to be visible in the topics list.

Also, there is a fixed value of "25px" in the theme_comment_thread_min() and theme_comment_thread_max() to create a margin and then show a thread. This value should be dinamic, and not force the override of these functions just to change the value.

About the theme_comment_post_forbidden() we need to override it to clear the message "login or register to post comments". The problem is that if we have several comments in a page, these message appears on all comments, cluttering the page with messages that should only appear once.

Any thought?

✨ Feature request
Status

Active

Version

2.0

Component

forum.module

Created by

πŸ‡¬πŸ‡§United Kingdom magico

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024