Birthday Post v0.12.1 Beta (Now RC2 Compatible!)

Started by Suki, July 31, 2009, 11:49:30 PM

Previous topic - Next topic

JBlaze

Quote from: edi67 on August 10, 2009, 02:44:04 PM
so strange i installed it without problem but not work , for example i have 2 birthdays today and no topic created is normal ?

What do you mean? Any error logs? Screenshots?
Jason Clemons
Former Team Member 2009 - 2012

C4G-TK

#41
JBlaze,

I just want to make sure I'm doing this correct. 

If the current time on my server is 8/10/09 12:35pm, but the current time on the east coast is 8/10/09 4:35pm, the earliest that I can have the Birthday Post placed on my forum would be at 4am each day due to a 4 hour time difference, correct or not?

I've set it to be 00:00 in the Scheduled Tasks each day.   

-img removed-

JBlaze

All scheduled tasks are run on server time.
Jason Clemons
Former Team Member 2009 - 2012

asifnur

pls make this for 1.1.x plssss i want this so bad ;(

JBlaze

Quote from: asifnur on August 10, 2009, 11:38:47 PM
pls make this for 1.1.x plssss i want this so bad ;(

Then upgrade to 2.0 ;D
Jason Clemons
Former Team Member 2009 - 2012

asifnur

Quote from: JBlaze on August 10, 2009, 11:40:00 PM
Quote from: asifnur on August 10, 2009, 11:38:47 PM
pls make this for 1.1.x plssss i want this so bad ;(

Then upgrade to 2.0 ;D
dont be like tht dude :(

edi67

so strange i cannot make it work, everything is checked, section selected, ID user selected, today there are 2 birthday but.....no post created and no messages sent,
i must enable something else?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

C4G-TK

Go into your Scheduled Tasks and check to see what time the task will run.  I thought mine had the same problem until I saw that it was scheduled to go at 8pm.  You can change the time that the task runs and see if it posts earlier.  (Also, you can run the task manually in the same area to see if it works, too, in case it is already later in the day.)

-img removed-

JBlaze

Also, I believe in the latest update, the Scheduled Task itself is turned off by default. Have you enabled it in Admin -> Maintenance -> Scheduled Tasks?
Jason Clemons
Former Team Member 2009 - 2012

JBlaze

I'll make a deal.

If you all can raise $50 USD, I will make this mod for 1.1.x
Jason Clemons
Former Team Member 2009 - 2012

Smitten

Quote from: JBlaze on August 19, 2009, 10:17:42 PM
I'll make a deal.

If you all can raise $50 USD, I will make this mod for 1.1.x

50 USD? Is too much boy... don't be bad.

Someone can program this for the version 1.1.10? Lot of people need it.

Kimmie

mod installed great  on RC1.2 however, I am getting this error when it tries to send the pms:

http://patriotgames2.info/index.php?scheduled=task;ts=1251021600

The database value you're trying to insert does not exist: from_id
Function: sendpm

File: /home/*****/public_html/Sources/Subs-Post.php
Line: 1063

JBlaze

Quote from: Smitten on August 23, 2009, 08:00:34 AM
Quote from: JBlaze on August 19, 2009, 10:17:42 PM
I'll make a deal.

If you all can raise $50 USD, I will make this mod for 1.1.x

50 USD? Is too much boy... don't be bad.

Someone can program this for the version 1.1.10? Lot of people need it.


For the amount of work it entails, I see no reason not to charge the amount.



Quote from: Kimmie on August 23, 2009, 10:18:43 PM
mod installed great  on RC1.2 however, I am getting this error when it tries to send the pms:

http://patriotgames2.info/index.php?scheduled=task;ts=1251021600

The database value you're trying to insert does not exist: from_id
Function: sendpm

File: /home/*****/public_html/Sources/Subs-Post.php
Line: 1063

Hmm... that's odd. Did you make sure to set a sender ID?

I may have to tweak it to make sure a ID is set before sending.
Jason Clemons
Former Team Member 2009 - 2012

Kimmie

#53
ok I think I might know what the problem is heheh - lokos like it might just be a simple confusion on the settings page.

on the settings page it says:

QuoteThe ID of the member sending the PM.
Leave blank if using the same ID from the post

However, technically its not "blank" because by "default" it is set to 0 (0 on SMF usually means off or whatever and is generally left if you dont need to change that setting, etc), so I left it like it was because I wanted to use the same ID as with the thread so I merely checked the box for it to do so. Do I actually need to "remove" that default 0? (I left that setting as is just like I left the seting right below it alone and it actually IS blank). Since they both say the same thing,  if we have to actually delete that "0", Could it be that those errors are stemming from the fact that there is no such thing as a "member # 0" and by default it problaby needs to actually "be" blank? Looks like because of that zero, even tho I have it checked to use the ID from the Post, it cant pull it because its looking for 0






Kimmie

Update: well I have tried every setting concoction I can on there and everyday I get the same error:

scheduled=task;ts=1251536400

The database value you're trying to insert does not exist: from_name
Function: sendpm
File: /home/****/public_html/Sources/Subs-Post.php
Line: 1134


or (depending on which setting I had set)

The database value you're trying to insert does not exist: from_id
Function: sendpm
File: /home/****/public_html/Sources/Subs-Post.php
Line: 1063


Any ideas?  :(

JBlaze

Kimmie, I'll be pushing out another update soon which will hopefully patch this ;D
Jason Clemons
Former Team Member 2009 - 2012

Kimmie

Quote from: JBlaze on August 31, 2009, 01:54:24 AM
Kimmie, I'll be pushing out another update soon which will hopefully patch this ;D


awesome .. :). Love the mod. Great job on it!!

simplebeer

Quote from: alex30 on August 01, 2009, 06:45:34 AM
JBlaze if you could please write that cron script, many 1.1. x users will use your mod.

Thanks.

Yes indeed!! i am using 1.1.10  :) :) :) :) :) Pleasssseee  O:) O:) O:)
Sorry for my poor English, but i think it's probably better then your Dutch :)

Arantor

The bottom line is that the functionality is simply not in 1.1 to manage this.

In 2.0, there is a dedicated setup for running repeated regular tasks - Scheduled Tasks. This functionality is NOT in 1.1, and adding it is a huge amount of work - to add full scheduled tasks support... I'd personally charge a fair amount more than $50 for it, but that would be for multiple mods.

To make it work simply for this mod, a dedicated version could be built, however if you added other mods that did something similar - your forum would very quickly slow down a LOT.

I have another mod that is in the same boat - again it's not something we can readily make available for 1.1 without a huge amount of time on our part, because it means adding a lot of code for something that just doesn't have foundations in 1.1.

For the work required to convert this mod on its own to 1.1, $50 is quite reasonable in my opinion.

MissyNL

This would be a super mod for me.. the only thing i want to request to this mod is that the admin can set a min. post quote, so that not every member gets an birthday topic, but only the ones who are very active...  otherwise there will be opened 20 topics a day at the site :D In my case then...
Sorry for my poor English, but i think it's probably better then your Dutch :)

Advertisement: