Search Results for 'theme'
-
AuthorSearch Results
-
September 16, 2016 at 2:50 am #258773
In reply to: [Resolved] Buddypress Last Seen Privacy
kyla123
ParticipantI fixed it. Opened the editor on my theme (style.css) and entered this code at the very bottom:
#buddypress span.activity { display: none; }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:01 pm #258770r-a-y
KeymasterIt depends on what you want to do.
If you are talking about template overrides, then follow this guide:
If you are talking about code snippets, you can use your theme’s functions.php file or wp-content/plugins/bp-custom.php.
September 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 3:00 pm #258757In reply to: All Groups not showing in the Directory
ashlealanier
ParticipantIt is not related to the theme, and I’ve deactivated each plugin, besides BuddyPress of course, and ruled out a plugin conflict as well.
September 15, 2016 at 11:32 am #258745In reply to: Error 404 for non logged in users
tizianopitisci
ParticipantNo child theme, no custom file and the db is quite fresh… Maybe a permalink issue? This is the url:
http://www.cosegeniali.net/membri/tizianopitisci/messages/
as you can see the url is half italian (messaggi) half english (messages)
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 15, 2016 at 8:30 am #258741In reply to: Error 404 for non logged in users
Henry Wright
ModeratorHow about your theme?
September 15, 2016 at 7:34 am #258739In reply to: [Resolved] Remove Profile Visibility Subnav
danbp
Participanthi @dsnic,
this should work. Add to bp-custom.php or child-theme functions.php
function bpfr_hide_visibility_tab() { if( bp_is_active( 'xprofile' ) ) bp_core_remove_subnav_item( 'settings', 'profile' ); } add_action( 'bp_ready', 'bpfr_hide_visibility_tab' );September 14, 2016 at 10:59 pm #258729In reply to: Avatar Upload ‘Wrong Size’ Message Is Wrong
dsnic
ParticipantHi all,
As @danbp suggested, I’ve looked at the file: bp-core/bp-core-avatars.php
The full avatar size is indeed set to 150×150 by default there, as @imath has said.If the others in this thread facing the same problem are using the Kleo or Sweet Date theme, then you’ll find the default 580×580 avatar size set in this file: wp-content/plugins/bp-custom.php
The problem, however, is that even when the image being uploaded is a lot bigger than 580×580, the error notification still appears.
For now, I’ve temporarily “solved” the problem by commenting out the code mentioned by @danbp so the error notification doesn’t appear. This kinda works because the site will still accept the uploaded photo despite the error notification. At least this way there’s no error notification to confuse users.
However, this is probably not the correct way to solve this issue. Can someone please help with a more elegant solution?
September 14, 2016 at 9:03 pm #258727In reply to: All Groups not showing in the Directory
shanebp
ModeratorHave you momentarily changing to a theme like WP 2015?
To confirm that the issue is not related to your theme?September 14, 2016 at 5:58 am #258708In reply to: Customizing the Completed Registration Page
trecks
ParticipantBrajesh,
Thanks for the help! I followed your instructions and now have a copy of the register.php file in my theme/buddypress/members directory. I was able to successfully edit the paragraph content for the completed registration page as I wanted, however, there was no line in the register.php file where the heading text “Check Your Email To Activate Your Account!” was present. I searched around in the file structure of my theme folder and the buddypress plugin folder to see if I could find the text elsewhere, but to no avail. Do you have any idea what I might need to do to change the heading text?
Regards,
trecksSeptember 13, 2016 at 5:30 am #258678In reply to: Customizing the Completed Registration Page
Brajesh Singh
ParticipantHi Trecks,
It’s a good question.
The page that you see being loaded is actually register.php template file.Are you using a child theme? If yes, then look for buddypress/members/register.php in the child/parent theme and copy it to your child theme in buddypress/members/register.php and modify the text as required.
If your theme does not come with it, you can copy the register.php from wp-content/plugins/buddypress/bp-templates/bp-legacy/members/register.php to yourtheme/buddypress/members/register.php and modify it.
All we are doing here is overriding the registration template.
Hope that helps.
Regards
BrajeshSeptember 12, 2016 at 8:27 am #258649In reply to: Profile field wp editor styling
danbp
ParticipantHi,
appart it is a wordpress related question, you can use CSS.
Try this rule; goes to child-theme style.css
div.wp-editor-container div.quicktags-toolbar { background-color: red!important; }You can find good tuts on the web for more details.
September 11, 2016 at 11:01 pm #258638danbp
ParticipantI’m unable to reproduce your issue on a single install with over 20 plugins active and plenty of custom functions active in bp-custom.php
I can upload medias without problem with different 3th party themes or Twenty’sTry to upload a fresh copy of WordPress and BP and see if it makes a difference.
Now about the snippet.
It works more or less, no code error. You commented the action, so it is deactivated if someone copy/paste it without correcting this.That said, what is the reason behind using a redirection to login if the site, or at least the buddyPress parts, should be private ?
Wouldn’t it be more logic to redirect visitors to an anonymous page with some important information, from which the first one could be Sorry, but this site is private ? Followed by some informations how to register or pay a fee or whatever the reason.
A private site has two type of visitors: those invited to join and the others. Don’t give the opportunity to those who are there by chance to enter the site so easily.
I let you think about this and eventually create an appropriate page and template.
Here a code example redirecting to a page called Intranet and the correct calls to slugs for all components (including bbPress).function bpfr_guest_redirect() { global $bp; // enter the slug or component conditional here if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) || is_bbpress() ) { // not logged in user are redirected to - comment/uncomment or add/remove to your need if( !is_user_logged_in() ) { //wp_redirect( get_option('siteurl') ); //back to homepage //wp_redirect( get_option('siteurl') . '/register' ); // back to register page wp_redirect( get_option('siteurl') . '/intranet' ); // back to whatever page } } } add_filter( 'get_header', 'bpfr_guest_redirect', 1 );Add it to child-theme’s functions.php
September 11, 2016 at 6:31 pm #258635danbp
ParticipantYou followed apparently all steps except one: permalinks activation. Go to dashboard > Settings > Permalinks and choose an option, except “default”. Save and see if your urls are working. 😉
Check also anything listed here (php version, htaccess,… ) in case of.
FYI:
The default register page is in following location
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.phpThis theme exist only for backward compatibility and is no more used by BuddyPress since BP 1.8
/wp-content/plugins/buddypress/bp-themes/bp-default/registrationSeptember 11, 2016 at 12:47 pm #258630In reply to: [Resolved] Error 404 – Page Not Found
danbp
ParticipantHi,
the logout link is redirected to the same page. If you’re on your profile notifications screen, which is only intended for you, it is normal that when you logout from there, you’re redirected to a page not found message. Notifications is even private and not public.
The solution is to redirect to an always public part of the site on logout.
Add this snippet to child-theme’s functions.php
//* Redirect WordPress Logout to Home Page add_action( 'wp_logout', create_function( '', 'wp_redirect( home_url() ); exit();' ) );Advice 1: use preferably the login widget, so the user stays on the same page where he attempt to login instead to be redirected to that boring wp-login page.
Advice 2: on the Home (which is the member directory), you have all BP pages listed at the bottom. Remove them ! You certainly don’t need to give access to account activation or register page to your visitors…
September 11, 2016 at 12:19 pm #258629In reply to: Activity feed difficulties
karmatiger
ParticipantI usually modify the latest WP theme, as they tend to be pretty stable, but this is my first time working with buddypress and I wanted to start with something built-in buddypress compatible to have a starting point.
Sort of like how when I went to the Ford grounds in Dearborn, there was a Toyota Prius just inside their shop being
reverse engineered“studied”.Anyhow, for now I’ve just switched off animation for the lot. Now I’ve moved on to trying to figure out how to add field data bbeside the title (Name) in the profile, but the tutorials for that on this site all seem to be 404ing.
It’s gonna be one of those months.
September 11, 2016 at 11:07 am #258626In reply to: BuddyPress Integration with Woocommerce
danbp
ParticipantBest recommendation would be to use this premium plugin
and some additionnal add_on like this one:
https://fr.wordpress.org/plugins/woocommerce-buddypress-integration-xprofile-checkout-manager/Note: BuddyPress doesn’t handle registering, it only shows the wp-login form with some more fields (if xprofile component is activated).
September 11, 2016 at 2:40 am #258619jowyds
Participanthello danbp, thanks for your reply.
I have tried the suggestion to use
define('WP_DEBUG', true);in conjuction withdefine('WP_DEBUG_LOG', true);with a twenty theme. It works fine when buddypress is not activated. No error or logfile whatsover. Then after I tried to activate buddypress, and test again. The media library still cannot load out. I have tried to check for error log and I can’t seems to find any.Nevertheless I found the culprit can be my bp-custom.php in which I put it just under /wp-content/plugins/[here]
if I remove the file and everything seems works fine again with buddypress activated.
This is the content for my bp-custom.php
<?php // hacks and mods will go here /** * Make a site Private, works with/Without BuddyPress * * @author sbrajesh * @global string $pagenow * */ /* function buddydev_private_site() { //first exclude the wp-login.php //register //activate global $pagenow; //do not restrict logged in users if( is_user_logged_in() ) { return ; } //if we are here, the user is not logged in, so let us check for exclusion //we selectively exclude pages from the list //are we on login page? if( $pagenow == 'wp-login.php' ) { return ; } //let us exclude the home page if( is_front_page() ) { return ; } $exclude_pages = array( 'register', 'activate', 'excelportfolio' );//add the slugs here //is it one of the excluded pages, if yes, we just return and don't care if( is_page( $exclude_pages ) ) { return ; } $redirect_url = wp_login_url( site_url('/') );//get login url, wp_safe_redirect( $redirect_url ); exit( 0 ); } */ //add_action( 'template_redirect', 'buddydev_private_site', 0 ); ?> <style type="text/css"> #wp-admin-bar-bp-login { display:none; /* JOWY: hide login link for buddypress. */ } #wp-admin-bar-bp-register { display:none; /* JOWY: hide register link for buddypress. */ } #adminloginform { color: #ffffff; /* JOWY: text color on form. */ } #wpadminbar { opacity: 0.7; /* JOWY: Opacity for wpadminbar. */ } </style>what can possible went wrong?
September 10, 2016 at 4:08 pm #258613danbp
ParticipantLoginizer is a third party plugin, it is not part of WordPress.
Afaik you have to check WordPress alone as very first debug step.
Rename the complete plugin folder (this will deactivate all plugins) and test WP with a twenty theme.
Keep alsodefine('WP_DEBUG', true);in wp-config while testing.September 10, 2016 at 4:00 pm #258612In reply to: Activity feed difficulties
danbp
Participantkleo matches 175 times in search result on this forum… and only 55 times at 7thqueen support.
Despite we can’t help you with premium themes, as we have no access to the code, people constantly comes here to ask for help, solve issues or get advice for customizing their
expensivetheme.That’s sad, a little unfair and may be just c’est la vie finally ?
Perhaps, when you are tempted to buy some novelty item – such as an awesome newest theme – try to visualize it in a pile of junk at a yard sale with a 50 cent price tag on it!
Did you ever asked you why WordPress comes with a new default theme each year since 2010 ?
Guess it’s time to say Hello Twenty Seventeen !
September 10, 2016 at 3:44 pm #258611jowyds
ParticipantHello Dan,
The error is: “error occurred in the upload, please try again”. I cannot check from media library if the file is there. However, when I go to wp-content I can see the file is already being transferred to the folder. It is very weird.
I have seeing other people having the issue, but not just from BuddyPress.
https://wordpress.org/support/topic/media-library-cannot-display-images/I have tried but no luck. It seems mine is stucked with buddypress. I have cleared all my plugins and even only just installed and activate buddypress. I am not sure why this happens.
I haven’t try to deactivate “loginizer” and also “akismet” as they seems to come with the default wp installation. Moreover, it happens when I activate the buddypress. I am also running on default wordpress 2016 theme just to test things out.
September 10, 2016 at 2:59 pm #258609In reply to: Profile Field Visibility Settings
danbp
Participanthi @karmatiger,
have you tried to hide this option via CSS ?
The radio button “Everyone” is in by default. His visibility level is “public”.With CSS you can use
li.public {display:none!important;}.
Add this to your child-theme style.css or if you use a theme coming with his own custom CSS option, add it there.September 10, 2016 at 1:30 pm #258606In reply to: Update on a Group very Slow.
danbp
ParticipantHi,
this cannot be answered without details about your site. Please give
– plugins list
– server params (php memory_limit, php version)
– used theme
– do you use custom functions for groups ?
– did you modified the update textarea ? -
AuthorSearch Results