Not my doing, I am just reposting to make it easier to find. At some point HoustonLively posted the Dolphin 7 code changes, removed it, then Stuart083 reposted it. Dolphin 6 version was posted by mrpowless.
For Dolphin 7:
// This change will show the Promo image reloader to guests only, and it will not be displayed once a user is logged in. This will allow site owners to use the Promo image
// rotator to show guests what they can do on the site, and not annoy logged in members with what they already know.
In the file: /inc/design.inc.php
Find:
function getPromoCode() {
global $site;
$sSiteUrl = BX_DOL_URL_ROOT;
if( getParam( 'enable_flash_promo' ) != 'on' )
Change to:
function getPromoCode() {
global $site;
$sSiteUrl = BX_DOL_URL_ROOT;
if(!isMember())
if( getParam( 'enable_flash_promo' ) != 'on' )
//<------------------------------------------------------------------------------------------------------------->
For Dolphin 6:
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