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

expanding author information on posts page

Author anup
Registered
#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
Registered
#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 Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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