Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 6,951 through 6,975 (of 32,560 total)
  • Author
    Search Results
  • #243811

    In reply to: Profile looks weird

    danbp
    Participant

    I tested successfully this method applied to Gardenia (free version) before posting it here. Retry. You can also ask the theme author.

    #243809

    In reply to: Profile looks weird

    RepTerra
    Participant

    I did everything you told me to. But the theme is not the same anymore and its not working hmmm…

    #243800
    danbp
    Participant

    hi @tr1stessa,

    unable to reproduce your issue.
    Do you use a specific plugin for notification ?
    Have you tested by using a twenty theme and all plugins deactivated except BP ?
    Enable also wp_debug in wp-config and report here if you get some error.

    #243798

    In reply to: Profile looks weird

    danbp
    Participant

    Gardenia is not BP ready.

    Create first a child theme. Add a new folder to wp-content/thems/
    wp-content/themes/gardenia-child/
    Now add a new file and call it style.css
    Copy this header comment into it (/* & */ included):

    /*
    Theme Name: Gardenia-child
    Description: child theme
    Version: 1.0
    Author: XXX
    Template: gardenia
    */

    Save.

    In that folder, add another one called buddypress and another one in this folder called css

    Go to wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/css/ and copy buddypress.css file into the css folder you created in the child theme.

    In legacy/buddypress/ directory, is a js folder. Copy the whole folder into child’s buddypress directory.

    End result should be:

    /gardenia-child/
    /gardenia-child/style.css

    /gardenia-child/buddypress/css/buddypress.css

    /gardenia-child/buddypress/js/buddypress.js
    /gardenia-child/buddypress/js/password-verify.js

    Go to dashboard > Appearrance > Theme and activate Gardenia-child.

    Done ! The theme shows BuddyPress properly.

    danbp
    Participant

    One thing is sure: all buttons showing up on a default install of WP/BP using a Twenty theme.

    I recommand you built a local site where you can test your customization before applying them to live site.

    Use WAMPP or XAMPP or MAMPP and start with a clean WP/BP install + Twenty Fifteen, so you can see the buttons. Once ok, you test your original theme (not the child) as already told you by Shane.

    #243766
    danbp
    Participant

    @wp_starter,

    ratings and reviews button are not part of BuddyPress. Search in your plugins or theme.
    CSS rules for something like #item-header-content are generally added via style.css of a child-theme or via specific theme settings.

    #243763

    In reply to: Cannot Crop Avatars

    sg
    Participant

    Hello, I am having the same challenge. I cannot crop/upload a group avatar profile image. Switched from KLEO theme to 2014 and all plugins are off. Might there be other solutions? Thanks!

    ctuxboy
    Participant

    Hello,

    – I activate the original WP twentyfifteen-theme, and i see no errors in the developer console (Chrome browser)

    Is this an issue? Have more people this?
    Can i adding manually the private button links?

    This are the installed plugins:
    – All In One WP Security
    – Black Studio TinyMCE Widget
    – Bowe Codes
    – BP Registration Options
    – Bp Stickers
    – BuddyPress Members only
    – BuddyPress
    – Child Theme Configurator
    – Contact Form 7
    – Duplicator
    – Events Manager
    – FB like notification for buddypress
    – Loco Translate
    – Page Builder by SiteOrigin
    – Peter’s Login Redirect
    – Really Simple CAPTCHA
    – SiteOrigin Widgets Bundle
    – User Switching (deactivated for the moment!)
    – WP Statistics

    The strange thing is that all the buttons showing correctly in the user profiles when nothing a friend.

    (sorry for my bad english!)

    #243755
    danbp
    Participant

    @ericks89,

    There is a way, if you use BBPress Signature. 😉 Modifying bbp_get_reply_content filter.

    Here an example fetching 3 xprofile fields called Signature, Industry and Type. Change it to your need. Code goes into bp-custom.php or child theme functions.php

    
    function my_bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) {
    	// Default arguments
    	$defaults = array(
    		'separator' => '<hr />',
    		'before'    => '<div class="bbp-reply-signature">',
    		'after'     => '</div>'
    	);
    	$r = wp_parse_args( $args, $defaults );
    	extract( $r );
    
    	// Verify topic id, get author id and potential signature
    	$reply_id  = bbp_get_reply_id       ( $reply_id );
    	$user_id   = bbp_get_reply_author_id( $reply_id );
    	
    	// Get fields data. Caution: name is case sensitive.
    	if(function_exists('bbpress') ) {
    		$signature = xprofile_get_field_data( 'Signature', $user_id );	
    		$wowi = '<br>'. xprofile_get_field_data( 'Service', $user_id );
    		$wowt = '<br>'. xprofile_get_field_data( 'Type', $user_id );
    	}
    	else {
    		$signature = bbp_get_user_signature ( $user_id  );
    	}
    
    	// If signature exists, adjust the content accordingly
    	if ( !empty( $signature ) )
    		$content = $content . $separator . $before . $signature . $wowi . $wowt . $after;
    
    	return apply_filters( 'my_bbp_reply_content_append_signature', $content, $reply_id, $separator );
    }
    
    if ( !is_admin() ) {
       // remove the original BBPress filter
       remove_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 );
       // add our custom filter
       add_filter( 'bbp_get_reply_content', 'my_bbp_reply_content_append_user_signature', 1, 2 );	
    }
    

    May this help. 😉

    #243751

    In reply to: Profile looks weird

    danbp
    Participant

    Hi @repterra,

    if you use a child theme with 2015, please read here about the new (since 2.3) Companion Style Sheet:

    BuddyPress Companion Stylesheets

    #243749

    In reply to: Profile looks weird

    djsteveb
    Participant

    @repterra – Using 2014 theme?
    Tried disabling all other plugins, including mu-plugins and bp-custom (if you have those added) ?
    If using 2014 theme have you modded it at all?

    djsteveb
    Participant

    @jrunfitpro “there wasn’t a good answer for my question” –
    I think you should of imply replied to your previous (not dupe) thread – would keep things more tidy.
    Also you never reported back what your optimize press people had any details about the issue.

    anyhow, with your setup I wonder..
    “not pulling from certain pages ”
    – what exactly is not being pulled?
    from pages?
    posts?
    multi-site sub blogs?
    Pulled from media comments?

    If you switch to default 2014 theme – does it work then?

    If you use 2014 theme and disable all other plugins (and mu-plugins and bp-custom if you have those) aside from BP is the issue resolved?

    If “not pulling from certain pages” still does not work with 2014 and all other plugins removed, then you may find the answer on the other threads and solution hunting things posted:

    Post comments not appearing in activity stream?


    (and those items linked in comments from there)

    If “not pulling from certain pages” does work fine with 2014 as theme and other plugins disabled – then it’s an issue with your other theme or plugins (or combo of them).

    jrunfitpro
    Participant

    Because there wasn’t a good answer for my question, so i would like the help of one of the developers since my theme is very popular and the developers can probably fix this in a heart beat.

    Your post isn’t the same issue either.

    #243743
    djsteveb
    Participant

    @jrunfitpro
    Why you start new thread for exact same question as before you?!
    ( https://buddypress.org/support/topic/has-anyone-figured-out-how-to-use-optimize-press-2-and-bp-site-tracking/ )

    maybe delve into searching the forums..

    similar questions and answers 4 days ago -https://buddypress.org/support/topic/post-comments-not-appearing-in-activity-stream/

    or point your optimize press to search the forums and codex here and find the fix if you can’t figure it out.

    I don’t think you will find a lot of help here with a premium theme and it’s specific issues. Especially since there has been no new information provided.

    #243741
    djsteveb
    Participant

    @iseestarz

    Activity wall – Yes – in core.
    all members chat – private user to user email like messages in core. Chat rooms with plugins like “quick chat” – so yes
    sleek custom profiles for members, -hard to tell what is “sleek” – custom? for each member? There are a couple of plugins that played with this – not sure how they work, if they’ve been updated lately.. modding how all profiles look to make them “sleeker” than default 2015 – theme – possible..

    a paid membership option – that would be a plugin.. there are several that get into that.. s2member, paid memberships pro, ultimate member maybe? Some options from wpmudev as well I think.

    A way to let paid members make their own post/articles on the homepage – hmmm.. maybe prevent non paid members from even creating a blog.. or you mean any activity posts on home page – I think these things are possible.. BP recently added “user levels” but I have not see much actually use that.. but extending this should be easy to some degree..

    However if your focus is on paid members things, and you will need support to put all this together and keep it running (you are not a php coder with lots of time to read codex and test things) – then developing around BP is likely to get expensive, and you might be better off forgetting bp exists and looking at some of the more premium systems others have put together around wordpress (a few wpmudev plugins combined achieve what you describe without needing BP) – and there are others..

    Of course you don’t have to look for such a system revolving around wordpress either – there are more mature social network options that may save you time and sanity – things like phpfox, boonex dolphin, oxwall..

    random thoughts from a bp user.. I’m not a dev and have not tested all the things out there that get into paid members things and restrictions.. if you search the forums here there have been a few comments from others pointing to some other similar plugin options – and some people have pointed out troubles with some of those on the market.

    ctuxboy
    Participant

    Hi @danbp,

    Ok, I try it tommorrow with the original twentyfifteen theme and looking for some other errors in the developer console.

    Regards,
    Christophe

    ctuxboy
    Participant

    Hello,

    Thanks for the fast replies.

    The theme is a twentyfifteen child-theme.

    I follow yours advice.

    – First, remove the custom code in functions.php
    – updated to the latest BP
    – remove some custom bp-templates

    Here a Screenshot if not a friend. All buttons are showing perfect.

    Here a screenshot when he is a friend. Then only the de-friend button shows 🙁

    Strange problem.
    (http://www.dienstwissels.be/)

    danbp
    Participant

    Hi @ctuxboy,

    What have you done before the button disappeared ?

    Activate wp_debug in wp-config.php and see if you get some error message.

    You may also test with one of Twenty theme, to see i it comes up with a strict WP standard theme.
    And also deactivate all plugins, except BP, and reactivate them one by one to eventually find a culprit.

    Control also your custom function if you added some in theme’s functions.php or bp-custom.php

    And of course, you’re encouraged to update to BP 2.3.3 ! 😉

    shanebp
    Moderator

    What theme are you using?
    Try switching to a WP theme like 2015 – if the problem is gone, then it’s something in your theme.

    zoewsaldana
    Participant

    Fixed it!! Okay, for anyone who encounters this issue, the problem was that for some reason (I think perhaps how WP or my server is caching pages) the hooks I was choosing to target for the behavior weren’t working. So instead I added both functions to the “wp” hook, and now it works site-wide!

    
    /* You can add custom functions below, in the empty area
    =========================================================== */
    
    function bp_guest_redirect( $name ) {
        if( ! is_user_logged_in() ) {
            if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_directory() || bp_is_user() || bp_is_members_component() ) 
                wp_redirect( get_option('siteurl') . '/new_member/' );
        }
    }
    add_action( 'wp', 'bp_guest_redirect', 1, 1 );
    function bpfr_hide_rss_feed_to_nonreg_visitor() {
     if ( !is_user_logged_in() ) { 	
       remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed' );
       remove_action( 'bp_actions', 'bp_activity_action_personal_feed' );
       remove_action( 'bp_actions', 'bp_activity_action_friends_feed' );
       remove_action( 'bp_actions', 'bp_activity_action_my_groups_feed' );
       remove_action( 'bp_actions', 'bp_activity_action_mentions_feed' );
       remove_action( 'bp_actions', 'bp_activity_action_favorites_feed' );
       remove_action( 'groups_action_group_feed', 'groups_action_group_feed' ); 
        }
    }
    add_action('wp', 'bpfr_hide_rss_feed_to_nonreg_visitor'); 
    
    

    My theme framework (WPZoom) also recommended I place theme modifying code in the functions/user/ pathway, so I modified functions.php there instead of using bp-custom. I think it would work either place, however.

    Thank you!

    #243678
    Ben Riga
    Participant

    ok I figured this out. And I was in fact missing something pretty fundamental. I was copying from the \bp-themes\bp-default\ folder instead of from \bp-templates\bp-legacy\buddypress. Once I fixed that it all came together.

    Can someone explain the difference between the two folders. FWIW, the bp-legacy name was throwing me off. The word legacy to me hinted at something that was deprecated so I had assumed I should stay away from there.

    The support topic https://buddypress.org/support/topic/how-to-create-template/ set me straight.

    Thanks,
    Ben

    shanebp
    Moderator

    It’s a lot easier just to turn off avatars if the user is not logged in.
    Try this in your theme functions.php or in bp-custom.php.

    function fresser_turn_off_avatars() {
         $bp = buddypress();
    	
         if ( ! is_user_logged_in() )
    	$bp->avatar->show_avatars = false;
    	
    }
    add_action('bp_core_set_avatar_globals', 'fresser_turn_off_avatars' );
    jessy
    Participant

    I do not understand, what exactly is happening, should you be more clear?

    Try to use twentytwelve theme and just add there snippets. See what happen. What is your theme?

    Thank you.

    zoewsaldana
    Participant

    Thank you all for the help!

    Okay, here’s the bizarre thing — I created a new user account and logged out to test its functionality. After I did this, I got the new_member redirect page exactly ONE TIME for every single BP page. So one time, it would prevent non-logged-in me from accessing Recent Activity, but if I tried again, it would work from here on out. I think there must be something going on with respect to how often the function is being called, and perhaps how my server is cacheing sites. Should I try placing a function call somewhere else, like in the theme or somewhere that is likely to be checked every refresh? Thank you!

    Zoë

    #243668
    Ben Riga
    Participant

    I poked around and re-read the codex and watched the BuddyCamp Brighton video with Hugo Ashmore (the video was really good btw).

    Unfortunately I am still stuck. I suspect I’m missing some little but fundamental thing but can’t figure out what that is.

    My child theme folder only includes three files:
    twentyfourteen-child\buddypress\members\single\home.php
    twentyfourteen-child\functions.php
    twentyfourteen-child\style.css

    home.php is an exact duplicate of the file at plugins\bp-themes\bp-default\members\single\home.php
    styles.css is empty (except for comments) and functions.php only contains:
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }

    I’m baffled. Anyone have an idea for me to try or some additional how-to docs on how to properly setup a child them for both wp and bp?

    Thanks,
    Ben

Viewing 25 results - 6,951 through 6,975 (of 32,560 total)
Skip to toolbar