15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Re-cycled miniBB Support Forums / Re-cycled /   

How can I change Latest Discussions amount and add new profile field?

Author Anonymous
#1 | Posted: 19 Dec 2005 16:13 
First one is, how can i set that only 3 last discusions would be shown? Because now i think it shows to much...

Second, how can i add new field in profiles wich would be shown in viewtopic? I tried by this topic minibb.com/forums/5_2171_0.html, but it didn't worked... I want to add field of GFX level, in db i altered "lygis" row where the info must be saved... I want that in profile there were drop down box with 3 or 4 choosments, and if user is choseen one of them it would be shown under his avatar in viewtopic...

Sorry for bad English:)

Author Team
#2 | Posted: 19 Dec 2005 17:28 
1) - RTFM $viewlastdiscussions

2) - you need to add that field in database, then set up it accordingly to our format in $dbUserSheme and in templates/user_dataform.html, then use $userInfoInPosts setting for displaying it in post. If you are PHP noob, don't even try it... it's not for newbies.

Author Paul
Lead Developer
#3 | Posted: 21 Dec 2005 12:35 
I would recommend you to take a look at the Gender solution in our downloads. It provides basic code for creating 'drop-down' value in user's form, so you'll need to change only a couple of strings. And also, add new field and specify it, too, as Team mentioned.

Author Anonymous
#4 | Posted: 24 Dec 2005 17:50 
Thanks for answers:) Now I want to know, is there a way to do autologin?


Author Team
#5 | Posted: 26 Dec 2005 14:53 
What do you mean by "autologin"? Some thing like this probably...

Re-cycled miniBB Support Forums / Re-cycled / How can I change Latest Discussions amount and add new profile field? Top

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

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

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
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB