X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   My Account Login (https://forum.x-cart.com/showthread.php?t=10141)

parekh81 11-07-2007 09:22 AM

Re: My Account Login
 
Thanks.

I shall put my head down and try some if / then statments.

By the way yours works perfectly. Brilliant work.

connemara 01-17-2008 09:21 PM

Re: My Account Login
 
Thanks for all the work that went into this mod; it was exactly what I was looking for. All worked perfectly until I tested out account profile- and checked history. I got this error message:
Warning: Cannot modify header information - headers already sent by (output started at /home/nonuttin/public_html/shop/auth.php:472) in /home/nonuttin/public_html/shop/include/history_order.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /home/nonuttin/public_html/shop/auth.php:472) in /home/nonuttin/public_html/shop/include/history_order.php on line 47
Version 4.1.9 store heavily modded

I have seen this kind of message before but have no idea what to fix. The one test order css looked completely out of whack too so don't know if that is related.

Can anyone help with this?
Connie

swifty 02-13-2008 11:11 AM

Re: My Account Login
 
i've added the Login.tpl and added the code to the index.tpl but i'm still useing the original auth, authbox and menu_profile.tpl and everything seems to work well although i'm not finished with all the changes i'm making.

i still want to add a logout botton next to the login link that will just log a user out when clicked.

i'll keep you posted as to my progress.

has anyone tried it this way and if you have did you have any problems?

august 02-13-2008 01:31 PM

Re: My Account Login
 
<a href="include/login.php?mode=logout">{$lng.lbl_logoff}</a>

swifty 02-13-2008 02:27 PM

Re: My Account Login
 
YAY, that worked thank you!!

HWT 07-02-2008 08:32 AM

Re: My Account Login
 
Does anybody have an idea how to display a customers order history on the my accounts page? I understand that I can hard code in orders.php?mode=search to cut one step out, but I would like it to display the order history automatically to cut another step out.

So, instead of changing (in the menu_profile_mod.tpl)

{include file="buttons/button.tpl" button_title=$lng.lbl_orders_history href="orders.php"}<br />

to

{include file="buttons/button.tpl" button_title=$lng.lbl_orders_history href="orders.php?mode=search"}<br />

I'd like it instead to display the results of that search.

Jerrad 07-02-2008 08:49 AM

Re: My Account Login
 
Quote:

Originally Posted by HWT
Does anybody have an idea how to display a customers order history on the my accounts page? I understand that I can hard code in orders.php?mode=search to cut one step out, but I would like it to display the order history automatically to cut another step out.


I really would like this also, cause a search function for customers with 1-3 orders looks pointless to me...

boxerbay 08-04-2008 10:49 AM

Re: My Account Login
 
Quote:

Originally Posted by connemara
Thanks for all the work that went into this mod; it was exactly what I was looking for. All worked perfectly until I tested out account profile- and checked history. I got this error message:
Warning: Cannot modify header information - headers already sent by (output started at /home/nonuttin/public_html/shop/auth.php:472) in /home/nonuttin/public_html/shop/include/history_order.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /home/nonuttin/public_html/shop/auth.php:472) in /home/nonuttin/public_html/shop/include/history_order.php on line 47
Version 4.1.9 store heavily modded

I have seen this kind of message before but have no idea what to fix. The one test order css looked completely out of whack too so don't know if that is related.

Can anyone help with this?
Connie

I know this is a bit late but it may help others.

When you get the - header already sent - usually because you have extra spaces at the end of the php code after the ?>

make sure there are no extra lines after the ?>

WhiteDoveGifts 08-07-2008 04:23 AM

Re: My Account Login
 
Hello everyone,

I have installed this mod on my 4.1.10 dev install and get the error below when changing or deleting a user profile in both customer and admin side. Everything else seems to be working though. It's probably in register.php but I have no clue how...

Parse error: syntax error, unexpected $end in /home/xxxxx/public_html/xxxxxx/include/register.php on line 1028

Cheers,
Nico



WhiteDoveGifts 08-07-2008 09:14 AM

Re: My Account Login
 
Anyone? There must be more people with this mod for version 4.1.10? If you can share your register.php I will appreciate it. It is probably a small thing...


All times are GMT -8. The time now is 05:24 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.