Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 6,301 through 6,325 (of 31,072 total)
  • Author
    Search Results
  • #236524
    danbp
    Participant

    No need to open another topic for this. You should be patient…

    I told you to test WP alone firstly, without any plugins. And testing means also producing volontary errors, such as sending empty register fields… You have to do this to ensure that WP is working.

    Once he does, you can add plugins and themes. Not all at the same time.

    #236510
    BackpackersUnion
    Participant

    Hi @rosyteddy

    Thanks for the information. That ticket seems more related to the total space available for BP Pages on default themes and not specific page items.

    #236502
    rosyteddy
    Participant

    Hi Shanebp

    Really very grateful for this much needed plugin.
    Can you kindly add two things that is present in all social net scripts like Elgg, Jomsocial, Easysocial etc for the “BuddyPress Simple Events”
    1) Attending – Yes, no, maybe
    2) Integration of the event form with What’s new box
    Please see a demo here – it will take one second – http://easysocial.stackideas.com/

    Some other quick points for your kind attention
    – it works great in default Twenty-fifteen but as you know this theme is not usable for Buddypress yet – BP responsive themes like Farben-basic breaks when this plugin is activated
    – Comments are not in sync – comments made to the Event in the stream do not show under the Event in main page and vice versa [ in contrast Picture album for buddypress – Buddypics by modemlooper has comment and Favorite sync], same about Favorites
    – no privacy options – open, closed etc
    – admin settings for this plugin should appear under Network administration – Buddypress settings and most Buddypress plugin settings happen here – but this Event plugin has its settings in the main site, not under Network administration setting
    – Group Events ( I see there is a paid option, ideally it comes free or paid for both – separating like this is little bit unseen in internet)

    However, without the ” Attending – Yes, no, maybe” event plugin has no meaning in the current and present day internet – please implement it

    Thanks for this nifty plugin. It will help many of us.

    #236465
    danbp
    Participant

    hi @mjc82in,

    BuddyPress is continuously evolving. 2 years back it was a mess trying to use CPT on SWA. That’s no more the case with BP 2.2

    Maybe this example will help you. It creates a CPT called Music which will show up on the SWA where you can comment it.

    Add the code to bp-custom.php

    // allow tracking of our CPT
    add_post_type_support( 'music', 'buddypress-activity' );
    
    function customize_page_tracking_args() {
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( 'activity' ) ) {
            return;
        }
     
        bp_activity_set_post_type_tracking_args( 'music', array(
            'component_id'             => 'activity',
            'action_id'                => 'new_music',
            'bp_activity_admin_filter' => __( 'Published a new music', 'text-domain' ),
            'bp_activity_front_filter' => __( 'Music', 'text-domain' ),
    			'contexts'                 => array( 'activity', 'member' ),
    			'activity_comment'         => true,
    			'bp_activity_new_post'     => __( '%1$s posted a new <a href="%2$s">Music</a>', 'text-domain' ),
    			'bp_activity_new_post_ms'  => __( '%1$s posted a new <a href="%2$s">Music</a>, on the site %3$s', 'text-domain' ),
    			'position'                 => 800,
        ) );
    }
    add_action( 'init', 'customize_page_tracking_args', 999 );
    
    function bpfr_create_post_type() {
      register_post_type( 'music',
        array(
          'labels' => array(
            'name' => __( 'Music', 'text-domain' ),
            'singular_name' => __( 'Music', 'text-domain' )
          ),
          'public' => true,
          'has_archive' => true,
        )
      );
    }
    add_action( 'init', 'bpfr_create_post_type' );

    Ref: https://codex.buddypress.org/plugindev/post-types-activities/

    @mercime
    Participant

    @aljo1985 Closing this topic. Please feel free to start a new topic with information about WP/BP versions and theme used.

    #236408
    Azalea Mollis
    Participant

    I don’t know if there’s a good plugin for this but you can add a custom function to your bp-custom.php file that achieves the same result. You can read how to make a bp-custom.php file here in the BP Codex.

    When your bp-custom.php file is ready, you add this function to the file:

    
    <?php
    function restrict_bp_pages() {
    	
    	global $bp;
    	
    	if( bp_is_blog_page() || bp_is_register_page() || bp_is_activation_page() ) {
    		return;
    	}
    	
    	if( !is_user_logged_in() ) {
    		bp_core_redirect( $bp->root_domain .'/YOUR-LOGIN-SLUG' );
    	}	
    	
    }
    add_action( 'get_header', 'restrict_bp_pages' );

    You insert the slug of your login page in the place of YOUR-LOGIN-SLUG into the code above. E.g. if your login page is http://www.mypage.com/mylogin, your insert ‘/mylogin’. If you want to use your home page you leave out this part and only use bp_core_redirect( $bp->root_domain );.

    Then you upload the bp-custom.php file into the /wp-content/plugins/ folder on your server, and you’re ready.

    #236397

    In reply to: Test Registation error

    danbp
    Participant

    Clear your browser cache. This happens sometimes when you register, then try to login as new user during the same session. Can also be due to theme or plugin settings.

    You can also read some older topics about this:
    https://buddypress.org/support/search/Invalid+activation+key/

    #236392
    gmxperry
    Participant

    I just wanted to confirm to anyone who finds this post later with the same issue (before 2.2.2) that this process worked 100%. Just apply the changes in this link and it should fix your problem, if you happen to use Customizr as your theme of choice:

    https://buddypress.trac.wordpress.org/attachment/ticket/6107/6107.06.patch

    #236387
    gmxperry
    Participant

    Copy/paste it is! That’s how it went the first time, so I’ll give it a second shot. Thanks for the feedback on the theme, though. I may evaluate my other theme options first before I go through another round of editing a page of code.

    Thank you for your help again!

    #236386
    danbp
    Participant

    Version 9 and 6 are slightly different and Customizr doesn’t show a complete BP title when you use the latest patch (9). For example, you’ll see just the site name on single activities.

    Applying the first one made by imath will probably be the best solution in your situation. I won’t critizise Customizr, but personnally i won’t use it with BuddyPress. Because of this issue, and some others, handled on that theme support. 951,457 downloads maybe say it’s a popular theme, but 245 support pages in one year is something that get me a bit suspicious in term of usage.

    There is no miraculous method to apply a patch, and no special tips for that except if you don’t know how to copy/paste code, which i can’t belive is the case 😉

    So Codex is your friend to discover some other academic methods like using Tortoise.

    #236381
    danbp
    Participant

    Not sure that Customizr is now working 100% with BP (1 year back it wasn’t compatible with BP).

    Anyway, issue is related to the theme. FYI, 2015 also doesn’t show up page titles…

    To solve this temporarely (until next update), you can apply this patch
    https://buddypress.trac.wordpress.org/ticket/6107

    I tested v.6107.06 with Customizr and it works !

    danbp
    Participant

    Create first a bp-custom.php file and add it to the plugins directory.

    Than add these snippet, which let you handle activities which may not be commented.

    function browserco_activity_nocomment( $can_comment = true, $type = '' ) {
            if ( empty( $can_comment ) ) {
                    return $can_comment;
            }
    		
            // list of activities which can't be commented
            $cant_comment_types = array( 
    				'new_forum_topic' => 1,
    				'new_forum_post' => 1,
            );
     
            return ! isset( $cant_comment_types[ $type ] );
    }
    add_filter( 'bp_activity_can_comment', 'browserco_activity_nocomment', 10, 2 );

    Some BP activity types
    activity_comment
    activity_update
    last_activity
    friendship_created
    joined_group
    new_blog_post
    new_avatar
    updated_profile

    Note that some plugins add their own activity types. To get activity type names, go to the DB and check the “type” column in _bp_activity table.

    danbp
    Participant

    Seems you have to debug your installation by reverting back to a standart install of WP+BP only.
    Ensure also you don’t use any custom function in your child-theme functions.php or in /plugins/bp-custom.php

    Activate 2015 or 2013 theme, deactivate all plugins except BP.
    When things went fine, reactivate the plugins one by one. Maybe this will help you isolate a culprit.

    #236361
    djsteveb
    Participant

    if you delete everything, fresh install – and use the default wp theme 2012 or 2013 or something – you should be able to get the registration thing to work right? I would do that first.

    usba
    Participant

    I was having the same issue. When I set up my menu, I saw a section on the left that had a BuddyPress tab below the Page tab. Turns out the BuddyPress options map to the user that was logged in. I don’t think all themes show this because I have a test environment that does not show the BuddyPress tab. Check your url and make sure that you are going to domainname/groups/ (or whatever your page name is for the groups). My site was going to domainname/members/username/ when I clicked the Groups link in the menu.

    danbp
    Participant

    Currently when someone registers they have automatic friend requests in Friends-Requests space, from everyone already registered.

    Never seen this in BuddyPress. Do you use some friendship or social plugins ? What is your theme?

    Morka
    Participant

    Someone at the @customizR theme support find the trick to resolve my issue, so, i’d only had to put this snippet-code :

    add_filter(‘tc_show_comments’, ‘disable_comments_buddypress_pages’);
    function disable_comments_buddypress_pages( $bool ){
    if ( is_page() && is_buddypress() )
    return false;
    return $bool;
    }

    At my child-theme function.php;

    This code will disable the comments on each buddypress pages, so, take care if you want to allow users to comment some buddypress pages this code won’t work for you 🙂

    Thx for the help you tried to give to me !

    vinay24k
    Participant

    I am using Latest version of Buddypress and WordPress. Also Default Buddypress theme.

    Morka
    Participant

    Ho sorry, i forgot to say that no, there’s not appearing on Twenty twelve theme ^^

    djsteveb
    Participant

    @morka – I know you can’t enable / disable comments on those pages (at least from my experience with BP and a few themes / installs, of course with WP just about anything is possible) – You failed to mention if you have the same issue with the default wordpress themes.

    djsteveb
    Participant

    @morka – do you have the same issue when using the default “wordpress 2014” or “twenty-twelve” themes?
    If not, I would ask your theme author to add some kind of check on pages for something like “if is register page, turn off comments” / not load the comment hook thing…

    sorry not a php or wp/bp expert, can’t point you in the right direction for those codes and what they are really called. I know with some standard WP pages you can go into the editor and select “comments off / disable trackbacks” – and with some themes you can use a theme option to “display comments off” or hide “comments off” on pages where comments are disallowed.

    danbp
    Participant

    hi @5high,

    as @hnla mentionned it, CSS is not the correct way to ‘remove’ something, because it’s not removed from source code, but only hidden to visitors.

    Here is a solution to remove what’s new form from the activity page, but let it live for groups.

    1) copy bp-templates/bp-legacy/buddypress/activity/index.php
    to the child-theme, to get /child-theme/buddypress/activity/index.php

    2) open the copied file and remove line 7 to 11

    
    <?php if ( is_user_logged_in() ) : ?>
    
       <?php bp_get_template_part( 'activity/post-form' ); ?>
    
    <?php endif; ?>

    To remove the form from members single activities

    3) copy bp-templates/bp-legacy/buddypress/members/single/activity.php,
    to the child-theme, to get /child-theme/buddypress/members/single/activity.php

    4) remove only line 35

    bp_get_template_part( 'activity/post-form' );

    Hope this help.

    #236286
    Projekt-42
    Participant

    A hassle-free solution is to use a theme with a Restrict Page / Require A Login page template.

    #236257
    ch1n3s3b0y
    Participant

    Hi @henrywright

    I have a quick question. I have included the code from the buddypress registration.php file into a custom page template in my child theme, however it isn’t working as it does within buddypress. Do I need to do something else within my custom template for the buddypress code to work?

    I tried

    global $bp as I thought this would work, but nope.

    #236252
    jasnon
    Participant

    Thanks for the feedback. I was able to isolate the issue of widgets not displaying on the sidebar to be a conflict with a widget plugin I was using. After further testing with the additional spacing that was being created, I determined it was an issue with my current theme and I was able to reach out to them for further trouble shooting and an eventual solution.

    You can consider this issue closed. Thanks again.

Viewing 25 results - 6,301 through 6,325 (of 31,072 total)
Skip to toolbar