Hide Promo

I read a post on the forum regarding being able to hide the promo banner for logged in members. I know there is a simple line of If Member...etc...


Anyone remember the link or know the line of code I am referring to?

 

Thanks

Jeremy
Quote · 22 Mar 2011

Open the - inc\design.inc.php

find this code line:

function getPromoCode() {

and this code after that:

if( getLoggedId() ) { return; }

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 23 Mar 2011

That's not the code I was looking for...I read a post here something about $sMember if () ) ....man I wish I could remember what it was. I think HL posted it. If I recall correctly, its a post from more than a year ago.

 

That worked...and I am using it. Thanks SashaE

Jeremy
Quote · 23 Mar 2011

 

That's not the code I was looking for...I read a post here something about $sMember if () ) ....man I wish I could remember what it was. I think HL posted it. If I recall correctly, its a post from more than a year ago.

 

That worked...and I am using it. Thanks SashaE

This?

 http://www.boonex.com/unity/forums/?action=goto&search=1#topic/Hide-Promo-Block-when-logged-in.htm

Quote · 23 Mar 2011

rhimpr....you got it! Thanks. That is the exact post I was looking for. Thanks a lot.

Jeremy
Quote · 23 Mar 2011

 

Open the - inc\design.inc.php

find this code line:

function getPromoCode() {

and this code after that:

if( getLoggedId() ) { return; }

 How can this same effect be achieved in 7.0.8? The only similar line is 231 which shows:

function getPromoImagesArray() { 

Adding the code below this (
if( getLoggedId() ) { return; }) causes errors. Thanks!

Quote · 24 Oct 2011
 
 
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.