help with date and time of post

Started by nedkas, March 28, 2011, 11:28:24 AM

Previous topic - Next topic

nedkas

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

kat

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. :)

All Colours Sam

@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 :)
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Illori

then should we mark this topic solved and let the support continue in the other topic?

All Colours Sam

Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

nedkas

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

Illori

you can not use the large upgrade package in the package manager, you can although use the package manager updates in the package manager.

nedkas

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 ?

Illori

can you provide us a link to your forum to a post/thread with this issue?

Illori

does this also happen on the default theme?

nedkas

yes dear , i tried it in default and the same problem..

All Colours Sam

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>
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

nedkas

and where i put this dear ? i attach you display .template here , please check it and fix the error..

Thanks

All Colours Sam

well, you already have that part in your file, any error in your error log?
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

nedkas

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

All Colours Sam

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
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

nedkas

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

Advertisement: