disable befriend button

my question is if i can remove the add/befriend button

and all kind of freindship button.

Always remember that the future comes one day at a time.
Quote · 31 Aug 2014

That button is in the database in the table sys_objects_actions

Look for caption items named

{cpt_befriend}
{cpt_remove_friend}

And delete those entries from the database then clear your dolphin cache.

https://www.deanbassett.com
Quote · 31 Aug 2014

thank

Always remember that the future comes one day at a time.
Quote · 31 Aug 2014

 

my question is if i can remove the add/befriend button

and all kind of freindship button.

 why u want to remove that..

Quote · 31 Aug 2014

because i am using dolphin as dating

site and i there is no "add friend" in other

dating websites as far as i know...

Always remember that the future comes one day at a time.
Quote · 31 Aug 2014

I didn't want to create another thread since we are on the befriend subject.

Here is my question how can I add the befriend button right next to each member's

name on the members area?  Please refer to my attachment.

members.jpg · 140.8K · 279 views
members1.jpg · 171.6K · 189 views
Quote · 8 Jan 2016

 

because i am using dolphin as dating

site and i there is no "add friend" in other

dating websites as far as i know...

Hi yzisano

 

Access phpMyAdmin and go to your database.  Hit the search link and enter cpt_befriend.  On the results page scroll down to sys_objects_actions and click Browse.

On here you will see the following information (remember the ID may be different):

 

5     {cpt_befriend}     plus         {evalResult}     return $GLOBALS['oTopMenu']->getScriptFriendAdd({I...    4     Profile     0

 

Now click the Delete button at the beginning of the row, refresh your cache and the button is now gone.  Before deleting may I suggest that you export this so you have a backup in case you want to put it back.

 

Hope this helps.

 

Gew

Quote · 13 Jan 2016
 
 
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.