minibb®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Master Class miniBB Community Forum / Master Class /

Adding new user profile field (Full name)

 Page:  ««  1  2  3  4  »» 
Simon_B
Forums Member
#31 | Posted: 6 Sep 2005 21:46
Reply 
I think something went wrong, I'll try again.

I think you'll have to register to see the problem in full. That is because a registred user can see the custom field (Fulde navn) but when you view others profile you can't see the custom field.

You can find a list of registred users under the link: Registrerede bruger at the bottom of the main forum page.
Team
8-)
#32 | Posted: 6 Sep 2005 21:57 | Edited by: Team
Reply 
Hmm... I've registered - but could you update the latest version of bb_func_usernfo.php and put it there?

I don't see this field even in your profile.
Simon_B
Forums Member
#33 | Posted: 6 Sep 2005 21:59
Reply 
I'll try....
Simon_B
Forums Member
#34 | Posted: 6 Sep 2005 22:02
Reply 
I have now done that, no change.
Team
8-)
#35 | Posted: 6 Sep 2005 22:05
Reply 
I've noticed... $l_usrInfo[12] - that's what you need to set in language pack if you have default user_custom1 for this field.
Simon_B
Forums Member
#36 | Posted: 6 Sep 2005 22:09
Reply 
Did that, still no change
Team
8-)
#37 | Posted: 6 Sep 2005 22:16
Reply 
Hmmm... it absolutely works on my test server with $l_usrInfo[12]='Something'; for example if specified in language pack. Are you sure you have put this in language pack?
Simon_B
Forums Member
#38 | Posted: 6 Sep 2005 22:21
Reply 
I'm sure. I have justed checked it again. It say $l_usrInfo[12]='Fulde navn/Fullname'; in the Danish and English language packs.
Team
8-)
#39 | Posted: 6 Sep 2005 22:27
Reply 
Ok.

Try to set this function in bb_plugins.php:

function parseUserInfo_user_custom1($val){
return $val;
}
Simon_B
Forums Member
#40 | Posted: 6 Sep 2005 22:33
Reply 
Unfortunately nothing changed for the better :-(
Team
8-)
#41 | Posted: 6 Sep 2005 22:45
Reply 
I can not suggest anything more. If you could provide temporary FTP for the server, contact Paul ghappa [at] gmail.com so he could help you more on that, if he will be able to take a look at the files.
Simon_B
Forums Member
#42 | Posted: 6 Sep 2005 22:54
Reply 
My server is located elsewhere and I only have one set of codes for accessing it. I'm workning on moving my server home, and then I can grant temporary access to others.

I really appreciate the time you've spend on my problems :-)
Team
8-)
#43 | Posted: 6 Sep 2005 23:07 | Edited by: Team
Reply 
Anyway I will check on this later tomorrow more. Because everything should work, since it is working on my server. There is nothing so specific here in that function.
Team
8-)
#44 | Posted: 7 Sep 2005 12:25 | Edited by: Team
Reply 
So, I have checked this, and I am sure it is working with default miniBB installaton latest release 2.0 RC4b. You can see an example on our forthcoming test demo version:

http://minibbtest.virtualis.lv/index.php?action=userinfo&user=1

"Real name" is the field under "user_custom1" in database.

I have just added in user_dataform.html:

<tr>
<td class=caption4 align=right valign=top>Real name</td>
<td class=caption5><input type=text name=user_custom1 maxlength=15 size=20 value="{$user_custom1}" class=textForm style="width:200px;"></td>
</tr>

and put $l_usrInfo[12]='Real name';
in lang/eng.php that's all. And it's working.

So the problem is somewhere on your side, sorry.
Simon_B
Forums Member
#45 | Posted: 7 Sep 2005 21:26
Reply 
I have made another update, and know it actually works :-) Thank you!

But my problems never seem to stop. How can I get the custom field at the very top when viewing a users profile?

I have the Full name field at the bottom, I would like it to be higher up - best above login name and regdate.
 Page:  ««  1  2  3  4  »» 
Your reply
Bold Style  Italic Style  Image Link  URL Link 


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

Before posting, be sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 28
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®