15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Making $topicAuthor and $postDate appear on main_posts.html

Author lozmatic
#1 | Posted: 21 May 2012 14:54 

Is this easy to achieve?

Id like to add the topic's author and date posted before the first post (where the details appear).



Author Paul
Lead Developer
#2 | Posted: 21 May 2012 18:26 
The first post already contains the same information - so I'm not quite sure what to duplicate if for basically in the nearest place?
Anyway you may try to paste {$topicData[3]} (topic poster's name) and {$topicData[8]} (for topic's creation time) in the template, it may work. Also you may use a little code in bb_plugins.php to operate these values, coding a simple add-on by the if($action=='vthread')... condition.

Author lozmatic
#3 | Posted: 22 May 2012 02:05 
Hi Paul,

My layout is very different from the standard - I have the post's title at the very top in a big font and would like to have the author's name under it (just like you see on news articles, for example).

Thanks for your help - I'll try this later today and think can figure out the bb_plugins'php bit :)

Author Paul
Lead Developer
#4 | Posted: 26 May 2012 11:30 
Ok, let me know if it helped.

Author lozmatic
#5 | Posted: 26 May 2012 13:55 
It worked - thanks :)

Specific miniBB Support Forums / Specific / Making $topicAuthor and $postDate appear on main_posts.html Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB