html not allowed

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
alan keys
Registered User
Posts: 100
Joined: Wed Aug 02, 2006 9:09 am

html not allowed

Post by alan keys »

hi.

ive enabled html and also set b,u,i,a href,img src as allowable in configurations.

I also click allow html on invidual posting page

but html is not allowed..... the following <a hr..="fsdfds.gg">fgsdg</a>
is rendered on page as <a>fgsdg</a>


pls ofer some ideaa..... thx
wired076
Registered User
Posts: 1441
Joined: Mon May 21, 2007 10:19 am

Re: html not allowed

Post by wired076 »

In phpBB 3 all html has been disabled and not allowed.

You must now use bbcode to do what you want.

They believed it was a security risk and so decided not to give the user who is using the board the choice of whether they want to use it or not.

The only way to get html to be allowed would be to create a mod.
User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Re: html not allowed

Post by karlsemple »

HTML was a security risk as it it invited Board Admin the ability to allow dangerous HTML tags with no filtering in place and as such HTML has been replaced with custom BBcodes :)
Image
alan keys
Registered User
Posts: 100
Joined: Wed Aug 02, 2006 9:09 am

Re: html not allowed

Post by alan keys »

I hear you guys but the bbcode doesnt seemto work......

on posting a link , i just get


<a>sdfaefw</a>
wired076
Registered User
Posts: 1441
Joined: Mon May 21, 2007 10:19 am

Re: html not allowed

Post by wired076 »

That is html and html code for a link is <a href="">

BBcode for a link is
User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Re: html not allowed

Post by karlsemple »

alan keys wrote:I hear you guys but the bbcode doesnt seemto work......

on posting a link , i just get


<a>sdfaefw</a>

That is not bbcode that is html to post a link using bbcode you use

Code: Select all

[url=http://www.phpBB.com]Click Here[/url]
Click Here
Image
alan keys
Registered User
Posts: 100
Joined: Wed Aug 02, 2006 9:09 am

Re: html not allowed

Post by alan keys »

Karl

it still doesnt work....

i even posted exactly as you suggested...
Click Here

i also tried <b> and no good.....


bbcode config is selected
alan keys
Registered User
Posts: 100
Joined: Wed Aug 02, 2006 9:09 am

Re: html not allowed

Post by alan keys »

your going to murder me.....
ive accidentally posted in 3.0 support forum..... im running 2.0

sorry.....
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 11048
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: html not allowed

Post by battye »

Moved to 2.0.x Support
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
Locked

Return to “2.0.x Support Forum”