Comments Page Restore Backup

CMSimple 4.0 und höher
spjoruss
Posts: 32
Joined: Thu 21. Nov 2013, 09:47
Contact:

Comments Page Restore Backup

Postby spjoruss » Fri 7. Aug 2015, 23:34

I have been getting 5-10 spam posts every day or two on my comments page. While deleting these spam posts I accidentally deleted the whole page of comments. I then tried to restore my contents and pagedata from the backup but the comments page is still blank. Are the comments hidden on some other file somewhere?

Thanks,
Sperry

Gert
Posts: 1099
Joined: Sun 18. Nov 2012, 14:18

Re: Comments Page Restore Backup

Postby Gert » Sat 8. Aug 2015, 09:16

Hello,

the comments data files you will find in the folder "./content/comments/".

If you have lost your comments data file by accident, and you didn't create backups of these files frequently, you should ask your provider, the most of them are making backups periodically.

You also should do that (backup of the whole ./content/ folder to your PC) ;)

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

spjoruss
Posts: 32
Joined: Thu 21. Nov 2013, 09:47
Contact:

Re: Comments Page Restore Backup

Postby spjoruss » Sat 8. Aug 2015, 19:40

Hello Gert,

I had looked in the contents folder but did not realize that the file named dateiname.txt was the container for the comments. I had backed up a few weeks ago so I had all my comments except one. I found that lost comment by going to the google cache of the website.

I wanted to adjust the date of the comment and discovered that the long number like: 1430594250 contained the date and time of the comment. By trial and error I was able to change the date by manipulating that number. But I could not figure out the pattern of the number. How does that work?

Thanks,
Sperry

Gert
Posts: 1099
Joined: Sun 18. Nov 2012, 14:18

Re: Comments Page Restore Backup

Postby Gert » Sat 8. Aug 2015, 20:02

spjoruss wrote:How does that work?

Hi Sperry, it's the UNIX timestamp:

http://www.unixtimestamp.com/

There you can convert in both directions,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

spjoruss
Posts: 32
Joined: Thu 21. Nov 2013, 09:47
Contact:

Re: Comments Page Restore Backup

Postby spjoruss » Sat 8. Aug 2015, 20:26

Okay. thanks!

About the spam I am getting. This guy is obviously got nothing to do. He keeps posting the spam to my site. I know I can hide it until I approve posts and then delete his. Also I could have membership and make folks login but this site is not being used in that manner.

Is there any way I could block him?

Sperry

Gert
Posts: 1099
Joined: Sun 18. Nov 2012, 14:18

Re: Comments Page Restore Backup

Postby Gert » Sun 9. Aug 2015, 07:54

spjoruss wrote:Is there any way I could block him?

If it is a human - not really.

Otherwise use MembersArea with an guest account and publish the access data, it works for me. I use MembersArea AND Captcha:

http://www.ge-webdesign.de/plugindemo/?Plugin_Demo_Seiten___Comments

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

spjoruss
Posts: 32
Joined: Thu 21. Nov 2013, 09:47
Contact:

Re: Comments Page Restore Backup

Postby spjoruss » Mon 10. Aug 2015, 17:20

Okay. Thanks Gert


Return to “CMSimple 4.0 and higher”

Who is online

Users browsing this forum: No registered users and 2 guests