Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

My Account Login

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #111  
Old 11-07-2007, 09:22 AM
 
parekh81 parekh81 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 191
 

Default 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.
__________________
Gold 4.4.2 with 'some' customisation
Site review: http://forum.x-cart.com/showthread.php?t=63075
Reply With Quote
  #112  
Old 01-17-2008, 09:21 PM
  connemara's Avatar 
connemara connemara is offline
 

Senior Member
  
Join Date: Jan 2006
Location: Vancouver Island, Canada
Posts: 167
 

Default 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
__________________
Versions 4.7.6
multiple mods and customizations
Reply With Quote
  #113  
Old 02-13-2008, 11:11 AM
  swifty's Avatar 
swifty swifty is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 38
 

Default 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?
__________________
xCart 4.0.17
PHP 5.2.1
MySQL Server 4.0.26
MySQL Client 4.1.22
web Server:
Apache/1.3.37 (Unix) mod_psoft_traffic/0.1 Vortech_PHP/0.1.0-p0 FrontPage/5.0.2.2623 mod_ssl/2.8.28 OpenSSL/0.9.7e-p1
Reply With Quote
  #114  
Old 02-13-2008, 01:31 PM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default Re: My Account Login

<a href="include/login.php?mode=logout">{$lng.lbl_logoff}</a>
__________________
"The point is, to make so much money, that money isn't the point anymore."

Pro Version 4.0.19
Gold Version 4.1.3
Linux
Reply With Quote
  #115  
Old 02-13-2008, 02:27 PM
  swifty's Avatar 
swifty swifty is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 38
 

Default Re: My Account Login

YAY, that worked thank you!!
__________________
xCart 4.0.17
PHP 5.2.1
MySQL Server 4.0.26
MySQL Client 4.1.22
web Server:
Apache/1.3.37 (Unix) mod_psoft_traffic/0.1 Vortech_PHP/0.1.0-p0 FrontPage/5.0.2.2623 mod_ssl/2.8.28 OpenSSL/0.9.7e-p1
Reply With Quote
  #116  
Old 07-02-2008, 08:32 AM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default 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.
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote
  #117  
Old 07-02-2008, 08:49 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default 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...
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #118  
Old 08-04-2008, 10:49 AM
 
boxerbay boxerbay is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 170
 

Default 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 ?>
__________________
Thanks,
Alex.
Too many version to list. I have some on 3.51 and some on the latest version.
Reply With Quote
  #119  
Old 08-07-2008, 04:23 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default 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


__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #120  
Old 08-07-2008, 09:14 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default 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...
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:47 AM.

   

 
X-Cart forums © 2001-2020