Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 10,976 through 11,000 (of 32,679 total)
  • Author
    Search Results
  • Henry Wright
    Moderator

    Check out Roles and Capabilities. If your admin and custom roles share a common capability then you can distinguish these roles from the rest of the roles that don’t have that capability.

    See
    current_user_can() and user_can()

    You would use them like this:

    if ( current_user_can( 'manage_options' ) ) {
        // The current user can manage options so do something special.
    }
    if ( user_can( $user_id, 'manage_options' ) ) {
        // The specified user can manage options so do something special.
    }
    #184063

    In reply to: Help with profiles

    blu3shad0w
    Participant

    hi

    Would

    https://wordpress.org/plugins/fields-framework/

    help me with this?

    cheers

    #184024
    r-a-y
    Keymaster

    Here is the BP release archive page:
    https://codex.buddypress.org/developer/releases/

    This is what I would do. Disclaimer: Don’t blame me if anything goes wrong with your site. 🙂

    Now with that out of the way. First of all, backup your database, your plugins and theme.

    Next, make sure you have a development environment set up. Do not do this on a production site!

    Disable all BP plugins to be safe.

    I would update to the latest version of WordPress first. Then, upgrade to BuddyPress 1.9.2. Then, update to BuddyPress 2.0.1.

    Update any outdated plugins and reactivate the BP plugins. Then, test your site out. See if there are any bugs.

    Once you’ve confirmed everything is good, then do the same on your production site.

    ajm113
    Participant

    Hi I just migrated my site to a new server, and everything works fine and all, but not it appears BP-Album is broken, and will no longer let me upload photos or make changes to avatars.

    I get this nasty error when ever I log into wordpress admin.

    Your sever does not meet the minumum requirements to run Bp-Album, this means the plugin may not function correctly. Please check that you have the required WordPress and BuddyPress versions, as well as up to date versions of PHP, MYSQL and the GDLib.

    Server Specs:
    PHP 5 suPHP
    MySQL 5.5
    Wordpress 3.9.1
    BuddyPress 2.0.1
    Apache 2.2.27

    Any help would be appreciated, thank you! 🙂

    Anonymous User
    Inactive

    No. You’ll need to add a common capability to the roles you are targeting, see
    https://codex.wordpress.org/Function_Reference/add_cap

    #183992
    mrknutsson
    Participant

    Hello,

    I’m using BuddypPress 1.6.4 with WordPress 3.5.1

    I want to upgrade my BuddyPress 1.6.4/WordPress 3.5.1 to BuddyPress 2 and WordPress 3.9.1 but cant find any information how to do the upgrade. In the codex there is information about how to upgrade from older versions of BuddyPress to 1.6. http://codex.buddypress.org/getting-started/upgrading-buddypress/ but no info about how to go from there to BuddyPress 2..

    Also, there is no info in the plugin page in the admin panel next to the BuddyPress plugin about any new versions.

    Anyone with more info about this or experience of upgrading from BuddyPress 1.6 to 2?

    Thanks / Marcus
    http://www.musiklararportalen.se/

    Anonymous User
    Inactive

    Hi,

    Depending on the theme you use (regular WordPress theme, BP Default or a child of it, or a standalone BuddyPress theme), you can override some templates to achieve your goal.

    Have a look at the codex starting with this page : https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    If it’s a regular WordPress theme, then you can can add a buddypress folder in it and copy these templates into it respecting the ‘tree’ :
    – bp-templates/bp-legacy/buddypress/activity/index.php
    – bp-templates/bp-legacy/buddypress/members/single/activity.php

    Once done, you should have :
    – yourthemefolder/buddypress/activity/index.php
    – yourthemefolder/buddypress/members/single/activity.php

    Then into these two files search for bp_get_template_part( 'activity/post-form' ); and you should see a line above an if statement containing is_user_logged_in().... Replace is_user_logged_in() by bp_current_user_can( 'theminimumcapability' )

    where theminimumcapability is the the role capability you’re targeting. See the WordPress codex to define it : https://codex.wordpress.org/Roles_and_Capabilities

    paton400
    Participant

    Now we are talking very basic WordPressing here.

    Go to the appearance/menus screen and from there it’s pretty self explanatory.

    click on ‘Create a new menu’, call it whatever you want, then select what pages you would like to appear in the menu.

    Underneath the list of WordPress pages you see a tab full of Buddypress options that can also appear in the menu, one of which is the log-in/log-out button.

    Regards

    #183962
    simonwillan
    Participant

    BuddyPress version: 2.0.1
    Wordpress version: 3.9.1

    Hi all,

    As part of an ongoing project, the wp_bp_friends table for us is of no use as we have our own system in place. That being said, the function bp_add_friend_button(); is regularly used and rather than changing all occurrences of this function to a custom one, we’d like to just override the function. I have noticed bp_get_add_friend_button(); has an apply_filter at the bottom so I can filter it, however filtering doesn’t help as that function still executes “bp_is_friend()” and “bp_is_friend()” tries to access the wp_bp_friends table (which has a completely different structure now)

    Is there anyway I can override bp_add_friend_button(); and stop it from running any of the BP based content so we can just generate our own without having to replace the function call all over the project?

    #183953
    danbp
    Participant

    Anyway an image says more as words (in our case).

    Check if this plugin can help you:
    https://wordpress.org/plugins/buddypress-profile-tabs/

    #183952
    msegroves
    Participant

    WordPress 3.9.1, bbPress 2.5.4, BuddyPress 3.0.1

    I’m still learning BP and building my site. All my users have been added by Admin and I’m testing, debugging. But when I login as a non-admin user, that user cannot edit their profile. Trying to do so produces this error message:

    Permission Denied

    Not Found / No Access

    The page you are looking for either does not exist, or you do not have the permissions to access it.

    Any pointers would be appreciated.

    danbp
    Participant

    In your first topic you asked: It is possible to turn off this notification?

    Yes it is, and the solution is in the first link. The other link is given as reference to the code, who is in a core file. Such core files should never been modified directly.

    You need to study a bit WP and BP codex to understand how to achieve this, and learn a bit more about buddypress customization. You are also free to hire a developer by posting at http://jobs.wordpress.net/ or somewhere else.

    One easy way to begin is to search and read this forum first i guess.

    #183936
    danbp
    Participant

    hi @jjjaay9,

    BuddyPress (BP) is a community plugin (a bundle of 8 distinct components and many other features) for WordPress. These components are all optionnal, but in any case, publishing is the territory of WordPress.
    If you want to allow front-end publishing for your users, to avoid them going directly into the admin, search some plugin on the WP plugin repo or use a theme who provide such facility.

    For example consider the theme P2, it probably contains anything you listed. (so far i remember)

    User guide is here.

    #183934
    jjjaay9
    Participant

    i found some plugins that MAY do this: answer/questions

    The Top 6 Question and Answer WordPress Plugins

    However, if I used these plugins, how easy do they integrate with buddypress?
    Can I customize to show these pages, and for users to have a default link to ‘create a question’ ?

    I mean, if they have ‘create post’ like a normal wordpress blog, then buying/using a question/answer plugin is kinda useless as most wont be able to find the link to it – and will automatically create a post instead.
    Also, how would i know if it looks good or this plugin will integrate with BP?

    For example, would it show up as a sidebar saying recent questions like recent posts etc?

    Otherwise if it doesn’t integrate with BP then there’s no point using BP if it has a question and answer section that acts normally as wordpress anyway.

    If so, what are teh benefits of using BP AND a question/answer plugin?
    one eg i think of is, users can private message eachotehr when someone posts a question

    Thanks

    #183933
    jjjaay9
    Participant

    Hi there,

    I’ve known about BP for years, but never got around to using it for my sites.

    I understand that with BP, users can create their own posts right?
    When they create posts is it just like a normal WP post? ie. they will see the same screen as an admin does for creating a post.

    Well I’m looking for a simpler way for them to post things.
    And maybe ‘short posts’ BUT still have the ability to add tags.

    Is there a plugin that makes it easier for them to ‘post’ things?
    All they need is:
    – heading
    – body of the message
    – tags

    BUT these tags need to be searchable in the site,
    (can you search multiple tags at once)

    eg.
    If a user posts
    Heading: Computer
    Body: Selling my pc, etc. etc.
    Tags: computer, monitor, keyboard, mouse

    and a user is able to search multiple tags – eg.
    keyboard, mouse

    I want this post to come up in the search

    Is this possible and fairly easy to do with BP?

    edit; i found some plugins that MAY do this: answer/questions

    The Top 6 Question and Answer WordPress Plugins

    However, if I used these plugins, how easy do they integrate with buddypress?
    Can I customize to show these pages, and for users to have a default link to ‘create a question’ ?

    I mean, if they have ‘create post’ like a normal wordpress blog, then buying/using a question/answer plugin is kinda useless as most wont be able to find the link to it – and will automatically create a post instead.
    Also, how would i know if it looks good or this plugin will integrate with BP?

    For example, would it show up as a sidebar saying recent questions like recent posts etc?

    Otherwise if it doesn’t integrate with BP then there’s no point using BP if it has a question and answer section that acts normally as wordpress anyway.

    If so, what are teh benefits of using BP AND a question/answer plugin?
    one eg i think of is, users can private message eachotehr when someone posts a question

    Thanks

    #183914
    danbp
    Participant

    Group exclusion doesn’t work on a single install for the moment (only on MS).
    More advice on this here:
    https://buddypress.trac.wordpress.org/ticket/5650

    CommonEasy
    Participant
    #183908
    Hope
    Participant
    foresme
    Participant

    Hello!

    I am moving a blog over to WordPress, which includes moving the discussion comments which follow blog posts.

    When doing this I was really pleased that WP allowed admin to create comments, and also to edit the author details of each comment – so you could re-create a blog post + conversation from another site.

    For some reason this function has ceased to work and all of my custom author names for comments have reverted back to the admin name.

    I changed my theme back to WP 2014 and deactivated all plugins. Turns out that BuddyPress is the culprit which is inhibiting this function.

    Can someone help me solve this mystery!? How can I get this functionality back and keep BuddyPress?

    #183880
    @mercime
    Participant

    one-time username change from the admin area for users after their first login?

    @pixieblitz I used http://buddydev.com/plugins/bp-username-changer/ last year. Back up DB and check if it works for current BP version or post at developer’s forums.
    On another note, https://wordpress.org/plugins/username-changer/ will allow the site/super admin to change the username of each user from wp-admin area instead of diving into DB.

    frisch11
    Participant

    Hello,

    I can’t see my Group Avatars. I can upload the pictures and crop it. On the server are the files. The permissions on the server are correct. But there is no URL in the HTML Code:

    <div class="group-box-image-container">
    		<a class="group-box-image" href="http://www.spassbibliothek.de/groups/geburtstag/forum"><img src="" class="avatar" alt="Geburtstag"></a>
    	</div>

    It is also on the standard-theme. This is my site: http://www.spassbibliothek.de/, WordPress 3.9.1, Buddypress 2.0.1

    Can you help me? 🙂

    #183864
    sandervm86
    Participant

    it worked all before but not anymore.

    Buddypress version: 2.0.1
    Also latest wordpress.

    if you look at my homepage http://www.receptenmaker.nlWebpage link then you see the avatars but if you look in the social part like

    They are all gone, it worked all before so dont know what the reasen is that it dont.

    Also profile pics aint working anymore

    Greetings,

    Sander

    #183862
    danbp
    Participant
    #183856
    guoyunhebrave
    Participant

    I use BuddyPress 2.0.1 with WordPress 3.9.1. My site http://zjubot.org/ is enabled admin bar for all users. When users aren’t logged in, there should be items for log in and register in admin bar. There is also a search input.

    But when view it in mobile browser, or small window desktop browser, the admin bar is blank for non-logged-in users. That is really bad for user experience.

    It is caused by some default CSS settings of admin bar. Hope this can be fixed.

    #183841
    danbp
    Participant

    @shanebp,
    forcing a translation is not the best solution, even if it is a solution.
    Mine by hacking the core file is not better, as we loose it at the next update.
    Your function won’t be loosed, but it should be used by caution, as gettext pass a second time on ALL strings. It’s not dramatical to force the translation for one string, but what will happen if someone use this trick for 20, 50 or more strings ? Performance trouble !

    I’ll track this further before opening a ticket.

    https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
    https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext_with_context

Viewing 25 results - 10,976 through 11,000 (of 32,679 total)
Skip to toolbar