![]() |
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!
|
All times are GMT. The time now is 04:35 PM. |
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:
|