How ??

When a member get message ,
on the bottom member menu bar it get a red light on mail icon like 1 and its red,
but not on the main navigation menu ?
Example: Home,  Account, Profile, (Mail)<<<here)) etc...
how to get it on the top menu also ?

Need some advice please,

thanks

Quote · 10 Feb 2012

yeah buddy Cool

Quote · 10 Feb 2012

http://www.boonex.com/forums/topic/New-Mail-Anywhere.htm

Quote · 11 Feb 2012

 

1. Change title to - Mail ({mmm})

2. Add green line

 

        if (isMember()) {

            $this->aMenuInfo['memberID']   = (int)$_COOKIE['memberID'];

            $this->aMenuInfo['memberNick'] = getNickName( $this->aMenuInfo['memberID'] );

            $this->aMenuInfo['memberLink'] = getProfileLink( $this->aMenuInfo['memberID'] );

            $this->aMenuInfo['visible']    = 'memb';

            $this->aMenuInfo['mmm'] = getNewLettersNum($this->aMenuInfo['memberID']);

        } else {

            $this->aMenuInfo['memberID'] = 0;

            $this->aMenuInfo['memberNick'] = '';

            $this->aMenuInfo['memberLink'] = '';

            $this->aMenuInfo['visible']  = 'non';

        }

 

to BxDolMenu.php

3. Replace all occurrences:

$aItem['Link']    = $this->replaceMetas( $aItem['Link'] );
$aItem['Onclick'] = $this->replaceMetas( $aItem['Onclick'] );

to:

$aItem['Link']    = $this->replaceMetas( $aItem['Link'] );
$aItem['Onclick'] = $this->replaceMetas( $aItem['Onclick'] );
$aItem['Caption'] = $this->replaceMetas( $aItem['Caption'] );

in BxDolMenu.php and BxBaseMenu.php file
4. Clean cache
 

 

Rules → http://www.boonex.com/terms
Quote · 11 Feb 2012

1. It is possible to change menu title in menu builder, you need to look it as text, not just an image.

Rules → http://www.boonex.com/terms
Quote · 14 Feb 2012

Hi Alex,

This works only at the Mail Home.

I.e.
Home > Mail (1) > Inbox

But in the top menu, it appears as " Mail ({mmm}) "

 

Any advise?

Quote · 29 Sep 2012

 Make sure that 3. is implemented everywhere.

Hi Alex,

This works only at the Mail Home.

I.e.
Home > Mail (1) > Inbox

But in the top menu, it appears as " Mail ({mmm}) "

 

Any advise?

 

Rules → http://www.boonex.com/terms
Quote · 2 Oct 2012

I've checked and doubled checked that 3. was implemented everywhere.

Even did an entire dolphin directory search in files to make sure that the code wasn't in any other files.

In BxDolMenu.php ,

        if (isMember()) {
            $this->aMenuInfo['memberID']   = (int)$_COOKIE['memberID'];
            $this->aMenuInfo['memberNick'] = getNickName( $this->aMenuInfo['memberID'] );
            $this->aMenuInfo['memberLink'] = getProfileLink( $this->aMenuInfo['memberID'] );
            $this->aMenuInfo['visible']    = 'memb';
            //Start add number of unread messages to menu
            $this->aMenuInfo['mmm'] = getNewLettersNum($this->aMenuInfo['memberID']);

and

            //generate
            list( $aItem['Link'] ) = explode( '|', $aItem['Link'] );

            $aItem['Link']    = $this->replaceMetas( $aItem['Link'] );
            $aItem['Onclick'] = $this->replaceMetas( $aItem['Onclick'] );
            //Start add number of unread messages
            $aItem['Caption'] = $this->replaceMetas( $aItem['Caption'] );
            //End

In BxBaseMenu.php ,

function genTopItems() {

.....

            //generate
            list( $aItem['Link'] ) = explode( '|', $aItem['Link'] );

            $aItem['Link']    = $this->replaceMetas( $aItem['Link'] );
            $aItem['Onclick'] = $this->replaceMetas( $aItem['Onclick'] );
            //Add number of unread messages to menu
            $aItem['Caption'] = $this->replaceMetas( $aItem['Caption'] );

and

function genSubItems( $iTItemID = 0 ) {

...

            //generate
            list( $aItem['Link'] ) = explode( '|', $aItem['Link'] );

            $aItem['Link']    = $this->replaceMetas( $aItem['Link'] );
            $aItem['Onclick'] = $this->replaceMetas( $aItem['Onclick'] );
            //Add number of unread messages to menu
            $aItem['Caption'] = $this->replaceMetas( $aItem['Caption'] );

 

Am I missing anywhere else?

Quote · 2 Oct 2012

Try to check for these occurrences in custom template folder and/or check if it works in UNI template.

Rules → http://www.boonex.com/terms
Quote · 4 Oct 2012

Yes, already did that much earlier.

Switched to UNI template and it didn't work.

Checked the custom template and couldn't find anything else.

Did a code search for the entire directory to find any more occurrences but there wasn't any more.

Try to check for these occurrences in custom template folder and/or check if it works in UNI template.

 

Quote · 4 Oct 2012

Then it looks like these changes aren't compatible with new version or your custom mods (if you have ones). If you want this modification you need some programmer to do it for you.

Yes, already did that much earlier.

Switched to UNI template and it didn't work.

Checked the custom template and couldn't find anything else.

Did a code search for the entire directory to find any more occurrences but there wasn't any more.

Try to check for these occurrences in custom template folder and/or check if it works in UNI template.

 

 

Rules → http://www.boonex.com/terms
Quote · 6 Oct 2012

 Thanks anyway Alex. :)

 

Then it looks like these changes aren't compatible with new version or your custom mods (if you have ones). If you want this modification you need some programmer to do it for you.

Yes, already did that much earlier.

Switched to UNI template and it didn't work.

Checked the custom template and couldn't find anything else.

Did a code search for the entire directory to find any more occurrences but there wasn't any more.

Try to check for these occurrences in custom template folder and/or check if it works in UNI template.

 

 

 

Quote · 8 Oct 2012

Worked like a charm for me, thanks Alex. Would there be a way to NOT show the (0) if there is no mail?

Quote · 8 Oct 2012
 
 
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.