![]() |
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 |
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 |
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. |
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 |
what versions are you all using this on?
|
vb2.0.1
|
and it works for you?
|
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 |
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.
|
I looked when you registered on my board and you did have a
picses sign by your birthday Joey |
LOL! Your right it works, but ya see, THIS is the pisces sign http://forums.realwebhost.net/images/sign/cancer.gif
|
plus inform me when ya get that virgo sign working
|
Corrected below
Joey |
Did you get the rest of the hack working? I was able to go into my database table and insert virgo and it showed up on the board. I 'll let you know when I have it working.
Joey |
Snyx go here and look at the symbol for Pisces. I believe it matchs what I have.
Look on the left side torwards the top. Here is the link. http://www.astrology.com/ Joey |
I stand corrected. I made the icons too, I really should know. LOL, anyways did you ever get the hack 100% working? (sorry if im slow)
|
This is the latest I have done with this hack, with the help of tubedogg I have all working except the virgo sign, it still will not show up. I am using vb 2.0.1
Joey |
Hello all,
I am getting: Parse error: parse error in /home2/kicks/gardenkicks-www/member.php on line 426 Any ideas? Thanks |
Which file did you use? If you used mind the one right above your post send me your member.php file and I will look at it. If you did not download my zip and compare the changes I made to the ones you made.
|
I used the one just above...
How do I send it to you? Thanks |
|
tubedogg please help
Will you probably know by now how everything has chnaged with the new version of vb 2.0.3, now alot of stuff got moved from the showthread.php file to the functions.php file. Your hack still works in the member profile section but does not in the showthread page, it does not show up at all. Can you tell me what I need to do to fix this. Joey:( |
only in the Threadpage, not in the Memberlist. V2.0.3 has to much changes and so the Hack dosen't work. I've must change many things in function.php, all my hard work to get the sings in member.php aren't worked.
|
tubedogg
Did you give up trying to get this to work? |
Tubedogg
Sorry to bother yer! Just wondered are you planning on doing an updated version of this hack as I would LOVE to install it on my board :) |
Anyone have this working on 2.0.3, and if so what has changed so it will go in without a problem? The last 2 pages of this thread don't persuade me to continue without asking...
Thanks. :) |
Im using 2.0.3 too, everything was fine but in showthread.php
seems stuff has changed since the hack was made any one got a FIX for this to make this hack work ??? I LOVE THIS !!!!!!!! thanks |
Man I have tried moving the stuff to functions.php, tried putting information in both files including showthread.php and just put in showthread.php by itself . I have beat my head against this thing for to long, maybe Tubedogg,Firefly, or Madman can come with a fix. I tried all kinds of stuff but not the right one.
|
I am using vBulletin 2.0.3 with vBPortal 2.0.1 and a list of other hacks, and I have the Astrological hack working fine (except for the Virgo?!? sign not showing for the dates).
Make sure if you have other hacks installed like the Stars, Country Flag, vBPortal, etc that you verify the $DB_site->query lines! I changed nothing in showthread.php, only admin/functions.php. Here is what I had to edit: Files: member.php register.php admin/functions.php admin/misc.php Templates: postbit added postbit_sign Ran this query in phpMyAdmin: ALTER TABLE user ADD sign VARCHAR(25) not null In the member.php and register.php files, I had to add the {} brackets to these lines: if (($year>1901) and ($year<date("Y"))) { ..... } else { .... } Otherwise the script would get a parse error. After I installed everything above, I ran the 'Update Counters' for 'Update Users' in the Admin CP. I then went into phpMyAdmin and did a replacement: UPDATE user SET sign = "virgo" WHERE birthday > 0000-00-00 AND sign = "" With the exception of a few stragglers, most of the user records where the user entered their birthday but the sign field is still empty at this point (after updating counters) means they should be a Virgo! Other than the above, that was it! You can see my board at http://www.vpforums.com |
What did you put in functions.php and where?
|
Here's the code I replaced. There was one line I couldn't place that was supposed to go in admin/functions:
$templatesused .= ",postbit_sign"; But it seems to work fine without it! |
Parse error: parse error in /home/httpd/www/forums/member.php on line 438
|
Make sure the // Birthday Stuff looks like this:
PHP Code:
if ($verifyemail and $email!=$bbuserinfo['email'] and $bbuserinfo['usergroupid']==2) { |
yup i got that right
|
Parse error: parse error in /home/tcclan/www/forums/member.php on line 1213
now i get this |
Anyword or any ideas on some of the changes for 2.2.1 cause that would be so awesome if it would work...
|
All times are GMT. The time now is 04:17 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:
|