The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I am converting my local time in postbit and profile hack to vB3.5. The following code (with vB3.5 changes) worked fine in the member.php on vB3.0, but now it doesn't seem to want to work in 3.5 with the member_complete hook. Can someone please tell me why and what I need to change to get it to work now?
PHP Code:
|
#2
|
||||
|
||||
![]() PHP Code:
PHP Code:
PHP Code:
|
#3
|
||||
|
||||
![]()
How would I do it for my account and the user viewing at the same time then? Or did I misunderstand something?
|
#4
|
||||
|
||||
![]()
Still doesn't work. I used this code and it doesn't show the local time or date in the profile.
PHP Code:
|
#5
|
|||
|
|||
![]()
Guess you would have to retrieve the timezones for the members posting in that thread first. Don't think it is stored with the post.
|
#6
|
||||
|
||||
![]()
Try this.
Hook: member_complete PHP Code:
|
#7
|
||||
|
||||
![]()
That worked, sir. Thank you.
![]() Is this where I messed up then? Should be: Quote:
Quote:
|
#8
|
||||
|
||||
![]()
Kirby, this code seems to work in the postbit, but is it 3.5 ready and the way it should be for the postbit?
I'm using the postbit_display_complete hook for this one. PHP Code:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|