ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to Remove the "Bulletin Board" link on the Private Messaging Template

May 12, 2008 5:04pm

Subscribe [1]
  • #1 / May 12, 2008 5:04pm

    oniracom

    12 posts

    I’ve been searching for how to remove the “Bulletin Board” link from the left hand side of /member/messages/.

    I can find the general input for “menuItem” however I can’t find the individual links that are generated like Bulletin Board, Inbox, Sent, etc.  I’m just looking to remove the link to Bulletin Board, and I’d rather not use an ugly Javascript hack.  Any help is appreciated!

  • #2 / May 13, 2008 12:40pm

    Robin Sowell

    13255 posts

    In truth, I don’t see a good way to get rid of it w/out a hack.  Found where it’s generated in core.message.php:

    $map = array('bulletin_board', 'compose_message', 'folders', 'edit_folders', 'buddy_list', 'block_list');

    Hm- could hard code the whole menu- but then you lose the dynamic bits, such as the counts.  Hm- might make a good feature request to provide a way to customize the menu items.

  • #3 / May 13, 2008 5:42pm

    oniracom

    12 posts

    We ended up deleting the text ‘bulletin_board’ =><br /> ””, from the language file, lang.messages.php

    This didn’t remove the actual link, just dropped the text so the link isn’t accessible anymore.  I’m going to go back and delete it from the array you posted to actually remove the entire link.

    I did consider hard coding the menu but ran into the same issues you found.  I hope that this system is made more a part of EE, wherein you can use weblog tags, modules, etc.  Would make my work a lot easier!

    Thanks for the help Robin!

  • #4 / May 13, 2008 5:44pm

    Ingmar

    29245 posts

    From what little we know of EE 2.0 at this point, there should be a lot more flexibility by using “accessories” in the future.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases