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:
URL addresses
banned
url ban
Write your message below:
I tried to search for a question in couple of nigths and did not find nothing even close to my prob and also read the readme.html many times, without luck, so registered and here's my question.
How can I allow posting URL's to messages?
How to allow URL's to messages??
Hello JungleDongle,
Although it is highly not recommended, here you go.
You can enable posting of url's in messagess by disabling the use of the JunkMark spam filter.
Set $settings['junkmark_use']=0; in the settings.php file.
But be aware that this will also disable the blocking of spammers who post url's in their message.
You will only have the anti-spam question and Captcha to stop spammers when you disable the JunkMark filter.
Greetings,
Henrie
Although it is highly not recommended, here you go.
You can enable posting of url's in messagess by disabling the use of the JunkMark spam filter.
Set $settings['junkmark_use']=0; in the settings.php file.
But be aware that this will also disable the blocking of spammers who post url's in their message.
You will only have the anti-spam question and Captcha to stop spammers when you disable the JunkMark filter.
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.
OR you could change to This will not allow posting URLs in the comments field, but will add a new field where people will be able to enter their web site address.
Code: Select all
$settings['use_url']=0;
Code: Select all
$settings['use_url']=1;
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 2
- Joined: Thu Nov 05, 2009 8:21 pm
Ok. That helped. Thanks. If I may I would like to ask one more question or is it suggestion.
I was thinking that would it be possible to reserve one or few names for administration purposes. Meaning that people who sign guestbook can not use certain names that are reserved for keeper of the guestbook.
I haven't found that kind of option and was thinking of adding that code myself. Can send it to you if i'm able to manage with it. I am not a wizard with php but have studied it for a bit so I was thinking of to try to write that code to learn php. For the code I was thinking of IF control for the name checking, if TRUE (in case of admin name) admin password check and after that back to normal posting measures.
What do you think? Would you have any hints or other points?
PS: And if I am not able to get working code, could it be possible to add this kind of feature to future updates??
I was thinking that would it be possible to reserve one or few names for administration purposes. Meaning that people who sign guestbook can not use certain names that are reserved for keeper of the guestbook.
I haven't found that kind of option and was thinking of adding that code myself. Can send it to you if i'm able to manage with it. I am not a wizard with php but have studied it for a bit so I was thinking of to try to write that code to learn php. For the code I was thinking of IF control for the name checking, if TRUE (in case of admin name) admin password check and after that back to normal posting measures.
What do you think? Would you have any hints or other points?
PS: And if I am not able to get working code, could it be possible to add this kind of feature to future updates??
You can try modifying gbook.php file, just below add something like:
You can add more names to the if sentence by separating the code with || , for example:
Code: Select all
if (empty($name))
{
$error_buffer .= $lang['e03'].'<br class="clear" />';
}
Code: Select all
if ($name == 'Admin')
{
$error_buffer .= 'This is a reserved name<br class="clear" />';
}
Code: Select all
if ($name == 'Admin' || $name == 'John' || $name = 'Wayne')
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools