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.
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?
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
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!!!!!