URLs in message body

Is message board greying out your hair (at least what's left of it)? Let us help you here
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

URLs in message body

Post by d2007 »

I have noticed that URLs posted in messages conveniently get turned into proper links with rel=nofollow in the code. I assume this is the JunkMark(tm) filter at work.

However, I noticed that if someone tries to put html link tags directly into a message, the "You are not allowed to post to this message board" warning appears on attempting to post.

Again, I assume this is the spam filter at work. Would increasing the spam filter setting to, say, 80 allow people to post html tags in the message or is this something that mboard does not allow at all, in order to avoid spam etc?

Thanks

David
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

URLs are transferred into links by the MakeUrl function.

The "Your are not allowed to post" message is indeed generated by the spam filter and it takes in account many variables, not just URLs. If someone tries to post an URL it will result in a higher spam score, but shouldn't be enough for a block by itself. You can try increasing the limit to 80 if you are having problems with it.

Note however that MBoard will not parse any HTML code posted and just display it as code. So if you try to post an <a href=....>...</a> link it will just remain in HTML code, obviously for security reasons. It isn't a reason to be banned by the spam filter though.

Also note that once you get the "not allowed to post" error it will appear throughout the session, so in order to test again you need to close ALL browser windows before testing again.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

Post by d2007 »

Here is something interesting. I am still testing and playing around with mboard at the moment.

I have the JunkMark filter set to 80 and tried posting a message with IE 6, which contained a URL in the message body and the filter blocked the posting.

If I try to post exactly the same message with Firefox 2, the message posts without any problems.

I have tried clearing the Temp Internet Files and Cookies on IE and closing down the browser, but the problem persists.

Any ideas why?

Thanks

David
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

What's the message you tried to post? Should make no difference at all what browser you use.

What's the URL of your mboard?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

Post by d2007 »

It's funny, the old problem of IE causing the JunkMark filter to reject a message has cropped up again. A user contacted me to say that he can post a message fine with Firefox 2, but exactly the same message posted with IE6 causes the "you cannot post to this board" error. Closing down IE completely and reattempting to post does not solve the problem.

I had exactly the same problem when I was testing the site earlier this year.
Last edited by d2007 on Sat Sep 22, 2007 2:41 am, edited 2 times in total.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

And what was the message?

Also, you need to extract the Zip files and upload the .php files inside ;) (for phpinfo and session_test)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

Post by d2007 »

Sorry, now extracted.

The message was the last one posted (13.html). I have made subsequent edits to this however.

Thanks
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

What's your junkmark_limit set to? The way I see that post shouldn't score higher than 60.

Are you behind a some kind of a proxy?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

Post by d2007 »

Hi

The JunkMark limit is set to 90 because of similar problems I had when testing the forum back in June.

I'm not behind a proxy.
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

Post by d2007 »

Sorry for being such a pain about this. Just to check that it is not something specific to my board, today, I tried posting a test message to your test mboard:

http://www.phpjunkyard.com/mboard/msg/9534.html

I found that posting this message with Firefox 2.0.0.7 posts the message without any problems.

When I tried to post the same message with IE 6.0.2900.2180 I get the message "You are not allowed to post to this board"

Everthying else about mboard works great. I love it. It would be perfect if I could just resolve this issue.

Thanks

David
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

Post by d2007 »

Hi

I have been checking today and found that for the same session, when I check my IP address on IE, it is a different IP address to that on Firefox.

Could that be a reason for the posting problems? Does it mean that IE uses some kind of proxy?

Hope you can help.



David
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I was able to post your message using IE with no problems. Can someone else try with IE and post a message like this:
http://www.phpjunkyard.com/mboard/msg/9550.html
?

In IE if you go to "Tools" > "Internet options" select "Privacy" tab, what are your settings there?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Also try posting from some other PC (not your PC and not in your home).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

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

Post by Henrie »

I just tested and no problems posting with IE7 and IE6.
All my testing posts were posted without any problems
http://www.phpjunkyard.com/mboard/msg/9555.html

Greetings,
Henrie
d2007
Posts: 14
Joined: Fri Jan 05, 2007 1:14 pm

Post by d2007 »

OK, my privacy settings are at 'Medium'

I tried posting the test message to the mboard test forum from a computer at work and I got the 'You are not allowed to post to this board message' again from there too. Again that was on IE6 with privacy set to medium.

I tried changing the privacy settings on my IE6 at home today to 'Accept all cookies' and find that I still get the error message when posting to the test mboard. Again, Firefox posts the same message without a problem.

So, as you can see, I'm no further forward.

One thing that puzzles me is why would I have a different IP adress with IE6 and Firefox (for the same internet connection)? Is IE using some kind of proxy that is causing the problem with mboard?

BTW I use a cable ISP (in case that is significant).
Locked