Page 1 of 1

can I make a private post public

Posted: Tue Apr 06, 2010 5:35 pm
by Jomar
Script URL:
Version of script: 1.7
Hosting company: pins-web.com
URL of phpinfo.php: http://www.ceesenco.nl/gbook17/gbook.php
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
make private post public

Write your message below:

Somewhone wrote a message in the guestbook and made it a private message. Is there a way to change this in to a public message for everybody to read.
Or do we just copy and paste?

Posted: Tue Apr 06, 2010 7:59 pm
by Henrie
Hello Jomar,

There isn't add-on function written for it yet, and I don't have time to write an add-on for this now.
But you can do it by editing the entries.txt (or whatever you have named it) file with a suitable text editor.

A normal entry looks like this:

Code: Select all

Name	From	me@mail.com	http://www.website.com	Message	April 6, 2010	1	0	127.0.0.1
The empty spaces are tabs, when i make those visible (» represents a tab) it looks like this:

Code: Select all

Name»From»me@mail.com»http://www.website.com»Message»April 6, 2010»1»0»127.0.0.1
The field after the date indicates if it is a private post or public post. The message above is a private post, because the value is 1.
To change it to a public post change the value to 0, see example below:

Code: Select all

Name»From»me@mail.com»http://www.website.com»Message»April 6, 2010»0»0»127.0.0.1
Greetings,
Henrie

Posted: Wed Apr 07, 2010 5:11 pm
by Jomar
Tnx Henri, another drink for you at the Harleydag :wink: