Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: llmikell on April 02, 2008, 08:50:40 AM

Title: 2 question
Post by: llmikell on April 02, 2008, 08:50:40 AM
does anyone know how to get the Location to show on the message view ??

and 1 more question. How do i change the time Zone of my forum cause it say it 1:49pm and it only 8:51am where i am !

Title: Re: 2 question
Post by: Bulakbol on April 02, 2008, 11:02:08 PM
Don't know about your first question but I'll find out how.

SMF uses the server time but if you are logged-in, it will use the time offset found in your Profile. Profile -> Look and Layout -> Time Offset. Enter + or - hour.

<edit>
You can use $context['member']['location'] to display message poster's location.
</edit>
Title: Re: 2 question
Post by: Rumbaar on April 06, 2008, 07:02:32 AM
It's made for 1.1.* but you might be able to translate the changes needed to the Display.template.php in 2.* to display the location
Display Age and Location next to posts (http://custom.simplemachines.org/mods/index.php?mod=638)
Title: Re: 2 question
Post by: NickC on April 06, 2008, 05:59:33 PM
You can change the forum time zone in:

Admin -> Features and Options -> Options -> Overall time offset

Title: Re: 2 question
Post by: Rumbaar on April 11, 2008, 08:02:49 PM
Were you able to get the location set llmikell and change your time offset?