miniBB Support Forums | 16 years on The Web
miniBB ®


 | Begin | Register | Reply | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

Showing "From (country)" profile's value in the thread

Author kelen
#1 | Posted: 17 Jun 2007 17:44 
Hi, please how i can show "From (country) above for example avatar?

i modify main_posts_cell.html with a adding {$l_userFrom} but it is not function :-( How i must modify it?


example :
nick : kelen
avatar/custom rank
from (country)

Author USB20
#2 | Posted: 17 Jun 2007 18:41 
OPEN setup_options.php and find:
$userInfoInPosts=array and add user_from, for example:


now OPEN main_posts_cell.html and add

sorry my bad english I speak spanish :P

Author Anonymous
#3 | Posted: 22 Jun 2007 07:14 
I don't want "From:" to show up if they haven't specified a location in thier profile. Would a simple if clause make it an easier fix, if user has location: print "From:", location

Author Paul
Lead Developer
#4 | Posted: 22 Jun 2007 10:17 | Edited by: Paul 
All you need to do is to create a corresponding function and let it parse the value given. For example:

function parseUserInfo_user_from($val){
if ($val!='') return 'From: '.$val;
else return '';

(paste this in bb_plugins.php file).

Author Anonymous
#5 | Posted: 23 Jun 2007 07:36 
This works excellent thanks a lot

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Showing "From (country)" profile's value in the thread
 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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.