Main menu

Pragmatism in code

Michael Percy AKA DeeEmm - Waxing lyrical about life the universe and everything software related since lunchtime 2006.

Subscribe to this list via RSS Blog posts tagged in hide
2385

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

Edit

/inc/banners.inc.php

Search for

...
Continue reading
9166

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
Recent Comments - Show all comments
  • DeeEmm
    DeeEmm says #
    Hi Eric, The code should be added to the templates css file (index.css should work). Adding it to the end of the file should suff
  • Eric H
    Eric H says #
    In the part where you hide the stripe, exactly where do you insert that code? First part worked perfectly!
  • dave
    dave says #
    You can also turn off the bottom menu before login. Open inc/classes/BXdoltemplate.phpGo To Line 723: case 'bottom_links':replace:
2521

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
2474

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
Recent Comments - Show all comments
  • DeeEmm
    DeeEmm says #
    Sure - Here you go - Just follow the link - [url]http://www.deeemm.com/resources/tutorials/42-dolphin-70x-modifications/181-dolphi
  • davidjmorin
    davidjmorin says #
    Hey i was wondering if you could make one for hiding the menu bar for non members. ???

Search