make a page so only pro members can see it

I what to add a new page,but i only want the members that upgarde to pro membership to beable to view it,anybody know how to do this( i have the page set up,just need to know how to make it viewable for just pro members)

thank

Quote · 9 Apr 2010

Hello!

It will be more easy to add membership action.

INSERT INTO `MemActions` Set `Name`='My new action';

Check what ID returns this query SELECT `ID` FROM `MemActions` WHERE `Name`='My new action'; remember this value.


Then add following code to ur page before main code:

$iId = (int)$_COOKIE['memebrID'];

$check_res = checkAction( $iId, number of this action);

if ($check_res[CHECK_ACTION_RESULT] != CHECK_ACTION_RESULT_ALLOWED)

exit;

Regard

Quote · 12 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.