Announcement

Collapse
No announcement yet.

Trying messing up a post

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tamarian
    replied
    To disable Javascripts and allow HTML at the same time, modify functions.php

    Find:
    PHP Code:
        $bbcode=str_replace(">",">",$bbcode);
      } 
    Replace with:
    PHP Code:
        $bbcode=str_replace(">",">",$bbcode);
      }
      
    // kill javascripts hack
      
    $bbcode=str_replace("<script","&lt;script",$bbcode);
      
    // end hack 
    Hope it's o.k. to post this here, as it's not worth posting in hacks.

    Leave a comment:


  • tamarian
    replied
    Hmm I tried adding a new replacemnt for <script and it ruined all existing scripts.

    I guess this need to be code hack to modify HTML parsing in posts.

    Leave a comment:


  • tamarian
    replied
    Is there a way to allow HTML but disallow scripts?

    Leave a comment:


  • Tommy Boy
    replied
    Disable HTML in your board.

    Leave a comment:


  • Omero
    replied
    Ok, its a problem of my board

    Leave a comment:


  • Omero
    started a topic Trying messing up a post

    Trying messing up a post

    Sorry if this is a useless post, but i've been reported by a user of my board that there is a way to mess up posts.... i want to check it here, to see it's actually a problem with vbb or with my board

    Thanks

    <script language="Javascript>
    document.write('prova');
    </script>
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X