How do I remove "Subscribe" action?

How do I remove the "Subscribe" button under the actions panel on user profiles?

Quote · 30 Mar 2010

Credit for this goes to kevinmitnick

Here's how you can do it :

open /templates/base/scripts/BxBaseProfileView.php file


Find below and Comment it

$aButton = $oSubscription->getButton($iMemberID, 'profile', '', $iViewedMemberID);

This modification will remove the Subscribe button from Actions Block


Thanks Again Kevin!

Quote · 7 Apr 2010

You should be aware that the subscribe button will still show in the pop-up actions block that appears when you click on a thumbnail.

To remove this, see below :

In short_profile_info.php

FIND :

//--- Subscription integration ---//       
$oSubscripti alt= new BxDolSubscription();
$aButt alt= $oSubscription->getButton($iMemberId, 'profile', '', $iProfId);

$aProfileInfo['sbs_profile_title'] = $aButton['title'];
$aProfileInfo['sbs_profile_script'] = $aButton['script'];
//--- Subscription integration ---//

REPLACE WITH :


$aProfileInfo['sbs_profile_title'] = '';
$aProfileInfo['sbs_profile_script'] = '';

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 7 Apr 2010

just tried both parts the 1st 1 works when i done the 2nd it still show in the pop-up actions block that appears when you click on a thumbnail. can someone help?

 

thanks

Quote · 22 Jul 2011
 
 
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.