Advertisement:

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

Superchap

  • Newbie
  • *
  • Posts: 13
How do I delete User Registration Fields?
« on: March 04, 2013, 12:02:20 am »
Hi All,

I have just managed to install OSclass 3.1 without any problems. I am a first time user so very new to this ad business. Now I have a problem I would like to tidy up. The User has to Enter a Mobile Phone number and a Web-site before they can register. Is there a way I can turn off these two fields from the dashboard?

Regards

Terry


Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #1 on: March 05, 2013, 06:48:36 pm »
Hi All,

I am thinking it is a waste time trying to use OSclass if I cannot get answers to my question. Is it because there are not enough Moderators or not enough experienced users.

I know have another question. Is it possible to add a category and listings under it.

I am not holding my breath of speedy answers.

Regards



 

kcguy

  • Full Member
  • ***
  • Posts: 103
Re: How do I delete User Registration Fields?
« Reply #2 on: March 06, 2013, 12:46:13 am »
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

+1

But I myself sometimes feel the same way as the original poster.  :o 8)

kcguy

  • Full Member
  • ***
  • Posts: 103
Re: How do I delete User Registration Fields?
« Reply #3 on: March 06, 2013, 04:53:48 am »
kcguy,
I do understand. I have also felt the frustration of needing something as quick as yesterday and still expect it for FREE but these guys have lives, family and jobs. Jobs that not only feed their families but earn them the cash it takes to put this all together and online. The "donation" income amount is a pentance and only the root developers get what little does come in. The contributers get ONLY the statisfaction knowing they helped. They also are spending time away from their families just to be treated disrespectfully by some of us.
Their goal is not to do it all but to assist us who are trying. They just hope we spend a little time to look over what they have GIVEN and try to do just a little for ourselves.

When ever I feel frustated I try to rememeber that.
Tom


+1
I do not think you could have said it really any better!!!!

kcguy

  • Full Member
  • ***
  • Posts: 103
Re: How do I delete User Registration Fields?
« Reply #4 on: March 06, 2013, 05:44:11 am »
Hi All,

I have just managed to install OSclass 3.1 without any problems. I am a first time user so very new to this ad business. Now I have a problem I would like to tidy up. The User has to Enter a Mobile Phone number and a Web-site before they can register. Is there a way I can turn off these two fields from the dashboard?

Regards

Terry

Edit user-profile.php in whatever theme you have going on. This is for the user dashboard area...

This is for hiding the mobile phone and not allowing them to change / update it. Should be around line 66

Change this
<div class="row">
                            <label for="phoneMobile"><?php _e('Cell phone', 'usa') ; ?></label>
                            <?php UserForm::mobile_text(osc_user()) ; ?>
                        </div>

To This
<input type="hidden" name="s_name" value="<?php UserForm::mobile_text(osc_user()) ; ?>" >



This is for hiding the phone and not allowing them to change / update it. Should be around line 69

 <div class="row">
                            <label for="phoneLand"><?php _e('Phone', 'usa') ; ?></label>
                            <?php UserForm::phone_land_text(osc_user()) ; ?>
                        </div>


To This
<input type="hidden" name="s_name" value="<?php UserForm::phone_land_text(osc_user()) ; ?>" >



This is for hiding the web site and not allowing them to change / update it. Should be around line 93

     <div class="row">
                            <label for="webSite"><?php _e('Website', 'usa') ; ?></label>
                            <?php UserForm::website_text(osc_user()) ; ?>
                        </div>


To This
<input type="hidden" name="s_name" value="<?php UserForm::website_text(osc_user()) ; ?>" >




Hope this helps....... 8)



Hi All,

I am thinking it is a waste time trying to use OSclass if I cannot get answers to my question. Is it because there are not enough Moderators or not enough experienced users.

I know have another question. Is it possible to add a category and listings under it.

I am not holding my breath of speedy answers.

Regards



 


I am not following your question.... Add it under what?





« Last Edit: March 06, 2013, 05:52:00 am by kcguy »

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #5 on: March 13, 2013, 12:47:19 am »
Hi All, I did not mean to be ungrateful but I have other free products and their forums have responded to questions a lot faster than this!

Let me answer kcguy's points firstly where do I find User-Profile.php? I have had a look at some of the PHP files and quite frankly they are a mess in notepad certainly not in an easily correctable format.

Secondly, I have managed to sent up a category called 'Free Items' now I would like sub categories like Ebooks, Videos, Software. I have not found out how to create sub categories. Any thoughts anyone.

Regards

tomshaft

  • Guest
Re: How do I delete User Registration Fields?
« Reply #6 on: March 13, 2013, 01:36:24 am »
User-Profile.php is located in your installation folder\\oc-includes\osclass\gui folder.

Creat a category. To make it a sub-category hover mouse over it at approximatly center to right area. Click left button and drag it on top another category. It will become the sub-category of that category.
 
Tom
« Last Edit: March 13, 2013, 01:37:56 am by tomshaft »

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #7 on: March 13, 2013, 07:03:18 pm »
Thank you tomshaft.

I know have all the answers I was looking for. Unfortunately the User-Profile is like all the other php files I have looked at I.E. a complete mess in Notepad, in no recogniseable order. I shall now have to a way of correcting this file in a way that is easy to do.

Thanks Again,

Regards

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #8 on: March 13, 2013, 07:49:03 pm »
Hi All Again, a quick re-visit,

I now know to load osclass php files into a html editor this makes them easily changeable.

Now regarding Kcguy's answer above I think this is either wrong or something is missing. I have tried changing the user-profile and it has no effect on the registeration process. I still get asked for cell phone and web-site. I suspect user-profile is the file that stores the information collected so what is stated above maybe correct for the storing but how do I delete the request for this information at the registeration stage? Any thoughts anyone?

One other irritation is the fact the user info I.E. User/Company box overlaps the outer box can I correct this?

Regards


Regards

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: How do I delete User Registration Fields?
« Reply #9 on: March 14, 2013, 07:05:49 pm »
The actual file you want to edit is the user-register.php file.

Which theme are you using? As I have not seen the user/company box overlap the outer box in the modern theme.

Jay

kcguy

  • Full Member
  • ***
  • Posts: 103
Re: How do I delete User Registration Fields?
« Reply #10 on: March 15, 2013, 02:30:06 am »
Hi All, I did not mean to be ungrateful but I have other free products and their forums have responded to questions a lot faster than this!

Let me answer kcguy's points firstly where do I find User-Profile.php? I have had a look at some of the PHP files and quite frankly they are a mess in notepad certainly not in an easily correctable format.

Secondly, I have managed to sent up a category called 'Free Items' now I would like sub categories like Ebooks, Videos, Software. I have not found out how to create sub categories. Any thoughts anyone.

Regards

My solution above is for not allowing them to change it in their user profile area.... NOT DURING THE REGISTRATION


Note pad smells bad when it come to editing any coding in my opinion.. There are other free ones that are much better with out spending the bucks that will work for you and make thing easier.

Try this out

http://notepad-plus-plus.org/

As far as during registration goes you need to look as Jay says,

Oclass / oc-Content / Themes / ( YOUR THEME ) and look for user-register.php ( there you can delete and make changes as you need )

Most all of your changes will be going into Oclass / oc-Content / Themes ( YOUR THEME )

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #11 on: March 17, 2013, 04:22:19 pm »
Hi All,

I am still not finding out where to change this. As I have said in my first listing I am using 3.1

There is a user-register.php in Oclass/oc-Content/Themes /modern/ but it not easy to understand how to change it I.E.

<div class="content user_forms">
            <div class="inner">
                <h1><?php _e('Register an account for free', 'modern'); ?></h1>
                <ul id="error_list"></ul>
                <form name="register" id="register" action="<?php echo osc_base_url(true); ?>" method="post" >
                    <input type="hidden" name="page" value="register" />
                    <input type="hidden" name="action" value="register_post" />

                    <fieldset>
                        <label for="name"><?php _e('Name', 'modern'); ?></label> <?php UserForm::name_text(); ?><br />
                        <label for="password"><?php _e('Password', 'modern'); ?></label> <?php UserForm::password_text(); ?><br />
                        <label for="password"><?php _e('Re-type password', 'modern'); ?></label> <?php UserForm::check_password_text(); ?><br />
                        <p id="password-error" style="display:none;">
                            <?php _e('Passwords don\'t match', 'modern'); ?>.
                        </p>
                        <label for="email"><?php _e('E-mail', 'modern'); ?></label> <?php UserForm::email_text(); ?><br />
                        <?php osc_run_hook('user_register_form'); ?>
                        <?php osc_show_recaptcha('register'); ?>
                        <button type="submit"><?php _e('Create', 'modern'); ?></button>
                    </fieldset>
                </form>
            </div>
        </div>

Any more ideas how to change this would be appreciated.

Regards

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #12 on: March 17, 2013, 07:42:02 pm »
Hi All,

This frustrating, I think someone has given the answer and when I try it it does not work.

I want to create sub categories. I followed the instructions above and it does not work. Occlass 3.1 tells me that if I want to create a Sub-Category I must first expand the category I want to create a sub category. Can someone please explain what does 'expand the category' mean.

Regards

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #13 on: March 18, 2013, 06:05:43 pm »
Hi All,

I am still pulling my hair out!

I have managed to expand a category and show all sub-categorys by clicking the > (second symbol in from the left of category name) but as an excercise I tried dragging a new category into an osclass preset category and it did not work, all it did was re-position the new category below the osclass directory. This is not want I want to do anyway. I have created a new category which cannot be expanded as there is nothing in it. I have created another category that I want as a sub directory of the first. I.E Two new categorys one a sub-directory of the other.

I take it that clicking the symbol > changes this to a V which is called expanding. But dragging a new category to try and place it into another category does not work. Even when the new category is expanded and I try and drag it I am still told it needs to be expanded!

There has to be another process or the script is at fault. Please advise which.

Regards

Superchap

  • Newbie
  • *
  • Posts: 13
Re: How do I delete User Registration Fields?
« Reply #14 on: March 18, 2013, 11:45:29 pm »
Hi All,

Hooray! I have finally got this problem sorted.

Here is what you do, I think!!!!!!, make sure both second symbols are pointing down by clicking on them of the categorys you are working on. Click and hold the first symbol, i.e. the cross, of the category you want a sub directory then drag that cross and put it over the TITLE of your main category it is to be a sub-category in and release. This should create the sub category. I tried draging to the cross of the category i.e. straight down but you need to drag at an angle so the cross is over the title of the main category.

I am now left with just one problem of how do I alter the customer registration screen to delete the sign up requirement of Web-Site and Mobile phone.  I have listed previously that the suggestions do not work. Has anyone any further thoughts how this is done in 3.1.

Regards