Zen Cart Logo

removing login info

Locked

Views: 32,350

Results 121 to 140 of 141
This thread is locked. New replies are disabled.
12 Jan 2007, 9:02 PM
#121
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

removing login info

The bulk of my contribution is just an explanation of how to make the template changes. The actual code to allow optional password was from PaulM. And then after playing around, I figured out how to allow duplicate emails. I don't even feel right calling it "my" contribution. I feel more like I just gathered information for you and zipped it up. :smile:

To make it work, you really only need to edit 3 files, and they are very small edits. Everything else was just changes to the templates, like removing the login fields, password fields, etc. Not a really big deal, but better done on a sample cart first so you can get the idea of whats going on. When it comes down to it, if you are capable of editing tpl files and you understand what you are doing when you make those edits, its really quite simple. And I'm always here to help.

22 Jan 2007, 9:39 PM
#122
cmcgaugh avatar

cmcgaugh

New Zenner

Join Date:
Dec 2006
Location:
Escondido, California
Posts:
38
Plugin Contributions:
0

Re: removing login info

craftzombie:

To make it work, you really only need to edit 3 files, and they are very small edits. Everything else was just changes to the templates, like removing the login fields, password fields, etc. ...And I'm always here to help.

Thanks! we really appreciate it!

I created a new sample cart (locally on my machine), and substituted all the php files you provided, putting them
in the correct folders, and created "custom" folders where necessary with
the new files as well. The template I'm using is called "Custom" and I
chose it via Admin panel.

After all that, it still shows the Login at top left, and the Login link in
the middle....there are no account links, though.

Is that how it should look initially? I just need to know if I'm on the right
track before I can it and start over.

:unsure:

22 Jan 2007, 10:02 PM
#123
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: removing login info

cmcgaugh:

Thanks! we really appreciate it!

I created a new sample cart (locally on my machine), and substituted all the php files you provided, putting them
in the correct folders, and created "custom" folders where necessary with
the new files as well. The template I'm using is called "Custom" and I
chose it via Admin panel.

After all that, it still shows the Login at top left, and the Login link in
the middle....there are no account links, though.

Is that how it should look initially? I just need to know if I'm on the right
track before I can it and start over.

:unsure:

Hello! I'm not sure unless I look at it, which I can't do since its not online. :down:

When you say the login is at the top left, do you mean the top left of the entire site (in a sidebox) or the top left of the login page? And the login link in the middle.... is this on the login page or is this on every page underneath your header? The template changes I provided were basically the template changes I made to my personal site. Everyone will have different changes to make depending on your layout. I do not use the login sidebox or the links underneath the header. These things are turned off in the admin, not edited out in the templates.

23 Jan 2007, 1:54 AM
#124
cmcgaugh avatar

cmcgaugh

New Zenner

Join Date:
Dec 2006
Location:
Escondido, California
Posts:
38
Plugin Contributions:
0

Re: removing login info

23 Jan 2007, 2:58 AM
#125
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: removing login info

cmcgaugh:

Here's a screenshot

:smile:

I removed these links so early on in my design that I forgot all about them when I put the mod together.

For the top left corner, you can remove/edit those links in includes\templates\YOUR_TEMPLATE\common\tpl_header.php (the ones in red) toward the top of the page:

    
<ul class="back">
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
      } else {
        if (STORE_STATUS == '0') {
?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>

<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>

and the for the middle of the page where it says "Welcome Guest..."

I believe that is in admin > config > layout settings > Customer Greeting - Show on Index Page > set to "0"

but don't quote me on that!

23 Jan 2007, 10:09 AM
#126
cmcgaugh avatar

cmcgaugh

New Zenner

Join Date:
Dec 2006
Location:
Escondido, California
Posts:
38
Plugin Contributions:
0

Re: removing login info

...thanks! I'll give it a try asap. :happy:

9 Apr 2007, 5:55 PM
#127
wdburns avatar

wdburns

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: removing login info

Goto: includes/languages/CUSTOM/english.php

Edit out the * at line 241

define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

9 Apr 2007, 5:59 PM
#128
wdburns avatar

wdburns

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: removing login info

Goto: includes/languages/CUSTOM/english.php

Edit out the * at line 241

define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

9 Apr 2007, 6:09 PM
#129
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: removing login info

IF you do what was just suggested you will windup with undefined text on the page,

never comment out or delete anything from a language file,

13 Apr 2007, 5:39 PM
#130
cjjune avatar

cjjune

Zen Follower

Join Date:
Apr 2007
Posts:
139
Plugin Contributions:
0

Re: removing login info

hi

how do i disable creating an account when a click to "Write a Review" and "Tell A Friend" is made?I just want to go straight to their respective page. How? How? Please help.:frusty:

13 Apr 2007, 6:27 PM
#131
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,808
Plugin Contributions:
15

Re: removing login info

Don't know right off about write a review BUT,

If you allow visitors to tell a friend without logging in, you are in essence becoming an email relay for anyone who wants to spam the world. Don't be surprised if you show up on a relay server list and emails start disappearing.

13 Apr 2007, 7:28 PM
#132
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: removing login info

Hello! This mod requires that you

-remove any links that take customers to the login page
-disable features such as writing a review/tell a friend if it takes customers to the login page

If you still want to use these features, as well as gift certs or other login-required features, I suggest using the optional account mod, not my mod.

(please note that I do not use the above mentioned features so I do not know about their ability to be used without logging in. if anyone else does, please respond :smile: )

CJJUNE:

hi

how do i disable creating an account when a click to "Write a Review" and "Tell A Friend" is made?I just want to go straight to their respective page. How? How? Please help.:frusty:

14 Apr 2007, 2:27 AM
#133
cjjune avatar

cjjune

Zen Follower

Join Date:
Apr 2007
Posts:
139
Plugin Contributions:
0

Re: removing login info

thanks craftzombie

anybody???
Which part of the code should i change?:blush:

11 Jun 2007, 7:50 AM
#134
johnk avatar

johnk

New Zenner

Join Date:
Feb 2005
Posts:
56
Plugin Contributions:
0

Re: removing login info

I'm almost afraid to say this, but I also want a registration form that asks for a:

Given name
Surname
Email address
password

and absolutely nothing else!

Before anyone starts telling me I'm crazy and that my site will be a massive security risk, I would like to remind you that a screwdriver is designed to insert and remove screws, but it can also be used to remove paint tin lids, dig holes in the ground, short out starter motors when you've lost the ignition key, plus a million other things. In fact, I could write a book on "Things you can do with a screwdriver" and another book on "Things you can do with Zencart". In other words, although Zencart is designed to be a on-line retail store, with a little imagination it can be many other things also. The contributors who started this thread were seeking help to make their store work a little differently and now I'm here also seeking a little bit of help. If you only want to offer criticism, please ignore this post.

I do not wish to run Zencart as a retail store. I'll be using it as a reference resource for people interested in a certain piece of computer software. There are several thousand sites out there with something to offer the users of this software, but a Google search will only find some of them.

I'll be using Zencart like an on-line book store. Each catalogue page will have a photo, a brief description and a link to the site concerned. My users will spend hours searching the catalog for things they need. When they find what they want, they may wish to return to that reference again and again. They could bookmark the pages I guess, but I want them to return to my site and navigate back to their bookmarked pages via the little shopping cart that appears in the side boxes.

Now here's the catch. The little shopping cart, and its big brother buried within the program only last for a few hours unless the user is registered and logged on. From what I can gather, the time the information lasts for non-registered users is controlled by a cookie, but I can't find out where it's hidden. I've previously wrote to these forums but never received an answer. I also contacted the OsCommerce and Loaded forums, but no one could come up with the answer. So here I am again.

If I can change the cookie timing to three months (The time I want the information to last for), I would not need my users to register or log in at all. Unfortunately, until I find the answer, I have to force them to register, and yes they do hate the idea.

Incidentally, I had this catalog running some years back using OSCommerce and it worked fine. I'm not trying something new here, but I would like to make the stored information feature work better.

Thanks in advance,

John

18 Aug 2007, 7:44 AM
#135
ashton0603 avatar

ashton0603

Zen Follower

Join Date:
May 2007
Posts:
109
Plugin Contributions:
0

Re: removing login info

craftzombie:

Hello! This mod requires that you

-remove any links that take customers to the login page
-disable features such as writing a review/tell a friend if it takes customers to the login page

If you still want to use these features, as well as gift certs or other login-required features, I suggest using the optional account mod, not my mod.

(please note that I do not use the above mentioned features so I do not know about their ability to be used without logging in. if anyone else does, please respond :smile: )

Would the optional account mod be the adding the additional log in button and changing the name to "enter billing info" ? I remember reading a post on that a while back. Is this the other option you mention?

20 Aug 2007, 12:52 PM
#136
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: removing login info

ashton0603:

Would the optional account mod be the adding the additional log in button and changing the name to "enter billing info" ? I remember reading a post on that a while back. Is this the other option you mention?

no, the optional account mod I am referring to is actually called "Checkout Without Account" and can be downloaded on the wiki page here:

http://www.zen-cart.com/wiki/index.php/Contribution:Integrated_Checkout_Without_Account

The thread for that mod is located here:

http://www.zen-cart.com/forum/showthread.php?t=59189

21 Aug 2007, 6:05 AM
#137
ashton0603 avatar

ashton0603

Zen Follower

Join Date:
May 2007
Posts:
109
Plugin Contributions:
0

Re: removing login info

thanks so much!:clap:

25 Aug 2007, 6:58 AM
#138
swiper avatar

swiper

New Zenner

Join Date:
Aug 2007
Posts:
2
Plugin Contributions:
0

Re: removing login info

I spent a couple hours looking for the answer on how to delete some unwanted fields the first time someone logs in. Here is the file to alter: includes/templates/template_default/templates/tpl_modules_create_account.php

Just delete the code you do not want and it will get rid of the login field/s.

25 Aug 2007, 7:03 AM
#139
swiper avatar

swiper

New Zenner

Join Date:
Aug 2007
Posts:
2
Plugin Contributions:
0

Re: removing login info

I tested out logging in after removing those fields, and some errors came up. So the fields are gone, but it doesn't work correctly.

25 Aug 2007, 2:11 PM
#140
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,808
Plugin Contributions:
15

Re: removing login info

Always better to look for switches in the admin before rewriting code. You may want to return your file to it's original state and take a look in admin under configuration and customers.