The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#42
|
||||
|
||||
Tubedogg,
I had a member on the board that was a virgo, sign not showing up. I went to my mysql database in went to his sign field and typed in virgo for his sign and went back and looked at his profile and it is now showing up, so somehow the virgo sign info, is not getting sent to the database. Joey |
#43
|
||||
|
||||
Can you help me? I am still working on this zodaic hack from hell thing, now having trouble with the register.php file which is keeping people from registering on my board. here is the problem area.
1- getbirthdays(); 2- } 3- } 4- else 5- $birthday = 0; 6- } Problem is on line number 4 above getting parse error on this line Joey |
#44
|
|||
|
|||
tubedogg:
I download the neweset hack zip and done everything,but Parse error: parse error in /home/realweb/public_html/forums/member.php on line 423 why? I think it's a bug here. |
#45
|
||||
|
||||
ztsky
use this in your member.php instead had the same problem this week end. Register.php fix at the bottom. Only Bug I still have is virgo sign not showing up. I am working on that. =========member.php-------------- // Birthday Stuff... if ($calbirthday == 1) { if ( ($day == -1 and $month != -1) or ($day !=-1 and $month == -1) ) { eval("standarderror(\"".gettemplate("error_birthda yfield")."\");"); exit; } elseif (($day == -1) and ($month==-1)) {$birthday = 0;} else { if (($year>1901) and ($year<date("Y"))) { $birthday = $year . "-" . $month . "-" . $day; if (($day > 20 and $month == 03) xor ($day < 20 and $month == 04)) { $sign = "aries"; } elseif (($day > 19 and $month == 04) xor ($day < 21 and $month == 05)) { $sign = "taurus"; } elseif (($day > 20 and $month == 05) xor ($day < 22 and $month == 06)) { $sign = "gemini"; } elseif (($day > 21 and $month == 06) xor ($day < 23 and $month == 07)) { $sign = "cancer"; } elseif (($day > 22 and $month == 07) xor ($day < 23 and $month == 08)) { $sign = "leo"; } elseif (($day > 22 and $month == 08) xor ($day < 23 and $month == 09)) { $sign = "virgo"; } elseif (($day > 22 and $month == 09) xor ($day < 24 and $month == 10)) { $sign = "libra"; } elseif (($day > 23 and $month == 10) xor ($day < 22 and $month == 11)) { $sign = "scorpio"; } elseif (($day > 21 and $month == 11) xor ($day < 22 and $month == 12)) { $sign = "saggittarius"; } elseif (($day > 21 and $month == 12) xor ($day < 20 and $month == 01)) { $sign = "capricorn"; } elseif (($day > 19 and $month == 01) xor ($day < 19 and $month == 02)) { $sign = "aquarius"; } elseif (($day > 18 and $month == 02) xor ($day < 20 and $month == 03)) { $sign = "pisces"; } else { $sign == ""; } } else { $birthday = "0000" . "-" . $month . "-" . $day; if (($day > 20 and $month == 03) xor ($day < 20 and $month == 04)) { $sign = "aries"; } elesif (($day > 19 and $month == 04) xor ($day < 21 and $month == 05)) { $sign = "taurus"; } elseif (($day > 20 and $month == 05) xor ($day < 22 and $month == 06)) { $sign = "gemini"; } elseif (($day > 21 and $month == 06) xor ($day < 23 and $month == 07)) { $sign = "cancer"; } elseif (($day > 22 and $month == 07) xor ($day < 23 and $month == 08)) { $sign = "leo"; } elseif (($day > 22 and $month == 08) xor ($day < 23 and $month == 09)) { $sign = "virgo"; } elseif (($day > 22 and $month == 09) xor ($day < 24 and $month == 10)) { $sign = "libra"; } elseif (($day > 23 and $month == 10) xor ($day < 22 and $month == 11)) { $sign = "scorpio"; } elseif (($day > 21 and $month == 11) xor ($day < 22 and $month == 12)) { $sign = "saggittarius"; } elseif (($day > 21 and $month == 12) xor ($day < 20 and $month == 01)) { $sign = "capricorn"; } elseif (($day > 19 and $month == 01) xor ($day < 19 and $month == 02)) { $sign = "aquarius"; } elseif (($day > 18 and $month == 02) xor ($day < 20 and $month == 03)) { $sign = "pisces"; } else { $sign == ""; } } } } else {$birthday = 0;} -------register.php--------------- // Birthday Stuff... if ($calbirthday == 1) { if ( ($day == -1 and $month != -1) or ($day !=-1 and $month == -1) ) { eval("standarderror(\"".gettemplate("error_birthda yfield")."\");"); exit; } elseif (($day == -1) and ($month==-1)) {$birthday = 0;} else { if (($year>1901) and ($year<date("Y"))) { $birthday = $year . "-" . $month . "-" . $day; if (($day > 20 and $month == 03) xor ($day < 20 and $month == 04)) { $sign = "aries"; } elseif (($day > 19 and $month == 04) xor ($day < 21 and $month == 05)) { $sign = "taurus"; } elseif (($day > 20 and $month == 05) xor ($day < 22 and $month == 06)) { $sign = "gemini"; } elseif (($day > 21 and $month == 06) xor ($day < 23 and $month == 07)) { $sign = "cancer"; } elseif (($day > 22 and $month == 07) xor ($day < 23 and $month == 08)) { $sign = "leo"; } elseif (($day > 22 and $month == 08) xor ($day < 23 and $month == 09)) { $sign = "virgo"; } elseif (($day > 22 and $month == 09) xor ($day < 24 and $month == 10)) { $sign = "libra"; } elseif (($day > 23 and $month == 10) xor ($day < 22 and $month == 11)) { $sign = "scorpio"; } elseif (($day > 21 and $month == 11) xor ($day < 22 and $month == 12)) { $sign = "saggittarius"; } elseif (($day > 21 and $month == 12) xor ($day < 20 and $month == 01)) { $sign = "capricorn"; } elseif (($day > 19 and $month == 01) xor ($day < 19 and $month == 02)) { $sign = "aquarius"; } elseif (($day > 18 and $month == 02) xor ($day < 20 and $month == 03)) { $sign = "pisces"; } else { $sign == ""; } } else { $birthday = "0000" . "-" . $month . "-" . $day; if (($day > 20 and $month == 03) xor ($day < 20 and $month == 04)) { $sign = "aries"; } elseif (($day > 19 and $month == 04) xor ($day < 21 and $month == 05)) { $sign = "taurus"; } elseif (($day > 20 and $month == 05) xor ($day < 22 and $month == 06)) { $sign = "gemini"; } elseif (($day > 21 and $month == 06) xor ($day < 23 and $month == 07)) { $sign = "cancer"; } elseif (($day > 22 and $month == 07) xor ($day < 23 and $month == 08)) { $sign = "leo"; } elseif (($day > 22 and $month == 08) xor ($day < 23 and $month == 09)) { $sign = "virgo"; } elseif (($day > 22 and $month == 09) xor ($day < 24 and $month == 10)) { $sign = "libra"; } elseif (($day > 23 and $month == 10) xor ($day < 22 and $month == 11)) { $sign = "scorpio"; } elseif (($day > 21 and $month == 11) xor ($day < 22 and $month == 12)) { $sign = "saggittarius"; } elseif (($day > 21 and $month == 12) xor ($day < 20 and $month == 01)) { $sign = "capricorn"; } elseif (($day > 19 and $month == 01) xor ($day < 19 and $month == 02)) { $sign = "aquarius"; } elseif (($day > 18 and $month == 02) xor ($day < 20 and $month == 03)) { $sign = "pisces"; } else { $sign == ""; } } } } else {$birthday = 0;} if ($showbirthdays) { Joey |
#46
|
||||
|
||||
what versions are you all using this on?
|
#47
|
||||
|
||||
vb2.0.1
|
#48
|
||||
|
||||
and it works for you?
|
#49
|
||||
|
||||
Only probelm I have is the virgo gif will not show up but I am working on that now. But if you look back a couple of posts you will see that I had to change some script to make it work.
Joey |
#50
|
||||
|
||||
I see, I see, plus I reg. and my picses sign didnt come up, check, we had the same problem running it on tha beta.
|
#51
|
||||
|
||||
I looked when you registered on my board and you did have a
picses sign by your birthday Joey |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|