- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 73 guest(s) and 2 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 [ ]
Author
Message
LeonG
Nuke Soldier
Joined: Jun 26, 2005
Posts: 16
Posted:
Tue Jun 28, 2005 9:40 am
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
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12397
Posted:
Tue Jun 28, 2005 11:07 am
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
LeonG
Nuke Soldier
Joined: Jun 26, 2005
Posts: 16
Posted:
Wed Jun 29, 2005 3:59 am
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.
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12397
Posted:
Wed Jun 29, 2005 9:36 am
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