Notifications
Clear all

wpForo 1.x.x [Solved] Topic description is not at top

2 Posts
2 Users
1 Likes
3,030 Views
Posts: 10
Topic starter
(@xcalizorz)
Active Member
Joined: 5 years ago

Hi,

my QA Layout looks like this:

Category -> Main Forum -> Many Sub Forums (~30)

Every user can create a topic in the Main Forum and in all Sub Forums, which works fine.
The problem is, that the button to add a topic in the main forum is at the bottom.

And with approx. 30 sub forums, one would have to scroll a lot to get to the bottom..
Is there a way to insert the topic description and the button at the top - as is with all sub forums.

Category:
https://ilm-forum.de/ilm/

Main Forum:
https://ilm-forum.de/ilm/hanafiya/

1 Reply
Sofy
Posts: 4233
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @xcalizorz,

Please follow the steps below:

1. In the current active theme folder, create a new folder called /wpforo/

2. copy the following file 

wp-content/plugins/wpforo/wpf-themes/classic/index.php

to 

wp-content/themes/yourtheme/wpforo/classic/index.php

3. In copied file go to 40 line, find the following part of the code:

include( wpftpl('forum.php') );
if( WPF()->current_object['template'] === 'topic' ){
include( wpftpl('topic.php') );
}

4. replace with the following one:

if( WPF()->current_object['template'] === 'topic' ){
include( wpftpl('topic.php') );
}
include( wpftpl('forum.php') );

The copied file will now automatically override the wpForo default theme file. All changes in this file will not be lost on forum update.

IMPORTANT: Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.