![]() |
Great idea. You can also use \n for line breaks. I'm going to post a new version of the b-day hack today and I'll change the HTML to BB code. Thanks!
|
Version 2.0 has just been released. Bug fixes, new features and update instructions are in the first post.
Enjoy, |
Works great so far Churchmedia :) Tnx
|
Going to install NOW!!! :)
|
Thanks man for version 2. I installed it two minutes ago and get a DB error when running it.
Database error in vBulletin 3.0.3: Invalid SQL: INSERT INTO vb3_thread(title, lastpost, forumid, open, replycount, postusername, postuserid, lastposter, dateline,iconid, visible) VALUES ('Happy Birthday to billyjobob, m4|Ranger, XeDa101, on August 28, 2004', 1093680294, 15, 1, 0, 'CFN|BirthdayBot', , 'CFN|BirthdayBot', 1093680294, 0, 1) mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'CFN|BirthdayBot', 1093680294, 0, 1)' at line 4 mysql error number: 1064 Can you help? |
Check your variables. The $greeter variable should be a number -- the user ID for CFN|BirthdayBot. Check that and if you still have problems, post the lines with \\change me in them.
EDIT: Actually, it looks like there is no user ID there. Again, make sure the $greeter variable has the correct user ID for the greeter name. |
I wrote greeter1 instead of greeter=1 but now I have a new error which is really one :D
Database error in vBulletin 3.0.3: Invalid SQL: UPDATE user SET posts=posts+1 WHERE userid=4 mysql error: Table 'usr_web1_3.user' doesn't exist mysql error number: 1146 Means you've once forgotten to check for table prefixes in this line UPDATE user SET posts=posts+1 WHERE userid=4 Can you update this and tell me what to change? |
Ok I've done it already.
Pls. change this part of your hack PHP Code:
PHP Code:
|
Nice hack
Thanks |
Fixed it! Sorry about that!
|
Mine has an issue...I run the Cron...but it just sits there and nothing happens.
Here is the CHANGEME Lines: PHP Code:
|
It's working. Mine does that too. I'm not sure why it's not giving us a "done" message. It shows up in the cron logs, though. If anyone figures out what the problem is, let me know. Fortunately it isn't a big problem.
|
It seems after I upgraded from the old Birthday script to the new it stopped working. There is no errors that I see just that it's not posting the thread.
|
I am going to install this after the cron thing works right :P
|
Is there a way to make it use Pets money instead of UCash?
Thanks again!!! -Jason |
Quote:
So, I wouldn't worry about it and go ahead and install the hack :) |
Quote:
|
Quote:
|
Quote:
|
OK... it works. Awesome.
When i run it manually it just sits there but as a cron job it works just fine...I in cluded the /you hack and it does soem pretty cool things. OK...Is there a way to make it only post the birthdays for those who have recent activity in the last xx days AND with at least xx posts? |
Works good now. Is there a way to force it to tell the age so it doesn't say
(Age: Not telling! )? |
Quote:
Enjoy, |
I have a small problem. The email, the thread states the correct date but in the posts it shows as
Here are today's birthdays: was born on November 30 (Age: Not telling! :)) missing the username, the age. Sometimes the age states 30 when it should have been 40 |
I am using 3.01 and all I am getting for username is a blank and date is way off. Age does not display, even though the year is specified.
|
ok, works for me now. I was placing code before {
also the instructions are missing $bday_title .= $username.", "; that I found in one of the post Great hack, thanks. |
Great hack & had no problems with it.
I was wondering though, is it possible to change the post icon? Right now it's using the standard icon1.gif & I'd like it to use a cupcake one I have instead. Thanks |
Quote:
Thanks for the hack! You may want to fix the first post to have the above correction though. It threw me off also. Kevin |
Quote:
In the /includes/cron/birthday.php file find..... Quote:
|
Quote:
|
I see the creator of the hack has 3.0 Gold. Any plans to modify the hack to work on 3.0.3? (The code for birthday.php has changed some, so I'm not sure how to do it now.)
|
I use 3.0.3 and installed it fine... Not sure it works yet because I only have 7 members.... soooo hard to get members for a forum about everything. :(
|
Quote:
|
O.o really...
I'm reluctant to try and make the code work, merely because the birthday.php code isnt exactly what it asks you to search for, and testing the bot takes so long, and I'm not the paitent type... Guess i might as well try though. Nothing to lose except someone doesnt get their precious b-day email, lol. |
Okay, I have a bug :(
Apparently, when more than 1 person has a birthday, it will not post the other people. Just one person. :( I've gone through the code thousands of times and can't see anything. |
Quote:
I am having the same problem it only shows one birthday not everyones on that day Help please :nervous: |
Two questions for both of you, then we'll try to figure it out.
1) Did you install the hack as described in the original instructions, or did you do any of the modifications suggested by other people in this post? 2) Have you run the cron job manually to see if you get any errors? You have to do this from the admin cp. You can \\ the vbmail lines to make sure that your members don't get emails while you are testing. See if you can get an error message and we'll go from there. |
Quote:
|
Works for me. Witnessed that 5 days ago with 2 birthdays
|
Quote:
Yes and Yes I get 1 birthday in the thread when I run the cron and thats all. And no extra hacks |
1. Yes
2. Yes - I even put the original file back and redid it. Same thing. No extra hacks has been installed for the birthday.php in the cron folder inside the includes folder. |
All times are GMT. The time now is 07:41 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:
|