question

I want to remove the PRESENSE link from MY dolphin header but I don't know how.

Please HELP....

Quote · 1 Jun 2008

open:

templates/tmpl_uni/scripts/functions.php

Find:

<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=224,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>

Remove the presence reference like so:

<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>

Save/reupload and refresh page. Done deal.

gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 1 Jun 2008

Thanks a lot.

open:

templates/tmpl_uni/scripts/functions.php

Find:

<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=224,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>

Remove the presence reference like so:

<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>

Save/reupload and refresh page. Done deal.

gameutopia

Quote · 1 Jun 2008

Not a problem glad it worked out for you.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 1 Jun 2008

I want to do this too.

I have Dolphin 6.1.2

I tried finding the code you speak of here but it doesnt exist in the functions file i have... any suggestions?

Quote · 27 Jun 2008

Wait  I found it, never mind :)

Quote · 27 Jun 2008

That topcode is in the file templates/tmpl_xxx/scripts/functions.php

----
Quote · 30 Jun 2008

It works!  Just remove the following lines in the file:

<span><a href="javascript:void(0);"
onclick="window.open( '<?= $site['url'] ?>presence_pop.php' , 'Presence', 'width=224,height=600,toolbar=0,directories=0,menubar=0,status=0,location=0,scrollbars=0,resizable=1');"
><?= _t('_RayPresence') ?></a></span>

Quote · 3 Aug 2008
 
 
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.