Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 30,176 through 30,200 (of 94,565 total)
  • Author
    Search Results
  • #169097

    In reply to: Avatar crop issue

    fredje007
    Participant

    I found this issue is caused by RTmedia Plugin (former Buddypress media). Once disabled group avatars uploading went fine, once activated again group avatar uploads did not work anymore. I will post this issue on their forum

    Kookidooki
    Participant

    Hi guys,
    I had Google Maps embedded in my website which shows the Location of the user. But now it’s gone after upgrading Buddypress to the latest version (I’m done with the upgrading).

    Is there a confict and how to fix this?
    Thx in advance.
    Below the code:

    <div>
    <h5>Map <?php if ( bp_is_my_profile() ) : ?> <?php endif; ?></h5>
    <script src=”http://maps.google.com/maps?file=api&v=3.x&key=API-Key&#8221; type=”text/javascript”></script>
    <script type=”text/javascript”>

    var map = null;
    var geocoder = null;

    function initialize() {
    if (GBrowserIsCompatible()) {
    map = new GMap2(document.getElementById(“map_canvas”));
    map.setCenter(new GLatLng(0, 0), 35);
    geocoder = new GClientGeocoder();
    }
    }

    function showAddress(address) {
    if (geocoder) {
    geocoder.getLatLng(
    address,
    function(point) {
    if (point) {
    map.setCenter(point, 11);
    var marker = new GMarker(point);
    map.addOverlay(marker);
    map.addControl(new GSmallMapControl());
    }
    }
    );
    }
    }
    jQuery(document).ready( function() { initialize(); showAddress(‘<?php echo $location ?>’); } );

    </script>

    <div id=”map_canvas” style=”width: 100%; height: 350px; border: 1px solid #eee; overflow: hidden”></div>

    </div>

    #169090
    jtm21
    Participant

    Agreed – don’t worry, I feel the same about it all 🙂

    For reference I was referring to https://wordpress.org/themes/firmasite

    #169089
    Hugo Ashmore
    Participant

    I was under the impression the theme would be open source and as a result I would make a derivative work and provide credit where due – of course I will investigate this fully. Although it appears to be a direct derivative of the BP theme itself.

    Not sure what theme you are referring to but not getting into debate over GPL while essentially it preserves the right to copy and forces derivative works to carry the same licence on those parts that are derivatives, nothing is ever that clear cut. Personally I am in two minds over the veracity of the GPL

    #169088
    jtm21
    Participant

    Hi Hugo, thanks for the info on templates, I will research further.

    I was under the impression the theme would be open source and as a result I would make a derivative work and provide credit where due – of course I will investigate this fully. Although it appears to be a direct derivative of the BP theme itself.

    #169086
    Hugo Ashmore
    Participant

    No don’t mix files/templates from bp-default into your child /buddypress/, theme conpat templates and older bp-default templates have different structures. The point about theme compatibility is that the templates are template parts not full templates in their own right and inject their content into the WP function the_content() if you examine one you will note it has no header or footer calls.

    Not sure what your asking re that theme but it’s suggestive of copying work?? and as such I’ll make no comment, however why not simply use that theme as it’s already built on boostrap and create a child theme as you need.

    #169083
    jtm21
    Participant

    Also, could I take the Buddypress views from the Firmasite theme, update them to Bootstrap 3 and implement them in my theme? Do you think this would work?

    FirmaSite

    Of course I would be more than happy to share the outcome of my work back with you all.

    #169082
    jtm21
    Participant

    ok thanks – what I did while testing was copy everything from /bp-legacy into [root]/buddypress and it worked fine.

    if i understand correctly what i need to do is simply add files into /buddypress/groups etc, and copy them from the bp-default theme in the plugin directory.

    Thanks a lot for the help

    #169081
    Eugen Stolin
    Participant

    I use latest versions of WordPress, BuddyPress and WP-FB-Autoconnect plugin. It works fine. User can register and login with their Facebook credentials. My problem is the auto-generated Buddypress register page. Basically I have two different user-stories. At this moment I haven’t decide for which one to go.

    1. Allow registering only with Facebook credentials.
    2. Allow both and give a choice on the register page – Facebook or form.

    My question is how I can modify the register page. I guess I need to create a bp-custom.php and ad a filter. WP-FB-Autoconnect has a function jfb_output_facebook_btn() which can be used.

    Thanks in advance

    #169078
    Hugo Ashmore
    Participant

    @jtm21
    Yes essentially that would be fine, bearing in mind you might lose or have to account for any styles that were in place to deal with js frills.

    Generally now you can or should be using BP in theme compat mode as it offers more options now as well as ability to keep templates and assets neatly under /buddypress/ or /community/ adding directories directly to you theme root will invoke the older approach, and although still valid, less of a attraction now the theme compat templates can be customized for components, actions, user_ids etc.

    Check the functions.php in the bp-legacy template folders as that will show you the class used for setting up a theme and it’s assets.

    #169077
    oliredman
    Participant

    Hi,

    I recently created a copy of my website, the idea being I could use it as a kind of development server to test out my horrible coding skills without screwing up my live site. I copied the files across to a new directory, pointed the domain name, but when I visit my new URL I get this:

    Parse error: syntax error, unexpected $end in /home/…/wp-content/plugins/buddypress/bp-members/bp-members-screens.php on line 474

    WP: 3.5.1
    BP: 1.7.2
    Live site (working fine): http://www.oxfordonlineenglish.com
    New site (not working): http://www.oxfordonlineenglish.net

    What I have done so far:

    – Compared the bp-members-screens.php file to the one in my original installation (seems fine)
    – Closed the ?> tag (made no difference, and the other file works fine without it)
    – Consulted the codex (no luck)
    – Used search/replace on the new MySQL database to update the strings
    – Edited wpconfig.php to update the URL and DB links
    – Checked .htaccess (has no references to the old URL or DB)

    Any suggestions much appreciated!

    Jigesh
    Participant

    i agree with mercime, we can’t help you if you can’t have your site online.

    #169073
    jtm21
    Participant

    Thanks guys!

    @Hugo so in theory if I remove the default CSS stylesheets that come bundled with BP (no idea how right now) and re-write the markup in Bootstrap it should work?

    Also, I have a feeling I am following the wrong template hierarchy – are the /groups /activity etc folders created directly in the theme root?

    Thanks again all

    #169070
    @mercime
    Participant

    do you think updating may fix this

    @junithorn It may. Still don’t know why the correct JS is not enqueueing in your site. May I recommend that you set up a development site which mirrors the BuddyPress environment of your site so you may be able to test themes, plugins and all kinds of upgrades. That way you (and users) won’t be stressed out when you implement the changes in your production/live site.

    #169068
    Hugo Ashmore
    Participant

    We ran through an exercise in unbinding many of the jQuery selectors from elements so that scripting was tied to classes rather than specific markup structure to allow for re-factoring of markup, so you ought to be able to structure markup as you wish but just pay close attention to IDs & Classes which must be preserved.

    #169067
    stoi2m1
    Participant

    For quite some time I had a fix for this by using the remove action for each of the buddypress admin bar components which I did not want located in the bar. The remove_action for each item was place in each themes functions.php file I have in use on a wpms/mu install.

    I recently upgraded both BP to 1.8 and WP to 3.5.2. I now have the Visit portion back in my Admin Bar only in the dashboard after the use of the below code.

    I followed the information found in the codex:
    http://codex.buddypress.org/developer/theme-development/modifying-the-buddypress-admin-bar/

    It suggested to place similar code to whats code in bp-custom.php, this fixed the issue on most of the site except removing it from the dashboard.

    function my_alter_bp_adminbar(){
    remove_action( 'bp_adminbar_menus', 'bp_adminbar_authors_menu', 12 );
    remove_action( 'bp_adminbar_menus', 'bp_adminbar_random_menu', 100 );
    remove_action( 'bp_adminbar_menus', 'bp_adminbar_login_menu', 2 );
    remove_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 );
    remove_action( 'bp_adminbar_menus', 'bp_adminbar_thisblog_menu', 6 );
    remove_action( 'bp_adminbar_menus', 'bp-adminbar-visitrandom-menu', 100 );
    //add_action('bp_adminbar_menus', 'my_adminbar_blogs_menu', 6);
    }
    add_action('wp_footer','my_alter_bp_adminbar',1);

    How can I remove it from the entire site logged in or not and on the front end of the site or within the dashbaord.

    Thank You,
    Jesse

    #169065
    leonardlapena
    Participant

    even w/ the twenty twelve theme my register page is blank. I’m running wordpress 3.5.2 and buddypress 1.8. any suggestions? my site is mpowerlive.com

    @mercime
    Participant

    @whitewolf1988 unfortunately, we do not have access to the premium theme nor your site to check if BP JS is enqueued or not, among other things. There are just too many variables to keep guessing what’s wrong with your theme’s compatibility with BP. The best place to to ask is at theme author’s site. If the theme author cannot help you at this time, think what would happen if theme development stops and you’re stuck with the theme and WordPress version it’s compatible with. Know that some premium themes lock you in so much so that if you try to change themes in the future, some content won’t show up anymore.

    #169063

    In reply to: Notification Messages

    I was able to add notification message.

    I added this code in bp-activity-functions.php

    case ‘request_accepted’:
    $activity_id = $item_id;
    $poster_user_id = $secondary_item_id;
    $at_mention_link = bp_loggedin_user_domain() . bp_get_activity_slug();
    $at_mention_title = sprintf( __( ‘@%s Mentions’, ‘buddypress’ ), bp_get_loggedin_user_username() );

    if ( (int) $total_items > 1 ) {
    $text = sprintf( __( ‘You have %1$d pet requests’, ‘buddypress’ ), (int) $total_items );
    $filter = ‘bp_activity_multiple_at_mentions_notification’;
    } else {
    $user_fullname = bp_core_get_user_displayname( $poster_user_id );
    $text = sprintf( __( ‘%1$s accepted your pet request’, ‘buddypress’ ), $user_fullname );
    $filter = ‘bp_activity_single_at_mentions_notification’;
    }
    break;

    my problem is I need to remove the notification once clicked.

    Do you know where it is triggered?

    marcusyong
    Participant

    I strongly suggest if buddypress can provide a function, which can help filter activity through itme_id or sencondary_item_id?

    who can help me solve above problems?

    your reply is highly highly highly appreciated.
    thanks!!!!

    #169059
    joeyrudi
    Participant

    There is an extensive article on setting up BuddyPress and WooCommerce on xd3v. Might be helpful.

    #169057
    @mercime
    Participant

    @rimoreno I suggest testing in development site before implementing in live/production site.

    #169056
    @mercime
    Participant

    @jtm21 check out how unsal did it this WP theme compatible with BP and built on Bootstrap https://wordpress.org/themes/firmasite

    #169055
    rimoreno
    Participant

    wow thanks for this. I will go ahead and implement this.

    thanks!

    #169054
    @mercime
    Participant

    to allow users to comment on other user’s pages?

    something like this http://buddydev.com/buddypress/buddypress-activity-as-wire-updated-for-buddypress-1-6-buddypress-1-7/

Viewing 25 results - 30,176 through 30,200 (of 94,565 total)
Skip to toolbar