VinylDesigns Posted December 6, 2013 Posted December 6, 2013 Can i get some help converting this from V2.2 to Oscommerce V2.3 There is only one file and one file edit in V2.2 http://addons.oscommerce.com/info/3116
MrPhil Posted December 6, 2013 Posted December 6, 2013 Are you having a specific error or problem with this add-on? The PHP code is pretty simple and should work at any level of PHP. Have the table or field names used changed between osC versions? The add-on uses customers_lastname, customers_firstname, customers_email_address, and customers_newsletter from the customers table. If necessary, update to the current names. It uses mysql_ rather than mysqli_ calls, but current PHP levels should still support that.
VinylDesigns Posted December 6, 2013 Author Posted December 6, 2013 It says to in admin/includes/boxes/tools.php add: tep_admin_files_boxes('email_export.php', 'Email Export') but V2.3 admin/includes/boxes/tools.php is different then V2.2 so i think this code needs to be changed to fit V2.3 Fatal error: Call to undefined function tep_admin_files_boxes() in /home1/----/public_html/admin/includes/boxes/tools.php on line 95
VinylDesigns Posted December 6, 2013 Author Posted December 6, 2013 Ok i got it to work and look right in V2.3.... :lol: I had to in admin/includes/boxes/tools.php add: array( 'code' => FILENAME_SUBSCRIBERS, 'title' => BOX_TOOLS_SUBSCRIBERS, 'link' => tep_href_link(FILENAME_SUBSCRIBERS) ), in admin/languages/english.php add: define('BOX_TOOLS_SUBSCRIBERS', 'Newsletter Subscribers Export'); in admin/filenames.php add: define('FILENAME_SUBSCRIBERS', 'email_export.php');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.