-
Content count
143 -
Joined
-
Last visited
Everything posted by alsmith
-
or and change it to this may be all you really need, taking out the other I gave you earlier.
-
Not sure but take a look at line 62. I think you might replace: $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); with $mimemessage = new email(array('Content-type: text/html')); No way for me to test this, so it is just a guess.
-
If you are formatting using HTML code it should work. For instance you use a <br> for a line break. A <p> with a </p> surroounding the paragraphs. But I am sure you know this.
-
this is good. Have you considered updating the contribution to include this?
-
I added a link, (it is not the cleanest code, but it works) to allow me to update the invoices using this contribution. Edit the orders.php file. find: ] $contents[] = array('align' => 'center', 'text' => '<a href="javascript:popupWindo w('' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_INVOICE) . '?' . (tep_get_a ll_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id) . '')">' . te p_image_button('button_invoice.gif', IMAGE_ORDERs_INVOICE) . '</a><a href="javascr ipt:popupWindow('' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_PACKINGSLIP) . '?' . (tep_get_all_get_params(array('oID')) . 'oID=' . $oInfo->orders_id) . '') ">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERs_PACKINGSLIP) . '</a> '); I use this: Just creates the link. $contents[] = array('align' => 'center', 'text' => '<a href="javascript:po pupWindow('' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_INVOICE) . '?' . (t ep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id) . '') ">' . tep_image_button('button_invoice.gif', IMAGE_ORDERs_INVOICE) . '</a><a href= "javascript:popupWindow('' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_PACKI NGSLIP) . '?' . (tep_get_all_get_params(array('oID')) . 'oID=' . $oInfo->orders_id ) . '')">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERs_PACKINGSLIP) . '</a>' . '<br><a href="edit_orders.php?oID=' . $oInfo->orders_id . '">Edit the Invoice</a> '); I took the '); at the end of the line and inserted ' . '<br><a href="edit_orders.php?oID=' . $oInfo->orders_id . '">Edit the Invoice</a> This created the link Edit the Invoice just below the buttons.
-
[CONTRIB] Admin Access Level Accounts for MS2
alsmith replied to papasan's topic in General Add-Ons Support
I am getting this error. I tried just putting the files up, I tried mofdifying the files on the fly, both yeild the same error message. I get this when I first go to the admin/index.php -
If you are talking about the email you recieve when you send newsletters. edit the newsletters.php file in catalog/admin/includes/modules/newsletters/ around line 65. look for $mimemessage->send. I use $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['cus tomers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this ->title, "MIME-Version: 1.0n" . "Content-type: text/html; charset=iso-88 59-1"); to make mine send out in HTML format. I tried everything to change the $mimemessage - new (line 62) to use the MIME-Version: 1.0 n portion of my fix, but no luck.
-
Who could make this contribution? Thx!
alsmith replied to mumushu's topic in General Add-Ons Support
doesn't stock osc offer this. You may need to add contributions for the diff languages -
I have been working on a PayPal Subscription module. I have it working but am having problems when I turn the PayPal module back on. The selection is now available in the admin section and is also available on the checkout. Once I get to the confirmation I notice that the Payment Method is PayPal and not my PayPal Subscriptions. Any clues here. -Al
-
Open the checkout_paypalipn.php, find the line with tep_redirect("https://www.paypal.com/cgi-bin/webscr? around line 281. Here is what I did until I can work out the change change cgi-bin/webscr?cmd=_ext-enter&redirect_cmd=_xclick& to subscriptions/p3=1&t3=Y&src=1&sra=1& Now if someone would like to help with that part. -Al
-
Add DROPDOWN BOX for STATES --- I know What you want :)
alsmith replied to Dallas1906's topic in General Add-Ons Support
True: I am using it anyway. It works and I have had requests for it. I just put in my 01-06-2003 install also. -Al By the way. Thanks -
Add DROPDOWN BOX for STATES --- I know What you want :)
alsmith replied to Dallas1906's topic in General Add-Ons Support
That did it. Do you have this in as a contribution? I could not find it. It should be. Nice and easy also. -Al -
Add DROPDOWN BOX for STATES --- I know What you want :)
alsmith replied to Dallas1906's topic in General Add-Ons Support
Sorry I was not clear. I see that in the code but when I use it I get the parse error on line 282. When I do not use it everything seems fine. Any thoughts. -Al -
Add DROPDOWN BOX for STATES --- I know What you want :)
alsmith replied to Dallas1906's topic in General Add-Ons Support
Sorry I was not clear. I see that in the code but when I use it I get the parse error on line 282. When I do not use it everything seems fine. Any thoughts. -Al -
Add DROPDOWN BOX for STATES --- I know What you want :)
alsmith replied to Dallas1906's topic in General Add-Ons Support
hobaugh, I tried this. I am getting parse error line 282 which is the new (correction) for the pulldown. I inserted the old pulldown code and it seems to work. I have a 01-06-2003 snapshot. What is the difference in the two? -Al -
My first contrib, not much but can save some time!
alsmith replied to skeedo's topic in General Add-Ons Support
You did a good job on this and it is easy to install. Why didn't we think of this before? -Al :lol: -
Chris, Take a look at http://www.oscommerce.com/downloads.php/co...ions,142/type,3 I think this is what you are looking for.