1 of 2
1
custom fields
Posted: 20 February 2008 12:50 AM   [ Ignore ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

I previously created some custom fields before purchasing the User module. I would still like to use these fields. Is that possible with the module. If so, please explain.

Thanks

Profile
 
 
Posted: 20 February 2008 06:59 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

We’re talking about custom member fields are we not? If so, then User will work with those perfectly easily. Browse through the documentation. It should be fairly clear there.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 20 February 2008 08:05 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

From your documenation, the below works for drop downs:

<select name="state">
{select_state}
<option value="{value}">{value}</option>
{/select_state}
</select

But what about inputs? I have a field called company_name. Should {company_name} go in the name value?

<class="">Company Name 
 
<input type="text" name="{company_name}" value="" class="input" size="25" /> 
  </
p

Profile
 
 
Posted: 20 February 2008 09:20 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

If you’re referring to editing a profile, then yes, you should have the custom field variable in the value smile

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 20 February 2008 09:27 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

So then then the following would be correct:

<class="">Company Name 
 
<input type="text" name="company_name"  value="{company_name}" class="input" size="25" /> 
  </
p

Profile
 
 
Posted: 20 February 2008 09:28 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Correct smile

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 20 February 2008 09:33 AM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

Thanks!!  I think you should add that input example to your documentation. Just my friendly advice.

However, the Module works excellent!

Great Work!! It has saved me so much time. it worth the $89 just from a time standpoint. Too bad the EE membership templates don’t work like your module.

Profile
 
 
Posted: 20 February 2008 09:48 AM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

Hold on one quick minute. The correct code is as follows:

<class="">Company Name 
<input type="text" name="company_name"  value="" class="input" size="25" /> 
  </
p

the field name goes in the “name” field with out the curly brackets.

Profile
 
 
Posted: 20 February 2008 10:02 AM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18
therooster - 20 February 2008 09:33 AM

Too bad the EE membership templates don’t work like your module.

Hehe, I hope EE never catches on to this either raspberry :D

Are you using this code on a Register page or an Edit page?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 20 February 2008 10:05 AM   [ Ignore ]   [ # 9 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

I’ll be using the code on both a register and edit page. I just finished the basic coding of the register page and will do the basic coding for the edit. Afterward I’ll clean up, add styles, and some javascript code.

Profile
 
 
Posted: 20 February 2008 10:11 AM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Well then your code will look different for either:

Registration Page

<class="">Company Name: <input type="text" name="company_name" value="" class="input" size="25" /> </p

Edit Page

<class="">Company Name: <input type="text" name="company_name" value="{company_name}" class="input" size="25" /> </p

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 20 February 2008 10:14 AM   [ Ignore ]   [ # 11 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

Cool. Thanks!!

Profile
 
 
Posted: 20 February 2008 10:39 AM   [ Ignore ]   [ # 12 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

Can you suggest a way to create subscribing and unsubscribing to email newsletter in profile? I just want to use radio buttons.  I use freefrom in another place for that includes two fields.

Thanks in advance.

Profile
 
 
Posted: 20 February 2008 12:14 PM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

I’m not sure if this will work, but give it a shot:

<input type='checkbox' name='mailinglist_subscribe' value='your_mailing_list' checked="checked" /> 

EDIT - sorry, that would be for the Registration page…. you’d have to manipulate it for Edit Page… if it’ll work.

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 20 February 2008 01:07 PM   [ Ignore ]   [ # 14 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

Thanks, but it didn’t work. I checked the email list and the person was not registered.

I posted a question on the MatrixWatch site announcement and sent a email to the guy who developed modernmoms - but no answer yet.

Maybe you can ask them what they did. You might have a more “pull”!

Profile
 
 
Posted: 20 February 2008 01:15 PM   [ Ignore ]   [ # 15 ]
Newbie
Rank
Total Posts:  25
Joined  2008-02-19

Before I say it didn’t work, was your code for EE built in mailinglist or freeform?

Profile
 
 
   
1 of 2
1