WordPress.org

Forums

WP Mingle
Profile page of friends not viewable (11 posts)

  1. gsmcgymkhana
    Member
    Posted 1 year ago #

    Hi. I updated the mingle plugin installed with wordpress on my site. Now, whenever any member clicks on any of his friends, he is redirected to his own profile page, and not that of the friend. The same is true for the admin. Even I can not view anyone's profile page even though I am a default friend. I have to tab new users from my wordpress dashboard.

    Also when composing messages, while typing the recipient's name something like this shows up:

    <span class='mngl_friend_dropdown_item'><img alt='' src='http://1.gravatar.com/avatar/3e01a30ffb5a1e9fe8f473c14fbd59a3?s=20&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D20&r=G' class='avatar avatar-20 photo' height='20' width='20' /> <span class='mngl_friend_dropdown_text'><strong>xxxx</strong>0601</span></span>

    instead of gravatar with user name.

    http://wordpress.org/extend/plugins/mingle/

    [Please post code snippets between backticks or use the code button.]

  2. rich2020
    Member
    Posted 1 year ago #

    Bump. I have exact same problem.

    I'm afraid to attempt a re-install of mingle as I fear I will lose member details and posts.

    Help us please.

  3. rich2020
    Member
    Posted 1 year ago #

    Well, no help I guess... not even a reply.

    I have reverted to an older version.

  4. badjesus
    Member
    Posted 1 year ago #

    I am also having this same issue. It is not accepting the HTML it is showing it as text. I am going to see if I can track down that code and figure it out. Hopefully someone posts soon so that I don't spend too long on this. There is A LOT of code to go through.

  5. badjesus
    Member
    Posted 1 year ago #

    I found the array, and everything seems normal...

    $friends_array = $mngl_friend->get_all_by_user_id( $mngl_user->id, $where_clause );
        $fmt_friends_array = array();
        foreach($friends_array as $friend)
        {
          $avatar = get_avatar($friend->ID, 20);
          $screenname = $friend->user_login;
    
          $fmt_friends_array[] = array("id" => $friend->ID, "name" => "<span class='mngl_friend_dropdown_item'>{$avatar}&nbsp;<span class='mngl_friend_dropdown_text'>{$screenname}</span>asdf</span>");
        }
    
        return ",prePopulate:" . MnglAppHelper::json_encode($fmt_friends_array);
  6. badjesus
    Member
    Posted 1 year ago #

    Hey Rich2020 you can solve the member page linking by setting your permalink to just show the postname.

    I still can't get the span tag to render properly though. It is looking now like a javascript error and I SUCK at javascript.

  7. badjesus
    Member
    Posted 1 year ago #

    For anyone else having this issue, it is also important to follow the set up steps to the letter. Create all pages, set an invisible and automatic user, etc. The issue of not seeing your own profile will go away after doing that.

    I still can not figure out the compose a message recipient error showing the span tag as opposed to rendering the HTML.

    I have asked on the mingle forum to see if it can be worked out. You will need to sign up to see the post, but there is a lot of good information there.
    http://wpmingle.com/forum/mingle-plugin-forums-group2/support-forum1/compose-a-message-recipient-issue-thread1023/

  8. rich2020
    Member
    Posted 1 year ago #

    Nothing worked for me. I tried everything, even different permalinks.

    I just installed a previous version of mingle and that fixed the problem. I won't update until we get at the very least, a response from the mingle team.

  9. badjesus
    Member
    Posted 1 year ago #

    Also, if you edit MnglAppController.php and do a search and replace.
    change all instances of:
    "mu" -> "u" and
    "sq" to "q"

    http://wpmingle.com/forum/mingle-plugin-forums-group2/support-forum1/mingle-profiles-thread905/

    You can read about it here. It worked for several people.
    I am on their forum working with them to solve the other <Span> issue and will post as soon as I have an answer.

  10. scotpip
    Member
    Posted 1 year ago #

    That worked for me!
    Many thanks

  11. engelking
    Member
    Posted 1 year ago #

    Thanks - worked for me too!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags