Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity-Stream as Tracker only


  • abcde666
    Participant

    @erich73

    is there a way to configure the Activity-Stream as a Tracker, which is only showing what is going on at the website ?
    Like disabling the possibility for a user to write or comment into the Activity-Stream ?

    Many thanks,
    Erich

Viewing 9 replies - 1 through 9 (of 9 total)

  • rich! @ etiviti
    Participant

    @nuprn1

    quick way – just modify the theme and remove the instances to reply/update


    @mercime
    Keymaster

    @mercime


    finni3
    Participant

    @finni3

    @erich73
    Did you manage to get the activity to be read only? If so, would you mind sharing you fix with a php/HTML newbie? :)


    Hugo Ashmore
    Keymaster

    @hnla

    The reference in the two posts above yours is saying that the simplest approach is to edit the file entry.php in the /activity folder of the theme; this would be preferably done as a child theme i.e a copy of the files in a new theme directory you would then be looking for lines such as:

    <a href=”<?php bp_activity_comment_link() ?>” class=”acomment-reply” id=”acomment-comment-<?php bp_activity_id() ?>”><?php _e( ‘Reply’, ‘buddypress’ ) ?> (<span><?php bp_activity_comment_count() ?></span>)</a>

    and removing them or placing some form of conditional statement around them – I removed all links for a copy of entry.php which I pulled onto a custom frontpage but allowed the links for the activity stream as a directory view.
    It’s a little long winded but straightforward


    finni3
    Participant

    @finni3

    Thanks @hnla
    I commented out your suggestion in my child theme so it is not possible to reply anymore. Now all I have to do is edit out the “what´s new?” form and it´s done.

    Also I replaced

    with

    in the /activity/index.php template

    Just have to edit the template for group activity and I´ll be done :)


    finni3
    Participant

    @finni3


    finni3
    Participant

    @finni3

    The groups activity can be found in /groups/single/activity.php

    If anyone can guide me to where the activity input form on the user profile is located I´ll be grateful!

    Thanks,
    finni3


    rich! @ etiviti
    Participant

    @nuprn1

    activity/post-form.php


    finni3
    Participant

    @finni3

    thanks @nuprn1 I just removed everything in the form and it works.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Activity-Stream as Tracker only’ is closed to new replies.
Skip to toolbar