Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 12,001 through 12,025 (of 22,644 total)
  • Author
    Search Results
  • #136378
    Roger Coathup
    Participant

    To build this kind of feature, you need to be a PHP developer:

    • You’d add new profile field groups for each type of stat (or if the stats are too complex for profile fields – a custom component to handle them).
    • You’d then assign a role to each member based on whether they are a batter, pitcher or fielder – ideally implemented using the underlying WordPress user roles.
    • Finally, you’d implement conditional logic in your templates to display appropriate profile field groups based on the member’s role.
    #136366
    foobool
    Member

    <?php

    add_filter(‘show_admin_bar’, ‘__return_false’);
    /**
    * BP-Default theme functions and definitions
    *
    * Sets up the theme and provides some helper functions. Some helper functions
    * are used in the theme as custom template tags. Others are attached to action and
    * filter hooks in WordPress and BuddyPress to change core functionality.

    #136360
    Paul Wong-Gibbs
    Keymaster

    Sorry, I was up late: BuddyPress.svn.WordPress.org

    #136352
    jacor3003
    Member

    That make sense, Thank You.

    #136349
    valuser
    Participant
    #136348
    Paul Wong-Gibbs
    Keymaster

    Ok. Before we play on your test server you need to contact your host and ask if you have SSH access to use a terminal. In the interim, we can try the concept out locally on your Mac.

    How familiar are you with using the Terminal app? (it’s in Applications > Utilities) If not very, you’ll have to do some Googling to figure things out.

    Open the Terminal app. Type these 2 commands:

    cd ~/Desktop
    svn co https://buddypress.trac.wordpress.org/trunk BuddyPress

    That last command might take a couple of minutes. It’ll download a copy of BP trunk. Look at your desktop, and you’ll find a folder called “BuddyPress” containing… BP trunk :)

    Then wait for the BuddyPress team to do a new update to trunk. Easiest way to do this is keep an eye on https://buddypress.trac.wordpress.org/log and remember what “Rev” it’s up to. When you spot an update, open Terminal again:

    cd ~/Desktop/BuddyPress
    svn up

    “svn up” is an “update” command. It figures out what SVN revision your checkout of BuddyPress is on, compares that to the version on the server (it remembers what URL you fetched it from originally), and then downloads and applies any updates automatically.

    This is the method I like doing on my servers, so maybe see if it works out for you.

    #136341
    Roger Coathup
    Participant

    Plaza is a very nice website – it’s also a significant custom development.

    Are you a skilled PHP developer with solid WordPress development experience (writing custom post types, taxonomies, url rewrites and such like)?

    If you have those development skills (and in the case of Plaza – some strong design skills as well) or are willing to hire them in, then yes, BuddyPress is a suitable underlying platform to build the user profiles on, and to provide a backbone where you can unify their reviews and hotel submissions.

    #136330

    In reply to: redirect user login

    valuser
    Participant

    https://wordpress.org/extend/plugins/buddypress-login-redirect/ can redirect to 3 different locations after login. 1. Personal Profile / Personal Activity Page 2. Site wide Activity 3. Friends’ Activity

    https://wordpress.org/extend/plugins/login-with-ajax/ this plugin’s settings allows you go to any particular page OR to the current users particular page on login & on logout if you use %USERNAME% — its on the settings page

    #136329

    In reply to: redirect user login

    edinchez
    Participant

    Not really sure how multisite works, but this plugin here can be configured to work the way you want I think:

    https://wordpress.org/extend/plugins/peters-login-redirect/

    #136325
    modemlooper
    Moderator

    Did you install WordPress with a one click installer from your host? If so the directory may not have permissions set to allow BuddyPress to create folders and add images to your server

    Paul Wong-Gibbs
    Keymaster

    Your best bet is to ask on bbpress.org or search for bbPress plugins on the WordPress.org directory.

    #136319
    Paul Wong-Gibbs
    Keymaster

    User registration also has to be enabled in WordPress for this to work, too. (via Settings > General, in wp-admin)

    #136311
    mattdans
    Member

    I’m having a problem with the registration page. When I type in the url imgmatters.com/walkforasl/register, it takes me to the home page (imgmatters.com/walkforasl) Same thing when I clicked the ‘view’ button on BuddyPress’ interface (in WordPress) to view the register page.

    #136310
    modemlooper
    Moderator

    bp_displayed_user_avatar only works on a members profile page use bp_core_fetch_avatar

    not all functions work out of their components

    nickharambee
    Participant

    I too am noticing this behaviour, specifically with apostrophes – I haven’t tested other special characters.

    I am using latest versions (WordPress 3.4, Buddypress 1.5.6 and BuddyPress Group Email Subscription 3.1.2)

    Mathieu Viet
    Moderator

    Hello @valuser

    Yes it can be done for tags. The trouble with your snippet is that you’re calling a function that doesn’t exist in WordPress : get_the_post_tag() !! So i adapted your function using this one https://codex.wordpress.org/Function_Reference/get_the_tags and instead of tag ids i think it’s more convenient to use tag slugs :

    function do_not_record_this_tag( $post_id, $post ){
    
    /* this is the array that contains the category to exclude */
    $tag_slugs_to_exclude = array( 'exclude' );
    
    if ( 'publish' != $post->post_status )
    return false;
    
    $post_tags = get_the_tags( $post_id );
    $in = false;
    
    if( !empty( $post_tags ) ) {
    
    foreach ( $post_tags as $post_tag ) {
    if( in_array( $post_tag->slug, $tag_slugs_to_exclude ) )
    $in = true;
    
    }
    
    /* if the post has at least one excluded tag, then we remove the BuddyPress hook that records an activity */
    if( $in )
    remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 );
    
    }
    
    }
    
    add_action( 'save_post', 'do_not_record_this_tag', 9, 2 );

    if you prefer id then replace the tag slugs by ids in the array $tag_slugs_to_exclude and replace $post_tag->slug by $post_tag->term_id

    #136278
    Mathieu Viet
    Moderator

    Hello @tgoedde

    If you’re using the theme BP Default, it’s quite easy actually. As this theme supports custom-header, you can simply edit the BuddyPress pages (Activity, register, groups, forum… and so on) in which you want to add a custom header.

    I just tested this in my activity page.
    1/ Edit the page in WordPress backend
    2/ Use the media button to select your photo, it must have at least a width of 1250px (if under, the pic won’t show)
    3/ Upload and choose not to insert but to use as featured image. Once done you can close the thick box window.
    4/ you’ll see in the edit page / the featured image box at the bottom right with your uploaded image shrinked.
    5/ Save the page. And you’re done ;)

    Repeat these steps for each BuddyPress template you want to add a custom header to.

    Paul Wong-Gibbs
    Keymaster
    #136275
    Paul Wong-Gibbs
    Keymaster
    #136257
    Roger Coathup
    Participant

    It’s a WordPress Multisite question, not a BuddyPress one – this function would be a starting point: it returns all the blogs a user has access to:

    get_blogs_of_user( )

    #136252

    In reply to: Plugin Question

    @mercime
    Participant

    WordPress plugins which are supposed to be BuddyPress-ready are tagged “buddypress” by respective plugin developers – https://wordpress.org/extend/plugins/tags/buddypress
    Double-check if plugin’s been updated for latest versions of BP at least

    To make your WP theme compatible with BP, you need to install BP Template Pack plugin and go through Appearance > BP compatibility process then align HTML structure.

    Yes, we are aware of the bug for the plugin’s pagination in this site.

    #136248
    Dawantt
    Member

    WordPress 3.3.2, Buddypress 1.5.6. Buddypress is a newly installed.
    I using Suffusion theme. Everything is fine, but the problem is with comments …In default theme of buddypress is everything okay.

    #136243
    shanebp
    Moderator

    @mercime

    Thanks for the info.

    I think more Forums set-up info is a must and perhaps is better delivered in a bbPress codex page specifically for BP.
    And provide a link on the bb-forums-setup page
    Or it could go right on the bb-forums-setup page.

    A start to discussion:
    https://buddypress.trac.wordpress.org/ticket/4292

    #136234
    labeshops
    Member

    @mercime thanks for the response…

    I do have membership enabled in settings > general as I already said I did.

    It’s a new buddypress installation so no, was never able to upload & crop an avatar before as this is the first time I tried.

    Yes, I can upload, crop etc images everywhere else.

    New installation of both wordpress and buddypress – installed both yesterday.

    Paul Wong-Gibbs
    Keymaster

    From time to time, we hear reports of this. No-one has figured out if it’s a theme issue, or a plugin issue, or a BuddyPress issue, or some sort of WordPress config issue. I’ve never been able to recreate it, nor have the other core developers, which suggests it’s something outside of BuddyPress or the BP-Default theme.

Viewing 25 results - 12,001 through 12,025 (of 22,644 total)
Skip to toolbar