Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 18,276 through 18,300 (of 68,966 total)
  • Author
    Search Results
  • #174205
    mattg123
    Participant

    No need…. I’ll just explain it slightly better you’re using a buddypress child theme, so you need to create a folder inside _inc called “js”. For me, this holds all my javascript files in this case, you’ll put backstretch.js here (make sure the name is backstretch.js)

    Next step is putting the background image in the folder _inc as well, place your image inside “images” within _inc, name it background.(whatever)

    Now we need to add the code so that wordpress uses these files – we can add it to our functions.php

    function backstretch_script() {
     
    		wp_register_script( 'backstretch', get_stylesheet_directory_uri() . '/_inc/js/backstretch.js', 'jquery', '1.8.3', true);
                    wp_enqueue_script( 'backstretch' );
        
    }
    add_action( 'wp_enqueue_scripts', 'backstretch_script' );
    
    	function backstretch_add() {
    ?>
            <script type="text/javascript">
                jQuery.backstretch("<?php echo get_stylesheet_directory_uri()?>/_inc/images/background.jpg");
            </script>
    <?php
    	}
    add_action ('wp_footer', 'backstretch_add', 20);

    add that code as is – you may want to change the .jpg to .png or whatever file type your image is.

    If for some reason you don’t want to place backstretch.js or your background image in those folders, you’ll need to modify these two lines to the new location.

    wp_register_script( 'backstretch', get_stylesheet_directory_uri() . '/_inc/js/backstretch.js', 'jquery', '1.8.3', true);
    jQuery.backstretch("<?php echo get_stylesheet_directory_uri()?>/_inc/images/background.jpg");

    Hopefully that’s slightly clearer

    #174204
    fyreus
    Participant

    Is the Groups > ‘Edit’ Function still broken? (Yes i’ve deactivated everything and activated everything 1 by 1) I can’t access anything like the picture posted by Aces.

    *edit* Think i found something that works at the moment called BP Group Manager.

    BP Group Management

    Although the plugin claims that it’s already been added, it’s obvious it doesn’t work properly, so this will have to do until the Edit link is fixed.

    #174196
    kwright
    Participant

    Thanks for your reply. I am assuming it needs buddypress.css but as I said I cannot find where to download this. I have searched the plugin directory to no avail. Can you tell me where buddypress.css is located so I can download and try it.

    Thanks
    Ken

    #174195
    davaguco
    Participant

    My wordpress was working perfectly before installing buddypress. I installed buddypress, I didn’t upgrade it from another version.

    #174193
    modemlooper
    Moderator

    buddypress.css is a basic style sheet for layout formatting. You will probably need to add more css to your style sheet to handle the extra html supplied by BuddyPress.

    #174185

    In reply to: Follow

    Henry
    Member

    Yes, it’s possible and very easily done using:
    https://wordpress.org/plugins/buddypress-followers/

    #174181
    colabsadmin
    Participant

    @dennish

    Its been a few weeks and was wondering if deleting the bbpress issues in the buddypress folder is still the fix for the spambot issue you were having. Thanks!

    #174170
    Hugo Ashmore
    Participant

    The first place to start is with the BuddyPress documentation ( Codex ) Read the following two pages to familiarise yourself with BP theme compatibility and how to use custom files, if that isn’t sufficient to correct your issues you may have a theme that does not play properly with the WP template process and has a custom process for dealing with the loop in ‘pages’ which will need modifying in a custom bp file, however the theme author is best placed to be able to tell you what adjustments you need to make.

    Theme Compatibility & Template Files

    Template Hierarchy

    #174169
    @mercime
    Participant
    #174160
    shanebp
    Moderator

    You can avoid the need for activation email by using this code in bp-custom.php

    function bp_disable_validation( $user_id ) {
      global $wpdb;
    
      $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) );
    }
    add_action( 'bp_core_signup_user', 'disable_validation' );
    
    add_filter( 'bp_registration_needs_activation', '__return_false', 100 );

    But the next screen will still inject this $title:
    “Check Your Email To Activate Your Account!”

    Even with a template over-ride!

    I think it’s reasonable that if this filter is applied:
    add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );

    That you shouldn’t need a database operation.
    And the $title should not be injected.

    Currently, the only way I see to change that $title is to hack a core file.
    Hacking core files is NOT recommended.
    That said, see:
    plugins\buddypress\bp-members\bp-members-screens.php and find Line 515.

    [ I’d love to be wrong about all this and hope somebody has an easier approach. ]

    If you’d like to help BP and anyone else trying to solve this problem,
    please submit an enhancement ticket at https://buddypress.trac.wordpress.org/
    Use the same user / pw you use here.

    Now… a question for you… On your site http://causeanddesign.com you have a very nice help tour using overlay boxes. The first box says: “Welcome. Every nonprofit deserves good design and good technology.”

    Did you write a custom script / plugin for this?
    Or find an existing plugin?

    #174155
    marsh_lion
    Participant

    That is my point. I was confused by the term legacy (thinking those were the old ones and not being used) and by the fact that there was a bp-themes directory (thinking that was what was being used).

    What I am suggesting is that the term legacy should not be used as it opens the door to confusion. I am not sure what the correct term is (as I am still learning the power of buddypress).

    #174154
    Hugo Ashmore
    Participant

    Don’t be confused by the term ‘Legacy’ those files in that directory section are the format for template files working under BP’s new theme compatibility layer, use those for any custom mmods you need to make copying them to a theme/child theme in a directory named either ‘community’ or ‘buddypress’ and observing the folder structure within that directory to maintain paths.

    #174151
    Pin
    Participant
    Pin
    Participant

    an alternative is to change few lines on the login form’s code as posted here: https://buddypress.trac.wordpress.org/changeset/7485

    Cheers

    #174145

    In reply to: Confirmation Message

    @mercime
    Participant
    #174142

    In reply to: Confirmation Message

    Henry
    Member

    You could use a language file. See this article for more info:

    Customizing Labels, Messages, and URLs

    #174140

    In reply to: Error to add new group

    Hugo Ashmore
    Participant

    @dbghost2005yahoocom

    It’s not good form to post a question in another thread it causes confusion. In your other threads I did mention basic trouble shooting so can you confirm you have tried deactivating your custom theme and trying with one known to work and that all components are activated and have pages existing for BP to use.

    https://buddypress.org/support/topic/getting-help-for-this-forum/ a quick response to that thread would have been appropriate just to let us know that you understood those basic steps.

    #174133
    @mercime
    Participant

    @shaunmacrae We don’t delete BuddyPress accounts which are tied to WordPress accounts. Just don’t use it.

    Bluecatz
    Participant

    @cam, thank you so very much, this seems to have resolved it for me as well!

    #174129
    Hugo Ashmore
    Participant

    That has been advised two posts up, please re-read and read the links. Creating a custom file named buddypress.php which is a copy of your themes page.php file will allow you to modify the markup directly so you can specify named get_sidebar() calls to include a new sidebar template file for BP screens only, however bear in mind how your theme deals with sidebar files and dynamic sidebars(widget calls) is something we have no knowledge of.

    #174128
    Peter Kriegel
    Participant

    Even I have the impression that the bp-custom.php do not run!
    I have tried several codes inside the file Placed in /wp-content/plugins/.
    for example I try to set the landing page for the users to Profile:
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    or Change the default tab opened when looking at a group to forum
    define( 'BP_GROUPS_DEFAULT_EXTENSION', 'forum' );
    https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
    … Nothing happens!
    I am realy newbee with that stuff! damm….

    #174126
    traviswaits
    Participant

    same issue, please advise how to change this so I can use a sidebar on my buddypress pages, thanks!

    shanebp
    Moderator

    >- The ideal, which I’ve not entertained (as it does not seem possible at present) is that the activity stream is retained but correctly hidden from users who are not members of the group.

    Easy to do. Take a look at:
    buddypress\bp-templates\bp-legacy\buddypress\groups\single\home.php

    >1. I don’t like customisations, the more we make the more we need to maintain and the more likely it is that an update will mess with one or more of them.

    Do a template over-ride of home.php and you’ll have no problem with updates.

    #174120
    Zanora
    Participant

    HI Mercime,

    Thanks for writing back, things look in tune as you directed
    But what I noticed is, there is no sidebar.php in my theme.

    So whenever buddypress template call up a get_sidebar() it displays only the default sidebar.

    Anyidea what to do when there is no sidebar.php?

    #174119
    Henry
    Member

    I have to agree with @danbp’s rtMedia suggestion. It is one of the best media plugins I have come across. That said, I haven’t had the chance to use the Pro version yet.

Viewing 25 results - 18,276 through 18,300 (of 68,966 total)
Skip to toolbar