DeeEmm

Pragmatism in code

Home

Waxing lyrical about life the universe and everything software related since lunchtime 2006.

Dolphin - Hide banners from guests

If you want to hide advertising banners from non members - do this...

Edit

/inc/banners.inc.php

Search for

Continue reading
  4078 Hits
  0 Comments
4078 Hits
0 Comments

Dolphin - Hide Menu Bar from Guests

If you would like to completely hide the menu bar from non-members, then this is the mod for you.

Edit

templates/base/scripts/BxBaseMenu.php

Find

Continue reading
  10220 Hits
  5 Comments
10220 Hits
5 Comments

Dolphin - Hide custom pages from non-members

Dolphin is not very good with permissions, as a result it is impossible to assign permissions to individual pages. So if you have created some custom pages for your site that you only want to display to logged in members, you will need the following hack...

Edit

viewPage.php

Find

Continue reading
  3879 Hits
  0 Comments
3879 Hits
0 Comments

D7 Hide Promo from logged in users

If you would like to hide the flash promo from displaying to logged in members all you have to do is the following.

Edit inc/design.inc.php

Find the following line in the getPromoCode() function (it's the last line)

return $sCode;

Continue reading
  3947 Hits
  2 Comments
3947 Hits
2 Comments