I’m working on turning the woothemes canvas framework into a buddypress child theme. All is going well, but I have a problem I can’t solve.
http://anointednews.com/members/admin/activity/
On bp profile pages, you have the @username next to the users avatar.
Normally there is a ? next to the @username but for some reason I can’t get the question mark to show up on my child theme. I have narrowed it down to the code below, but cannot find where the span style display: none is being injected.
If I change it from none to inline, then the ? properly shows up and the drowdown help info works.
<span display="inline" class="highlight">@admin <span style="display: none;">?</span></span>
Is there a piece of code I should be adding to my buddypress header to solve this?
For the most part, I am using the buddypress templates for the content portion, and simply wrapping canvas template functions around the bp ones.
Basically I could just really use some help tracking down what is injecting the span style there. It is not in the /members/index.php file anywhere. There is simply a double closing span with no second opening one.
thanks
Andrew, the issue you raise–not doing the highlighting with javascript–is valid, and I will be addressing it in the next version, however i’m going to take another approach than you’ve suggested. So other users don’t need to be concerned with the above code, because it will work differently quite soon.
What happens when you use the default /%year/%month%/%postname% permalink?
It’s probably because you have “groups” as your wordpress directory.
In wp-config.php, add this snippet:
define ( 'BP_GROUPS_SLUG', 'gatherings' );
Change ‘gatherings’ to something you like.
This will make your new groups URL look like:
hxxp://urbansensors.net/projects/karmayog/groups/gatherings
The only way I can get $bp->current_component to return nothing for normal WP posts and pages is by using the default permalink structure (?p=123), as soon as I use /%postname%/ for permalinks, $bp->current_component returns the post/page name
I am using wpmu 2.9.2 with domain mapping turned on.
I have a few blogs that are mapped properly, but for some reason buddypress is not recognizing the mapped domain.
example: (mapped domain running buddypress)
http://anointednews.com/members/admin/
You will notice all the links on the page reference the non domain mapped url
http://news.anointed.net/……..
As it’s every single link on every single buddypress page, I’m guessing there is a global setting somewhere that can be changed so all the links work properly?
please advise
You don’t have to.
Didn’t we want $bp->current_component to return blank for WP pages and posts?
That way you can just target BP pages like profiles, member directories, etc. because $bp->current_component returns something for them.
@pimpmywordpress – It’s running smooth on wp single and bp 1.2.1
Yes, I see the problem now. I’ll address it right away…
It seems like that is a bug in buddypress. /bp-themes/bp-default/blogs/create.php the do_action at the top should not be bp_before_directory_groups_content it should rather be bp_before_directory_blog_content like it is in the other blog pages such as index.php.
I’ve made a trac request to change this.
nice to know its not my plugin.
I would just edit that file, as it will probably be fixed in the next minor upgrade.
not really,
I don’t want to have to use the default permalink structure (?p=123) for this to work.
That’s what we wanted though right?
Actually. It also does not update the title within the My Blog, buddypress dropdown menu either.
@MrMaz Is it safe to run the latest version on a single WordPress Install 2.9.2 with BP 1.2.1? If not when do you think the new version will came out?
sorry @r-a-y, I had tacked on ‘component’ myself, my mistake.
I had permalinks set to /%postname%/ when $bp->current_component was returning the title of the post/page.
Just tried setting permalinks to default, and now $bp->current_component returns nothing for posts/pages, weird…
Could someone please tell me if buddypress allows for an administrator to be able to edit members profiles???
We have a client that wants this functionality?
WP regular with buddypress doesn’t show groups and forums.
I think it may be easier for you to create a Child theme based on the bp-default theme, that way any files that you have not directly coded will still be in use.
For more info you can read this: https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/
What I did was took the default theme style.css and began to modify it by loading it in a child theme (leave the bp-default where it is, in your child themes css template header call Template:bp-default). Then the need for a custom homepage arose, so I just created one. I did all this and all of the buddypress functionality stayed in place because it was loading from the bp-default – without ever having to re-code every single .php file.
For you, since you have an existing theme, I would load your stylesheet as a child theme, then modify it to match the bp-default architecture(i.e. #content becomes #container, etc). Then you shouldn’t have to rework every single php page, because your style will load using the buddypress theme structure!
I’m using wordpress single user, buddypress 1.2.1.
I built my entire buddypress site in a subfolder of my site (OfficialManCard.com/omc). I then took it live by leaving the files in place, and using WordPress’ files vs website location function in Settings-Gen. More info on that:
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Now, unfortunately, when I do anything BP related my sub directory still appears: http://officialmancard.com/omc/members/tmort
I need to get rid of the sub directory omc. Its the beginning of our BP side and I can still go to the database and make major changes without breaking anything. Is there a “bp site URL” table or something that I am missing?
Figured it out!
It was the bbPress Sitemaps plugin!
http://premium.wpmudev.org/project/bbpress-sitemaps
It hasn’t been updated lately and that was the issue. Thank goodness it was something easy! I was reading it as a BuddyPress plugin, which is why I didn’t disable it first. Doh!
So I got a WP-MU site setup like http://mysite.com , with all blogs on their own subdomain, like http://blog1.mysite.com
Now I would like the main stuff on buddypress to be att a subdomain such as http://community.mysite.com, and it is working fine. (don’t really know why/how but it is)…
But when I do a new signup/registration, it redirects to the signup for http://mysite.com instead of http://community.mysite.com like I would like.
So any one know of any good fix for this??
I’m allready using the define('BP_ROOT_BLOG', 3 ); but doesn’t seem to fix it …?
Hi, i’m running my site, http://www.southeastbrothers.co.uk/wordpress, on WordPress 2.9.2 (single) and BuddyPress plugin.
I changed to the default theme and updated my Permalink to the ‘Day and Name’ default.
When i browse the ‘about’ page etc it works fine, however when i go to any of the Buddypress pages i get a page not found, unless i manually type in the index.php in front of it.
I’m using a windows server and IIS6.
Is there a way to fix this issue, or modify the buddypress files to put in the index.php?
Jon
“When someone wants to create a blog the url he gets is http://hisblog/mydomain.com/mywpbp, which of course won’t work. Any solution? “
You didn’t install MU correctly and make sure it was working first.
But really, if you just wanted the main blog, then install regualr WordPress with BuddyPress.