Hello guys,
I’m trying to write the code for a website and to be honest I’m finding the Buddypress code a step up from WordPress. I’m trying to write php includes into a childpress theme, specifically in Buddypress pages for Activity, Blogs, Forums, Groups and Members.
I’m hoping to add a second sidebar to every page of the site. I’ve managed to achieve this in all of the standard ‘wordpress’ style template files by using php include(“sidebar2.php”); I’ve defined a function in functions.php that achieves this.
My problem is, if I try to reference sidebar2.php from the Buddypress specific index files I receive :
Warning: include(../wp-content/themes/panda/sidebar2.php) [function.include]: failed to open stream: No such file or directory in /home/content/96/7255496/html/mybeautifulbump/wp-content/themes/panda/activity/index.php on line 13
Warning: include() [function.include]: Failed opening ‘../wp-content/themes/panda/sidebar2.php’ for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /home/content/96/7255496/html/mybeautifulbump/wp-content/themes/panda/activity/index.php on line 13
I’ve tried many addresses for the include, but none seem to work. I notice that for all the other functions the files simply reference ‘buddypress’.
Any ideas please?
Thank you kindly in advance 
Andy
P.S. One of the affected pages is: ‘http://mybeautifulbump.com/members‘
Oh I asked you like it was your plugin lol. I’ll ask @djpaul about it.
@chrisclayton that looks really cool! Will there be an option to use it as a button if you dont use the admin bar? And will it allow a user to return a list of things that he liked on his activity pages? I used the old “favorite post” plugin to allow users to favorite video posts on my site. I could then show that loop of favorited videos on their activity pages which was dope until it broke.
@enderpal444 Their is functionality for this going into BP Labs when BuddyPress 1.6 is released.
See: http://byotos.com/2011/12/19/bp-labs-you-may-like-this/
While it isn’t exactly ‘core’ and is a completely separate, unofficial project, it is maintained by @djpaul who is a BP core dev and it is known for being a testing ground of afew of the new features being introduced in buddypress 1.6 (eg. akismet activity spam filter)
Might be an idea to keep an eye on it. 
@shivang – Move the code between div.item-list-tabs into your sidebar and then style it with CSS.
@boonebgorges wrote the following recently http://wordpress.stackexchange.com/a/45682/7401 which seems relevant to your question…..
The article only mentions Networks + to enable multiple networks which is a premium plugin.
There is also a free plugin, by @johnjamesjacoby, to enable multiple networks https://wordpress.org/extend/plugins/wp-multi-network/ but that apparently is no longer compatible.
It has been patched ( http://alantait.net/2011/07/27/wp-multi-network-plugin-fix-for-wordpress/ ) and @johnjamesjacoby mentioned in the comments of that page ( 12/02/2012 ) that he planned to update it soon…
Hmm, Does anyone know if this is possible?
Basically I have a wordpress website:
1. Students 2. Teachers
I basically would like to use buddypress as it’s perfect to handle all the members/students – so they can friend each-other & etc
but I would need ANOTHER buddypress install to handle all the teachers, so teachers can message/friend eachother but members/students CANT friend or message the teachers.
Using groups really doesn’t work, I basically want to have a different profile for the teachers –
I’ve searched high & low for a solution, but none exist – I was thinking about two buddypress installs would be perfect, but is this even possible?
thank you very much for any input
I just set up Buddypress and my new member registration email takes me to my Buddypress site and requires an activation key. How do I not make this required so the person just clicks on the link on their email and it takes them to the “Congrats your activation is successful” screen.
@ChrisClayton Thanks, if its a known bug not a problem, just wanted to make sure it wasn’t me missing the obvious.
Have you tried searching with google along the lines of site:buddypress.org Your Question Here
…..
@hatiro this is a known bug that is being worked on.
This ticket is the one they are currently using to track the issue if you have any additional information that may help them – https://buddypress.trac.wordpress.org/ticket/3908
I think the OP means searching the forums right here on buddypress.org. Like hatiro, I’m wondering the same thing.
… and I’m on the BP Default 1.5.4 by the BuddyPress team theme. Still getting no response from the group creation. Same steps, same outcome and no error code or url info. Just nothing. It kicks me back to this address: http://llfh.myhelprep.com/groups/create/step/group-details/ of which you may not be able to see because I reactivated my plugins.
I did all you said about and nothing changed. Plugins got deactivated except buddypress. Basic default theme and I upgraded to 5.3 on the PHP and my wp 3.3.1 version.
HELP???
@mercime, also, now my menus are gone when you click off the homepage…
If registration is not working even after you change to bp-default theme and deactivate all plugins except BuddyPress, then the issue is not related anymore with this topic which was supposed to fix the alignment of the Minimatica theme, which we have done. I am marking this topic as resolved.
Please start a new topic for your registration issue/s – include information about your WP/BP versions again, single WP or WP multisite, Windows or Linux hosting or locally hosted, plus other information like steps to replicate the registration redirect to home page.
@mercime first off sorry If I am doing anything wrong.
And what I got down was those plugins that you told me about and what happen to buddypress is this,
So I download the plugins and stick them on my site then all of the sudden, my slider on the site starts to show funny code things that I can’t find, the pages worked at that time and later, they didn’t work either making it seem odd. I began to play around and try to find the missing functions but I couldn’t find them. I tried plenty of things but it just wouldn’t work, Like I said every time I enable it the site has problems with those pages, I am only trying to figure out how and why these are happening. I don’t quite know what the functions are but I do know that something went wrong.
Site: videogamerznetwork.com (BuddyPress not active on this site right now)
@videogamerznet you should know that we are volunteers here living in different time zones just trying to help out.
– WP/BP versions? Linux or Windows hosting? Single WP or WP Multisite?
– What do you mean by “I think I got that down”? Can you write down the steps you made to install BuddyPress and BP Template Pack plus include information about the exact errors showing up and when, and what you mean by “things are collapsing” and “some pages won’t show up its crashing down”?
The show case does not list any major companies. Is there are list of companies/corporations that use WP/BuddyPress as their social networking solution.
Thx @BlinkyBill01 and @mercime.
@mercime that link you posted worked flawlessly…. super clear and simple. I must say poedit had a number of errors that required a few hours to fix, but ultimately those steps got the exact result I was hoping for!
If anyone else tries this and has issues w/ poedit, let me know and perhaps I can help.
@mercime Read the post above for whats going on!
I am still in a mess so I mean, I know a lot of coding but I still cant get it to work! I hope this is not to much but could anyone help me fix it? I have been trying hard and can’t find stuff!
I think I got that down, but BuddyPress is still not working for me and now even some pages won’t show up its crashing down!