Results 1 to 6 of 6

Thread: How to remove html tag restrictions ?

  1. #1
    Join Date
    Mar 2007
    Posts
    96

    Default How to remove html tag restrictions ?

    Hello,

    I try to remove the html tag restrictions in the description field.

    In Admin/Option/Setup (Enable html Tag) i select Yes, also i want remove "Allowed html tags" that IndexU accept any html code.

    Anyone know how to do this ?

    Thanks and sorry for my english

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    For security issues you do NOT want to do that. That could allow users to enter javascript, meta refresh tags, iframes and more to inject code, hijack browsers and be a general nuisance including redirecting users away from your site, installing adware/spyware/scumware, ad replacements and more.

    And all of this makes it look like YOUR site is doing this, not someone else's. It would severly damage your reputation and ruin your site.

  3. #3
    Join Date
    Mar 2007
    Posts
    96

    Default

    Thanks Bruceper for your reply.

    I was wondering that is a security problem allowing allowing all html tags.

    In fact, i'm trying to display google script :

    <script type="text/javascript"><!--
    google_ad_client = "pub-XXXXXXXXXXXXXXXXXX";
    /* Lien textuel, créé le 06/04/08 */
    google_ad_slot = "XXXXXXXXX";
    google_ad_output = "textlink";
    google_ad_format = "ref_text";
    google_cpa_choice = ""; // on file
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

    i added <script> tag in allowed html tags but the rest of code disappear, do you know how allow all google html tags ? that's my goal.

    Thanks for your help.

  4. #4
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    well that makes no sense... why are you letting people paste google adwords code into a description? just add the adwords code into the detail_link.html file...?
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  5. #5
    Join Date
    Mar 2007
    Posts
    96

    Default

    Hi Inspireme,

    I'm not letting people add adwords in description, i want place some targeted ads, about detail page, i don't use it.

  6. #6
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    cant you just add it to the rows file then? or the browse.html file? it seems really hard to manage and update if you paste them into the link description....

    this maybe of interest :
    http://www.indexudirectory.com/blog/...ads-in-middle/
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Similar Threads

  1. Moving category image from index.html to browse.html
    By twomiracles in forum Blocks and Modification
    Replies: 4
    Last Post: 02-11-2008, 08:42 AM
  2. Remove > Top
    By msprate in forum v5.x
    Replies: 1
    Last Post: 01-20-2008, 12:08 AM
  3. Cannot Remove Editor After Remove
    By pip in forum v5.x
    Replies: 1
    Last Post: 07-10-2004, 05:51 PM
  4. Replies: 1
    Last Post: 06-03-2004, 08:03 AM
  5. rows.html v/s sp_cat_rows.html ??
    By ideavirus in forum v5.x
    Replies: 1
    Last Post: 06-22-2003, 07:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •