Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 1,115 total)
  • Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @mugwumpman I just tried searching google for “independenthostels abernethybunkhouse” and can see that the member page for abernethybunkhouse is now being returned in the list of results.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Are you using a sitemap at all? Google might need to be told about your member pages if their spider isn’t automatically picking them up. Alternatively, check if they are indexed but just have a very low rank. Or my last thought is your theme might have some crawler-blocking script on it. Usually Flash type stuff would be a culprit

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Yes, your theme’s functions.php file is where it should go. Glad you got it to work.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @independent

    What does your robots.txt file look like?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    function leanneoleary_custom_post_types( $post_types ) {
        $post_types[] = 'files';
        return $post_types;
    }
    add_filter ( 'bp_blogs_record_post_post_types', 'leanneoleary_custom_post_types' );

    If your custom post type is files, then just try that? You’ll need to ensure the Site tracking component is enabled via WP admin.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @leanneoleary

    bp_blogs_record_post_post_types filters the post types to track. The function you posted is telling the Blogs component to track videos and pictures.

    bp_activity_add() simply adds items to the activity stream. See here for how it’s used.

    Now, I think posts of type videos and pictures will be automatically added to the stream due to activity_publish_custom_post_types(). But, if they aren’t you’ll need to use bp_activity_add() as well.

    Does this help?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @ouegy

    The logic looks sound (although I haven’t tested). It seems to check if the displayed and logged-in members are friends. If they are friends it displays some text: Oops! You must be friends with…

    I can’t see what the code does if the users aren’t friends because the code is cut off at } else { ?>

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @aymanomar85

    Have you tried BP Profile Search?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @j-rajnoha

    This shouldn’t be happening. Which theme are you using? And what plugins do you have activated?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hey @bphelp @rosyteddy @peter-hamilton @danbp and @mcpeanut

    In version 1.0.2, I’ve addressed the problem of the mystery-man displaying for existing users when the plugin is first activated. There’s now no need to wait until their next login to get their identicon. Identicons are available for display for everyone when needed.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Do you still have the issue if you use Twenty Fifteen with no plugins activated (aside from BuddyPress)?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @joeyaberle

    Which theme are you using? Plugins activated?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @abhimanyubind

    The bp_after_message_thread_list hook will execute each time the page is loaded. What you need is the messages_message_sent hook.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @-vitamincee just wondering about your permissions scheme. Would the 20 + admin accounts you have set up would be better off as editors? If a particular user doesn’t need certain permissions then it’s a good idea to not award them. Usually this is done for both security reasons and to ensure there’s less chance of somebody breaking something inadvertently.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @vitamincee

    As an admin, you have access to your member’s private messages. That’s by design. Why would you want to restrict access to anything for an admin account?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @hipp

    Sounds like some accessibility enhancements might be needed to the menu’s markup. I suggest you open a Trac ticket giving the core developers as much info about the problem as you can.

    You can use your same login details on Trac.

    https://buddypress.trac.wordpress.org

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @rosyteddy thanks for the idea. I’ve got my hands full at the moment but try opening a topic on the BuddyPress Ideas forum. There may be a developer looking to take up the challenge

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @peter-hamilton

    Really cool to see the plugin in action and thanks for the review on wordpress.org! :)

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @danbp all constructive feedback is very welcome. Feedback that highlights areas that are in need of improvement or bug reports help to improve the plugin in the long run :)

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @bphelp

    I must admit the FAQ is a little tucked-away out of sight. So i’ll take your advice and add something to the description tab which is in full view for everyone to see.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @danbp

    You know now that i never read faq’s

    Hehe :D

    A little secret of mine (neither do I very often ;) )

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hey @danbp

    Thanks for the feedback. Before I answer your question, I just want to point you to question 4 in the plugin’s FAQ

    Why is it that some members don’t have an identicon?
    An identicon is used as a member’s avatar only if a profile photo hasn’t been uploaded. After activating the plugin, all new members will be allocated an identicon. Existing members will need to log in to get their identicon.

    The reason existing users have to log in to get their identicon is simple. Imagine if a site had 100,000 existing users. At the point the website owner activated the plugin, there’s no way 100,000 fresh identicons could be created. It’d crash their server immediately. I needed a way of staggering the creation of identicons for existing users. The approach I decided on was to create existing user’s identicons on their next login.

    Now, to answer your questions :D

    – first time i activated BI, all users showed the mystery man. And plugin works, as i see the border.

    Great! That’s expected.

    – changed profile photo of admin: custom picture appeared.
    – removed the picture: identicon appeared on the admin account.
    -tried to do same thing with a dummy user. Nothing happened.

    The reason nothing happened for the dummy user is because you’re still logged in as admin. You will need to log in as the dummy user for his/her identicon to be created.

    – create a new user from back office, with gmail address, identicon showed up

    Great, that’s a new user created. Identicons are created for all new users so that’s expected.

    – manually created a identicons folder in /uploads/

    There’s no need to manually create folders. The plugin takes care of that for you automatically :)

    – modified all dummy user mail address. Mystery man still showing.
    – applied a custom picture to one, ok, then removed. Mystery man again.

    Again, if you’re doing this logged in as admin, then nothing will happen. The actual dummy user will need to log-in in order for their identicon to be created.

    – tried global settings to “empty avatar”. Nada ! Reverted to default MM setting and still no identicon.

    Global settings aren’t taken into account by design. If you want to disable identicons, simply disable the plugin. Want them back? Re-enable it :)

    On a dev site, using this plugin would really help to avoid calling an external avatar service.
    Would also be true for a prod site, where specially gravatars are mentionned to be optimized as they slow down page speed.

    That was one of the driving factors behind creating the plugin. The beauty of it (in my opinion) is there’s no need to make requests to an external service. Everything is stored locally which should improve page load speed.

    Hope this info helps to clear up any confusion. If you need any more info then just give me a shout, and feel free to open a support ticket on the plugin’s forum if you find a bug.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Thanks @peter-hamilton, looking forward to hearing what you find. I’m testing on BP 2.2.1, WP 4.1, no plugins activated (aside from BP) and Twenty Fifteen theme and things are working so it’s more than likely there’s a plugin conflict somewhere.

    Hopefully we’ll be able to resolve the problem.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Duplicate. See here

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @outdoorsmen

    I’m not aware of a plugin but try looking into user meta. It’s a way of storing information for each user. You could store the user’s title in this way. Helpful articles will be:

    https://codex.wordpress.org/Function_Reference/update_user_meta

    https://codex.wordpress.org/Function_Reference/get_user_meta

Viewing 25 replies - 1 through 25 (of 1,115 total)