Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 5,476 through 5,500 (of 31,072 total)
  • Author
    Search Results
  • #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

    shadow_boi
    Participant

    Hi @danbp,

    i have tried on other default wordpress theme, the mentioned users notification does not work on any of them.
    i actually checked the notifications page, there has no notification for the mentioned action. so i dont think it might be a theme related issue. it seems like the notification event is not recorded in DB.

    so to recap of what works and what does work:

    the notification does not work if I mention someone in forum reply or in a forum topic.
    Notification works for when i mention someone in buddypress activity streams.

    danbp
    Participant

    @shubham9,

    check Activity auto-refresh in dashboard > Settings > BuddyPress > settings tab.

    If it is already done, activate Twenty Fifteen theme and see if the issue is still in.

    #243658
    danbp
    Participant

    buddypress.css contains all styles used by BP.

    I also use a cache plugin that is not caching for logged in users.

    If i understand this correctly, it means that if i visit your site without being logged in, i get a page from the cache, right ? This means logically that you have to be logged in while testing your change. And finally, it could be possible that non logged users see (it’s an example) a black title (cached) and logged-in user see a red title (the most recent, not cached, version of the new style applied to that page). Hum…

    When you use a child-theme, and his mandatory style.css, the child has priority over the parent theme, and buddypress.css.

    Child theme is the only safe strategy to get your customization without loosing your work at each update. You add to it only what you want to modify. Even if you need to change only 2 title styles.
    In your case, you need only a style.css with a rule or two for your titles. You don’t have to add template files.

    is it possible to find somewhere already created templates with different color profiles

    A template is a structure of different HTML tags and some php code for dynamic content.
    A theme is a design applied to this armature.
    A content is what is showed inside the structure.
    HTML is used to build the structure
    CSS is used to build the layout/design
    Content is text, images, videos, etc
    PHP is a coding language to build dynamic pages between a database and a server.

    BuddyPress template files are stored in wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress

    Unfortunatly for you, the theme is a premium one for which we can’t provide support, as we have no access to his code and can’t install it to test without using a licence.

    See theme doc for information about child theming it and other advice for adding custom CSS.

    #243635
    CreationP
    Participant

    @danbp

    I am using xplicit for a theme. I also use a cache plugin that is not caching for logged in users.

    I am taking local backups and restoring if something does not feel good. Through all my testing and experimentation with buddypress nothing have been changed as I revert all changes that do not work.

    Now that you mentioned templates, is it possible to find somewhere already created templates with different color profiles and change them from there?

    I found yesterday the buddypress.css maybe the answer lies there? I don’t mind redoing all the work every update as I only need to change 2 titles. Everything else fits to us.

    #243631
    Ben Riga
    Participant

    Thanks for the quick response, shane.

    I think I may need some more remedial help though as in trying to do that I broke the page.

    I am using the twentyfourteen theme as a base so have created a child of that called twentyfourteen-child.

    To override the home.php page like you suggested. I created a new file at:
    twentyfourteen-child\buddypress\members\single\home.php

    Even just copying the exact same file over from the buddypress members\single folder broke the page (lost most of the styling and item body and left sidebar etc) so clearly I’m doing this wrong.

    I think I need to have a better idea of how template overriding works. I’ve searched through the codex but have not been able to find anything that helps. What’s the best place to learn more about that? A how-to tutorial or something like that would be great.

    Thanks again for the help and support,
    Ben

Viewing 25 results - 5,476 through 5,500 (of 31,072 total)
Skip to toolbar