2011-08-11, 08:51 PM
2011-08-11, 11:24 PM
ACP > Templates > Your theme's templates > Forumdisplay Templates > and;
Open
Open
Open
Now within the same
Open
Open
Open
Now it should become like this;
[attachment=23785]
Open
forumdisplay_announcements_announcement
template, and find;<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
and Add the following code just Before that;<td align="center" class="{$bgcolor}"><div class="author smalltext">{$announcement['profilelink']}</div></td>
Open
forumdisplay_thread
template, and find; <td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
and Add the following code just Before that; <td align="center" class="{$bgcolor}{$thread_type_class}"><div class="author smalltext">{$thread['profilelink']}</div></td>
Open
forumdisplay_threadlist
template, and find; <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
and Add the following code just Before that; <td class="tcat" align="center" width="7%"><span class="smalltext"><strong>Author</strong></span></td>
Now within the same
forumdisplay_threadlist
template, find; <td class="thead" colspan="{$colspan}">
and Change {$colspan} to 9, like this; <td class="thead" colspan="9">
Open
forumdisplay_announcements
template, and find;{$colspan}
and Change it into;9
Open
forumdisplay_sticky_sep
template, and find;{$colspan}
and Change it into;9
Open
forumdisplay_threads_sep
template, and find;{$colspan}
and Change it into;9
Now it should become like this;
[attachment=23785]
2011-08-12, 10:46 AM
Well it works fine!
The problem is that under the threads title still there is author of the thread.
The problem is that under the threads title still there is author of the thread.
2011-08-12, 10:59 AM
Remove this from the forumdisplay_thread template:
<div class="author smalltext">{$thread['profilelink']}</div>
2011-08-12, 01:55 PM
Thank you!
2011-11-26, 08:37 AM
This is a great thread. I added author columns to my forum. Now I wonder if there a way you can add a author column to search results?
2011-11-26, 10:07 AM
^ you have to modify below templates
search_results_posts , search_results_posts_post , search_results_threads , search_results_threads_thread
search_results_posts , search_results_posts_post , search_results_threads , search_results_threads_thread
2011-11-26, 02:32 PM
What code would I put in those templates?