• Welcome to Simple Machines Community Forum. Please login or sign up.
December 01, 2021, 06:18:05 PM

News:

Join the Facebook Fan Page.


2 question

Started by llmikell, April 02, 2008, 08:50:40 AM

Previous topic - Next topic

llmikell

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 !


Bulakbol

April 02, 2008, 11:02:08 PM #1 Last Edit: April 02, 2008, 11:06:33 PM by JohnyB
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>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Rumbaar

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
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

NickC

You can change the forum time zone in:

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


Rumbaar

Were you able to get the location set llmikell and change your time offset?
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

Advertisement: