Is there a way I can use bbcode when posting stories/news/etc OUTSIDE of the forums? Even when using the advanced editor, I see that in stories I can't use the
Code:
[code]...[/code]
tags. Does anyone know how to use bbcode in the editor for php stories?
Oh, and while I am on the topic, I noticed that when using the code tags in a forum posting, I will get errors if I have jscript within the code tags. Example if I am trying to make a posting of a code snippet and the code snippet contains jscript, even though I wrap the code tags around it, phpnuke still sees the jscript and barks at me saying
Quote:
The html tags you attempted to use are not allowed
. It works fine for other code, such as html, or php code. It seems to be checking the contents of the code tags against the disallowed html tags list, but I thought that anything within code tags would not be parsed.
Does anyone know how I can change this so that whatever is inside the code tags is not parsed?
Mmm integrating BBCode throughout the site would be a problem. It's very much a part of phpBB, pulling it out to use in the rest of phpNuke would be hard.
Second, the SCRIPT tag is filtered for security reasons. You can disable the check in mainfile.php, but it may make your site more vulernable to hackers. Do so at your own risk
I totally understand what you are saying about the security concern RE SCRIPT tags. I wouldn't want to do something that would intentionally open the site to vulnerabilities.
If I want to be able to share code snippets/tutorials what would you suggest? (assuming that these code snippets may contain tags which I wouldn't want to to exclude in the mainfile)
Certainly one option would be to not restrict the use of the SCRIPT tag, but I think we agree that is less than optimal due to the security concerns.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum