AutoEmailer
#21
Posted 24 December 2005, 14:59
This pulls them back into the site and helps generate content....
Rich..
#22
Posted 24 December 2005, 15:11
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#23
Posted 24 December 2005, 15:12
Great contrib btw!!!
Have a fantastic chrimbo!
Rich
#24
Posted 24 December 2005, 19:21
for the fck editor, there is contribution that would help you customize your installation :-)
#25
Posted 24 December 2005, 20:29
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#26
Posted 25 December 2005, 20:40
Quote
auto_emailer_customers.php :
Quote
<td width="10%">Customer: </td><td width="30%" align="left"><?php echo tep_draw_checkbox_field('customer', '', $switch['customer'], ''); ?> </td>
</tr>
<tr class="smallText">
<td width="10%">Member Since: </td><td width="30%" align="left"><?php echo tep_draw_checkbox_field('member_since', '', $switch['member_since'], ''); ?> </td>
</tr>
<tr class="smallText">
<td width="10%">Last Logon: </td><td width="30%" align="left"><?php echo tep_draw_checkbox_field('last_logon', '', $switch['last_logon'], ''); ?> </td>
</tr>
<tr class="smallText">
<td width="10%">Number of Logons: </td><td width="30%" align="left"><?php echo tep_draw_checkbox_field('number_logons', '', $switch['number_logons'], ''); ?> </td>
</tr>
auto_emailer_orders.php :
Quote
#27
Posted 25 December 2005, 22:12
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#28
Posted 30 December 2005, 02:21
Jack_mcs, on Dec 23 2005, 10:24 PM, said:
Thank's Jack, this is a PLUS! I only have to study this great mod and how to set up a cron job. my host did it the first time, I don't know what they did, how to read it or where it is installed or anything. NEED TO LEARN CRON I,m hosting with I powerweb I try there control panel setup but was not must options.
I installed a few contribritions that needs a cron job Please Help Thanks
#29
Posted 30 December 2005, 02:36
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#30
Posted 30 December 2005, 02:47
Jack_mcs, on Dec 29 2005, 09:36 PM, said:
Jack
How do I enter the time say every friday at 6 am and where to exactly place this file my root reads /home/public_html/index.php
Thanks
#31
Posted 30 December 2005, 03:19
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#32
Posted 30 December 2005, 03:24
Jack_mcs, on Dec 29 2005, 10:19 PM, said:
Jack
I,ll have to go over the readme and study the cron and how it all works together Thanks Jack
#33
Posted 03 January 2006, 16:12
well done, good contribution as usual.
My guess is that files in auto_emailer folder need to be CHMOD to 777 otherwise it's impossiple to update - if I'm right, you should perhaps include it in install instructions.
This code needs to be in /admin/includes/boxes/auto_emailer.php
'<a href="' . tep_href_link(FILENAME_AUTO_EMAILER_NEWPRODUCTS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AUTO_EMAILER_NEWPRODUCTS . '</a><br>' .
Also these two defines should be added to admin/includes/languages/english.php before the closing ?>:
define('HEADING_TITLE_AUTO_EMAILER_NEWPRODUCTS', 'New Products');
define('TEXT_AUTO_EMAILER_NEWPRODUCTS', 'Send notifications about new products.');
I have one questin - in announce section - Number of Days - if I type 1 and hit update, the number 1 is there, however if I leave the page and come back it is empty - any idea?
Thank you,
Alex
#34
Posted 04 January 2006, 00:37
Quote
Quote
if ($diff >= 0 && $diff < 18)
// Stop Date Difference
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#35
Posted 04 January 2006, 12:44
thanks that seems to do the trick (it is actually admin/auto_emailer/auto_announce.php).
However I have a problem with the cron - or with the script itself.
When I use php -q /home/USER_NAME/public_html/admin/auto_emailer/auto_emailer.php and replace USER_NAME with my database user name, I receive this email from cron: No input file specified.
Same message when I replace USER_NAME with my control panel user name.
When I change the path to:
php -q /home/httpd/vhosts/mywebsite.com/httpdocs/admin/auto_emailer/auto_emailer.php
nothing happens, however all of my crons use the absolute path.
I tried to call admin/auto_emailer/auto_emailer.php in my browser but it didn't work.
Alex
#36
Posted 04 January 2006, 13:59
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#37
Posted 04 January 2006, 14:20
I have few cron jobs that work just fine. When I use this path php -q /home/CP_USER_NAME/public_html/admin/auto_emailer/auto_emailer.php and rename the admin/auto_emailer/auto_emailer.php, I get this message: No input file specified.
Alex
#38
Posted 04 January 2006, 17:36
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#39
Posted 04 January 2006, 18:20
// include('../includes/configure.php'); - commented out
// Define the database details
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'user');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'database');
With the above changes, the script is executed (via browser only!) however no email is received. I have checked announce box only in settings. I have also double checked the email setting:
//Set some common items
$Sender = 'me@mysite.com';
$Recipiant = 'noreply@mysite.com';
$Cc = '';
$Bcc = '';
$currentDate = date('Y-m-d'); //or enter a date in the form of yyyy-mm-dd
Such a great contribution, I've no idea what could be wrong...
Alex
#40
Posted 05 January 2006, 04:35
echo 'test emial'."\n";If you are still not getting any emails, then it would have to be somthing related to cron. I suggest asking your host to be sure cron is running properly. They can also test the script to make sure if it is running without errors.
Jack
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking














