Page 1 of 1

Make ALL messeges private!

Posted: Fri May 19, 2006 2:29 am
by Stevie5
Script URL: http://www.scottishbands.co.uk/php/gbook/gbook.php
Version of script: 1.4
Version of PHP: 4 i think
Hosting company:
Have you searched THIS FORUM for your problem: Yes And a google Site search
(if not please do before posting)
If so, what terms did you try: Private, Checkbox, "All Private"

Write your message below:

I love your work - amazing!

Is there any way i can make the checkbox the value i need to make ALL the messages from a particular g book private??

Many thanks in advance

Stevie (just learning) (glasgow)

Posted: Mon May 22, 2006 11:32 am
by Klemen
Quite simple, in gbook.php find the HTML code for private message checkbox and just change it to a hidden field with value="Y"

Thank you!

Posted: Mon May 22, 2006 5:49 pm
by Stevie5
Many thanks for that!

I was a bit confused by the default value in the script being "Y".

I thought about hidden values but wasnt sure why when the value was Y and the box didnt appear ticked when the page was viewed!

Thanks again for your help - your answer was perfect and has helped me greatly - keep up the good work!


I'll keep you posted on my progress..

Stevie