vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Age in profile (https://vborg.vbsupport.ru/showthread.php?t=61115)

Boofo 02-02-2004 10:00 PM

vB3 Age in profile
 
vB3 Age in profile
Version 1.0
(By Boofo)

What does this hack do?
It adds the member's age to their profile, right under their birthday, in the "Additional Information" box. If they do not enter their birthday or do not enter a year for their birthday, the age will not show up. It will also follow the setting for the "Enable User Age" option in the "Thread Display Options (showthread)" settings in the Admin CP.

Version 1.0 --Initial release

Installation overview:
Files to edit: (1)
--member.php
Templates to edit: (1)
--memberinfo

If you find this hack useful,. please click the install button. ;)

AutomatikStudio 02-03-2004 02:50 PM

Hmmm...I'm not getting anything. I've uploaded the modified member.php as well as the MEMBERINFO template and nothing is showing up in anybody's profile.

Boofo 02-03-2004 02:51 PM

Do you have the "Enable User Age" option in the "Thread Display Options (showthread)" settings in the Admin CP turned on? ;)

gmarik 02-03-2004 04:16 PM

This is a mini hack, actually ;)

Boofo 02-03-2004 04:18 PM

It's a Profile Enhancement hack. Call it what you like but it is where it is supposed to be. ;)

AutomatikStudio 02-03-2004 04:21 PM

Quote:

Originally Posted by Boofo
Do you have the "Enable User Age" option in the "Thread Display Options (showthread)" settings in the Admin CP turned on? ;)

Thanks Boofo. That fixed it...silly me.:ninja:

Boofo 02-03-2004 04:32 PM

Now aren't you glad you installed this hack? You might not have found that setting if you hadn't. ;) You're very welcome, sir. ;)

MGM 02-03-2004 10:48 PM

good job Boofo, I'll install this one ;)

[high]* MGM clicks Install
[/high]

MGM out

Boofo 02-03-2004 10:50 PM

Thank you, sir. I hope you enjoy it. ;)

FleaBag 02-05-2004 01:40 PM

Sweet. Now to get it working in the memberlist too. :D

Boofo 02-05-2004 01:43 PM

It's already there. Just turn it on in the Admin CP settings.

Don't forget to click install. ;)

Kalakov 02-08-2004 09:32 AM

nice h4x0r3

/me clicks install

FleaBag 02-23-2004 05:36 AM

Thanks for this - installed in under a minute.

Boofo 02-23-2004 05:56 AM

Thank you, sir. I have some more surprises in store. ;)

Alzeimer 03-06-2004 04:17 PM

Installed and working, I can translate to spanish if you wish :cool:

Wifey 03-15-2004 07:35 PM

Hrm. I have installed it and I'm not seeing the field. I've also added the enabled the field in the Threaded user display. Do I need to make another profile field in order for this to work?

Boofo 03-15-2004 07:46 PM

You need to make sure that ytou have the Age in showthread turned on in the Admin CP. It is under Enable User Age in the Thread Display Options (showthread) in your vBulletin settings. ;)

Wifey 03-15-2004 08:06 PM

Yep, I had that checked to yes.

Okay, weird. It shows up in the actual profile in the thread - is that the ONLY place it's supposed to show up or is it supposed to show in the actual profile when you click to view a members profile?

Boofo 03-15-2004 08:15 PM

Yes, just like in the screenshot in the first post. ;)

Wifey 03-15-2004 11:25 PM

Okay, I think I was just confused because my board doesn't look similar to yours. I'm a newbie to all this, can you tell :p

Thanks, it's a great hack and working perfectly!

Boofo 03-16-2004 02:44 AM

Thank you. ;)

I love your vB message that says you're not open yet. ;) And your testing skin looks good, too (except the header needs to be centered on that one). ;)

Bro_Joey_Gowdy 04-08-2004 02:28 PM

/me clicks install

FleaBag 10-11-2004 10:19 PM

3.03 doesn't seem to like it. :(

Boofo 10-11-2004 10:22 PM

Quote:

Originally Posted by FleaBag
3.03 doesn't seem to like it. :(

Then you must have missed something. ;)

FleaBag 10-11-2004 10:24 PM

Hmm I'm not sure there's anything I could miss heh. I'll take another look.

EDIT: Have done it 3 times, still shows nothing on the profile.

AnhTuanCool 10-12-2004 03:23 AM

I think you're missing some queries Boofo. ;)

Boofo 10-12-2004 03:25 AM

Quote:

Originally Posted by AnhTuanCOol
I think you're missing some queries Boofo. ;)

You don't need any queries with this. It uses the same code that vb uses to get the age in the showthread. It works great for me and the others that have installed it. ;)

AnhTuanCool 10-12-2004 04:02 AM

Your board is 3.0.0 right? However, can you find enableage in install/vbulletin-settings.xml, I couldn't :)

AnhTuanCool 10-12-2004 04:08 AM

Oh never mind then, you are right Boofo, I've just checked my old version board and I found it, in vb 3.0.0 :)

In 3.0.3 you will need to run some extra queries for enable option though ;)

Boofo 10-12-2004 04:20 AM

Quote:

Originally Posted by AnhTuanCOol
Oh never mind then, you are right Boofo, I've just checked my old version board and I found it, in vb 3.0.0 :)

In 3.0.3 you will need to run some extra queries for enable option though ;)

Why would you need to run some extra queries?

AnhTuanCool 10-12-2004 04:30 AM

There is no $vboptions['enableage'] in 3.0.3, isn't it?

Boofo 10-12-2004 06:40 AM

Quote:

Originally Posted by AnhTuanCOol
There is no $vboptions['enableage'] in 3.0.3, isn't it?

I'm using 3.0 still. It should be the same thing that is used to show the age in the showthread (postbit).

FleaBag 10-12-2004 08:14 AM

Darn it. :(

Boofo 10-12-2004 08:21 AM

Quote:

Originally Posted by FleaBag
Darn it. :(

Does the age show up in the postbit for you? If it does, then let me know what the name of the age option is and I will tell you how to fix this to make it work for you.

nautiqeman 10-14-2004 12:38 PM

yeah I'm having the same problem -- it works in the threads -- just doesn't show up in the member profile -- I'm also using 3.0.3

FleaBag 10-14-2004 12:41 PM

It does work in postbit yes, what do you mean by the name of the age option Boofo?

nautiqeman 10-14-2004 12:47 PM

I'm new to this -- what is postbit -- I just staeted messing around with this yesterday

FleaBag 10-14-2004 12:49 PM

It's the template that shows the messages left by users, i.e. what you are reading now.

nautiqeman 10-14-2004 12:51 PM

oh ok -- how can I get the Age to appear in the profile tho -- I'm using 3.0.3 and I don't see anything there -- just the Birthday -- any idea?

nautiqeman 10-14-2004 01:11 PM

I'm just looking thru the manual and all and I see that $post is used in the hack, well as far as my thinking goes, and again I'm a newbie to this, but when you view the user's profile, there is no $post -- correct???


All times are GMT. The time now is 02:22 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.01197 seconds
  • Memory Usage 1,781KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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