Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Profile Birthdays 1.5 CRON ADDON

Description: OK - This is an AddOn if you are using the Birthday Mod.
It can do two things. It can send people a PM on their birthday, and it can make a post in a forum of your choice announcing "today's birthdays". This gives your members a place to reply with their well wishes.
It is fully configurable. You can choose to have it just do the PMs, or Just make the posts, or both. You can control what user number the PMs or Posts come from. You can also edit the content of the PMs and Post.



Working Under: UBB.Threads 6.2-6.3

Mod Status: Finished

Any pre-requisites: Requires the Profile Birthdays 1.5 Modification.

Author(s): JoshPet

Date: 04/28/03

Credits: Commissioned by Coy7, Racantaeur

Files Altered: none

New Files: birthdaycron.php

Database Altered: none

Info/Instructions: Drop the script into your threads directory, and set up a cron job to run it once a day (or run it in your browser once a day). Edit the variables at the top of the file to customize the options.

Thanks to Racantaeur for help fixing the blank posts when there were no birthdays.

Attachments
77946-birthdaycron.zip (0 Bytes, 98 downloads)

Sponsored Links
Joined: Apr 2002
Posts: 34
User
User
Offline
Joined: Apr 2002
Posts: 34
Question:
I have the birthday cron set up to send pms and post on the boards. Problem is, even if there is no birthdays, it makes a post to the boards with the name blank.

How do I set it up to only make a post if there is a birthday and not when there is none?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Do you have the latest?

An early version of this had that problem - but the latest does not. I run it on several sites.

Joined: Apr 2002
Posts: 34
User
User
Offline
Joined: Apr 2002
Posts: 34
I just uploaded the latest version of the birthday cron file, I will see what happens!

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Version for 6.4 posted HERE.

Last edited by JoshPet; 01/02/2004 5:02 AM.

Nikos
Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thank you - somehow I'd been using mine on 6.4 but I think I never posted it. Much appreciated.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
there must be a bug somewhere. Today (2.january) the cronfile create a birthday reminder for a member who have birthday on 22.january. I review the database and the date is entered correct. Can this be a bug in your birthday cron ?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I see the problem in Nikos' version.

My version is working fine, but I'd forgotten to post the update. So I just posted it HERE. Use this script, as I just checked. My birthdays today got selected correctly.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)