miniBB Support Forums | 16 years on The Web
miniBB ® 


 | Begin | Register | Reply | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /   

Adding a new user profile field

Author rivkadr
#1 | Posted: 2 Nov 2007 17:14 | Edited by: rivkadr 
Well, I followed the somewhat confusing instructions on this page: and I'm still having issues.

Basically, I did this:

1) Added a new field to the minibbtable_users called user_template
2) Modified setup_options.php with the following line:
3) Added the following to bb_plugins.php:

$query = "SELECT * FROM Templates";
$result = mysql_query($query);
while($row = mysql_fetch_array($result))
$id = $row['pkTemplate'];
$templates[$id] = $row['sTemplate'];


4) Modified user_dataform.html to have {$templateDropDown}

I'm getting the drop-down just fine -- I've viewed the source, and everything there is correct. What it's not doing is updating the value in the database. What did I forget to do?

Author Paul
Lead Developer
#2 | Posted: 3 Nov 2007 04:57 
The field should be named user_customtemplate i.e. it should contain the wording 'user_custom' at the beginning.

Everything else is your custom issue and we're supporting such issues only for the fee.

Specific miniBB Support Forums / Specific /
 Adding a new user profile field
 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
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.