Shoutbox date.

Again, forgive me if this is a repeat but I couldn't find the answer in a search, but did someone already report that the Shoutbox date always displays the current date, and not the date of the actual shout?

 

Thanks,

Andrew

2 Dec 2009

works fine

open

/modules/boonex/shoutbox/classes/bxshoutboxmodule.php

change

'date'          => date( 'M d, Y', time($aItems['Date']) ),

to

'date'          => $aItems['Date'],

save and test...you can see it inserts and pulls correct ...exact time...depend on your hosts time too

I have video tutorials to help you mrpowless.com
2 Dec 2009

Thanks Pow! Works like a charm.

3 Dec 2009

http://www.boonex.com/trac/dolphin/ticket/1564

Rules → http://www.boonex.com/terms
4 Dec 2009

Would be cool if you could shorten it up a bit. I don't think you need the full text of the date in the chatbox, just a shortened version.

http://towtalk.net ... Hosted by Zarconia.net!
4 Dec 2009

works fine

open

/modules/boonex/shoutbox/classes/bxshoutboxmodule.php

change

'date'          => date( 'M d, Y', time($aItems['Date']) ),

to

'date'          => $aItems['Date'],

save and test...you can see it inserts and pulls correct ...exact time...depend on your hosts time too

MrP,

could you not just take the timestamp of the dbase? we purposely modified our sql to recoginize other country access so that the time stamp on their site matched their country. I think we dealt with this whole TimeStamp issue in v6 where different areas of the site were calling different date functions and timestamp functions, so i would hope that D7 has one date/timestamp function. Have not perused the source to realize that at this time.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
4 Dec 2009

works fine

open

/modules/boonex/shoutbox/classes/bxshoutboxmodule.php

change

'date'          => date( 'M d, Y', time($aItems['Date']) ),

to

'date'          => $aItems['Date'],

save and test...you can see it inserts and pulls correct ...exact time...depend on your hosts time too

Hello gays, everething was fixed, by the way - you need replace 'date'          => date( 'M d, Y', time($aItems['Date']) ),
to  'date'          => getLocaleDate( strtotime($aItems['Date']), BX_DOL_LOCALE_DATE),

it will right!

PS: If possible do not write me personally, please try to ask on the forum first
6 Dec 2009

Just when something seems solved ; boonex updates and messes it all up again. So now the shoutbox is back to current dates in Dolphin 7.1. Does anyone know how to fix 7.1 shoutbox dates?

 

8 May 2013

http://www.boonex.com/forums/topic/Shoutbox-always-shows-current-date.htm

Just when something seems solved ; boonex updates and messes it all up again. So now the shoutbox is back to current dates in Dolphin 7.1. Does anyone know how to fix 7.1 shoutbox dates?

 

Rules → http://www.boonex.com/terms
9 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.