phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Request for better control of URL parsing

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

Request for better control of URL parsing

Postby tomdkat2 » Mon Aug 08, 2011 3:39 pm

One feature I think would make a great addition to phpBB is the ability to disable automatic parsing of URLs (magic links) on a per forum basis. I've been searching for ways to accomplish this in phpBB 3.0.x and this appears to be the best approach so far:

http://www.phpbb.com/community/viewtopi ... 6&t=589332

Basically, changing this code inincludes/message_parser.php :
Code: Select all
 $this->message = make_clickable($this->message, $server_url);


to remove the call to "make_clickable()". The issue is I, and at least one other forum poster, would like to be able to do this on a per-forum basis. On my forum, I have private areas only members can see and some public areas everyone can see. In the public areas, I have one area that is open for anyone to post in, so forum members who have problems logging in can post support requests and I can address their issues and get them logged in to the member's area again.

Having the ability to disable automatic URL parsing on a per-forum basis would make my job easier since I can better control the spam being posted. Additionally, having the ability to limit URL posting to BBCode only, would be great and on a per-forum basis. So, if a member wants to post a link to a site, they must use the BBCode [url] tag. If they post URL without the [url] tag, the URL appears as plain text, and not a hyperlink, if this "automatic URL parsing" feature is disabled for that particular forum.

Does anyone else think this would be a good addition to phpBB?

Thanks!

Peace...
tomdkat2
Registered User
 
Posts: 1
Joined: Mon Aug 08, 2011 3:30 pm

Return to [3.x] Discussion

Who is online

Users browsing this forum: No registered users and 10 guests