Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: nedkas on March 28, 2011, 11:28:24 AM

Title: help with date and time of post
Post by: nedkas on March 28, 2011, 11:28:24 AM
Hi friends..

I have a problem with the date and time of posts that are not showed and above of the post i have for example :

« Reply #1 on:   »

but not show the date or time of post . i use smf 1.1.11 and the theme redx

thanks so much
Title: Re: help with date and time of post
Post by: kat on March 28, 2011, 12:26:04 PM
You REALLY should upgrade to v1.1.13, nedkas.

You've missed two upgrades, now, and they're both for plugging security holes.

That might even fix your problem, too. :)
Title: Re: help with date and time of post
Post by: All Colours Sam on March 28, 2011, 02:24:39 PM
@nedkas

http://www.simplemachines.org/community/index.php?topic=427807.msg3001410#msg3001410

I know that having two topics will give you more chances to solve your issue, but please try to stay with just one topic :)
Title: Re: help with date and time of post
Post by: Illori on March 28, 2011, 02:25:53 PM
then should we mark this topic solved and let the support continue in the other topic?
Title: Re: help with date and time of post
Post by: All Colours Sam on March 28, 2011, 03:07:45 PM
fair enough :)
Title: Re: help with date and time of post
Post by: nedkas on March 28, 2011, 03:16:16 PM
I tried to upgrade it with SMF 1.1.13  large upgrade but i get this message :

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted. 

any idea ?

thanks
Title: Re: help with date and time of post
Post by: Illori on March 28, 2011, 03:18:46 PM
you can not use the large upgrade package in the package manager, you can although use the package manager updates in the package manager.
Title: Re: help with date and time of post
Post by: nedkas on March 28, 2011, 03:23:17 PM
Thanks very much for all , i have upgraded it to 1.1.13 but the problem is not solved . i have not date and time in topics.

any new idea ?
Title: Re: help with date and time of post
Post by: Illori on March 28, 2011, 03:27:15 PM
can you provide us a link to your forum to a post/thread with this issue?
Title: Re: help with date and time of post
Post by: Illori on March 28, 2011, 03:32:21 PM
does this also happen on the default theme?
Title: Re: help with date and time of post
Post by: nedkas on March 28, 2011, 03:34:38 PM
yes dear , i tried it in default and the same problem..
Title: Re: help with date and time of post
Post by: All Colours Sam on March 28, 2011, 03:35:56 PM
he is missing this part in his Display.template:


<div class="smalltext">« <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div>
Title: Re: help with date and time of post
Post by: nedkas on March 28, 2011, 03:38:07 PM
and where i put this dear ? i attach you display .template here , please check it and fix the error..

Thanks
Title: Re: help with date and time of post
Post by: All Colours Sam on March 28, 2011, 03:44:23 PM
well, you already have that part in your file, any error in your error log?
Title: Re: help with date and time of post
Post by: nedkas on March 28, 2011, 03:49:25 PM
No miss , but maybe if i delete all and let the forum as i have taked it from server, then try to install it from beging , but i do not exactly what files i delete , in current_html yes but is there any file to delete more because i did this before and when is installed and begin the registery with my name i have the message that name is taked by another user..
can you tellme what files i must delete from server to install it from begining ?
thanks so much
Title: Re: help with date and time of post
Post by: All Colours Sam on March 28, 2011, 04:02:03 PM
the problem is not likely in your files, $message['time']  should have the time and date

can you please find this in your display.template.php

<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>

and replace with:

<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', ($context['user']['is_admin'] ? print_r($message) : ''),'


and tell me if the [time] =>    is empty or contains the date
Title: Re: help with date and time of post
Post by: nedkas on March 29, 2011, 10:20:12 AM
Thanks miss..

I think that the problem is in my backup , because when i install the forum from begining i have the time and data but as i install mysql the time and data disappear  . maybe i do not install good data base . i have a complete backup in zip and when i install data base i open the zip and go to the file mysql and when i open it i have tow files :

horde.sql
myname.sql

i install only myname.sql but i do not install the zip file with others files......is this correct ? ot i must install all the zip file ?

i hope to guide me to correct way of installing data base from a zip backup.

thanks