vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Birthday, User Age and Zodiac Hack v1.2 (Working Version) (https://vborg.vbsupport.ru/showthread.php?t=50482)

212rikanmofo 04-21-2003 01:47 AM

i did add the code to the proper place, please help, i know for a fact that it works, cause how come the age shows up? the only part that doesnt is the zodiac and chinese zodiac fields... they're blank...

Boofo 04-21-2003 01:54 AM

Quote:

Today at 08:47 PM 212rikanmofo said this in Post #81
i did add the code to the proper place, please help, i know for a fact that it works, cause how come the age shows up? the only part that doesnt is the zodiac and chinese zodiac fields... they're blank...
Did you add the code in the getinfo template? Post it here so I can see if that might be causing your problem.

Boofo 04-21-2003 01:55 AM

Quote:

Today at 02:58 AM gmarik said this in Post #79
Is it working on 2.3.0?
Yes, it has been installed on 2.3.0 and seems to be working fine.

212rikanmofo 04-21-2003 03:00 PM

yes, here ya go...

PHP Code:

<tr>
    <
td bgcolor="$backcolor"><normalfont><b>Birthday</b></normalfont></td>
    <
td bgcolor="$backcolor"><normalfont>$birthday</normalfont></td>
</
tr>


<
tr>
    <
td bgcolor="{secondaltcolor}"><normalfont><b>Age:</b></normalfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont>$user_age</normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="{firstaltcolor}"><normalfont><b>Zodiac Sign:</b></normalfont></td>
    <
td bgcolor="{firstaltcolor}"><normalfont>$zodiacimage</normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="{secondaltcolor}"><normalfont><b>Chinese Zodiac Sign:</b></normalfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont>$chineszodiacsign</normalfont></td>
</
tr


reismarktq2 06-11-2003 05:24 PM

Great hack.

/me clicks install.

Shuriken-UK 06-11-2003 05:45 PM

Ohhh funky man, great stuff :) i might make a traditional Chinese zodiac image set to accompany this for ya :)

*install

Alan Ang 02-06-2004 04:03 AM

Quote:

Originally Posted by NuclioN
:shame: :) Thanks Boofo. I hope you can let this also work in the postbit. Great hack.

-- ow...i'm a rat not an ox. How to change that?

Quote:

Originally Posted by Boofo
What is your birthdate?

I think the problem is your hack is not following the Chinese Lunar Calendar.
A person borned in 1973 or 1961 is not necessarily belonging to the OX chinese zodiac.
Those who were born before the Chinese Lunar New Year belongs to the Rat zodiac. And Chinese Lunar New Year, does not fall on 1st Jan.

Are you able to make the hack follow the Chinese Calendar? (perpetually?)

Boofo 02-06-2004 04:59 AM

Well, I did the best I could with what I had to work with. What is in the hack is what I found in numerous places on the Internet. They all had about the same thing so I went with that. If you really want to get technical, I suppose you could be right, but for most cases, what is in the hack will do nicely AND follow what I found at most other places. ;)

Gine me the info I need and I will see about getting it implemented. ;)

Alan Ang 02-06-2004 09:51 AM

Quote:

Originally Posted by Boofo
Well, I did the best I could with what I had to work with. What is in the hack is what I found in numerous places on the Internet. They all had about the same thing so I went with that. If you really want to get technical, I suppose you could be right, but for most cases, what is in the hack will do nicely AND follow what I found at most other places. ;)

Gine me the info I need and I will see about getting it implemented. ;)

The chinese calendar is different every year, and I am not really sure what is the formula to calculate the number of days per chinese lunar new year.
I will try to find out for you. ;)

Boofo 02-06-2004 11:43 AM

Please pm me if you come up with anything. ;)


All times are GMT. The time now is 10:06 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
  • Page Generation 0.01328 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete