You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 58 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Allow html to admin [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
LeonG
Nuke Soldier
Nuke Soldier


Joined: Jun 26, 2005
Posts: 16


PostPosted: Tue Jun 28, 2005 9:40 am Reply with quoteBack to top

Hi, each time i try to add a bgcolor html tag to a content page it gets stripped away.

I am using phpnuke v7. The "how to" of phpnuke says that you can add it in the cofig file. But this will make the tag allowable to all users.

Is it posible to allow only admin to use html tags, ALL HTML TAGS as well as javascript in for example the content pages?

Thanks
Find all posts by LeonGView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Tue Jun 28, 2005 11:07 am Reply with quoteBack to top

Basically you'll want to remove all code checking from mainfile.php - including the check_html function and the SCRIPT checking code.

I don't recommend this, it will make your site more vulnerable to hackers

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
LeonG
Nuke Soldier
Nuke Soldier


Joined: Jun 26, 2005
Posts: 16


PostPosted: Wed Jun 29, 2005 3:59 am Reply with quoteBack to top

Thats waht I thought, thanks

It could be nice though if admin and other users rights concerning html tags where separated. SO admin has more freedom.

But meaby this is not posible, secuirtywise.
Find all posts by LeonGView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Wed Jun 29, 2005 9:36 am Reply with quoteBack to top

7.8 removes the check for SCRIPT, IFRAME, etc for admins. But again, I don't recommend this route either.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.332 Seconds - 178 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::