Last Post Date Problem
Started by JVCode, Jan 10 2012 11:11 AM
9 replies to this topic
#1
Posted 10 January 2012 - 11:11 AM
I've recently decided to bring my old site back to life on a fresh install, using my old skin upgrading it to 3.1.4 - I'm having a problem with the last post date showing up as "1326049604" - I have no idea how to fix this style issue, can anyone help ?
Regards,
Regards,
#2
Posted 10 January 2012 - 05:42 PM
Its because the way the date is parsed changed, I cannot remember which version it actually changed in. I think it was either 3.1.3 or 3.0.4.
One quick usually successful 'fix' is to revert the global template (copy / paste what you have in it first safely into a text file)
One quick usually successful 'fix' is to revert the global template (copy / paste what you have in it first safely into a text file)
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#3
Posted 14 January 2012 - 02:13 PM
Thankyou Andy, the only problem I face with doing this is that the template in question is heavily modified. I'm almost certain my style will break.
EDIT: it did break the style, I'm sure it's just as simple as editing one line of code, but I have no idea which. My website is located at www.ConsoleCommunity.com if you would like to take a look and have any suggestions to fix my issue
EDIT: it did break the style, I'm sure it's just as simple as editing one line of code, but I have no idea which. My website is located at www.ConsoleCommunity.com if you would like to take a look and have any suggestions to fix my issue
Edited by JVCode, 14 January 2012 - 02:24 PM.
#4
Posted 14 January 2012 - 05:00 PM
Copy / paste the original code so you have it working again.
The other fixes are to manually update the date parsing (I'd have to check to see what is involved as its a long time ago now really) or contact the author for a fix. IIRC its anywhere where the skin code refers to the date that wants updating. It may be easier to compare and old / new template to see what's needed.
The other fixes are to manually update the date parsing (I'd have to check to see what is involved as its a long time ago now really) or contact the author for a fix. IIRC its anywhere where the skin code refers to the date that wants updating. It may be easier to compare and old / new template to see what's needed.
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#5
Posted 14 January 2012 - 06:41 PM
I believe the code that needs to be changed is the boadIndexTemplate and forumIndexTemplate. Those are the templates that control last post info. If those templates are individually heavily modified, you can look at the default copy of it in the default skin, and then only copy and paste the part that you need (in this case, only copy and paste the last post info HTML to overwrite the old last post info code) and then you don't have to redo anything else in the template.
#6
Posted 15 January 2012 - 11:32 AM
Thanks guys, I really appreciate all the help I'm receiving here. I'm really struggling to know what part of the two templates I'm needing to change. If I pm you a copy of both templates, would you be able to fix the issue ?
#7
Posted 15 January 2012 - 12:16 PM
Bitter would probably be better at this as he is a skinner. I'm not likely to be able to rectify it very easily.
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#8
Posted 15 January 2012 - 06:49 PM
Thankyou AndyF
Bitter, if okay with you, may I pm you the two templates in question from the modified style?
Bitter, if okay with you, may I pm you the two templates in question from the modified style?
#9
Posted 15 January 2012 - 08:56 PM
I don't have the updated code on me anywhere, all my boards are on 3.2.
I could locate the code in question, but I don't have the correct replacement code on me anywhere. If you copy and paste the existing code into a text document, and then hit "revert" in the template so that it replaces it with the 3.1.4 template code and then put that into a text document and send me both, I can do it for you and then send you the final code to paste in its place. Lots of steps, but that's how I can do it.
I could locate the code in question, but I don't have the correct replacement code on me anywhere. If you copy and paste the existing code into a text document, and then hit "revert" in the template so that it replaces it with the 3.1.4 template code and then put that into a text document and send me both, I can do it for you and then send you the final code to paste in its place. Lots of steps, but that's how I can do it.
#10
Posted 16 January 2012 - 10:05 AM
Thanks Bitter, I've sent you a PM with the files.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





Contributor












