I’d like to know if it is possible to put a buddypress install on top of a buddypress install using MU?
ie :
http://www.firstbuddypressinstall.com/secondbuddypressinstall
@r-a-y yes this is the original thread. However, the other thread I opened was more specific. So I still have an unanswered question. I was hoping that since you gave a ray (no pun intended) of hope that it could be accomplished, that perhaps you could offer guidance on how to accomplish it.
I have googled for the last month on this, and can’t create the solution by myself. So i am still asking for help.
Thanks
For example, I want Follow = Become a fan
Followers = Fans
I would like to use the Buddypress followers plugin but change the wording of Followers/Following site wide, how can I do this?
@r-a-y Thanks a million. Its now working with your advice and a few tweaks.
Is there another plugin to allow create a directory of content (links mainly) in buddypress?
You could turn BP groups into locations.
There are a few album plugins that work for groups. BP Gallery by buddydev.com works as far as I know and BP Media is scheduled to have this functionality as well.
Members could create new locations by creating new groups.
Remember to change the groups slug to locations:
https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/
And modifying group labels to locations with a language file:
https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/
You’ll probably have to do some theme modding as well.
There should be hooks in BuddyPress Links to accomplish what you’re after.
You’ll have to dive through the documentation and the source code though.
Check out the bp_profile_field_data() function (located in bp-xprofile/bp-xprofile-templatetags.php):
https://buddypress.trac.wordpress.org/browser/tags/1.2.8/bp-xprofile/bp-xprofile-templatetags.php#L551
It takes “user_id” as a parameter.
Since you’re referring to the topic template, you’ll need to use a custom function to grab the topic poster ID since a native one doesn’t exist in BP at the moment. Here’s a post I made awhile back that will help:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-display-the-user-post-count-in-topic-php#post-92596
Also luvs, be aware that the people who post on these support forums are volunteers who take time out of their day to help the community.
is buddypress-links i’ve hack the plugin to create a dribbble plugin, but i need to put again the original :S
something happen when i’ve do the replacement couse the plugin is activated but cant acces to the admin panel. Is there another easy way to do it?
You can do whatever you want with your theme. However, since you’re not using a child theme of bp-default, your theme subsequently will not receive any updates for bugs or features when a new version of BuddyPress is released. You’d then have to manually check over new BuddyPress releases and merge them into your custom theme. A lot of BP functionality is tied to the theme (AJAX, JS), so hopefully you’re aware of that.
Re: labels – I’m guessing you mean the BuddyPress localization strings. The BP localization strings are convenient if a user is already using the BuddyPress language file, but you’re happy to run with your own theme language file as well.
It sounds like you’re doing a lot of modding to the original bp-default theme, so since you seem happy with this approach you should be fine.
If you duplicated and renamed the function and add_action, you’d also need to add some javascript, so WP will recognize the new AJAX function.
Check out the following lines in in /bp-default/_inc/global.js:
https://buddypress.trac.wordpress.org/browser/tags/1.2.8/bp-themes/bp-default/_inc/global.js#L607
There is no selling or ripping of credits.The CSS header and all the comments still state “Originally done by, modified and changed by”
What you stated makes me look like I am taking the work for my own, when in fact I am sticking with GPL and still giving credit where required.
it does, in my mind – I would rather have it associated with the theme name I gave it so that people who are looking at the backed see my “branding” as you put it, instead of the default. In no way am I trying to say – I created this.
Also from my experimenting bp_ has to stay it calls core functions from the plugin. where as buddypress went and became social
@r-a-y I tried that with no luck.
The bug tracker is available here:
https://buddypress.trac.wordpress.org/
Login with the same username and password as you use here on buddypress.org.
Yea, I would but im working on multiple projects at the moment and nonetheless unfamiliar with bp codex. I mainly work with social networks api’s. (also didn’t take me long to do, so I don’t feel it’s worth compensation)
Hmm, Im unsure alice, since I don’t have a buddypress site of my own. So Im not aware of the photo gallery plugin code.
I can suggest commenting out the jquery in the header.php and if the problem persists then it isn’t the code I supplied.
comment code: stop the code from running
right after the start script tag
`<!–`
and right before the closing tag
`–>`
*Edited
I looked over the bp codex and it’s quite simple, I’ll have a functioning plugin available sometime tomorrow.
No, you are doing it right then(assuming you are using some sort of PHp exec plugin for wordpress as wp will not allow including raw php). Doing independent page will need extra care to include wp-load.php and not a very good idea.
in the current case, just double check that you have enabled BuddyPress plugin. I don’t see any other reason of the error.
i am adding the page by going to the pages section in the dashboard and simply adding a new page. In the html for that page i embed a php file. That makes the php page independent of buddypress.
I guess a better way of looking at it would be, if i accessed an independant php page, how could i make it return the user id of buddypress.
well, In that case, some more questions will help.
1. how do you create a buddypress page? from wordpress admin? from theme, have you added a new component as I don’t see other way to add a page in buddypress
2. Is the page opened using wordpress/is coming inside wordpress (seems to me iT is not )
3. Or is the page independent of wordpress, you are loading that page(php) directly inside the browser ?
i created a buddypress page and that page embeds a php file to display, for testing purposes i just want that to display the users id. the file is called myphp.php and i have it in the buddypress directory.
im new to php so i’m not sure how to do this. i feel like im supposed to include one of buddypress’s php files in order to call the function.
so to answer your question, i guess neither?
Hello everyone,
I’ve modified a couple of buddypress files trying to implement a sorting capability into buddypress.
Eventually I made it: http://www.mediafire.com/?gvz4j4d5y23bjwa
Now I’m able to modify the way in which activities get sorted by setting 2 cookies using javascript on the client.
$_COOKIE =
– date_recorded (default, will order the activities by time),
– favourites (will order the activities by number of favourites),
– comments (will order the activities by number of comments),
$_COOKIE = ASC, DESC
Unfortunately I’m not really experienced with the buddypress codebase and those features may be obtained through better ways.
By the way, I would like to know if you’re interested in implementing the few lines I’ve modified, in your software.
I would have sent a patch but I wasn’t able to find an open bug tracker
Thanks in advance for you attention
Best regards
While creating a gaming blog, I used the profile field set up in BuddyPress to set up a bunch of checkboxes for the user to select which consoles they own when registering.
All I want is for the check boxes to be displayed as a list instead of in a row.
They are like this: []Xbox[]PS3[]Wii
I want them like this:
[]Xbox
[]PS3
[]Wii
I looked into the code in register.php but can’t figure out how to do this:
`
`