Search Results for 'wordpress'
-
AuthorSearch Results
-
September 20, 2016 at 3:57 pm #258939
Paul Wong-Gibbs
KeymasterI haven’t seen this on my dev site, and I don’t think we’ve had reports of this, so… as it’s staging, please can you switch the theme temporarily to a default WordPress theme, like twenty-twelve (etc) — and then visit this same URL again and see if the warning is still being printed or not?
I suspect it’s something in your theme, maybe one of the templates, or some customisation hooked into the members loop, but switching the theme is an easy way to start figuring out possible causes.
September 20, 2016 at 3:53 pm #258937Paul Wong-Gibbs
KeymasterI’d look at increasing performance generally rather than specifically focusing on trying to block search engines.
Like… I don’t know what other plugins or themes you are running, or how well they are written, nor anything about your hosts’ performance, but you need to look into those. I’d also look at making sure you have an object cache available and configured for WordPress if there isn’t already.
September 19, 2016 at 7:26 pm #258923shanebp
ModeratorHave you tried any of the methods available via google search?
For example:How To Stop Search Engines From Indexing Specific Posts And Pages In WordPress
September 19, 2016 at 2:38 pm #258911danbp
ParticipantHi @rezbiz,
in brief, you want to add some status dependent custom link to the BuddyBar.
I’ll ignore Kleo (premium theme) and Visual Composer (third party plugin).
Following examples let you add an external link to a non BP page on almost any menus (except BP usermenu).
How it works ?
– create a test page and call it Book.
– the page slug must be /book/
– the link (tab/button) will be displayed to logged-in users only.I made also a snippet which add such a link to the WordPress Main Menu. This menu is the one you see in WP’s menu customizer by default. Depending the theme you use, you have always a main menu and X others. This can vary and it’s to you to find how it can/should work eventually. See theme documentation and WP Codex if you get in trouble with it.
Note that it should work with all Twenty themes at least.Add the snippets to bp-custom.php and see the result. After that, read through the code and modify the page name/ID and slug to your need. Leave anything else untouched.
// add Custom tab on site wide activity and members directory pages function tab_custom_link_to_page() { if ( bp_is_activity_component() || bp_is_page( BP_MEMBERS_SLUG ) ) { if ( !is_user_logged_in() ) return false; // link to what you want $link = bp_get_root_domain() . '/book'; echo'<li><a href="'. $link .'">My Book</a></li>'; } } add_action( 'bp_activity_type_tabs', 'tab_custom_link_to_page' ); // site wide activity page add_action( 'bp_members_directory_member_types', 'tab_custom_link_to_page' ); // members directory page // add Custom tab on Profile Nav function add_profiles_link_to_page(){ if ( bp_is_profile_component() || bp_is_user() ) { if ( !is_user_logged_in() ) return false; $link = bp_get_root_domain() . '/book/'; ?> <li><a href="<?php echo $link; ?>"><?php printf( 'My Book' ); ?></a></li> <?php } } add_action( 'bp_member_options_nav', 'add_profiles_link_to_page' ); // add Custom tab on Groups Nav function add_groups_link_to_page(){ if( bp_is_active( 'groups' ) ) { if ( !is_user_logged_in() ) return false; $link = bp_get_root_domain() . '/'; bp_core_new_subnav_item( array( 'name' => 'My Book', 'slug' => 'book', 'parent_slug' => bp_get_current_group_slug(), 'parent_url' => $link, 'screen_function' => true, 'position' => 40 ) ); } } add_action( 'bp_setup_nav', 'add_groups_link_to_page' ); // add Custom tab on Groups Directory function add_groups_directory_link_to_page() { if( bp_is_active( 'groups' ) ) { if ( !is_user_logged_in() ) return false; if ( bp_is_current_action( 'custom' ) ) return; $link = bp_get_root_domain() . '/book'; $button_args = array( 'id' => 'my-books', 'component' => 'groups', 'link_text' => 'My Book', 'link_title' => 'My Book', 'link_class' => 'my-books no-ajax', 'link_href' => $link, 'wrapper' => false, 'block_self' => false, ); ?> <li><?php echo bp_get_button( apply_filters( 'bp_get_group_custom_button', $button_args ) ); ?></a></li> <?php } } add_action( 'bp_groups_directory_group_filter', 'add_groups_directory_link_to_page' ); // add Custom tab on WP Main Menu ( after Home, About, etc ) function main_menu_custom_link_to_page( $menu ) { if ( !is_user_logged_in() ) return $menu; else // link to what you want $link = bp_get_root_domain() . '/book'; $grouplink = '<li><a href="'. $link . '">My Book</a></li>'; $menu = $menu . $grouplink; return $menu; } add_filter( 'wp_nav_menu_items', 'main_menu_custom_link_to_page' );Yes, it looks complicated, but it isn’t. Simply it’s not homogeneous ! 馃檪
September 19, 2016 at 12:56 pm #258908In reply to: User dashboard url
MissMad
ParticipantHi all!
Thanks for your answers. Actually, he /members/me/profile/dashboard works (I do have a dashboard that’s not the WordPress one but rather one I can edit with some of the info from Buddypress).
Great help!
September 18, 2016 at 11:39 pm #258903In reply to: Trouble uploading File
jeremybivaud
ParticipantThere is no custom code.
I just used the extra field , file. It s supposed to work.
And on the front end, I got this when I display the uploaded file path :
http://www.documentor.com.au/wordpress/wp-content/uploads/boardingPass-2016072807431691628792.pdf
That file not exist on the server.
I displayed error WP log message but no indication at all.Do you know where the upload file function is implemented in the core ?
September 18, 2016 at 3:41 pm #258896In reply to: How to remove admin panel from users?
September 18, 2016 at 5:59 am #258881In reply to: Not all widgets shows on front page
SunshineMagic
ParticipantI have this issue too. I can’t believe that no one has responded to you in 4 months!??
It’s clearly a buddypress issue too as it doesn’t work with the theme I am using nor does it work with the default wordpress theme and apparently while it used to work with your theme, after a reinstall, not anymore.
So it’s definitely a buddypress issue but no one responds in 4 months?? How on earth are we to get what we need working if the response time is more then 4 months??
Feeling concerned that buddypress was the wrong choice. This is my first issue and it’s a bad first experience! Unfortunately I put 2 months into building this site and I can’t go back now so it looks like I’m going to have broken pieces and likely have to dump buddypress and maybe even wordpress all together and build a custom PHP site asap, unless someone gets back to yoUs soon.
I hope they do cause I’ve been having fun w/ WP and BP but functionality clearly comes before fun…
September 17, 2016 at 7:22 pm #258874September 17, 2016 at 6:45 pm #258870In reply to: [Resolved] keep me logged in
danbp
ParticipantHi @kyla123,
if you use BuddyPress Login widget, you have a “Remember me” checkbox by default.
If you added an extra page just to let members log in (?), read this WP documentation and check your customization.
September 17, 2016 at 11:02 am #258855In reply to: How @mention all members
Venutius
ModeratorThe nearest thing I know is https://wordpress.org/plugins/crowdmentions/ however this does not have an @all function, just friends or group members but it may help
September 17, 2016 at 8:09 am #258851ngiderin
ParticipantWe are using:
Wordpress 4.6.1
Buddy Press 2.6.2
Geo My WP 2.6.6.1
Woocommerce 2.6.4
Dokan 2.4.12September 16, 2016 at 6:08 pm #258823In reply to: Stop confirmation email from settings change email
ckchaudhary
ParticipantHi Ninja!
This is possbile, but will require a considerable amount of custom coding. You’ll need to have some code this for you, or you can do it yourself if you are comfortable with wordpress coding.To give you an outline:
– hook into bp_core_general_settings_after_save action
– check if user is trying to change his email address
– check if its the first time user is trying to do so( using a flag in usermeta ). You probably want it for the time time only.
– delete the usermeta pending_email_change
– and update emailaddress for userHope it helps.
September 16, 2016 at 5:16 pm #258817In reply to: Activate Page
Venutius
ModeratorWhat is the error you are getting?
The user should get an email with and activation link
By the way, this activation email sometimes ends up in the Spam bin on the users email, one fix to this is to set the outgoing email address used for this email using a plugin such as https://wordpress.org/plugins/cb-change-mail-sender/
September 16, 2016 at 4:52 pm #258810In reply to: [Resolved] Redirect on Logout
danbp
ParticipantHi,
the warnings cames probably because the logout function is called twice.
Check your theme’s functions.php or see for a specific setting.Can you test the standard behave with a Twenty theme and BP, and all other plugins deactivated.
Remove also the custom code while testing.If still an issue, consider this plugin. All is in the title, but it redirects to homepage on logout.
September 16, 2016 at 4:29 pm #258803In reply to: How are Users managed?
Venutius
Moderator#1. You create a blank register page and then you go into the BP page settings and select that page to be used as the registration page, you also need to set wordpress settings to allow user registrations in settings>>General
#2. They are adding details to your own DB
September 16, 2016 at 8:05 am #258785danbp
Participanti checked the hebrew translation available on GlotPress. It seems to me it is correctly translated.
Copy/pasting RTL strings doesn’t work here… anyway here what i get (href is LTR here – but is ok in poEdit)
讛讞砖讘讜谉 砖诇讱 讛讜驻注诇 讘讛爪诇讞讛! 讗转讛 注讻砖讬讜 讬讻讜诇 <a href="%s">诇讛转讞讘专</a> 注诐 砖诐 讛诪砖转诪砖 讜讛住讬住诪讗 砖讛讻谞住转 讻砖谞专砖诪转 诇讗转专.September 15, 2016 at 9:49 pm #258772In reply to: [Resolved] BBPress forum search not working
themichaelglenn
ParticipantI found out what was causing the problem for me. I don’t know if the cause is the same for the OP.
In forum settings, I had unchecked the “Forum Prefix” box (the one that prefixes all forum pages with the root slug “Forums.”) I also had the Search slug set to the default “search.”
This left the forum search results “script” if you can call it that, pointing to
domain.com/search– which I gather is the default search URL for WordPress and BuddyPress?Without BuddyPress installed, the forum search still worked, but with BuddyPress installed – nothing. And yet, it was NOT BuddyPress, it was my own lack of understanding. 馃檨
I hadn’t realized that the root
searchslug, withoutforumsin front of it, would cause a problem. But I did some digging around in all this and discovered that both the twentysixteen theme, and BuddyPress, have pages called “search.php” – so naturally,domain.com/searchwould point to one of those scripts, and not to bbPress search results. (bbPress does not have a search.php page)Anwyay, when I check the Forums Prefix box, and search the forums, the results page loads at
domain.com/<strong>forums</strong>/searchand everything works perfectly.Unforunately I’m using a plugin for bbPress that changes the URL structure and requires me to leave the Forum Prefix box unchecked. But, I found a way around that too – in Forum Settings, I simply changed the
searchslug tosearch-resultsand again, everything works perfectly (and the URL for search-results is nowdomain.com/search-resultswhich in no way conflicts withdomain.com/search)I have to say, had you not mentioned the search slug in your response, it never would have occurred to me that it would be the cause of all my frustration. I’m glad to have this resolved, and hope that my explanation is enough that it will be able to help anyone else who might run into the same issue.
EDIT
I’ve also discovered that I can set the search slug to
forums/searchwhich effectively accomplished the same thing as leaving it onsearchwhilst checking the Forum Prefix box. i.e. they both return the URL asdomain.com/forums/searchwhich may not be a huge deal, but it does seem to look prettier than any other URL…September 15, 2016 at 8:05 pm #258771r-a-y
KeymasterTry this hook –
'bp_before_activity_delete':
https://buddypress.trac.wordpress.org/browser/tags/2.6.2/src/bp-activity/bp-activity-functions.php#L2770September 15, 2016 at 7:41 pm #258768In reply to: [Resolved] BBPress forum search not working
themichaelglenn
ParticipantWhen I try and search the forums I get no results and returned to the home page
I’m having this same problem and it is definitely an issue that is caused by BuddyPress. I’m using WordPress 4.6.1 with the TwentySixteen Theme, bbPress 2.5.10, and BuddyPress 2.6.2.
When I deactivate all bbPress related plugins, the search still sends me back to the home page. When I deactivate BuddyPress – the search works exactly the way it’s supposed to.
Is there a file in the BuddyPress theme that I can modify/remove/replace, that will correct this issue?
September 15, 2016 at 2:48 pm #258755In reply to: Buddypress login – logout – lost password
Venutius
ModeratorFor #2 have you considered using one of the plugins that allow you to brand the WordPress login page?
I use https://wordpress.org/plugins/erident-custom-login-and-dashboard/September 15, 2016 at 9:07 am #258742In reply to: Error 404 for non logged in users
tizianopitisci
ParticipantThank you Henry, I’ve just made the following test:
-no plugin exept Buddypress
-defauolt wordpress theme “twenty fifteen”but we still have the issue. The point is that the message private as well as the notification area return a “not found page” message instead a “log-in required” message. I’m running the last buddypress version (italian located website).
Is that a bug?
September 14, 2016 at 12:29 pm #258716In reply to: Sitewide Messaging
tizianopitisci
ParticipantPersonally I use “Mass Messaging in BuddyPress” ( https://wordpress.org/plugins/mass-messaging-in-buddypress/other_notes/ ), It works quite fine, and It has some more featured than “Mass Messaging for BuddyPress – by Alkaweb”
September 14, 2016 at 10:58 am #258715In reply to: Sitewide Messaging
Antonio
ParticipantI know this is an old post, but I hope this reply can help someone.
There is a free plugin that allow to send Mass Messaging to all members of the site, and also to filter them, you can find it here: https://wordpress.org/plugins/mass-messaging-for-buddypress-by-alkaweb/
September 13, 2016 at 1:52 am #258674kmligue
ParticipantI installed https://wordpress.org/plugins/postman-smtp/ on my WP (v 4.6) + BuddyPress (v 2.6.2) site, then configured it to use my Gmail account’s SMTP server settings.
The emails sent by the site uses the SMTP settings when:
– A member registers and PMPRo (https://tl.wordpress.org/plugins/paid-memberships-pro/) sends out an email confirmation
– Emails sent using the plugin (https://wordpress.org/plugins/email-users/)(I can see these sent emails in the “Sent” folder of my Gmail account.)
However, when BuddyPress sends out an email (e.g. email notification for friend request, etc.), it seems to ignore the SMTP server settings I have configured. Instead, it uses the server’s default.
How do I make BuddyPress email notifications send using my Gmail SMTP server settings?
-
AuthorSearch Results