PDA

View Full Version : User's local time in profile


Gamingforce
03-10-2002, 10:00 PM
First, I would like to give credit to Firefly for the original hack, which allowed you to have a user's time appear in a post. After speaking with a few members from our board, they seemed to want the local time to be in a user's profile (getinfo) instead of post (postbit) to reduce clutter. By installing this hack, you can have the user's time in their set time zone appear in their profile (anywhere you put the variable in the template).

Tested on vBulletin 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5
File to modify: member.php
Template to modify: getinfo

For a sample, check out my profile on my board:
http://www.gamingforce.com/forums/member.php?action=getinfo&userid=1

Enjoy!

Erwin
03-11-2002, 09:46 AM
Tried it, but it doesn't work, even with tweaking of your code. Nothing shows up in the getinfo.

Gamingforce
03-11-2002, 10:12 AM
That's odd, I installed it on my board again and it works perfectly. Are you inserting the code correctly and in the right place? Make sure you place the code in the member.php file after the line shown. Also, what version of vBulletin are you using?

Matt
03-11-2002, 04:57 PM
Works great for me! Thanks :D

Psychdrone
03-11-2002, 05:31 PM
Isn't this just adding Fireflys code to member.php? :tired:

Lucky
03-11-2002, 08:01 PM
Great job!

Thanks.

Gamingforce
03-11-2002, 10:39 PM
Pretty much Pyschdrone, with changes to the array. Firefly did the original and I modded it up to work with the getinfo template. ;)

nafae
03-11-2002, 11:55 PM
works well for me. Thanks!

centris
03-12-2002, 12:50 AM
One of my members came up with this idea to save pushing the profile button (lazy lot) how could this be done?

Psychdrone
03-12-2002, 01:31 AM
Originally posted by Gamingforce
Pretty much Pyschdrone, with changes to the array. Firefly did the original and I modded it up to work with the getinfo template. ;)

DAmn then I gotta start releasing some hacks then!

Ian
04-01-2002, 07:33 PM
This hack has been confirmed to work in 2.2.5 BETA BTW!

mashby
04-26-2002, 10:50 PM
Nice work Gameingforce. The hack installed easy and gave me just what I needed - thank you!

Also, I love your site! You've really tricked it out well. Nice design, colors and functionality. I'm curious what you used to modify your user profiles? They look REALLY nice. I'm going to steal a lot of ideas from you. ;)

BigJohnson
04-27-2002, 02:19 AM
Originally posted by centris
One of my members came up with this idea to save pushing the profile button (lazy lot) how could this be done?

Yes how is this done i want to no badly. It is done on this board as well. I lie how it is done on this board as well.

Gamingforce
04-27-2002, 10:58 AM
If you want to have it displayed in your post, view Firefly's hack.

Boofo
05-29-2002, 02:01 PM
Is there a way to get it to display in the privmsg template? :)

Gohan
08-31-2002, 11:20 PM
i've install on my forum (2.2.7) and does working.. good job :D

Axe
01-01-2003, 06:31 AM
Originally posted by centris
One of my members came up with this idea to save pushing the profile button (lazy lot) how could this be done?

*Bump* on this one... tryin' to figure this out myself. Any ideas?

Silenced Soul
01-01-2003, 06:57 AM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=35896" target="_blank">View this thread to show local time in posts</a>

jamoss
05-31-2003, 09:54 PM
Works great! Thank you.