I posted this on Expertzzz but no one answered me there. I'd like to play around with this mod but can't find the install instructions - might be really simple- like just an upload, but I don't know where. Could someone clue me in?
--------------
The mod below is supposed to allow you to make a page that is viewable for paying members only. It is a free mod I downloaded from here- but the "search" on this forum is so terrible I can't find the install instructions. Could someone post the link to the download page, or just tell me how to install this.
-
Thank you
-
Rob
----
<?
/***************************************************************************
* Dolphin Smart Community Builder
* -----------------
* begin : Mon Mar 23 2006
* copyright : (C) 2006 BoonEx Group
* website : http://www.boonex.com/
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
* http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/
require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'prof.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profile_disp.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'modules.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'images.inc.php' );
// --------------- page variables and login
$_page['name_index'] = 25;
$_page['header'] = _t('Sitemap');
$_page['header_text'] = _t('');
$_ni = $_page['name_index'];
check_logged();
$bizimID = $_COOKIE['memberID'];
$_page_cont[$_ni]['page_main_code'] = PageCompForum($bizimID);
function PageCompForum($a) {
global $prof;
global $site;
$query2 = "SELECT IDLevel FROM ProfileMemLevels WHERE IDMember='$a'";
$sonuc = db_res($query2);
$sayi = mysql_num_rows($sonuc);
if ($sayi==0)
{
return <<<HTML
Your current citizenship standart does not allow to view this page
HTML;
}
else
{
return <<<HTML
<iframe src="live.html" width="100%" height="550px" border="0" frameborder="0">
</iframe>
HTML;
}
}
PageCode();
?>