Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 10,126 through 10,150 (of 22,660 total)
  • Author
    Search Results
  • #153612
    Kevin M. Schafer
    Participant

    @bphelp I missed my greater than sign in starting out the page. Now your code doesn’t show, but when I log out, i get an error across the top of the screen instead:

    Warning: Cannot modify header information – headers already sent by (output started at /home/*****/public_html/inlandcoder/wp-content/themes/frisco-for-buddypress/members/index.php:12) in /home/*****/public_html/inlandcoder/wp-includes/pluggable.php on line 876

    #153611
    Kevin M. Schafer
    Participant

    @bphelp I tried this and when I refreshed my site, all of your code appears below the admin bar on my site — above my header.

    I created a new page and named it “new page here.”

    Here’s your code with my info:

    function bp_guest_redirect() {

    global $bp; if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) { // enter the slug or component conditional here if(!is_user_logged_in()) { // not logged in user wp_redirect( get_option(‘siteurl’) . ‘/new-page-here’ ); } // user will be redirect to any link to want } } add_filter(‘get_header’,’bp_guest_redirect’,1);

    Am I to insert my URL as well? I tried with and without changing it and that didn’t work either.

    Kevin

    #153609
    bp-help
    Participant

    It stripped the code again. Just place this between opening and closing php tags in the bp-custom.php file:
    `
    function bp_guest_redirect() {
    global $bp;
    if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
    // enter the slug or component conditional here
    if(!is_user_logged_in()) { // not logged in user
    wp_redirect( get_option(‘siteurl’) . ‘/register’ );
    } // user will be redirect to any link to want
    }
    }
    add_filter(‘get_header’,’bp_guest_redirect’,1);
    `

    #153608
    bp-help
    Participant

    the above reply stripped out the code so hopefully this will print out!
    `

    `

    #153606
    bp-help
    Participant

    create a file named bp-custom.php that you will then place in yoursite/wp-content/plugins folder after you paste the following code in it:
    `

    `
    Just change the /register in the line :
    wp_redirect( get_option(‘siteurl’) . ‘/register’ );
    to the page you want the logged out user to be directed too!
    I found this somewhere on the net so props to whomever coded it!

    #153586
    modemlooper
    Moderator

    Click blog above, download the beta, install and enjoy any WordPress theme as your BuddyPress theme

    #153585
    bp-help
    Participant

    https://wordpress.org/extend/plugins/buddypress-media/ is a plugin for uploading lots of media. I only have a small amount of experience with it but you may want to give it a try. I just hope you have lots of server space though because doing this can make your site massive in size.

    #153580
    bp-help
    Participant

    go to wordpress.org/themes in the search field type buddypress and click search themes button. There is 9 themes there.

    #153575
    FunCaptcha
    Participant

    Hi all,

    I’m the developer of FunCaptcha and we’ve just updated it to include full BuddyPress support. We’ve tested it on the latest version of BuddyPress and WordPress, as well as various earlier releases.

    Just wanted to let you know that CAPTCHAs don’t all need to be painful! Users complete our FunCaptcha faster than other CAPTCHAs, with fewer frustrating failures and no typing. They work on all browsers and mobile devices, using HTML5 with a fallback to Flash. Visually impaired users can complete an audio challenge.

    We have big plans for updates, new games and further additions to FunCaptcha. I’d love to hear from you guys what you want in it, how we can improve it for you, and help make your BuddyPress and FunCaptcha experience as enjoyable as possible!Please check us out!

    Thanks,
    Kevin Gosschalk
    info@swipeads.co

    #153555
    Hugo Ashmore
    Participant

    I would perhaps wait, the proposed and committed patch was re-written by a later one reverting the change due to other issues arising from first.

    For reference the green line is the addition or changed line and the red the removed or original version:

    https://buddypress.trac.wordpress.org/changeset/6724

    #153553
    @mercime
    Participant

    @supernaturalbrews they’re working on it https://buddypress.trac.wordpress.org/ticket/4771 you can apply patch noted there in the meantime.

    #153540
    David Hunt
    Participant

    Revisiting this thread with a new issue!

    My function has been working well, except I’ve recently discovered a small flaw: if an administrator deletes a user, then the user receives an email informing him or her that his activity has been removed for each and every thing he or she has ever posted! For a prolific user, that could be hundreds or thousands of emails. Not good!

    This is by virtue of the user-delete process — it appears as though BuddyPress deletes each activity individually, and then WordPress deletes the user account.

    For reference, my function is:

    `function pa_send_notification_email( $args ) {
    // If current user deletes his/her own activity, do nothing
    // otherwise construct and send email
    if ($args[‘user_id’] != bp_loggedin_user_id()) {
    $ud = get_userdata($args[‘user_id’]);
    $to = $ud->user_email;
    // Build the message
    if (($to) && ($to != ”)) {
    $subject = ‘Your post has been removed’;
    $message = ‘A moderator has removed your post. If you want to know why, please forward this message to the moderation team.
    ‘;
    $message .= ‘Removed content:
    ‘;
    global $wpdb;
    $message .= wpautop( $wpdb->get_var( $wpdb->prepare( “SELECT content FROM “.$wpdb->prefix.”bp_activity WHERE id = %d;”, $args[‘id’] ) ) );
    $message .= ”;

    //Send email
    wp_mail($to, $subject, $message, ‘content-type: text/html’ );
    }
    }
    }
    add_action( ‘bp_before_activity_delete’, ‘pa_send_notification_email’);`

    So what I think I need is an extra check in my function, to make sure we are not about to delete the user. I’ve thought about a secondary function to hook into the `delete_user` action to set a global variable, and then checking for this variable in my `pa_send_notification_email()` function.

    But I am not sure how to go about this. Does anyone have any thoughts?

    #153538
    @mercime
    Participant

    @bphelp You’re welcome. Are you referring to this Simplify theme? https://wordpress.org/extend/themes/simplify If so, might I suggest posting at theme author’s support forum at https://wordpress.org/support/theme/simplify and ask if he/she could take the time to resolve it so that more people may be able use the theme with BuddyPress.

    #153537
    @mercime
    Participant

    @supernaturalbrews BP 1.7 beta 1 does work with all themes unless the theme author rewrites the templating system to his/her proprietary method.

    Having said that, I just checked out and installed https://wordpress.org/extend/themes/triton-lite in test installation and it’s aligned and working out beautifully. It’s definitely not what you have in your site right now.

    I suspect that at one time or another, you used the BP Template Pack plugin and had transferred BP template folders during the Appearance > BP Compatibility process. Make a backup of your theme folder in server, then in Appearance > Themes, delete the whole folder and install a clean download of the Triton Lite theme.

    #153532
    @mercime
    Participant

    @monray67 Please post your support question at plugin author’s forum at https://wordpress.org/support/plugin/buddypress-sliding-login-panel Check out the threads for possible solutions offered by other users there.

    #153528
    Paul Whitener Jr.
    Participant

    1. spam messages!

    I really like this plugin for managing spam registrations and comments:

    https://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/

    Signing up for an Akismet key will also help with spam comments, as would requiring someone to create an account and login before doing so (in Settings: Discussion).

    2. am using bp on my 3rd blog. somehow users can not delete their’s account.

    You can enable this in: Settings: BuddyPress: Settings (tab): Allow registered members to delete their own accounts

    #153523

    @djpaul not sure if i am high jacking this thread but can you please confirm, in my group forums when i click on subscribe or add to favorite i get redirected to the groups page when i use the buddypress theme. When i use canvas woo theme or any other themeforest theme i get 404 error for the same action.

    I expect to stay on the forum thread even after i click subscribe or add to favorite ….is this a bug in 1.7 and yes i see the same behavior of redirecting to groups page in 1.6.4 too. I am using latest version of bbpress and wordpress

    #153513
    @mercime
    Participant

    @pixelscode If you want a Multisite installation, you need to create a network – https://codex.wordpress.org/Create_A_Network

    Please make sure you’ve got your multisite installation working first before you install BuddyPress – https://codex.buddypress.org/user/before-installing/

    If you have any issues with your multisite install, resolve it first at https://wordpress.org/support/forum/multisite

    #153487
    Anonymous User 7600456
    Inactive

    Hooray! I worked it out in the end.

    Here is how I did it:

    1, If you don’t already have one create a blank page in ‘/wp-content/plugins’ called bp-custom.php (see this page for more info)

    2, Paste this code into bp-custom.php: http://pastebin.com/Sk56iQQU

    For reference these are the pages that helped me work it out:

    https://buddypress.trac.wordpress.org/ticket/4784

    https://buddypress.trac.wordpress.org/ticket/4106

    https://codex.buddypress.org/developer/customizing/bp-custom-php/

    Edit: I can’t get the ‘code’ tags to work. I have put it in a pastebin. Mods feel free to edit this to work and delete this note and the link to pastebin.

    #153486
    mort3n
    Participant

    I have the same problem on the same setup and have conducted the same test.

    Here’s a link to a ticket about this
    https://buddypress.trac.wordpress.org/ticket/4801

    I thought it was a problem with W3TC as this has had some instabilities over the last few releases, but not so.

    I suspect that the cause of this is also the cause of Activity stream updates not working on my site.

    Pretty frustrating!

    Can’t help but wonder if this has something to do with the ajax hardening introduced in 1.6.4 as mentioned in the release announcement

    https://buddypress.org/support/topic/buddypress-1-6-4-released/

    Am sooo looking forward to 1.7 🙂

    Cheers
    Mort3n

    #153484
    homeschoolmommy
    Participant

    I know how to install buddypress, Ijust need help on finding out what happen to my forums and all the topics that was there. All of a sudden I get that error that I mention. I did reinstalled both buddypress and wordpress, but that did not fix the problem.

    #153473
    @mercime
    Participant
    #153467
    joeburnham
    Participant

    It was 1.6.4 and updated within WordPress, not FTP.

    #153460
    @mercime
    Participant

    @akgt plugins are tagged “buddypress” and/or “bbpress” in WP plugins repo. Just watch out for the compatibility of the plugins with WP/BP/bbP versions

    BuddyPress – https://wordpress.org/extend/plugins/search.php?q=buddypress
    bbPress – https://wordpress.org/extend/plugins/search.php?q=bbPress

    #153437
    mgkoller
    Participant
Viewing 25 results - 10,126 through 10,150 (of 22,660 total)
Skip to toolbar