![]() |
Description: This hack prints some message or displays a picture in a post when that particular user has a birthday on that moment.
Version tested: 2.01, but will probaby work on all 2.0 versions instructions:
enjoy :) |
nice one dude.. Look alright that does.
do you have a demo? |
You can see it in action on my forum.
Great hack. you did a good job on it. |
just installed it, works great, thanks!
|
Thanks Mas*Mind :)
|
I just tried to install it and I get an error on line 25 of birthday.php.
All I did was cut & paste from here. Wierd. This is the line: PHP Code:
|
Mines on line 26......
|
yup....the [php] code screws code up:
eval ("\$post[has_a_birthday] = \"".gettemplate("postbit_birthday").""; should be: eval ("\$post[has_a_birthday] = \"".gettemplate("postbit_birthday")."\";"); |
now the problem is here: in showthread.php
// Begin birthdayhack include("birthday.php"); // End birthdayhack something is screwed up with the code here-im getting errors any ideas? |
Working for me. Thanks for the revised code.
Maverick, what errors are you getting now? Chris |
Warning: Failed opening 'birthday.php' for inclusion (include_path='') in e:\program files\nusphere\apache\htdocs\upload\showthread.php on line 479
|
That means that it can't find it. You sure the birthday.php file is there? Could you have named it .php3 by accident?
Chris |
Right u are-thanks 4 helping me :)
|
I had to change
PHP Code:
PHP Code:
|
Well its not displaying it correctly, so I will put it in this attachment.
|
Warning: Failed opening 'birthday.php' for inclusion (include_path='.') in f:\apache\htdocs\divinefxp\showthread.php on line 430
here's the error i got ... help |
Quote:
|
Quote:
|
does this slow down the page loading much?
anyone know? |
nope, not noticable anyway
|
Awesome hack! It didn't work for me in 2.0, but as soon as I upgraded to 2.01 it worked beautifully. Thank you so much!
TigerLily:) |
Do these instructions need any updating? They're not working for me on my 2.0.3 board i'm testing...
For example, the line: PHP Code:
I tried to include it in a couple of other places in there (like near the global.php include, but it did not display a thing in threads.. Ideas? Thanks! :) |
Problem solved!
The line mentioned above is located in: /admin/functions.php Yay. :) Now works perfectly in 2.0.3! Great hack! |
it's a nice hack~~~
so interesting~~~ thanks your hack it's work very well in my forum!!! |
so it wont work on 2.0.0? if not then i am not going to try it :P
|
it doesnt owrk in 2.0.3, i cant find what is needed in showthread.php !!!
:( :( can someone help me add this hack ! |
Read a few lines up...
|
done,. thats fine
but whee do I go to see if this hack is working fine and also where do I upload my birthday.php file ?? + I do not understand what I have to do in step "6" can anyone help thanks |
PHP Code:
|
Quote:
Any update available? Great hack! |
Works here too. (2.2.2)
|
hi,
can someone tell me what code i have to use when i want to show the age of the user in postbit also if he has no birthday?? Thanks! |
For some reason this doesn't work for me in vBulletin v2.2.6.
|
any advices on this problem with 2.2.6 ?
Schorsch |
Hi. Would you mind a little more help with a hack? I have 2.2.7 and really enjoy this hack. The only problem is it won't 'turn off'. So one member is having a 2 day birthday. =/
Any help would be appreciated. |
All times are GMT. The time now is 02:54 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:
|