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)
-   -   Member's Age in Postbit & Getinfo Profile (automatically calculated from birthday) (https://vborg.vbsupport.ru/showthread.php?t=42050)

Erwin 08-08-2002 01:39 PM

Okay, I've updated the hack again, this time for the LAST time. I had to modify the hack because certain members had their ages off by 1 year.

Thanks to Boofo, who PMed me with a suggestion - I have incorporated his suggestion into my hack, and this has fixed up the age problem for certain members.

The hack should be working 100% now. :)

To upgrade, just download the text installation file, and replace the code in the functions.php with the new code.

Erwin 08-08-2002 02:00 PM

I had to fix 2 small bugs to do with birthdates with my update - The bug concerns members' birthdays which fall before 1970. I was wondering why there was a 54 year old on my site who insisted he was 53. :) According to Boofo, someone posted a fix on vb.com, and he PMed it to me. I've fixed this.

Birdie501 08-08-2002 02:04 PM

can you tell us which dates causes this errors?

Erwin 08-08-2002 02:09 PM

Quote:

Originally posted by Birdie501
can you tell us which dates causes this errors?
I suspected it was certain months, but it appeared to be fairly random - I tried to find a pattern with my members, but couldn't. Whatever date they had trouble with, when I applied it to my profile, it still worked for me with my old code, but not for them.

Anyway, the latest code in my hack works with no problems at all - whatever it is, the new code fixed it.

So just use the latest installation text file, and there should be no more problems.

Sketch 08-08-2002 06:21 PM

I can see the older folks on my board going crazy on me if I installed this. ;) It's a great idea though.

Aaron

Velocd 08-09-2002 12:11 AM

For an anime forum like mine, I'm all for it ;)
Heh, it'll be funny to see the attitude of some people change once knowing they are younger than others.

Good job Erwin *clicks install*


No more "what's your age" threads popping up every month. (and if they still do, god have mercy on the poor soul)

[D]Vincent 08-09-2002 01:25 AM

Vincent]
Quote:

Originally posted by Knightmare


Good point, but in that case, couldn't you say the same thing about a users post count, location, etc? :)

I don't display location either, I only display Posts, Online Stats, and Member ID, everything else is RPG related. Posts because members like to see how many posts they have and compete with their friends on the board sometimes. Online Stats because I belief people would like to see if someone is online or not. Member ID because I like to be able to see that I was the first person registered XD no not really I just like to see each member's ID.

ZiRu$ 08-09-2002 01:25 PM

dope......i shall install this

LordHelmut 08-10-2002 06:23 AM

Nice man, that was the first hack I have ever installed. I got it to work with very little effort. I have been studying the actual PHP that goes in the functions.php but I dont understand it. Im trying to learn but im so confused. Well, thanks for the hack, its awesome :)

ZiRu$ 08-14-2002 12:54 AM

Installed on 2.2.6 PERFECTLY.....thx


All times are GMT. The time now is 06:21 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.01250 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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