Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 28 total)

  • ico33
    Participant

    @ico33

    found this thread, at the end it seems there is a solution, but i can’t understand.

    https://buddypress.org/support/topic/bp_get_the_thread_recipients-reporting-extra-names/


    ico33
    Participant

    @ico33

    UPDATE

    No, there is not the problem of users deleted with the same name.

    Now after having deactivated and reactivated buddypress, private messages are working. The only issue, at the moment, is that strange sentence. You send a message to a user named ABCDEFG

    and after sending, it says

    Conversation between Deleted User, Deleted User, ABCDEFG and you.

    I can’t understand who are the deleted user, and how to fix the issue


    ico33
    Participant

    @ico33

    Ok after deactivating and reactivating Buddypress plugin…. the user receiver seems to receive the messages, again with the strange sentence

    Conversation between Deleted User, Deleted User, XXXX and you.

    Could it be that there was other user with the same name XXX, that then was deleted? And in someway the system find 2 deleted user and user XXX?


    ico33
    Participant

    @ico33

    Switched to english language so I can report better. I send a message to a friend:

    Message successfully sent
    Then, below:

    Conversation between Deleted User, Deleted User, XXXX and you.

    Who are deleted user???? what does is it saying?

    Then the message box is empty, refresh the page and the message totally disappeared


    ico33
    Participant

    @ico33

    I deactivated PRIVATE MESSAGE in Buddypress options, and then re-activated.

    How strange… now I can send a message to a user named XXX

    When I send the message, after that it appears below as “Conversation between you e DELETED USERS, DELETED USERS, XXXX”

    Then if you refresh the page, the message count is 0, as it disappeared. My god, I just opened I new website, it worked till yesterday. It’s a great problem and I don’t think it’s simple to understand


    ico33
    Participant

    @ico33

    Damn: also private messages now they don’t work. It says “message not sent, retry”.

    WHY??


    ico33
    Participant

    @ico33

    are there any advices?


    ico33
    Participant

    @ico33

    Well… i am a bit ashamed. It’s true that I’m new with wordpress and I’m not a webmaster… but damn, the problem was there @shanebp LOL

    A big THANKS to everybody here!


    ico33
    Participant

    @ico33

    Nothing to do!

    Error:

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/mondolap/public_html/wp-content/plugins/bp-custom.php on line 3

    This is the bp-custom code:

    <? php

    function buddydev_hide_members_directory_from_all_except_admin() {

    if ( bp_is_members_directory() && ! is_super_admin() ) {
    //should we add a message too?
    //bp_core_add_message( ‘Private page.’, ‘error’ );
    bp_core_redirect( site_url(‘/’) );
    }
    }
    add_action( ‘bp_template_redirect’, ‘buddydev_hide_members_directory_from_all_except_admin’ );


    ico33
    Participant

    @ico33

    Thanks! I did it with your suggest, so the file is

    
    <? php
    function buddydev_hide_members_directory_from_all_except_admin() {
    
        if ( bp_is_members_directory() && ! is_super_admin() ) {
            //should we add a message too?
            //bp_core_add_message( 'Private page.', 'error' );
            bp_core_redirect( site_url('/') );
        }
    }
    add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_from_all_except_admin' );


    But every page of the website is now again a blank page with this error:

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/mondolap/public_html/wp-content/plugins/bp-custom.php on line 2


    ico33
    Participant

    @ico33

    @sbrajesh

    Hello and thanks for the support, I tried the solution suggested, but after I created and then uploaded the file bp-custom in the plugins folder I got an error in every page of the website:

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/mondolap/public_html/wp-content/plugins/bp-custom.php on line 2

    This is my file bp-custom:

    <? php
    function buddydev_hide_members_directory_from_all_except_admin() {
    
        if ( bp_is_members_directory() && ! is_super_admin() ) {
            //should we add a message too?
            //bp_core_add_message( 'Private page.', 'error' );
            bp_core_redirect( site_url('/') );
        }
    }
    add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_from_all_except_admin' );
    ?>

    ico33
    Participant

    @ico33

    I mean: is it enough to create a file bp.custom.php and upload it in the right folder? or do I have in some way “say to buddypress that there is that file”? It’s enough to create it (because I don’t have that file) and upload it?


    ico33
    Participant

    @ico33

    Can you confirm?

    Thanks again


    ico33
    Participant

    @ico33

    @danbp thanks! I’m really new with wordpress world, and I am not a webmaster/programmer, so even if wordpress seems easy, it’s less easy for me.

    If I understood: I have to create that file, put inside the suggestion of the user “brajesh”, then save the file in the plugins’ folder. Is this enough?

    Thanks a lot


    ico33
    Participant

    @ico33

    @sbrajesh

    thank you very much. I have a problem… the page bp-custom.php seems that doesn’t exist in my file manager. How is this possible?


    ico33
    Participant

    @ico33

    thanks. And now hope some suggestion for first question.


    ico33
    Participant

    @ico33

    well…it seems that works!!!! 🙂

    THANKS a LOT!!!!!!

    Happy to have found a bug to show to the community. Thanks guys!


    ico33
    Participant

    @ico33

    @danbp

    Dear Danbp, as you suggested I opened the ticket, and I read the teplies here https://bbpress.trac.wordpress.org/ticket/2992

    I am sorry, but I am not an expert and I did not understand what they are saying.

    1) they have noticed that the problem I was speaking was “real”, exists. Right?

    2) Somebody found a solution? Right?

    3) What’s the solution? I have to modify the code? Or an update of bbpress will be available with this adjustment?

    Thanks for explaining.


    ico33
    Participant

    @ico33

    @danbp

    I have another wordpress blog, without bbpress and buddypress. I tried to install there buddypress and bbpress, and try.

    WELL: the problem is absolutely the same. On another different blog. How is this possible?


    ico33
    Participant

    @ico33

    Deleted the 2 plugins: bbpress and buddypress. Then re-installed both. Did another test: a new topic, then deleted. Still present in activity. The problem remains. Damn!

    At this point a question: is there a way to exclude bbpress from buddypress activity? Not through code, i’m not expert. Maybe a function, a plugin, or something to say to activity: not look at bbpress.


    ico33
    Participant

    @ico33

    Just tried to deactivate some plugins, but nothing. I create a topic with bbpress, then delete it. And it is still in my activity (and in the activity-dashboard).


    ico33
    Participant

    @ico33

    Here am I! And thanks, first of all.


    @danbp

    i have no exact idea what’s happening on your install. It’s a bit strange.

    From what you relate, when you delete a topic it is “normal” that it diseappear from dashboard (from topic list of Forum admin at least). On front it seems there is a problem. I presume you already tried to refresh the page after you got a 404 ? YES, OF COURSE.

    I already asked you if you use bbPress as standalone or group forum and if you use a cache. Can you give details about this please ? I AM NOT EXPERT AND ENGLISH IS NOT MY LANGUAGE, SO I HOPE TO UNDERSTAND THE QUESTION. I AM NOT SPEAKING ABOUT A FORUM IN A GROUP, NO. I HAVE A PAGE WITH FORUMS, NOT RELATED TO GROUPS.

    Anyway i think there is a bug somewhere, so please don’t panic and be patient. OK, I’LL TRY 🙂

    While testing this (wp 4.6, BP 2.6.2 and bbP 2.5.10) i got some difference between MS and single installs.

    – On MS, the activity is removed as soon as i delete the topic in forum admin. All my MS are live sites and use standalone forums.
    – On my local MS with standalone forum, nothing is removed from activity and i’m unable to restore a trashed topic.

    Doing the same thing on various local single install and group forums doesn’t remove the activity.
    Also on single, when i trash a topic i’m unable to untrash it.

    I quickly checked on BP & bbP trac but found nothing about this issue.

    THANKS, I’LL TRY SOME SOLUTIONS, AND THEN REPORT HERE.


    ico33
    Participant

    @ico33

    @danbp thanks again.

    I create I new topic, it goes to activity. That’s ok. Activity works, even with other items. Ok.

    I delete the topic: it is still in the activity! Ok, I went to dashboard and then activity: the activity is present also there! But the topic is not, in the dashboard. What the hell!!!


    ico33
    Participant

    @ico33

    I changed the theme as suggested. Nothing to do. If I create a discussion (bbpress), it is shown in buddypress activity. If I delete the discussion from the forum, it is still present in activity, but oviously clicking on it it shows 404 error page not found.

    Any Idea?


    ico33
    Participant

    @ico33

    @danbp thanks for your reply. I am not so expert, so it’s good that somebody helps.

    I use Dynamic News Pro (the theme), now I checked all the repair in FORUM and also Buddypress, but this doesn’t work. In my activity I still have a discussion that was deleted, and if I click on the activity – obviously – it gets the error 404 page not found.

    Do you think I have to change the theme? Or something else to suggest?

Viewing 25 replies - 1 through 25 (of 28 total)
Skip to toolbar