Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 15,751 through 15,775 (of 22,677 total)
  • Author
    Search Results
  • doctorproctor
    Participant

    To diagnose the problem, I edited the code recommended in http://buddydev.com/buddypress/remove-buddypress-admin-bar-from-all-blog-except-the-main-buddypress-site/ by using a literal, i.e. replacing

    `if($current_site->blog_id!=BP_ROOT_BLOG)`

    with

    `if($current_site->blog_id==n)`

    With n = 1 (the main site, where I don’t want BuddyPress admin bar), the admin bar is disabled from *both* this site and the BuddyPress site (blog 2); with n = 2 (the BuddyPress blog), the admin bar is enabled for both!

    This has confirmed that, in my installation, $current_site->blog_id is stuck at 1 no matter whether I’m on the main site or the BuddyPress subdirectory.

    Again, I suspect my BuddyPress secondary blog installation is not working correctly, which may explain the above, but ideas quite welcome!

    #104761
    ewebber
    Participant

    @luvs123 @gunju2221 Try this plugin https://wordpress.org/extend/plugins/markitup-html-set-for-wordpress I have used it with some tweaking on my site and it’s great

    doctorproctor
    Participant

    Okay, now I do think my secondary blog installation is not working, as when I implemented the above via bp-custom.php, the admin bar was removed from *both* my main blog (where I don’t want it) and secondary blog (where I do want it).

    I’m looking at the instructions for BP secondary blog installation, and the grammar of step 1 is a bit perplexing:

    “In order to run Buddypress on a secondary blog, you should create a second blog and modify BuddyPress’ internal settings to set your new blog as the BP root blog. Next [what do they mean by “Next” here? I see what follows as the same instruction], define the ‘root’ blog you would like BuddyPress to reside at by adding the code snippet below to wp-config.php [this part is simple].”

    The code I added to wp-config.php following instructions for WP network (multisite) and BP secondary blog is:

    `define(‘WP_DEBUG’, false);
    define(‘WP_ALLOW_MULTISITE’, true);
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘[mysite]/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘[myhost]’ );
    define( ‘PATH_CURRENT_SITE’, ‘[mypath]’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    define ( ‘BP_ROOT_BLOG’, 2 );`

    Where info in [] above has been replaced by literals in my case. The secondary blog is definitely #2; is there something else I’ve missed that (a) results in BP acting like a network plugin (vs. one restricted to the secondary blog) and (b) removes *all* admin bars from both blogs?

    Thanks, all.

    doctorproctor
    Participant

    Thank you! Now I have the name right ;-). I guess it was confusing to me that BuddyPress acts as a *network* activate/deactivate plugin, with settings that span all blogs on the network, in spite of that whole secondary blog installation I did following the instructions at https://codex.buddypress.org/getting-started/install-buddypress-on-a-secondary-blog/.

    Did I somehow not perform that secondary blog installation correctly, or is this just how BuddyPress works?

    #104750

    In reply to: Very slow page loads

    murasaki
    Participant

    you might want to try this out:

    http://wpmu.org/speed-up-your-wordpress-buddypress-loading-time-with-this-quick-tip/

    should help a little with the speed, there are othere factors as well…actually a whole bunch lol, you just have to do a little googling.

    Nice site BTW, always good to see finished buddypress sites :)

    @mercime
    Participant

    You mean the BP adminbar :-) Here’s how to have adminbar only in site where BP is installed.
    http://buddydev.com/buddypress/remove-buddypress-admin-bar-from-all-blog-except-the-main-buddypress-site/
    P.S. don’t forget to add the opening `<?php` at the top of the code

    #104711
    Boone Gorges
    Keymaster

    Ah, yeah, if you are trying to access things in an ajaxy way, and you’re not hooking into WP in the right way, you might hit some problems because BP and other plugins might not be fully loaded. Were you using a wp_ajax_ hook? Generally speaking, you can’t simply include BP files manually and have things work properly – all of WP needs to be loaded. https://codex.wordpress.org/AJAX_in_Plugins#Ajax_on_the_Viewer-Facing_Side

    I’m not sure I entirely understand your suggestion about an additional template. If you have even a rough sense of what such a thing might look like, I invite you to work up a patch (even a super sketchy one) and post it as an enhancement ticket on trac.buddypress.org (with your buddypress.org user/pass).

    #104709
    xXDarkie
    Member

    Sadly it’s not something I can decide to share, it’s a work and I don’t really feel like asking this thing.
    Anyhow the problem I believe was that if I accessed the variables from index everything was fine, friends were found, etc. The problem is that by the means of a javascript slider I use to import pages that then executed the code… maybe this was puzzling some of the very basic variables of wordpress and returned bad results.

    What can I suggest to you as developers it to try to implement a custom template (even a simple page that uses the wordpress variables) and on top of that implement some javascript that loads another php page on top of the index (no page reloading) that uses again the wordpress variables… this I think would arise the error again. I think this is a major bug and should be documented / resolved, but it’s up to you ;).
    Thanks again for the support. I really appreciated that.

    #104683
    xXDarkie
    Member

    I’ve discovered that if I access the page outside the scope of buddypress and wordpress (that is, accessing to the direct link without passing by my website) the thing returns a correct result for the friends (if I hardcode the input of course).
    What could this mean? I require_once in my index wp-config.php and also in my friend_page (which is loaded on top of the index, in a slider that comes down). Is there a problem with this approach?

    #104656

    In reply to: BuddyPress Privacy

    @mercime
    Participant

    @joshua_d Some other options include
    https://wordpress.org/extend/plugins/bp-profile-privacy/
    https://wordpress.org/extend/plugins/buddypress-profiles-manager/
    and/or making the site private for members only via script or a plugins like
    https://wordpress.org/extend/plugins/s2member/
    https://wordpress.org/extend/plugins/hs-membership/

    I know that there are other devs who are interested in developing the plugin. Just don’t know when it will happen and whether or not it’ll be free or premium.

    r-a-y
    Keymaster

    FWIW, I’ve encountered this on an install as well; it appears that the bp_activity_get_sitewide() function in BP_Activity_Activity::get_sitewide_items_for_feed() does not exist.

    This might be what’s causing the problem.

    #104632
    r-a-y
    Keymaster

    You need to override the new user admin email function:
    https://codex.wordpress.org/Function_Reference/wp_new_user_notification

    Then you need to call on some BuddyPress functions to grab the xprofile data.

    xprofile_get_field_data() (located in bp-xprofile.php) will help.

    If all this is foreign to you, short answer is “it’s possible, but requires coding” ;)

    #104629
    r-a-y
    Keymaster

    To install BuddyPress on a secondary blog, you can also read this:
    https://codex.buddypress.org/getting-started/install-buddypress-on-a-secondary-blog/

    If you’re looking for a matching BP theme for your WordPress theme, currently BP Template Pack is the only plugin in town and it needs updating.

    A premium theme with BP support built-in is the other alternative like you stated.

    r-a-y
    Keymaster

    Anything is possible; it just requires coding ;)

    If you’re familiar with PHP and a bit of WordPress code, analyze /bp-core/bp-core-avatars.php for pointers.

    #104620
    jmonroe
    Participant

    Update….I was reading the code on the wp-login.php page and noticed that the code is set that if cookies are disabled to not login even with a valid user and password. I went into IE and set my machine to allow third party cookies…and Voila! I was able to login. Does anyone know of a workaround for this? I know I can enable cookies in the security settings in IE however, I cannot control everyone elses browser. I would like to modify the code if possible so that it works on everyones IE browser. The code is below….

    // If cookies are disabled we can’t log in even with a valid user+pass
    if ( isset($_POST) && empty($_COOKIE[TEST_COOKIE]) )
    $errors->add(‘test_cookie’, __(“ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”));

    #104609

    In reply to: Admin bar not showing

    Hugo Ashmore
    Participant

    https://wordpress.org/support/topic/buddypress-admin-bar

    I note you have asked the exact same question on WP support, it is considered bad form to post across different forums with the same copied question however I do also note that you didn’t post the WP one til ~ 2 hours ago.

    looking at that theme on WP tells me it hasn’t been updated since June of last year, BP has gone through some major updates since then, personally I wouldn’t bother with a theme that hasn’t been updated to keep abreast of new versions.

    This exact same problem has been asked before of this theme on this forum in fact mercime you responded on it.

    I find it incredulous sometimes that people can call a simple reworking of a few colours and a few rulesets here and there a theme, given that the theme looks like BP why not just use the current bp and modify it ourself to suit at least that way you would know it worked :)

    #104593

    In reply to: My 2 Cents

    alanchrishughes
    Participant

    Well with WordPress though you have one file, for one page, one the_content, one category or post type query. The way Buddypress works though, to me it is as if it is magically generating pages out of thin air haha.

    #104590
    Andrea Rennick
    Participant

    Or enable the network:
    https://codex.wordpress.org/Create_A_Network
    http://wpebooks.com/2010/09/how-to-enable-multisite-in-wordpress/

    Then click the “add site” button to make /community/. Activate buddypress there. put your buddypress theme on that blog. Problem solved.

    #104582

    In reply to: RSS Error in Dashboard

    aces
    Participant

    I had similar issues due to a lack of memory on my 1and1 shared hosting.

    Buddypress, in single site mode, currently uses about 6.61 mb ( https://wordpress.org/extend/plugins/wp-system-health/ ).

    I had to remove the suffusion theme, which if i remember correctly used about 4 or 5 mb, replacing it with a customised version of the default theme.

    I also removed nextgen (about 2mb?) and other smaller non-essential plugins – am still looking for a replacement for wassup and all in one SEO which both use a lot of memory…

    This enabled it to run without error. I still have problems importing images and upgrading plugins which easily use up memory.

    #104579
    @mercime
    Participant

    Most BuddyPress plugins are available at WordPress plugin repository
    https://wordpress.org/extend/plugins/buddypress-real-names/

    #104577
    jamirdesign
    Member

    Thank you for reading.

    I tried to install BuddyPress as Plugin in my existing WordPress and its working. My problem is the theme is not compatible for BuddyPress. Even though there’s a BuddyPress Template Pack plugin, the theme is useless for BuddyPress. What I need right now is a Premium WordPress Theme compatible with BuddyPress.

    I will remove the BuddyPress in my the other folder (community) and will look for the theme instead.

    Thanks for the help!

    #104563
    Virtuali
    Participant

    I am pretty sick of people using this as a wordpress help forum.

    Wordpress support is here please!

    #104562
    modemlooper
    Moderator

    Google it. Look for a WP plugin. There are a ton of slider plugins. https://wordpress.org/extend/plugins/search.php?q=slider&sort=

    intimez
    Participant

    Looks like cubepoints is the cause but not 100% sure. I do not see anything new after disable.

    #104557
    pcwriter
    Participant

    Can’t really compare the two ‘cuz they have completely different products. For instance, WPMUdev is geared mainly toward WordPress with BP as an afterthought, while BuddyDev caters pretty much exclusively to users of BP.

Viewing 25 results - 15,751 through 15,775 (of 22,677 total)
Skip to toolbar