osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Newsletter Products

This is a discussion on Newsletter Products within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; While preparing to modify the newsletter products module to work with the MSRP contribution I noticed that the SQL queries ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 06-21-2008, 03:00 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,979
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Newsletter Products

While preparing to modify the newsletter products module to work with the MSRP contribution I noticed that the SQL queries failed to cast certain variables as integers as is safe programming practice. I also noticed that the images inserted into the newsletter did not have the size set which will cause problems with the newsletter layout when your products have large images. Also the link function used in the language file for the unsubscribe link was incorrect.

This update corrects the SQL queries, updates the text for unsubscribe with the correct link for accounts_newsletters.php, and passes the SMALL_IMAGE width and height to the tep_image function so that the images in the newsletter will display at a reasonable size. Complete package is attached but only the two newsletter_products.php files have changed since version 2.25.

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Newsletter Products michael_s New osCommerce Contributions 0 04-01-2008 02:22 AM
Newsletter Products michael_s New osCommerce Contributions 0 02-12-2008 06:01 AM
Newsletter Products michael_s New osCommerce Contributions 0 09-06-2007 10:25 AM
Newsletter Products michael_s New osCommerce Contributions 0 05-22-2007 04:41 PM
Newsletter Products michael_s New osCommerce Contributions 0 05-20-2007 03:02 PM


All times are GMT -8. The time now is 08:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax