Page Index Toggle Pages: 1 2 3 [4]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Adding new fields to member profile (Read 42409 times)
Ron
Junior Member
**
Offline


I'm SquisHED ;-)

Posts: 62
Location: Grand Rapids
Joined: Feb 8th, 2004
Gender: Male
Re: Adding new fields to member profile
Reply #45 - Feb 11th, 2004 at 5:24am
Print Post  
Totally confusing...

"This tutorial has been created by Gerlando - thx for your work!

First, you will want to open up "english.lng" Look for this line
Code:$txt{'749'} = "The 'number of posts' box can only contain digits."; 



and place your new item name here after this line, like so.
Code:$txt{'750'} = "Car Info"; 



Now update this line near the top.
Code:keys(%txt) = 749; 



to your new number count...
Code:keys(%txt) = 750; 

"

Says at aboe 749 - new item 750  (I already have a $text{'750'} after this line?

Then says edit something near the top (which I don't have) to my new count (what count? count of what).

Worthless to me and I'm generally pretty sharp at translating this stuff.

I'd love to get a mod that allows more user data. I'd like their full street, city, state, zip.


  
Back to top
WWW  
IP Logged
 
herozup
Senior Member
****
Offline


I can't feel my legs!

Posts: 282
Location: Canton
Joined: Feb 9th, 2003
Gender: Male
Re: Adding new fields to member profile
Reply #46 - Feb 11th, 2004 at 2:40pm
Print Post  
instead of doing this the hard way (the way you are) check out the extended profiles MOD. It will do all this from the comfort of the admin center
  

Learning Perl... one line of code at a time!
Back to top
 
IP Logged
 
ChiMoHe
Full Member
***
Offline


I love YaBB 2.2

Posts: 197
Joined: Apr 4th, 2007
Re: Adding new fields to member profile
Reply #47 - Mar 13th, 2008 at 2:42pm
Print Post  
How different is adding a field to user.vars in YaBB2.2?  If Someone has the time a tutorial for this it will be greatly appreciated.  I'm asking because I'm working on a mod with MyCenter_customLink_V1_Y2.2.mod as the starting point but I also want to be compatible with BlogCategory mod when it's ready for Y2.2 ... BlogCategory mod requires Extended Profiles MOD and I can't seem to figure out how to keep ExtendedProfiles from overwriting vars file thus removing the new $mynewfiled... Thanx in advance ... Chi

Edited:
ExtendedProfiles looks for $stealth then adds vars after ... so as long as you add $mynewfield before $stealth overwriting does not occure
« Last Edit: Apr 18th, 2008 at 3:33am by ChiMoHe »  

soundcloud.com/chimohe
Back to top
IP Logged
 
johan42
New Member
*
Offline


I Love YaBB 2!

Posts: 6
Joined: Jun 21st, 2011
Re: Adding new fields to member profile
Reply #48 - Aug 23rd, 2011 at 2:07pm
Print Post  
this is a great thread.. but I'm still a little confused and I want to make sure I'm doing everything I need to do before I start mod-ing...




--
Best flash chat

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 
Send TopicPrint