-
AuthorPosts
-
don german Friend
don german
- Join date:
- August 2010
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
July 29, 2011 at 12:29 am #166832so i do my homework and i found another post whit the same problem.
I try to replace in php helper this code:
$item->date = $item->modified == null||$item->modified==””||$item->modified==”0000-00-00 00:00:00″ ? $item->created : $item->modified;
with this new code:
$lists [$i]->date = strtotime ( $row->created );
or that:
$lists [$i]->date = strtotime ( $row->modified ) ? $row->created : $row->modified;
and dont show date created :((
What is the rigth code to show created?
why it is so complicated? must be include into the parameters. >:(
show date: YES
order: CREATED
PUBLISHED
MODiFiEDdont you think?
sorry:-[
not a big deal.:laugh:chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 29, 2011 at 9:11 am #403585Do you need the Created date there or Modified date?
don german Frienddon german
- Join date:
- August 2010
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
July 29, 2011 at 5:15 pm #403644i need the created date there.:((
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 31, 2011 at 3:32 am #403751Go to this File modulesmod_jabulletinhelper.php
Replace the following Code
$lists [$i]->date = strtotime ( $row->modified ) ? $row->modified : $row->created ;
With
$lists [$i]->date = strtotime ( $row->created);
Note: If you Find my Post useful please click on the Thanks Icon
don german Frienddon german
- Join date:
- August 2010
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
July 31, 2011 at 7:56 pm #403804No, even if i put that code:
$lists [$i]->date = strtotime ( $row->created);
dont show any date!
Im on modulesmod_jabulletinhelper.php line 128I need the created date.
could you check for your self please.
I send you a PM.
Thank you.chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 1, 2011 at 2:41 am #403847Please post your ftp details in PM. I will resolve this in minutes
don german Frienddon german
- Join date:
- August 2010
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
August 4, 2011 at 5:23 pm #404534Ok, I send you all the details in PM.
Thank you. -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by chavan 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum