Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

 
LinkBack Thread Tools Display Modes
Old 05-01-2009, 07:41 AM   #1
Member
 
 
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5
Kazza is on a distinguished road
Unhappy Listing Renewal Notification Emails not working

Hi! I've just received a few emails from my client to say that he's not receiving email notifications for the listings he's placed.

The checkout settings are correct - ie allow renewals is yes and renewal days are 10.

I have searched the forum before asking this question; I've read in another post that someone has to visit the website home page in order for it to trigger any renewal emails to be sent - is this correct?

Any advice would be appreciated, thanks in advance!
__________________
Version 4.0.8 ~ Developer
Kazza is offline   Reply With Quote
Old 05-01-2009, 08:17 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 4,130
Rep Power: 101
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by Kazza View Post
I have searched the forum before asking this question; I've read in another post that someone has to visit the website home page in order for it to trigger any renewal emails to be sent - is this correct?
Yes, that is correct.

When someone hits the sites front end, the database is checked for a lastdate value. If the last date is older than the current date the cron script is run which send out notification, expires old ads etc.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 05-01-2009, 08:31 AM   #3
Member
 
 
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5
Kazza is on a distinguished road
Default

Hi! Thanks for the reply! Right I see....is there any way to get it to do this automatically - I've read somewhere about setting up a chronjob, I've heard of these but not sure how or where I would set one up?
__________________
Version 4.0.8 ~ Developer
Kazza is offline   Reply With Quote
Old 05-01-2009, 08:56 AM   #4
Moderator
 
 
Join Date: Mar 2006
Posts: 4,130
Rep Power: 101
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by Kazza View Post
I've read somewhere about setting up a chronjob, I've heard of these but not sure how or where I would set one up?
And this is probably the reason it wasnt done like this from the very start.

Some web hosts dont allow you to use cron and the ones that do often differ on how to go about setting it up. I *THINK* you should just be able to create a cron job to run the script cron.php to get the desired results but you would have to try it to be sure.

For actually setting up the cron job itself you will have to consult your web hosts documentation to ask them how to do it since it varies from host to host. There is often an icon in the web hosts control panel.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 05-01-2009, 10:07 AM   #5
Member
 
 
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5
Kazza is on a distinguished road
Default

Hi! Well I've set up a crontab file to see if it works - I've pointed it to the cron.php file in the includes folder - just a quick question; do you know if I need to include the admin username/password in the file or is the link to the cron.php file enough? (As you can tell I'm very new to setting up a crontab!!)
__________________
Version 4.0.8 ~ Developer
Kazza is offline   Reply With Quote
Old 05-01-2009, 11:46 AM   #6
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,780
Rep Power: 110
Eric Barnes is a jewel in the rough
Default

Hi,

That is indeed the reason we have an internal cron job. Setting them up can be difficult if you do not have experience using them. For the actual cron job just have it run the includes/cron.php on a daily basis.

Then in the connections/classifieds.php file add: $manualcron = TRUE; This will prevent the script from trying to run it since you are doing it from the server.

Also admin information is not required and regardless of the time set it will still only run once a day.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 05-03-2009, 10:05 AM   #7
Member
 
 
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5
Kazza is on a distinguished road
Default

Hi Eric!

Thanks for your reply and clearing up my questions. I've added the line to the Classifieds file - will give it try and hopefully it will work! Thanks again! K
__________________
Version 4.0.8 ~ Developer
Kazza is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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
Ad expiration notification not working? Kazza v4 Questions & Support 4 09-11-2008 09:27 AM
Renewal emails are being sent to multiple people castus v4 Questions & Support 0 05-14-2008 11:47 AM
Renewal Price Not Working Kelly Olsen v3.1 Questions & Support 1 01-11-2008 12:51 PM
Passing Listing ID to notification emails abkeller v3.1 Questions & Support 6 08-07-2007 10:20 PM
Ad notification emails doubling up Bucketman v3.1 Questions & Support 7 05-24-2006 10:34 AM


All times are GMT -4. The time now is 01:31 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0