Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 446 total)
  • Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    @webwarriorwng
    I am the author of that plugin. Can you please tell me the problem you are faccing.

    I will appreciate a little detail about your BuddyPress/WordPress version and theme you are using?

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Do you want it to be hooked to the main menu of the bp-default theme when a user is logged in ?

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Are you doing it on a live site? Is your Theme BuddyPress compatible. For BuddyPress 1.6.x, the BuddyPress features are only available to BuddyPress enabled theme. In BuddyPress 1.7, BuddyPress automatically supports all themes(but 1.7 is still in beta and not recommended for live site).

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    You will need to configure BuddyPress before it comes into action.

    Look for the notice in the Network admin. If it is not there, just click Network Admin-> Settings->BuddyPress and you should see the configuration wizard.

    Hope that helps.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    Have a look at this function

    bp_core_get_notifications_for_user here https://github.com/buddypress/trunk/blob/master/bp-members/bp-members-notifications.php#L83

    You can modify it to suit your need(this is the one that generates the notfication messages).

    and here you can see how the drop down is created
    https://github.com/buddypress/trunk/blob/master/bp-members/bp-members-buddybar.php#L18

    Hope that helps.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    @bphelp
    Thank you for the mention.
    I just put that for the community as I was implementing it in one of my upcoming themes(too much delayed).

    It is not about competition, It is about making the things accessible to everyone :) I support the idea of having multiple solutions, so the community is the winner and not individuals. I hope that the plugins can co-exist.

    @juanmaguerrero,
    The waiting for loading is not an issue. I left that because I wanted to show the load more button with spin moving. You can just deduct let us say 200 here https://github.com/sbrajesh/bp-activity-autoloader/blob/master/_inc/activity-loader.js#L27

    So, the loading will start when the user is 200px above the end of activity listings. Also, I am just using a simple variable to track the activity loading request in progress. So, there is no performance issue(It will never send multiple requests). Just thought should clarify here.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    make sure you have passed the ‘paged’ parameter with the correct value in query posts.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Look for spaces before the opening php tag `<?php`
    Make sure you don't have white spaces before the opening php tag and the closing php tag(from your description, It is before the opening php tag).

    That will fix it.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Yes.
    He can create it from Blog Directory. You will see the link in blogs directory if you are logged in to create a blog.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Hi @chouf1
    sorry I could not follow up.
    That message is intended for debugging the site and will be visible if WP_DEBUG is set true as you have already noticed.

    It is there to aid the developers/site admin to properly use functions related to current user.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    No problem. You are most welcome :)

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    You Can put this code in your bp-custom.php and It will take care of your issue

    `
    add_action(‘bp_friends_setup_nav’,'bpdev_custom_hide_friends_if_not_self’);

    function bpdev_custom_hide_friends_if_not_self(){
    if(bp_is_my_profile()|| is_super_admin())
    return ;

    bp_core_remove_nav_item(‘friends’);

    }

    `

    hope that helps.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    The simple way is to add a usser meta field when an avatar is uploaded. delete the meta when avatar is deleted and check for this usermeta to show the nag to the current user.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    do not add it to your bp-custom.php
    Add it to your theme’s functions.php for now, and It will work.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    I will suggest going via the user meta route. You can add a user meta to define type of user. that will give you a lot of flexibility in future while searching/listing users.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Most probably the code you are using is trying to access logged in user’s data before init action. Since the current user is set on ‘set_current_user’ hook’ which is just before init, any function trying to access current user data should be called on or after init action.

    Hope that helps.

    Reference: http://codex.wordpress.org/Plugin_API/Action_Reference

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    It is coming from members/single/profile-loop.php

    It seems you don’t have the xprofile fields(or the user has not entered data) or you have some sort of privacy enabled on those fields which are preventing the fields to be visible. Otherwise, the xprofile fields should be visible there by default.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    You can do that by easily filtering on this hook
    `
    bp_get_add_friend_button
    `
    If you can provide the code you are using to differentiate a user type(parents/student/professor), It will be super easy to put the complete code.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Are you looking to show in memebrs profile top header ?
    if yes, look inside yourtheme/members/single/member-header.php

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    It is a known issue and some of the temporary possible solutions are mentioned on the ticket here.

    Please have a look
    https://buddypress.trac.wordpress.org/ticket/4252

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Hi Nicholas,
    the most probable reason for the error is the space in the name of your installation directory.

    Avoid using a directory having space in the name try creating a new install with “SideProjects” instead of “Side Projects” and the error should go away.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Hi Miguel,

    The problem is google is still looking for the old urls.
    When moving a site from one platform to another, the best practice is to use 301 redirect for the old urls(if possible).

    Since you have changed the platform to WordPress, I will suggest submitting the google sitemap(there exists some plugin for creating sitemap), that should atleast help in indexing the pages.

    I don’t have much experience with SEO, so I hope someone with better understanding of seo guides you here :)

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    The url does not seem to be a valid url from WordPress.
    WordPress does not uses mDate in query string.

    btw, have you changed your permalink to look like .asp files?

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Hi Jeff,
    Thank you for the kind word.
    You are most welcome.
    I am glad I could help :)

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    You can either put it in bp-custom.php or the functions.php of your theme.

    The advantage of using bp-custom.php is the functions will be always available(even on multisite) and since this file is loaded before anything else in BuddyPress, you don’t have to worry about the availability of your functions.

    If you put your code in any of these two files, you don’t need to reference/include these files. They are included automatically.

    Hope that helps.

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