Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 58
1 members and 57 guests
health46ev26
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
Recent Posts Block - local time
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 34
Join Date: Nov 2002
Location: Australia
Recent Posts Block - local time - 05-11-2003, 09:16 PM

The recent posts block shows time as FROM_UNIXTIME. Is there a way I could change this to GMT + X. I have tried things such as FROM_UNIXTIME+10 etc but these are a real no no.

Any help would be appreciated please.

Thank you.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 97
Join Date: May 2003
Location: CT
06-09-2003, 09:22 PM

does it show FORUM_UNIXTIME where the time should be displayed?? OR is your time just off?

could u be more specific please
 Send a message via ICQ to watson Send a message via Yahoo to watson Send a message via AIM to watson Send a message via MSN to watson  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 34
Join Date: Nov 2002
Location: Australia
06-09-2003, 09:30 PM

Thanks for your reply.

I am using a block which shows the last five forum topics on my nuke homepage. The server is in the US and the post times are US times. I would like to show the time as local Australian time (usually GMT+15).

Here is the line of code:

$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%d %M %y at %h:%i %p') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: Jun 2003
06-10-2003, 01:15 PM

hi i would also like to know how to fix this
cheers
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: Jun 2003
06-20-2003, 03:32 PM

no1 any ideas ?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recent Forum Posts Block? gabi Nuke 6.5 to 6.9 - Blocks 5 03-25-2005 05:29 AM
Recent Posts Block TONG Nuke 6.5 to 6.9 - Blocks 5 07-09-2003 01:53 PM
recent posts block for subBlack? Hadron Theme packs 3 04-28-2003 10:02 PM
Recent Posts block? OiSole Nuke 6.5 to 6.9 - Blocks 1 04-04-2003 05:48 PM
Recent Posts Block Blayloc Purged Topics 9 11-20-2002 03:59 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31