Tutorial

How To Remove Hide Hello Member Actions:

For Dolphin 6.1x Versions:

After logging in as a member, in the top right corner you will see your little welcome...member name and under it will be links to your account, mail, profile, Ray Presence, and logout.

If you do not use Ray Presence for example or you just do not want the link up there you can easily remove it.

First backup the file:
/templates/tmpl_uni/scripts/functions.php

If you use a template other than the default tmpl_uni then you will need to substitute your actual template name such as:
/templates/template-name/scripts/functions.php

Then find and edit the following code:


                <div class="topMemberBlock">
                        <?= get_member_icon( $memberID, 'right' ) ?>
                        <div class="hello_member"><?= _t( '_Hello member', getNickName( $memberID ) ) ?></div>

                        <div class="hello_actions">
                                <span><a href="<?= $site['url'] ?>member.php"><?= _t('_My account') ?></a></span>
                                <span><a href="<?= $site['url'] ?>mail.php?mode=inbox"><?= _t('_My Mail') ?></a><?=' '.$sNewLet;?></span>
                                <span><a href="<? echo getProfileLink( $memberID ) ?>"><?= _t('_My Profile') ?></a></span>
                                <span><a href="javascript:void(0);"
                                  onclick="window.open( '<?= $site['url'] ?>presence_pop.php' , 'Presence', 'width=260,height=600,toolbar=0,directories=0,menubar=0,status=0,location=0,scrollbars=0,resizable=1');"
                                  ><?= _t('_RayPresence') ?></a></span>

                                <span><a href="<?= $site['url'] ?>logout.php?action=member_logout"><?= _t('_Log Out2') ?></a></span>
                        </div>
                </div>



If you just want to remove the Ray Presence link you can just remove the line like:

                <div class="topMemberBlock">
                        <?= get_member_icon( $memberID, 'right' ) ?>
                        <div class="hello_member"><?= _t( '_Hello member', getNickName( $memberID ) ) ?></div>

                        <div class="hello_actions">
                                <span><a href="<?= $site['url'] ?>member.php"><?= _t('_My account') ?></a></span>
                                <span><a href="<?= $site['url'] ?>mail.php?mode=inbox"><?= _t('_My Mail') ?></a><?=' '.$sNewLet;?></span>
                                <span><a href="<? echo getProfileLink( $memberID ) ?>"><?= _t('_My Profile') ?></a></span>
                                <span><a href="<?= $site['url'] ?>logout.php?action=member_logout"><?= _t('_Log Out2') ?></a></span>
                        </div>
                </div>


Save the changes back to your hosting account, and simply refresh the page to verify.

If you want to remove the Mail link same thing just remove the line:

                                <span><a href="<?= $site['url'] ?>mail.php?mode=inbox"><?= _t('_My Mail') ?></a><?=' '.$sNewLet;?></span>

And save the changes.

If you want to add a link to something else you can use this as a reference and starting point to do so.


Original:

Original

 


After Removing Ray Presence and Mail Links:

Edited

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Sponsored Links
Recommend