The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

31.07.10 at 09:43:23, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 3 4 
Adding new fields to member profile (Read 11550 times)
Ron
Hacker Wannabe
**
Offline

Grand Rapids, Michigan, USA
Posts: 62



Reply #45 - 11.02.04 at 05:24:29  
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.


 
IP Logged
 
herozup
Hacker Expert
****
Offline

Canton, Ohio, USA
Posts: 282



Reply #46 - 11.02.04 at 14:40:28  
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
 
IP Logged
 

Learning Perl... one line of code at a time!
ChiMoHe
Fulltime Hacker
***
Offline

, New Hampshire, USA
Posts: 171



Reply #47 - 13.03.08 at 14:42:12  
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: 18.04.08 at 03:33:40 by ChiMoHe »  
IP Logged
 
Pages: 1 2 3 4 
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum