![]() |
ok i set this to hour 1 and it spams my board with threads how can i stop that? i figured it would create one thread for that day for the persons birthday but it post one and keeps going on and post the same threads numerous times... and i have it set on the first hour of the day
882 Automatic Birthday Thread 01:50, 20th Nov 2005 Birthday Thread created for: gizmo27 1881 Automatic Birthday Thread 01:45, 20th Nov 2005 Birthday Thread created for: gizmo27 1880 Automatic Birthday Thread 01:35, 20th Nov 2005 Birthday Thread created for: gizmo27 1879 Automatic Birthday Thread 01:33, 20th Nov 2005 Birthday Thread created for: gizmo27 1878 Automatic Birthday Thread 01:32, 20th Nov 2005 Birthday Thread created for: gizmo27 1877 Automatic Birthday Thread 01:31, 20th Nov 2005 Birthday Thread created for: gizmo27 1876 Automatic Birthday Thread 01:30, 20th Nov 2005 Birthday Thread created for: gizmo27 1875 Automatic Birthday Thread 01:29, 20th Nov 2005 Birthday Thread created for: gizmo27 1874 Automatic Birthday Thread 01:28, 20th Nov 2005 Birthday Thread created for: gizmo27 1873 Automatic Birthday Thread 01:27, 20th Nov 2005 Birthday Thread created for: gizmo27 1872 Automatic Birthday Thread 01:24, 20th Nov 2005 Birthday Thread created for: gizmo27 1871 Automatic Birthday Thread 01:23, 20th Nov 2005 Birthday Thread created for: gizmo27 1870 Automatic Birthday Thread 01:22, 20th Nov 2005 Birthday Thread created for: gizmo27 1869 Automatic Birthday Thread 01:21, 20th Nov 2005 Birthday Thread created for: gizmo27 1868 Automatic Birthday Thread 01:20, 20th Nov 2005 Birthday Thread created for: gizmo27 |
You need to set the cron to run at a specific time and not at every hour. For instance, if you set your cron to run at hour 23 and minute 55 then the birthday script will run everyday at 11:55 PM
Mine is set at 5 0 * * * which runs it at 12:05 AM |
ok i think whats going on is its confliting with the birthday email set up by vbulletin
|
I have not changed the default settings for the birthday email and everything is working correctly. Set your minutes and hour time but leave a * in everything else.
|
now these both run off the same cron file right?
|
No. The birthday thread should be includes/cron/birthdaythread.php and thye birthday email should be includes/cron/birthday.php
|
ok last question now what happens if say a member registers later then the script is run they wont get picked up?
|
Something like this but instead of creating threads it made posts in a specific thread would be really useful to me :)
|
How would I be able to make this show the username and avatars in the post?
|
I am still not getting anything printing for $bday_people .. :(
Latest version installed over the top of, then removing old one and reinstalling.. does it only fill up if there is more than one birthday person? |
its posting the thread at about 10pm the day of the birthday...?
|
u have to edit the cron to make it post earlier... im still having trouble with it... it was posting over and over the same thing in the thread for the same users birthday.... i set mine to 1:01 am and it works ok but the funny thing is right now it still works and i have it shut off... seemed to work better when i shut it off in the product section and left the cron
|
One thing to note. Check your servers time setting. For example, you set it for 12:01 AM est but your server is located in California. there is a 3 hour time difference so in all actuality, your script would really run at 3:01 am est when the server reaches 12:01 in their time zone.
|
which line do i edit?
|
you dont have to edit a line you have to edit the cron in your Scheduled Tasks
|
ahh... found it!
|
Ok how can i get it to add the signature whats the code to add that to the postbit.
$signature?? |
XML-Fehler: mismatched tag in Zeile 46
Got this error from the german xml file, product import was right? |
The XML should be fixed now.
|
Error: Datei ungültig :squareeyed:
Installed now the english version and added phrases, thanks. |
where do I put birthdaythread.php?
Thanks |
It didn't create the thread....
|
Works perfectly! Thanks.
|
Good to see its already ported to 3.5
Use this hack already in 3.0.7 so cant do without it anymore :nervous: |
Hello, just installed and get the following error when executing the cron job:
Fatal error: Call to a member function on a non-object in /home/littlewa/public_html/includes/cron/birthdaythread.php on line 117 It creates the thread fine but concerned about the error. Is there any reason for this to happen? Thanks. |
brilliant hack
cheers fella's. |
Where is the birthdaythread.php uploaded to? The forum directory or /includes?
*Needs to test before clicking install* |
installed and very slick
|
It's not creating the thread for me in 3.5.3
Jim EDIT - It works now. Had another plugin interfering with it. |
This is the error I get in 3.5.3
Code:
Automatic Birthday Thread |
nice thanks, will buy the regular one soon!
|
Quote:
No birthday....no errors. The line in question? Code:
eval(fetch_email_phrases('bdaygreet', $userinfo['languageid'])); |
I installed this and it does not post at all, I checked a member today and his profile has a displayed birthday so I dont know?? Any ideas
|
Quote:
When you do that are you getting the same error as me? I noticed you too are running 3.5.3, might be a bug with this version. |
I didn't know this was an option, thanks and yes I did get this error when trying that
Automatic Birthday Thread Warning: main(/www/m/meogeecom/htdocs/./includes/cron/birthdaythread.php): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 64 Warning: main(): Failed opening '/www/m/meogeecom/htdocs/./includes/cron/birthdaythread.php' for inclusion (include_path='.:/usr/local/php4') in /admincp/cronadmin.php on line 64 Done |
This works absolutely fine for me on 3.5.3.
Those of you who are having difficulties: Do you have any prior versions installed? If so, Uninstall them (especcially if you had this hack installed on 3.0.x .. this will require enabling debug mode and removing the entries from the AdminCP - vBulletin Options list. Mike: Yours appears to be related to running on IIS? I am sorry, but I have no experience with this setup. Try entering the full path to the file in your Scheduled Task area. |
I got it figured out, the php folder it calls to is not named the same, the folder needs to be changed to birthdaythread.php and the error goes away
|
now I need to check somehow if it works, let me try to run it now
|
Mine had to do with my message. I took out all bb code and smilies and it works now.
|
i'll give that a try then too
|
All times are GMT. The time now is 11:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|