Advertisement:

Author Topic: How do I delete User Registration Fields?  (Read 62034 times)

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #15 on: March 28, 2013, 12:19:27 am »
Hi All,

I am still hoping someone can tell me how I change the Register User Signup on V3.1 I have listed on page 1 what I found when I looked at what someone said. It was not straight forward for easily changing. I just want to delete some of the information listed.

Regards

Heartwood

  • Newbie
  • *
  • Posts: 2
Re: How do I delete User Registration Fields?
« Reply #16 on: March 28, 2013, 06:39:05 pm »
Hi Terry

The code you showed for user-register.php does not have any of the registration fields you're talking about wanting to remove, so either you're using a different theme than the 'modern' theme (which is where that user-register.php file comes from), or I'm not understanding what point in the registration process you're talking about.

I'm new to OSClass myself, but very familiar with tweaking php files (for things like WordPress). I don't know if there is any theme or plugin that allows you to disable a registration field requirement from within the dashboard, but if we can pinpoint the file that's responsible for the requirements you want to remove, I can help you remove them from that file. It's likely the user-register.php file of the theme you're using (assuming you're not using the 'modern' theme).

So, to help you I'd have to know:
  • what theme are you using?
  • what is the URL of the page that has the requirements you want to remove?


 :)
Marian

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #17 on: April 02, 2013, 12:03:25 am »
Hi All,

Thank you Marian for replying, As you can see I have been asking this question for quite a while. I have followed or I think I have followed what everyone has said and not yet found where to change the register screen. I am reasonably able to understand html but I just need someone to tell where is the right place to find the Register user file.

My site is at www.ad-site.co.uk

To Register an account for free they are asked for:-

Name
Password
Re-type password
E-mail
User type
Cell phone
Website

I Want to delete the cell phone and website and when I find the file I hope to change the width of the 'user type' box, it is too wide!

Any help would enable to move forward on this set up.

Regards

Terry

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: How do I delete User Registration Fields?
« Reply #18 on: April 02, 2013, 12:12:11 am »
Hi Terry,

The user type, cell phone, and website fields are not default fields. I wonder if maybe you have a plugin installed that is adding these fields.

The default fields on the registration form are

Name
Password
Re-type password
E-mail

Jay

Heartwood

  • Newbie
  • *
  • Posts: 2
Re: How do I delete User Registration Fields?
« Reply #19 on: April 02, 2013, 03:18:43 am »
Based on your html source code, it looks like you're using the "Required Fields at Registration" plugin. The file to edit is this one:
oc-content/plugins/requiredreg/form.php

By default, this has the cell phone, user type, and website as fields that are displayed and required. The instructions at the top of the file are "<!-- uncomment those fields you want to use, uncomment next line if you want to use drop-down menus for location -->" but it doesn't remind you that you can also do the reverse, i.e. comment out anything you don't want to use.

To comment the part you don't want to use, you have to add this in front of it:
<!--
and this right after it:
-->

So if you want to comment out the cell phone field, change this:

<label for="phoneMobile"><?php _e('Cell phone', 'modern') ; ?></label>
<?php UserForm::mobile_text() ; ?>
<br />

into this:

<!-- <label for="phoneMobile"><?php _e('Cell phone', 'modern') ; ?></label>
<?php UserForm::mobile_text() ; ?>
<br /> -->

If you want a field to be available at registration but not required, first you uncomment it and then, in the javascript part of the file at the bottom, I think you can just change the "required: true" to "required: false" in the line corresponding to the field you want to use but not require. So for the mobile phone, this line:

 $("#s_phone_mobile").rules("add", {required: true, messages: { required: "Mobile phone is required" }});

would get changed to this:

 $("#s_phone_mobile").rules("add", {required: false, messages: { required: "Mobile phone is required" }});

Either that or else you have to comment it out like this:

/*  $("#s_phone_mobile").rules("add", {required: true, messages: { required: "Mobile phone is required" }}); */


Give it a try and see if it works. If it doesn't, let me know and I'll see what else you could try.
:-)
Marian

BRYAN

  • Jr. Member
  • **
  • Posts: 57
  • Beef Ruins Yet Another Nation
Re: How do I delete User Registration Fields?
« Reply #20 on: April 04, 2013, 01:47:01 pm »
I am not being mean here  -  Really, I'm easy going so please take this as friendly advice.
First, this is FREE. No one is being paid and are under no obligation to help. We help hoping we get help.
Second, your question suggests you haven't bothered to look over the admin section. Those who help themselves get help. those that appear to not bother get the same. Human nature.
You create categories under Categories.
You allow post to categories under "Show More","General Setting",
 
Looking forward to helping you ALWAYS if I can.
 
Tom

Shaft, why do u Capitalize or even mention FREE word, what is it with everyone here about that FREE, what do u want to get paid or something. I do everything for FREE too so, i designed sites for people FREE, helped others that mailed me here and asked questions as much as i could FREE, on other forums i also helped FREE,  i been designing flash intros for users back in the day on flashkit FREE even at work i helped my boss on weekends for FREE , if i make a site for ads it will be FREE.

tomshaft

  • Guest
Re: How do I delete User Registration Fields?
« Reply #21 on: April 04, 2013, 02:22:28 pm »
@Bryan,
What are you talking about but more important, what is your problem.
 
As for free. I've been involved since Fortran (Befoe DOS) and have given hundreds of full websites, website designs. full featured programs, set up BBS and much, much more ALL for free. Likely over the years unknowing to you that YOU have used a couple of my programs if you where around during dos and windows 3.0.
 
I state "free" in my "free" theme layouts that I have contributed because there are themes posted that are not "free".
 
Like others, I sometimes state "free' within a post because there are those that do charge for assistants.
 
Don't know and don't care how you do things on other forums but no matter how hard you look you'll not find ANYONE slamming another on THIS forum.
 
The point I and others are trying to make to some is to be understanding and have manners. After viewing a few of your post, Please learn that LAST word.
 
Tom
« Last Edit: April 04, 2013, 07:22:19 pm by tomshaft »

BRYAN

  • Jr. Member
  • **
  • Posts: 57
  • Beef Ruins Yet Another Nation
Re: How do I delete User Registration Fields?
« Reply #22 on: April 04, 2013, 06:43:40 pm »
so hold on, someone says we give slow responses and u slamming him with FREE word to teach him manners. u missed my point, i wasnt saying what i did free to tell u i do free stuff too or to show off what i did free, i said that to tell u we all do stuff free we know that these guys help us free here, but i dont point out to anyone even if he is a jerk that im helping him free and you did point that out. and the most important i dont have any problem, i have great manners and I don't point out to anyone that im helping him FREE or that i been around longer then him and that that gives me right to do it.
« Last Edit: April 04, 2013, 06:52:02 pm by BRYAN »

BRYAN

  • Jr. Member
  • **
  • Posts: 57
  • Beef Ruins Yet Another Nation
Re: How do I delete User Registration Fields?
« Reply #23 on: April 08, 2013, 11:49:33 pm »
Hey shaft, im sorry for busting your balls dude, i dont hate u or anything in fact i think u r cool, i just get angry sometimes when i see people stating that something is FREE because open source is all about free so i think they should also know that everyone here is exactly for that reason no need to tell them, they know. Im sorry if i made an issue, peace bro.

tomshaft

  • Guest
Re: How do I delete User Registration Fields?
« Reply #24 on: April 09, 2013, 01:03:45 am »
I undertsand. Problem is --- Not everyone here is for "free". many want and take but then charge for themes, assistants or whatever.
 
I take a strong stance that open source should be exactly that. If I can help for "free", I would be happy too but I expect to see those I help help others back for "free". mmcsus, myself and others are gently trying to make that point.
 
I have also been PM'ed asking how much for something I've done or how much for something to be done so I state free whenever it may appear that there could be a fee.
Same for trains, mmcsus and others.
 
In case you don't know even the Osclass developers do it free and will for a fee. They are the only ones that should charge. My opinion.....
 
Thanks for the reply. It goes a long way knowing there are some out there that ain't there with their hand out.
Tom
« Last Edit: April 09, 2013, 01:05:29 am by tomshaft »

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #25 on: April 09, 2013, 07:25:00 pm »
Many Thanks Heartwood.

You have pointed me in the right direction. I did in fact have the required fields plugin. I have disabled this and now have the registration setup as I want.

Thank you everyone for your assistance.

Regards

Terry

falzon.emanuel.john@gmail

  • Newbie
  • *
  • Posts: 1
Re: How do I delete User Registration Fields?
« Reply #26 on: September 16, 2015, 02:59:04 pm »
Hey guys I would like to change existing fields to my new fields

 or else

make new customized fields and delete the existing one.

Thanks guys