Search Results for 'wordpress'
-
AuthorSearch Results
-
February 21, 2013 at 4:49 pm #153612
In reply to: Private Community with Public WordPress
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
February 21, 2013 at 4:37 pm #153611In reply to: Private Community with Public WordPress
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
February 21, 2013 at 4:20 pm #153609In reply to: Private Community with Public WordPress
bp-help
ParticipantIt 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);
`February 21, 2013 at 4:18 pm #153608In reply to: Private Community with Public WordPress
bp-help
Participantthe above reply stripped out the code so hopefully this will print out!
``
February 21, 2013 at 4:15 pm #153606In reply to: Private Community with Public WordPress
bp-help
Participantcreate 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!February 21, 2013 at 4:30 am #153586In reply to: How do I find a buddypress theme
modemlooper
ModeratorClick blog above, download the beta, install and enjoy any WordPress theme as your BuddyPress theme
February 21, 2013 at 3:54 am #153585In reply to: How do I find a buddypress theme
bp-help
Participanthttps://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.
February 21, 2013 at 3:08 am #153580In reply to: How do I find a buddypress theme
bp-help
Participantgo to wordpress.org/themes in the search field type buddypress and click search themes button. There is 9 themes there.
February 21, 2013 at 2:01 am #153575In reply to: How to control spam registration?
FunCaptcha
ParticipantHi 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.coFebruary 20, 2013 at 10:13 pm #153555In reply to: Using 1.7 and need help with template layout
Hugo Ashmore
ParticipantI 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:
February 20, 2013 at 9:34 pm #153553In reply to: Using 1.7 and need help with template layout
@mercime
Participant@supernaturalbrews they’re working on it https://buddypress.trac.wordpress.org/ticket/4771 you can apply patch noted there in the meantime.
February 20, 2013 at 8:27 pm #153540In reply to: Send user notification when activity is deleted
David Hunt
ParticipantRevisiting 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?
February 20, 2013 at 8:21 pm #153538In reply to: Avatar won't crop in Chrome
@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.
February 20, 2013 at 8:16 pm #153537In reply to: Using 1.7 and need help with template layout
@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.
February 20, 2013 at 7:45 pm #153532In reply to: buddypress-sliding-login-panel
@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.
February 20, 2013 at 7:10 pm #153528In reply to: spam messages! and error for delete my account.
Paul Whitener Jr.
Participant1. 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
February 20, 2013 at 6:12 pm #153523In reply to: Testing BP 1.7b1 and having some issues
raghavendra satish peri
Participant@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
February 20, 2013 at 3:36 pm #153513In reply to: BuddyPress on WordPress MU
@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
February 20, 2013 at 8:54 am #153487In reply to: [Resolved -Tip] Page comments in activity stream?
Anonymous User 7600456
InactiveHooray! 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.
February 20, 2013 at 8:02 am #153486In reply to: Username autocomplete not working
mort3n
ParticipantI 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/4801I 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
Mort3nFebruary 20, 2013 at 6:49 am #153484In reply to: Forums Directory Not Showing Up
homeschoolmommy
ParticipantI 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.
February 20, 2013 at 3:03 am #153473In reply to: How to add a login on the registration page
@mercime
ParticipantFebruary 20, 2013 at 1:49 am #153467In reply to: Error Message – locked out of my website :(
joeburnham
ParticipantIt was 1.6.4 and updated within WordPress, not FTP.
February 20, 2013 at 12:26 am #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=bbPressFebruary 19, 2013 at 6:16 pm #153437mgkoller
Participant -
AuthorSearch Results