miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
  
 | Begin | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   
 

expanding author information on posts page

 
Author anup
Partaker
#1 | Posted: 1 Oct 2005 22:00 
is it possible to add more informaiton in the author column (on the posts page), about the user who posted viz. country, no. of posts etc.

also, is it possible to add a field like "real name" regarding the user in the preferences - how?

thanks.

Author _Marco
Partaker
#2 | Posted: 2 Oct 2005 18:24 
Sure possible.

Edit setup_options.php like:
$userInfoInPosts=array($dbUserSheme['user_from'][1], $dbUserSheme['num_posts'][1]);

Edit main_post_cell.html like:
<br>{$userInfo_user_from[$poster_id]}
<br>{$userInfo_num_posts[$poster_id]} {$l_search[4]}


For "real name", you could use a custom field, like user_custom3

Edit user_data_form.html like:
<tr>
<td class=caption4 align=right valign=top>Real Name</td>
<td class=caption5><textarea name=user_custom3 class=textForm style="width:200px;height:50px;">{$user_custom3}</textarea></td>
</tr>

_Marco

Master Class miniBB Support Forums / Master Class /
 expanding author information on posts page
 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 our forum posting rules. If not, it may be locked or deleted 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
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP