Hide Promo Box When Logged In

Our promo box is rotating a set of slides selling the benefits and features of the site - we want to suppress the promo box when members are logged in. How do we do that?

Quote · 17 Feb 2009

open inc.design.inc.php

in:

function getPromoCode()

after:

$sCode = '<div class="promo_code_wrapper">' . getParam( 'custom_promo_code' ) . '</div>';

insert:

elseif( $logged['member'])
{
$sCode = '';
}

inside the '' you can put a language string _indexinfo , for example to add alternate text/html from the admin settings/languages setting

Have fun

I have video tutorials to help you mrpowless.com
Quote · 17 Feb 2009
 
 
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.