-
1 Attachment(s)
Remove Registration Completely?
I was able to remove the registration form from the login page by editing includes/templates/template_default/templates/tpl_modules_create_account.php but now it shows this new box that says "New? Please Provide Your Billing Information" (see attached screenshot)
How can I remove this?
-
Re: Remove Registration Completely
The short answer is "you can't".
You may be able to disable text from showing, but you need to provide some information when logging in - and Zen Cart is not currently set up to allow purchases without creating a customer account.
What exactly is your overall goal in the changes you are trying to do?
P.S. - You should never change any files in /template_default/. You should copy the file to a custom template folder (/your_template/, or whatever you want to name it) and edit it there.
-
Re: Remove Registration Completely
I'm trying to make it so that only the admin can register new users (I got a mod for the admin panel to do this)
I want users to be able to login and out but I don't want people to be able to register (the admin would do this for them)
-
Re: Remove Registration Completely
Quote:
Originally Posted by
ETbyrne
I'm trying to make it so that only the admin can register new users (I got a mod for the admin panel to do this)
I want users to be able to login and out but I don't want people to be able to register (the admin would do this for them)
So why not change the text and tell people in that box that they can only be added if they send you an email first?
-
Re: Remove Registration Completely
There are some settings in the admin which may help you:
admin>configuration>my store>store status
What is your Store Status
0= Normal Store
1= Showcase no prices
2= Showcase with prices
admin>configuration>customer details>customer shop status
Customer must be approved to shop
0= Not required
1= Must login to browse
2= May browse but no prices unless logged in
3= Showroom Only
admin>configuration>customer details>Customer Approval Status
Customer must be Authorized to shop
0= Not required
1= Must be Authorized to Browse
2= May browse but no prices unless Authorized
3= Customer May Browse and May see Prices but Must be Authorized to Buy
-
Re: Remove Registration Completely
Hi,
I am also trying to remove the registration form. The reason is that my business will be selling to local authority organisations and not to individuals.
Creating customer accounts through the SQL database is simple but I need to remove or hide the form below the returning customers login box.
Can the form below this area be amended and if so where ?
Thanks
Alan
-
Re: Remove Registration Completely
Hi again,
Just noted the file in the earlier post
tpl_modules_create_account.php
But the writer shows a new box appeared after this was modified. Can this new message box be disabled or modified.
Thanks
Alan
-
Re: Remove Registration Completely?
For Posterity, and to close up one of the thousands of abandoned Zen Cart posts (I arrived here attempting the same from Google):
There are any number of reasons why you wouldn't want users to register. Google Checkout Mod for instance registers people for you...if you're only offering GC then why would you want to allow registration? Likewise, if you're registering people yourself as the OP was...
Anyway, OP was off in their method, to prohibit the Registration option (tpl_modules_create_accout.php) from showing at all,
1. make a backup of your tpl_login_default.php
2. delete the follwing from tpl_login_default.php:
Code:
<?php echo zen_draw_form('create_account', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"') . zen_draw_hidden_field('action', 'process') . zen_draw_hidden_field('email_pref_html', 'email_format'); ?>
<fieldset>
<legend><?php echo HEADING_NEW_CUSTOMER; ?></legend>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION; ?></div>
<?php require($template->get_template_dir('tpl_modules_create_account.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_create_account.php'); ?>
</fieldset>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div>
</form>
3. re-up the file.
this way you're removing the entire call to FILENAME_CREATE_ACCOUNT, the 'box' and all.
Easy Peasy. Tested and working on 1.3.9h
-
Re: Remove Registration Completely?
An update to this thread for those looking to disable the registration form in Zen Cart but still have the customer login form available.
Another way to turn off the registration form but still have the login for returning customers is to use CSS. I found the div called #createAccountForm and in the CSS set this to display:none. It worked! There is no form and no box to allow registration, only the login form.
Sample code:
div#createAccountForm {
display:none;
}
Hope this helps!
-
Re: Remove Registration Completely?
I have tried this css code but cant really find this in my css stylesheet . And it doesnot works .. i really need to disable customer registration form
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
Bad Kitty Studios
An update to this thread for those looking to disable the registration form in Zen Cart but still have the customer login form available.
Another way to turn off the registration form but still have the login for returning customers is to use CSS. I found the div called #createAccountForm and in the CSS set this to display:none. It worked! There is no form and no box to allow registration, only the login form.
Sample code:
div#createAccountForm {
display:none;
}
Hope this helps!
Please tell me where is this in stylesheet ?
-
Re: Remove Registration Completely?
Add this to your stylesheet:
#createAccountForm {display: none;}
Should remove that section.
-
Re: Remove Registration Completely?
Hello thnx for your kind response , i dont want customers to register , i only want to show them login form , i want to send them username and password from backend .
" In style sheet i have added this code in the end , but its doesnot works : still showing the Registration form and working
-
Re: Remove Registration Completely?
Then we'll need to see a link to your site, as that rule works fine for me on a test site.
-
Re: Remove Registration Completely?
For us to advise on CSS hiding of the elements, we need to see the site live.
Echo echo echo... :)
-
Re: Remove Registration Completely?
, i need only login no registration form .link quickpharmas.com
-
Re: Remove Registration Completely?
Wanna hyde the registration form ! and only login details ..
-
Re: Remove Registration Completely?
Plzz tell me wat am i doin wrng? is this possible wat i need ?
-
Re: Remove Registration Completely?
Add to your stylesheet
Code:
#loginDefaultHeading+.floatingBox {display: none;}
worked for me on your site.
You might need to refresh your browser or clear the cache so you don't see a stale view.
-
Re: Remove Registration Completely?
That worked awesome ........ Now can i change its positon lyk the returning customers box to center . ! And i also want to add an heading to mentioning for password and username request .
-
Re: Remove Registration Completely?
Code:
#loginDefaultHeading+.floatingBox+.floatingBox {float: none; margin: auto;}
To change text, search in Tools > Developers Toolkit for a distinctive part of the existing text, like
In order to continue
or
Welcome, Please Sign In
This will show the file and line number where the text is defined.
-
Re: Remove Registration Completely?
A GREAT HELP >> THANX ... I was wondering to put an image beside or over the box .. is it possiblle ? image of a lock or key ?
-
Re: Remove Registration Completely?
It hides but its useless when i click on login without entering user/pass it shows registeration form
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
Code:
#loginDefaultHeading+.floatingBox+.floatingBox {float: none; margin: auto;}
To change text, search in Tools > Developers Toolkit for a distinctive part of the existing text, like
In order to continue
or
Welcome, Please Sign In
This will show the file and line number where the text is defined.
Can you plzz tell me how to fix it ? and also add image to it ?
-
Re: Remove Registration Completely?
http://www.zen-cart.com/content.php?...-files-to-edit
When you have found the file, download it to your home computer, open in a good plaintext or file editor like Notepad++ (NOT Word), edit, save and reupload to the template override folder on the server. You can include <img> tags to show an image, or put the image in the background of the element with a stylesheet rule. The tutorials have more articles on the template system; read and follow them.
-
Re: Remove Registration Completely?
Hello , I want to add image in Login box with css , any ideas?
-
Re: Remove Registration Completely?
Identify the CSS class or id that applies to the login box, and add a background-image to that.
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
Identify the CSS class or id that applies to the login box, and add a background-image to that.
I know u are best at CSS works ... please help me .. quickpharmas.com // i want to get both the boxes in middle of the pageor screen ... change their position to down /// you have a code for it ?
-
Re: Remove Registration Completely?
can it be done by float loginbox ?
-
Re: Remove Registration Completely?
-
Re: Remove Registration Completely?
okay just make it simple as Can i move both boxes a little bit down by positioning .. ? if yes .. how can i apply it in my stylesheet.css ?
www.quickpharmas.com
JUST NEED THIS !
-
Re: Remove Registration Completely?
Try this for starters:
Code:
#loginDefault>fieldset {margin-top: 9em; padding: 0 2em; border-radius: 2em; border: none; background: #8899ff; height:21em;}
#loginDefault>fieldset>legend {margin: 4em 0 0 0; background: transparent; font-size: 1.7em;}
#loginDefault>fieldset>form>input {border-radius: 0.7em;}
Adjust to taste.
It looks like you are currently making edits, as I just saw the font size jump, so your effect may be different from what I was playing with.
-
Re: Remove Registration Completely?
You can use relative positioning on the inputs and their labels to move them around, and a background image for the big sidebar with arrow. You would want some hover styling to make the inputs change background when you mouse over them. Apply some of the rules I posted, and I'll look at it again in the morning. I don't advise on issues by PM unless the info is sensitive; I will see any replies to this thread.
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
You can use relative positioning on the inputs and their labels to move them around, and a background image for the big sidebar with arrow. You would want some hover styling to make the inputs change background when you mouse over them. Apply some of the rules I posted, and I'll look at it again in the morning. I don't advise on issues by PM unless the info is sensitive; I will see any replies to this thread.
GREAT ... GOD BLESS YOU !
the thing is that can i add image in my stylesheet /?
The space above the boxes a banner and smthin lyk dat /.?
You are Great !
-
Re: Remove Registration Completely?
Its shwing correctly in IE and FF but not in GC ... also the last thing i want is to add a banner image on the top using CSS , only on the login page .. it should not showed up on home page just on login page ..
-
Re: Remove Registration Completely?
Can i show only one Login BOX with a Sign up hyperlink in it instead of 2 Boxes ?
-
Re: Remove Registration Completely?
Something I find amusing: on inspecting the "Web 2.0 Login" page, 100% of the "web 2.0" features are created by background images. There is really no use of modern CSS for this, just basic positioning and sizing.
Here is a set of rules that will get you most of the way to the layout you initially asked for. You need an image for the sign up and login buttons, and a background image for the split box with big arrow if you want that. (The split box and arrow might be achievable with pure CSS, but that gets pretty complex.)
Code:
#loginDefault h1 {display: none;}
#loginDefault>fieldset {margin-top: 1em; padding: 0 2em; border-radius: 2em; border: none; background: #8899ff; height:22em;}
#loginDefault>fieldset>legend {margin: 4em 0 0 0; background: transparent; font-size: 1.7em;}
#loginDefault>fieldset .information {margin-right: 6em;}
#loginDefault>fieldset>form>input {border-radius: 0.7em;}
#loginDefault #login-email-address {display: block; clear: left;}
#loginDefault br+.inputLabel {position: relative; top: -3.5em; left: 15em;}
#loginDefault #login-password {display: block; position: relative; top: -2em; left: -6em;}
#loginDefault #login-password+input+br+.buttonRow {position: relative; top: -2em; left: 2em;}
#loginDefault #login-password+input+br+.buttonRow+.buttonRow {margin-top: -1em;}
-
Re: Remove Registration Completely?
Quote:
Can i show only one Login BOX with a Sign up hyperlink in it instead of 2 Boxes ?
That is an admin setting: Configuration > Layout Settings > Use split-login page > true.
A CSS banner for the login page could be done with a background image:
#loginDefault {background: url(../images/your_login_banner.gif);}
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
That is an admin setting: Configuration > Layout Settings > Use split-login page > true.
A CSS banner for the login page could be done with a background image:
#loginDefault {background: url(../images/your_login_banner.gif);}
I have made changes .. but i cannot find class to change fonts and size in my css stylesheet . And last but not least its showing f9 in IE and MOZ .. but not in GC .. (Google Chrome)
-
Re: Remove Registration Completely?
Sorry missed a point typing it here .. can i get the background on full screen basis ? any css code ?
-
Re: Remove Registration Completely?
Do you mean you want the background to cover the whole screen behind the page, for the login page? You can style the body with
#loginBody {}
and it will only appear on that page. Note that other page elements that have backgrounds will cover this, so you may need to check those if you have problems with this.
-
Re: Remove Registration Completely?
Hello , is there any way to show banner behind login on whole page .. as here its only showing half-screen/page ...
www.quickpharmas.com
-
Re: Remove Registration Completely?
GREAT ! Can you fix that chrome thing !
-
Re: Remove Registration Completely?
I don't have Chrome, so can't advise on problems with it.
-
Re: Remove Registration Completely?
Okay .. i am pretty much interested in changing layouts ... can you suggest me how to find these classes for a particular web portions .. like logindefault .it changes the layout of login box ..
suppose i need to put a background colour in footer columns .. how can i do it in css ?
-
Re: Remove Registration Completely?
You need to study CSS and get a good uderstanding of how it works and what kind of rules/syntax to use. There are lots of places online for learning CSS, but that is not really on topic for here.
Firefox and its Web Developer or Firebug extensions will help you find the right elements, tags, etc. when you know what to look for.
-
Re: Remove Registration Completely?
Actually changing the layout may require editing PHP template files. There are some things CSS cannot do reliably, particularly in a dynamic site where the sizes of elements may change depending on circumstances.
-
Re: Remove Registration Completely?
Okay .. well i guess i have to learn the whole zen structure first .... time taking:ohmy: ..
Okay .. my next question is i want to show border for login boxes ..
and is there anything i can show inner color with gradient in css ?
-
Re: Remove Registration Completely?
You don't have to learn the whole Zen Cart structure to start making changes, but you do need to learn some CSS so you can understand how to restyle things rather than depending on other people for everything. This is a fundamental tool for website building, not restricted to Zen Cart.
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
You don't have to learn the whole Zen Cart structure to start making changes, but you do need to learn some CSS so you can understand how to restyle things rather than depending on other people for everything. This is a fundamental tool for website building, not restricted to Zen Cart.
I am making some changes .. but im stucked with chanding font color of the Heading of Boxes as MEMEBR LOGIN and NEW CUSTOMERS ...
is it with #loginDefault (Color:--- ) ?
-
Re: Remove Registration Completely?
You can use Firefox and Firebug to find exactly what selectors to use for those headings. Right-click on the heading, select "Inspect with Firebug", and it will show you the elements, ids and classes that apply, and all current style rules that apply.
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
You can use Firefox and Firebug to find exactly what selectors to use for those headings. Right-click on the heading, select "Inspect with Firebug", and it will show you the elements, ids and classes that apply, and all current style rules that apply.
Thnxxxx very much !
I can change CSS elements live ....wow ..
but the thing is wen i want to change text .. i am confused where to edit ?
-
Re: Remove Registration Completely?
Text is all contained in language define files (/includes/languages/your_language/...). You need to open the language file in a text editor like Notepad++ (NOT a word processing program like Word) and edit the defines, then save it to your custom template folder. See the tutorials for more details.
To find the file to edit, paste a distinctive snippet of the text you want to change in Tools > Developers Toolkit (top left field), make appropriate selections and search. Among the results will be the file and line number where the text is defined.
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
Text is all contained in language define files (/includes/languages/your_language/...). You need to open the language file in a text editor like Notepad++ (NOT a word processing program like Word) and edit the defines, then save it to your custom template folder. See the tutorials for more details.
To find the file to edit, paste a distinctive snippet of the text you want to change in Tools > Developers Toolkit (top left field), make appropriate selections and search. Among the results will be the file and line number where the text is defined.
Thanks ..
I hope if someone bring up with an idea of landing pages in zencart ...like this http://weddig-keutel.de/themeforest/flico/Green/#
-
Re: Remove Registration Completely?
that fieldset have issues with all brwosers except mozilla !
-
Re: Remove Registration Completely?
hello ,, can i get some loading animation when someone clicks on login button .. a loader or something ?
-
Re: Remove Registration Completely?
hello can you help me with this http://www.9lessons.info/2011/05/tab...-with-css.html ... i want to make my login box like this .. any css codes for zen
-
Re: Remove Registration Completely?
Can anyone tell me how to call javascript on particular pages on my shop .??
-
Re: Remove Registration Completely?
The tabbed login box requires jQuery as well as some PHP recoding in the login template file. It is a bigger project than a forum post can treat.
Putting javascript (or jQuery) in a particular page is done by saving the script file in the appropriate /jscript/ folder, with the filename prefixed with jscript_. See the wiki for details:
http://www.zen-cart.com/wiki/index.p...s_-_Javascript
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
The tabbed login box requires jQuery as well as some PHP recoding in the login template file. It is a bigger project than a forum post can treat.
Putting javascript (or jQuery) in a particular page is done by saving the script file in the appropriate /jscript/ folder, with the filename prefixed with
jscript_. See the wiki for details:
http://www.zen-cart.com/wiki/index.p...s_-_Javascript
Thank you for your kind response . Talking about javascript . now i have a javascript file . I have gone all through that wiki thing . Put that file in template/jscript folder . I amconfused where to put the images because in javascript code the path to images is img/yourimage1.jpg .. how can i make correct path .
Another thing is .. if i want to use that javascript in my home page can i use define pages editor/main page.php ? where should i put that code ? or if i want to use that script in my login page or login body ? what will be the files where i want to put that javascipt path code
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
gjh42
The tabbed login box requires jQuery as well as some PHP recoding in the login template file. It is a bigger project than a forum post can treat.
Putting javascript (or jQuery) in a particular page is done by saving the script file in the appropriate /jscript/ folder, with the filename prefixed with
jscript_. See the wiki for details:
http://www.zen-cart.com/wiki/index.p...s_-_Javascript
hello ,, i need this kind of login page with css . http://firefreebies.com/other-stuff/...mlcss-sources/ ..
plzz if you can help me it will be very good ...:)
-
Re: Remove Registration Completely?
any chance i can use external styling css scripts in my stylesheet.css ? will it work ?
-
Re: Remove Registration Completely?
What do you mean by "external styling css scripts"? The normal function of Zen Cart uses external stylesheets which simply means that the styling is in .css files instead of inline in the PHP/HTML files. Any stylesheet you save in your template's /css/ folder with a filename starting with "style" will be auto-loaded.
-
Re: Remove Registration Completely?
i mean to say like suppose i have a stylesheet.css file for some css buttons .. now i wantt o use that script which can automatically change my websites buttons .. what changes do i have to made it to work in my zencart ? if you need that file then i can upload it too
-
Re: Remove Registration Completely?
Quote:
Originally Posted by
studio009
i mean to say like suppose i have a stylesheet.css file for some css buttons .. now i wantt o use that script which can automatically change my websites buttons .. what changes do i have to made it to work in my zencart ? if you need that file then i can upload it too
If you rename the .CSS file that contains the styling for your buttons to stylesheet_css_buttons.css and place it in your template's css directory (/includes/templates/YOUR_TEMPLATE/css), it will be automatically loaded on every page by the standard Zen Cart CSS/JSCRIPT processing.
-
Re: Remove Registration Completely?
[QUOTE=lat9;1163062]If you rename the .CSS file that contains the styling for your buttons to stylesheet_css_buttons.css and place it in your template's css directory (/includes/templates/YOUR_TEMPLATE/css), it will be automatically loaded on every page by the standard Zen Cart CSS/JSCRIPT processing.[/QUOTE
quite helpful ... i am workin gon it ..
but can anyone help me with one thing which is .. www.quickpharmas.com ..
I need only one box instead of two ... and on that login box there should be a link sign up which will direct the new user to the registration page .. two boxes are seriously making me mad ..
any css code ?
-
Re: Remove Registration Completely?
Sorry I haven't been back to this thread sooner. Don't help studio009, and especially don't create an account on his site to see what he's supposedly asking about. You'll receive spam form him with no unsubscribe link and when you go to access your account on his site to change your email address, you won't be able to. He's nothing but a worthless phisher and spammer, and if he actually sells anything (I suspect he doesn't) he sells prescription drugs without a prescription, which makes him a criminal as well.
-
Re: Remove Registration Completely?
His site also only accepts PayPal (and Payza) Money Requests or Western Union for payment - need I say more ?