Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
dalt
New Member
New Member



Joined: Feb 06, 2007
Posts: 6

PostPosted: Tue Feb 06, 2007 12:42 pm Reply with quote

I can't use any html in most of my modules. (downloads and reviews are some of them).
it just removes the html tag and everythign is in the same line, and i need html to make it look clean and insert images. i was able to use it with nuke 7.8.
please html
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Feb 06, 2007 10:26 pm Reply with quote

Check the allowed HTML in your config.php

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
dalt







PostPosted: Fri Feb 09, 2007 12:33 pm Reply with quote

i did and those tags are not allowed. in what order do i have to insert them in order to work?
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Feb 11, 2007 9:34 am Reply with quote

mainfile.php blocks certain HTML tags. You need to check there also.
 
View user's profile Send private message
dalt







PostPosted: Sun Feb 11, 2007 1:42 pm Reply with quote

what do i need to change in mainfile.php?
 
Raven







PostPosted: Sun Feb 11, 2007 4:25 pm Reply with quote

In mainfile.php and/or includes/nukesentinel.php you will see code similar to this

Code:
    foreach($_GET as $sec_key => $secvalue) {

      if((eregi("<[^>]script*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]*iframe*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]*meta*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]style*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]*img*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]*onmouseover*\"?[^>]*>", $secvalue)) ||
      (eregi("<[^>]body*\"?[^>]*>", $secvalue)) ||
      (eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||
      (eregi("\"", $secvalue)) ||
      (eregi("forum_admin", $sec_key)) ||
      (eregi("inside_mod", $sec_key))) {
        block_ip($blocker_row);
      }
    }
    foreach($_POST as $secvalue) {
      if ((eregi("<[^>]*iframe*\"?[^>]*", $secvalue)) ||
      (eregi("<[^>]*object*\"?[^>]*", $secvalue)) ||
      (eregi("<[^>]*applet*\"?[^>]*", $secvalue)) ||
      (eregi("<[^>]*meta*\"?[^>]*", $secvalue)) ||
      (eregi("<[^>]*onmouseover*\"?[^>]*", $secvalue)) ||
      (eregi("<[^>]script*\"?[^>]*", $secvalue)) ||
      (eregi("<[^>]body*\"?[^>]*", $secvalue)) ||
      (eregi("<[^>]style*\"?[^>]*", $secvalue))) {
        block_ip($blocker_row);
      }


If those are the tags that are being blocked then you need to modify that code.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©