miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Making $topicAuthor and $postDate appear on main_posts.html

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

Is this easy to achieve?

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

Thanks,

Loz

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
Partaker
#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
Partaker
#5 | Posted: 26 May 2012 13:55 
It worked - thanks :)

Specific miniBB Support Forums / Specific /
 Making $topicAuthor and $postDate appear on main_posts.html
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑