webmasterfreya (@webmasterfreya)

Forum Replies Created

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

  • webmasterfreya
    Participant

    @webmasterfreya

    Hi Back to Front,

    I also have buddypress installed. As admin you have for each member a page wich among other things shows topics started and replies made by the member. The replies did not show up (and there were definitly replies).

    As buddypress makes use of bbpress for fora i expected your code to work but it did not (is the culprit then buddypress or bbpress or your code? I haven’t the faintest idea).

    Maybe : if( $bbPress_post_type ==’topic’ ){

    /** TOPIC **/
    $query[‘order’]=’DESC’;
    return $query;

    should have an } else {return $query}


    webmasterfreya
    Participant

    @webmasterfreya

    Hi,

    Your piece of code has an unwanted side effect. When looking at a subscriber as admin the created replies of this subscriber do not show anymore.
    I reverted back to the original code (on top of this topic) and presto the replies of the subscriber show up again.


    webmasterfreya
    Participant

    @webmasterfreya

    Works! It seems to me that this works for both ASC and DESC sort.


    webmasterfreya
    Participant

    @webmasterfreya

    Thanks for your work ‘Back to Front’.

    Did you also test for the right links to the right page (so when having multiple pages of replies, after adding a new reply one should end up at the first page not the last?


    webmasterfreya
    Participant

    @webmasterfreya


    webmasterfreya
    Participant

    @webmasterfreya

    Thanks Mike.


    webmasterfreya
    Participant

    @webmasterfreya

    No replies for 17 months 🙁

    Some thoughts:

    Also the notification emails contain a wrong link (highest page number instead of first)

    Sends notification emails for new replies to subscribed topics
    \wp-content\plugins\bbpress\includes\common\functions.php

    1061 function bbp_notify_topic_subscribers

    1101 $reply_url = bbp_get_reply_url( $reply_id );

    if the order =’DESC’ for replies maybe then use bbp_get_topic_permalink as $reply_url ?

    As mentioned above after adding a new reply to a topic one should also be redirected to the first page (bbp_get_topic_permalink ?)

    Probably there are some more places where the same should apply.


    webmasterfreya
    Participant

    @webmasterfreya

    Additional information :

    The same applies for (private forum topic)favorites and private forum topic subscriptions (not visible in overview),
    (via menu or direct link) /members/erwintest/forums/subscriptions/
    (via menu or direct link) /members/erwintest/forums/favorites/

    however not for private forum subscriptions (visible in overview).
    /members/erwintest/forums/subscriptions/ (NB link exists)

    Via Administrator, select member erwintest:
    (via menu or direct link) /members/erwintest/forums/favorites/ returns ALL favorites of user erwintest
    (not in menu) /members/erwintest/forums/subscriptions/ returns now error 404 (duh?)

    Getting more confused every day 🙂

    to recapitulate :

    Members of groups with private forum can not see their own stuff on topic level concerning private forum(s)
    Link to subscriptions overwiew can only be acessed by the user , not by higher level like administrator


    webmasterfreya
    Participant

    @webmasterfreya

    Hi Robin,

    Thanks for your reply.
    I do not have this plugin bbp private groups.

    In the mean time I found out that the same applies to the overwiew of topic subscriptions.

    https://www.freya.nl/members/erwintest/forums/subscriptions/ shows only the topic subscriptions from the Non private fora.

    Logged in as administrator all topic subcriptions for the user are visible ( including the topic subscriptions within private fora).

    Initialy I thought it should be a problem somewhere in Buddypress (because there one can create private groups and forum) but they pointed me to bbPress.

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