We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

remove follow function | Forum

Kieron H Leader
Kieron H Aug 30 '13
how can I remove the follow user function
The Forum post is edited by Kieron H Aug 30 '13
Oxwall Accessories
Oxwall Accessories Aug 31 '13
Quote from Kieron (thestatusfeed.com) how can I remove the follow user function

I too would love to remove all those follow buttons
S. Bourdon
S. Bourdon Sep 1 '13
Here's what I did:


Open: ow_plugins/newsfeed/init.php


And comment out (or remove) the following (lines 139-143):


    $event->add(array(

        BASE_CMP_ProfileActionToolbar::DATA_KEY_LABEL => $isFollowing ? $unfollowLabel : $followLabel,

        BASE_CMP_ProfileActionToolbar::DATA_KEY_LINK_HREF => 'javascript://',

        BASE_CMP_ProfileActionToolbar::DATA_KEY_LINK_ID => $linkId

    ));


Hope this helps!

The Forum post is edited by S. Bourdon Sep 1 '13
Kieron H Leader
Kieron H Sep 2 '13

that worked thanks :)

Kali
Kali Jan 17 '14
Hi, do you know how to remove it in Oxwall 1.6?
Daisy Team
Daisy Mar 10 '14
Kali, you can make changes in the following file: /ow_plugins/newsfeed/classes/event_handler.php