can I make a private post public

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

can I make a private post public

Post 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?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

Tnx Henri, another drink for you at the Harleydag :wink:
Post Reply