Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

AHHH,... This Site Is Killing Me.


RC Heli Pilot

Recommended Posts

Man, This Forum is Killing me.

 

All i'm trying to do is find out what this section under images does "Calculate the size of images"

 

It's not in the Manual and when i try to search for this on the Forums I get 20 Pages of Everything in between and then some.

Plus most of the stuff i find is back from 2002, 2003 and the code has been Modified so many times i don't know if it's been fixed in a later release or if i need to go and get an Add On from somewhere.

 

This is'nt my only example either. There have been many times that i've tried searching the forums for something and have come back more confused than when before i started my search or have gone off on to a different subject because my search had found something else not even having to do with what i wanted leaving my old problem behind for later.

 

I don't know how anyone gets anything done here. 1/2 of the Add On's it seems in the Add-On's Page seem so screwed up i don't even know which file to download most of the time. People have added little fixes to some of them on top of each other that i don't know which one is the real one that i need to download to even get started with the Mod so i usually end up giving up and moving on to something else.

 

When an update it done the Mod listing should start over or something, That way at least you would know which one you need to download.

 

I guess i'm just tired of my searching finding 5-6 year old posts.

 

Even in the manual on page 60. Editing the Purchased email that the buyer gets when they make a purchase it says:

 

Somewhere after the section that reads:

" // lets start with the email confirmation" about line 222

Add:

// additional text message

$email_order .= "\r\nThank you for your order! \r\n Enjoy! \r\n" .

// end of additional text message

After:

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

Like This:

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

//

$email_order .= "\r\nThank you for your order! \r\n Enjoy! \r\n" .

//

EMAIL_SEPARATOR . "\n" .

 

 

I've followed it Step by step not even changing anything and when i go to checkout, The Confirmation page doesnt even come up anymore saying theres an error on line 264 which is this line right here:

 

$email_order .= "\r\nThank you for your order! \r\n Enjoy! \r\n" .

 

So Now i don't even know what is wrong with that line so now i have to delete the code i just entered or re-upload the backup and forgetting about that area for now.

 

I can't even find how to edit the Emails people get when they place an order doing a search and i can't even go by the manual.

 

Another thing,...

 

Even tho i have my settings for "Allow guests to tell a friend about a product" set to "True" the option still doesnt even display on the pages for people to be able to tell their friends. Why is this?

 

I tried searching that on Friday and ended up giving up.

 

Anyway,... I don't know what, But something i think needs to change.

 

RCHP

Link to comment
Share on other sites

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
			 EMAIL_SEPARATOR . "\n" . 
			 "\r\nThank you for your order! \r\n Enjoy! \r\n" .
			 EMAIL_SEPARATOR . "\n" . 
			 EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
			 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
			 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
			 EMAIL_SEPARATOR . "\n" . 
			 "\r\nThank you for your order! \r\n Enjoy! \r\n" .
			 EMAIL_SEPARATOR . "\n" . 
			 EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
			 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
			 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

 

So are you saying that this is the way it should read?

Link to comment
Share on other sites

If I understand correctly what it is you're trying to accomplish... Yes, Sir!

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

If I understand correctly what it is you're trying to accomplish... Yes, Sir!

:)

 

 

Hi Jim, First off Thank You for your help.

 

All i'd like to do is add more to it other than what it says when you get the email by default.

 

Something more personal other than something that looks like it was an Automated response.

Link to comment
Share on other sites

All i'd like to do is add more to it other than what it says when you get the email by default.

 

Something more personal other than something that looks like it was an Automated response.

I think between the two of us, we've accomplished that.

 

You supplied the text, and I worked it into the code.

 

I'm fairly certain the code I posted won't give you any errors.

 

Beyond that, you can adjust it to suit your requirements.

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Man, This Forum is Killing me.

 

Try google for your answer, I find it works better.

 

 

All i'm trying to do is find out what this section under images does "Calculate the size of images"

 

Have you set the sizes in the admin?

 

It's not in the Manual and when i try to search for this on the Forums I get 20 Pages of Everything in between and then some.

Plus most of the stuff i find is back from 2002, 2003 and the code has been Modified so many times i don't know if it's been fixed in a later release or if i need to go and get an Add On from somewhere.

 

Again, try google, it should show up by date but you can't search on words less than 3 characters so it makes it difficult to narrow your searches

 

This is'nt my only example either. There have been many times that i've tried searching the forums for something and have come back more confused than when before i started my search or have gone off on to a different subject because my search had found something else not even having to do with what i wanted leaving my old problem behind for later.

 

I wake up every day like that. :-"

 

I don't know how anyone gets anything done here. 1/2 of the Add On's it seems in the Add-On's Page seem so screwed up i don't even know which file to download most of the time. People have added little fixes to some of them on top of each other that i don't know which one is the real one that i need to download to even get started with the Mod so i usually end up giving up and moving on to something else.

 

With some of them it is messed up, some are good working versions. If you don't know ask in the support thread or the forum and ask for easier alternatives also. Some of the big contributions might be overkill.

 

When an update it done the Mod listing should start over or something, That way at least you would know which one you need to download.

Then you would have 20 versions all in different places and not all on one page.

 

I guess i'm just tired of my searching finding 5-6 year old posts.

 

Again, see my first answer.

 

Even in the manual on page 60. Editing the Purchased email that the buyer gets when they make a purchase it says:

 

........

 

Anyway,... I don't know what, But something i think needs to change.

 

My advice is always keep a backup and don't leave errors as they will compound themselves and cause other errors. Fix things as you go. Every contribution should have a support thread. When you find the thread you can search it for your answer, that part seems to work well.

Link to comment
Share on other sites

Sorry for the delay,.. I had to do some small yard work and now i'm back.

 

So anyway looking at your code again.

 

So do i just enter in this?

 

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

EMAIL_SEPARATOR . "\n" .

"\r\nThank you for your order! \r\n Enjoy! \r\n" .

 

Because in the file second EMAIL_SEPARATOR . "\n" is already there, I don't know about the rest of the code:

 

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

 

I'd have to check if thats there or not already.

 

RCHP

Link to comment
Share on other sites

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
			 EMAIL_SEPARATOR . "\n" . 
			 "\r\nThank you for your order! \r\n Enjoy! \r\n" .

That looks syntactically correct.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Here is the code that is there by default:

 

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

EMAIL_SEPARATOR . "\n" .

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

if ($order->info['comments']) {

$email_order .= tep_db_output($order->info['comments']) . "\n\n";

}

$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .

EMAIL_SEPARATOR . "\n" .

$products_ordered .

EMAIL_SEPARATOR . "\n";

 

 

So do i just add your:

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

EMAIL_SEPARATOR . "\n" .

"\r\nThank you for your order! \r\n Enjoy! \r\n" .

 

Which looks just like the way it is in the manual.

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

//

$email_order .= "\r\nThank you for your order! \r\n Enjoy! \r\n" .

//

EMAIL_SEPARATOR . "\n" .

 

 

Link to comment
Share on other sites

I think i got it with your help.

I'm waitinf ro the email to see.

 

 

RCHP

 

{EDITED}

 

Yep,... It worked. Now i need to get rid of the second store name that is showing up in the email.

 

Thanks a Bunch for your assistance.

 

RCHP

Link to comment
Share on other sites

If you alter these lines of code:

 

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" .

To this:

 

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
			 EMAIL_SEPARATOR . "\n" . 
			 "\r\nThank you for your order! \r\n Enjoy! \r\n" .

I think you'll have what you want.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

If you alter these lines of code:

 

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" .

To this:

 

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
			 EMAIL_SEPARATOR . "\n" . 
			 "\r\nThank you for your order! \r\n Enjoy! \r\n" .

I think you'll have what you want.

 

Yep it's working now.

I just need to remove the second store name that is showing up in the email.

 

Thanks a BUNCH for your help.

 

RCHP

Link to comment
Share on other sites

No problem!

;)

 

Just keep your rotors out of the trees and power lines, and it'll all be OK!

:lol:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

No problem!

;)

 

Just keep your rotors out of the trees and power lines, and it'll all be OK!

:lol:

 

Thats for the advice,...

I could have used it about 3 weeks ago when my main rotor clipped a branch in my back yard causing the wooden blade to snap in 2 and the Heli Nose in to the ground 20' away and about 20' down. :blush:

 

 

Any idea what file it is you edit once you confirm the order and set it to Delivered so i can edit it? and Why Tell a Friend isnt working?

 

RCHP

Link to comment
Share on other sites

Even tho i have my settings for "Allow guests to tell a friend about a product" set to "True" the option still doesnt even display on the pages for people to be able to tell their friends. Why is this?

If you post (or PM me) your URL, I'll look into this for you.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

If you post (or PM me) your URL, I'll look into this for you.

 

Thank You.

I was just coming back to let you know it fixed itself somehow.

 

I set it to false, waited a few minutes went back and set it to true and now it's showing on the right hand side.

 

Right now i was reading to figure how to move it to the bottom of the page next to the Product options or below it and then move the product options up to the top right of the product instead of it being at the bottom.

 

RCHP

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...