Results 1 to 4 of 4

Thread: CAN NOT USE HTML TAGS IN ADDON PAGES

  1. #1
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default CAN NOT USE HTML TAGS IN ADDON PAGES

    I was able to do this on the last version of vShare but can not with the latest version.

    I have add-on pages like "team blog" which is for members only and on the "team blog" I like to post the team "pick of the month" for videos from the site and I can not, for the life of me, get the embed video link to work. I think it has something to do with the way the RTE is working, it's not allowing <object> tag. I also can not insert <form> or <textarea> tags either. :(

    I got around this by creating pages outside the RTE for some of the other pages, but I need this to be done inside the RTE due to the "members only" function. Unless someone knows the code to insert into the pages created outside the RTE that would work the same way, I need it. Thanks.
    If it's not fun, stop doing it!

  2. #2
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: CAN NOT USE HTML TAGS IN ADDON PAGES

    Anyone?

    I know how to add .php pages outside the RTE...I need the code that will make pages accessible by members only. Anyone know the code used to make a page "members only" accessible?
    If it's not fun, stop doing it!

  3. #3
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: CAN NOT USE HTML TAGS IN ADDON PAGES

    You need to check is session is set in your PHP script.

    See

    http://docs.buyscripts.in/wiki/Check_us ... HP_scripts

  4. #4
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: CAN NOT USE HTML TAGS IN ADDON PAGES

    Code:
    <?php
    
    require("/path/to/include/config.php");
    require("/path/to/include/function.php");
    
    if (!isset($_SESSION['USERNAME'])) {
    	Header("Location: {$config['baseurl']}/login.php");
            exit(0);
    }
    
    ?>
    
    <html>
    <body>
    <h1>Welcome to Members Area</h1>
    </body>
    </html>
    THANK YOU!!!!!
    If it's not fun, stop doing it!

Similar Threads

  1. [addon] Video Sitemap for VShare
    By RAMMSTEIN in forum Template Modifications
    Replies: 2
    Last Post: 01-08-2009, 01:02 AM
  2. [addon] How to make image rollover
    By RAMMSTEIN in forum Template Modifications
    Replies: 35
    Last Post: 11-05-2008, 04:01 PM
  3. Displaying vShare RSS Feeds on html pages
    By grynmoors in forum General Discussions
    Replies: 4
    Last Post: 07-18-2008, 10:37 AM
  4. [addon] search system + advert
    By pepio in forum Template Modifications
    Replies: 7
    Last Post: 06-07-2008, 02:21 PM
  5. Replies: 0
    Last Post: 02-16-2008, 03:40 AM

Bookmarks

Posting Permissions

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