The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Is there a way to take the age from the postbit and have it show up in a member's profile?
|
#2
|
||||
|
||||
![]()
Mainly just a Copy&Paste Job
![]() Hook: member_complete PHP Code:
|
#3
|
||||
|
||||
![]()
I tried do it this way but couldn't get it to show up. I was using the wrong variables in my code.
![]() How do I get it to only show if you have it turned on for the postbit? |
#4
|
||||
|
||||
![]()
Wrap it in
PHP Code:
|
#5
|
||||
|
||||
![]()
I just tried the member_complete code you posted and it doesn't show up in the profile either.
![]() What has replaced this in 3.5? Quote:
|
#6
|
||||
|
||||
![]() Quote:
$gotage doesn't appear in any vBulletin 3.0 Files? |
#7
|
||||
|
||||
![]()
Yessir, I did.
![]() Here's the code from the class_postbit.php that I converted earlier (to what you almost have in youe code) and it didn't work either. ![]() It looks like they are using $this->cache['age'] in place of $gotage now. PHP Code:
|
#8
|
||||
|
||||
![]()
OK ... time to check the Code (although I don't see why it should not work).
|
#9
|
||||
|
||||
![]()
You got me on this one, Kirby. I have been trying to get it to show in the profile for 2 days now.
![]() |
#10
|
||||
|
||||
![]()
Naargh. Well, the Code is correct - but the Data it relies on isn't
![]() $userinfo['birthday'] is already formatted at this point. But in member_start it isn't yet defined ... So: Hook: fetch_userinfo PHP Code:
PHP Code:
![]() I am getting old - or tired. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|