Script URL:
Version of script: 1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:All Private posts, private guestbook, privacy settings
Write your message below:
I had an earlier version of this and I remember being able to modify a piece of code in gbook.php to enable ALL posts to be unreadable by the general public.
I would like to be able to do that in this current version as well but the line numbers do not match up. Can you please tell me what I need to replace to make all posts private?
Thank you.
How do you make all posts private?
Hello donatejdm,
Open the file sign_form.php in the templates/default folder.
Find line 80: and change it to
This will only make new posts private. Existing post will stay as they are. These can only be changed by changing the value for private posting in the entries.txt file (or a more hard to guess filename if you changed the setting in the settings.php file).
Greetings,
Henrie
Open the file sign_form.php in the templates/default folder.
Find line 80:
Code: Select all
<label><input type="checkbox" name="private" value="Y" class="gbook_checkbox" <?php echo $isprivate; ?> /><span class="gbook_entries"><?php echo $lang['t55']; ?></span></label><br class="clear" />
Code: Select all
<input type="hidden" name="private" value="Y" />
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.