NukeXchange Network

          

NukeZone Hosting - Fast, Affordable and Dependable
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem
·Image display? - newbie
·php nuke help

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: GiLli
Today: 2
Yesterday: 1
Overall: 15104

Visitation:
Guests: 497
Members: 0
Total: 497


You are Anonymous user. You can register for free by clicking here
Sponsor Links
php-Nuke Themes and Templates
php-Nuke Themes and Templates

NukeResources :: View topic - phpnuke 7.8 - bbcode in stories
NukeResources Forum Index

NukeResources Forum Index -> Random Thoughts -> phpnuke 7.8 - bbcode in stories
Post new topic  Reply to topic    View previous topic :: View next topic 
phpnuke 7.8 - bbcode in stories
PostPosted: Thu Jan 05, 2006 10:58 pm Reply with quote
powellwa
Resource Seeker
Resource Seeker
 
Joined: Jan 03, 2006
Posts: 5




Hi,

Using phpnuke 7.8 patched to 3.1...

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. Confused

Does anyone know how I can change this so that whatever is inside the code tags is not parsed?


Thanks!

-Bill
View user's profile Send private message
PostPosted: Thu Jan 05, 2006 11:56 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




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

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Fri Jan 06, 2006 2:19 am Reply with quote
powellwa
Resource Seeker
Resource Seeker
 
Joined: Jan 03, 2006
Posts: 5




Cool, thanks for the reply.

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.

Any other options come to mind?

Thanks!

-Bill
View user's profile Send private message
PostPosted: Fri Jan 06, 2006 2:24 am Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




Link to a text file with the code you want in it. Or put your code into a phpNuke module

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
phpnuke 7.8 - bbcode in stories
 NukeResources Forum Index -> Random Thoughts
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
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 132 unique hit(s) in the past 24 hours.
Forums ©
NukeZone Hosting - Fast, Affordable and Dependable


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.28 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::