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.......
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?