Search Results for 'buddypress'
-
AuthorSearch Results
-
August 31, 2009 at 7:15 pm #51832
In reply to: Profile Link?
Tore
ParticipantThe answer is here:
https://buddypress.org/forums/topic/how-to-create-custom-linksget_userurl#post-13526
For example:
‘loggedin_user->id); ?>activity/my-friends”>Your Friends Activity‘
or perhaps
August 31, 2009 at 7:13 pm #51830In reply to: Help wanted: 2 hours paid service
Jeff Sayre
ParticipantI’m moving this to the “Miscellaneous” Forum and locking the thread as anyone who is interested can contact arezki at the above email address.
For future requests, anyone in need of help or who wishes to offer their services should use the BuddyPress Job Board.
August 31, 2009 at 6:45 pm #51827In reply to: Display name unique
peterverkooijen
ParticipantNot sure if this would solve your issue:
Autogenerate or remove username
Plugin update first_name, last_name in wp_usermeta on activation
Simplified blog creation – blogname generated from Blog Title
Clean professional user registration?
Solutions are at the bottom. Or follow the links in the posts. I’ve also posted the final code here. It was a long and messy process…
August 31, 2009 at 5:56 pm #51824In reply to: BP-custom in the wrong place
Jeff Sayre
ParticipantYou place your bp-custom.php in /plugin/, not /plugin/buddypress/.
August 31, 2009 at 5:36 pm #51822In reply to: Replace WP profile edit with BP profile edit
peterverkooijen
ParticipantYes, I already use wp-hide-dashboard. It’s a partial solution.
Users still get the pushy wp-login every now and then, which is a problem because it also has a link to an ancient register/signup form that clashes with Buddypress.
wp-admin/profile.php also is not whacked by wp-hide-dashboard.
August 31, 2009 at 12:55 pm #51806In reply to: Plugin request: Removing "create a blog" options
elemsee
ParticipantThank you, Jason. I’ve cleared my cache, as well as had two other people try this (restarting server not an option, unless my host can be asked to do so….)
Let me walk through what I’ve done:
- In wpmu site admin, “Only user account can be created” is enabled.
- Within bp-core-adminbar.php, I replaced this code:
echo '<li' . $alt . '>';
echo '<a>loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog!', 'buddypress') . '</a>';
echo '';- With this code from the patch:
if ( bp_blog_signup_enabled() ) {
echo '<li' . $alt . '>';
echo '<a>loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog!', 'buddypress') . '</a>';
echo '';
}- Saved and re-uploaded to buddypress/bp-core
- We created a new subscriber account to test. New user sees:
— “My Account” in admin bar, with “Create a blog” on flyout
— “You haven’t created any blogs yet, create one” on [profile] > Blogs > My Blogs
— “Blog registration is currently disabled” on [profile] > Blogs > Create a Blog
All “Create a blog” references should be gone, no?
Any obvious misstep?
August 31, 2009 at 9:06 am #51802In reply to: Replace WP profile edit with BP profile edit
John James Jacoby
KeymasterYou could make a custom login page with BP trunk like…
define('BP_LOGIN_SLUG', 'login');
function bp_show_login_page() {
global $bp, $current_blog;
if ( $bp->current_component == BP_LOGIN_SLUG && $bp->current_action == '' ) {
bp_core_load_template( 'registration/login', true );
}
}
add_action( 'wp', 'bp_show_login_page', 2 );Then put a template file named “login.php” in your frameworks registration folder and steal some code from the buddypress login form to help with getting started…
There’s a few examples online on how to redirect the WordPress login page with .htaccess. Could give that a shot too?
August 31, 2009 at 3:21 am #51792In reply to: Plugin request: Removing "create a blog" options
elemsee
ParticipantPatched bp-core-adminbar.php with:
if ( bp_blog_signup_enabled() ) {
echo '<li' . $alt . '>';
echo '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog!', 'buddypress') . '</a>';
echo '</li>';
}line 171-176
With “Only user account can be created” enabled.
“Create a blog” still appears in admin bar and on member page.
Tested as user without any posting permissions; blog contributor; admin.
August 31, 2009 at 1:19 am #51787In reply to: bp-events for bp 1.1 needs testing!
Simon
ParticipantHi Mariusooms
Looks like your code contains a sql bug I pointed out to Erwin (that was fixed in the .59 trunk) a couple months ago… see the first (bottom) wire post on the a href=”https://buddypress.org/groups/bp-events”>bp-events group here on buddypress.org. Occurs when you select Events in the user menu.
Also, when you select Groups from the user menu both Groups and Events are set to their selected state.
August 31, 2009 at 12:58 am #51785In reply to: Plugin request: Removing "create a blog" options
elemsee
ParticipantI tried your patch, editing the code in /core/bp-core-adminbar.php to:
$alt = ( 0 == $counter % 2 ) ? ' class="alt"' : '';
if ( bp_blog_signup_enabled() ) {
echo '<li' . $alt . '>';
echo '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog!', 'buddypress') . '</a>';
echo '</li>';
}
echo '</ul>';
echo '</li>';
}Does this look correct?
If so, in layman’s terms, what should the outcome be (I want to be sure it matches up with what I’m seeing.)
Thanks
August 30, 2009 at 9:37 pm #51783In reply to: Upgrade to 1.03 – forced to install WPmu 2.8.4a?
Jeff Sayre
ParticipantFrom which version of WPMU were you upgrading? If from 2.8.2 or older, did you see my post above?
Had to dive back into the bp-core to remodify all the changes…I mention this because there is a certain level of knowledge in coding that is necessary before many of us can follow the instructions of Burt and other brillianto’s. Unfortunately, we don’t have that knowledge so the quick and dirty for us users who are trying to make buddypress operational is to simply cut and paste code in the core, write down in a researcher’s notepad akin to a research scientist titrating drops of transylvanian serum into Frankenstein’s bloodstream.
AHHHH! Stop!
Of course you’ve had all the issues you mentioned above!. You are traipsing around in the codebase, modifying core files like there’s no tomorrow. Even if you are a “brillianto” programmer, you do not touch core files unless you are helping patch bugs or providing new functionality to the overall project.
Why? Because whenever you upgrade, ever single core hack you’ve made will be erased. What are your options? Either install other’s plugins that provide the functionality you’re after, write your own plugins, or place your code changes in the bp-custom.php file. But, never, never, never change the core code. If you do, you will have the issue you’ve mentioned above.
August 30, 2009 at 9:27 pm #51782In reply to: Plugin request: Removing "create a blog" options
Jeff Sayre
Participantbut it sounds as if your solution removes blogs from the bar altogether. We plan to make subscribers members of blogs that the Admins set up…
You have BuddyPress installed, I assume. So why don’t you give it a try–disabled the blog tracking and see what happens. It does exactly what you’re looking for. It prevents your members (users) from being able to create their own blogs. It does not hide the existing Admin blogs from them.
If you have more than one Admin-created blog, you can place additional buttons, or fancy menus, to those Admin-based blogs.
Unless you change the default behavior, WPMU by default makes all new users subscribers to the primary site blog (Blog ID number 1), which is the Admin blog. If you try out my suggestion, you will see that the “Blog” button is still visible. It takes users to the Admin-created blog. Only the “Blogs” button disappears for sight as it is a link to all user-created blogs, not the Admin blog.
August 30, 2009 at 7:58 pm #51779In reply to: Plugin request: Removing "create a blog" options
elemsee
Participant@Jeff, yes, but it sounds as if your solution removes blogs from the bar altogether. We plan to make subscribers members of blogs that the Admins set up, just prevent them from creating their own blogs. Subscribers should be able to see the other blogs they’ve been added to.
If I’m understanding the trac ticket, I agree when disabling blog creation in WPMU, the option should disappear from BuddyPress. That was our original hope, but alas no.
Seeing the “create” option and being directed to a page that says “Sorry, no can do” doesn’t convey a user-friendly atmosphere, I think.
@jason Your patch sounds as if it might achieve what I’m hoping. I’m earnestly studying my “Learn PHP the quick and easy way” book, so I’ll see if I can properly add this to bp_core-adminbar without … well, without screwing it up.

Thank you so much for answering
August 30, 2009 at 7:55 pm #51778In reply to: Can't create groups
andisites
ParticipantAny luck with this? Still can’t create groups within BuddyPress, and those created in WPMU admin don’t show up.
August 30, 2009 at 6:17 pm #51777In reply to: Upgrade to 1.03 – forced to install WPmu 2.8.4a?
catinw12
Participantdecided to make the plunge and do the automated update to 2.8.4a
encountered several fatal errors along the way but deactivating the plugins and then activating by “activate” instead of “activate site wide” seemed to do the trick. That and logging out as the admin and logging back in resolved most stuff.
Having to redo my .htaccess file that was coded to provided direct external SSO from aMember. Way beyond my ability so I await help from aMember.
Had to dive back into the bp-core to remodify all the changes. From a user perspective as opposed to a developer, following the instructions of the moderators on here is very difficult and since most of you are doing this for free, I am loathe to complain for any help you provide. I mention this because there is a certain level of knowledge in coding that is necessary before many of us can follow the instructions of Burt and other brillianto’s. Unfortunately, we don’t have that knowledge so the quick and dirty for us users who are trying to make buddypress operational is to simply cut and paste code in the core, write down in a researcher’s notepad akin to a research scientist titrating drops of transylvanian serum into Frankenstein’s bloodstream.
August 30, 2009 at 4:42 pm #51774In reply to: Hidden group
gaetanbuddypress
ParticipantI’ve checked, and there was no ticket about this.
I’ve opened a new one, visible there: https://trac.buddypress.org/ticket/956
Thanks to you Jeff and all the BP community for your support!
August 30, 2009 at 4:24 pm #51773In reply to: New Groupblog Plugin
Mariusooms
ParticipantAt that point, they are just members of blogs, so yes, they have access to the dashboard with options according to their blog role. Asfaik, P2 is not meant to be the only post option as it meant for quick posting and only text. So it would greatly limit things by having that as the only post option.
For your situation I would not use the groupblog plugin, but stay with either wire or discussion forum. Also, to answer your other question, bp-groupblog does not work wihtout buddypress.
August 30, 2009 at 5:49 am #51763In reply to: Plugin request: Removing "create a blog" options
Jason Giedymin
ParticipantI posted something similar on trac around 8-22 with a patch
August 30, 2009 at 5:35 am #51762In reply to: Plugin request: Removing "create a blog" options
Jomark
ParticipantI was looking for this in the code. Now I know it is just too easy by just disabling it at the buddypress admin. Thanks.
August 30, 2009 at 3:00 am #51757In reply to: Plugin request: Removing "create a blog" options
Jeff Sayre
ParticipantHas anyone thought of a solution for this or can think of a way to accomplish it without needing to manually edit a lot of php?
This is already easy to accomplish in the BuddyPress admin menu. Log into WPMU’s backend as Site Admin. Go to the BuddyPress menu grouping. Select “Component Setup > Blog Tracking” and disable the Blogs component.
When you reload BuddyPress in your browser, you will see that the “Blogs” menu option under the “My Account” menu and the “My Blogs” menu are now gone. Also, members will not have the option to create blogs from their page.
August 30, 2009 at 2:52 am #51756Jeff Sayre
ParticipantWas he ever a BuddyPress.org member? I don’t recall his name. If he was on BP in the past and you know the his username (I assume it would be a pseudonym since I don’t recall his real name), then simply message him directly.
Otherwise, you’ll have more luck inquiring on the WPMU forums.
I’m closing this thread as it has nothing to do with BuddyPress support.
August 30, 2009 at 2:13 am #51755In reply to: Plugin request: Removing "create a blog" options
elemsee
ParticipantYeah, my lack of PHP understanding is really getting in my way. I’m trying though.
Commenting out the following just renders the site blank:
echo '<li' . $alt . '>';
echo '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog!', 'buddypress') . '</a>';
echo '</li>';https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/
This tutorial doesn’t tell me how to identify the lines that specifically refer to “create a blog,” nor would it tell me, obviously, where/how to remove the “create a blog” option which appears on the Member’s profile page.
The tutorial it refers to is the one I’ve been messing around with all day with no satisfying results.

There seems to be no where listed how to identify the items to comment out, as they must be so obvious to a more skilled person.
Keeping looking….
August 30, 2009 at 1:25 am #51752In reply to: opensocial
Jeff Sayre
ParticipantThe results have be out for more than 2 months now! Look at the core section of BP version 1.4.
https://buddypress.org/blog/news/buddypress-project-roadmap/
August 29, 2009 at 9:44 pm #51743In reply to: Limit Blog Creation to Admins
elemsee
ParticipantOk, so, haha, given the lack of responses, I’m digging my way through this by rewriting Burt’s tutorial step-by-step so I can “get it.”
Alas, the simplest thing is tripping me up. I cannot find, in any BuddyPress directory, a file called bp-custom.php
Am I creating this file?
… continuing to puzzle it out while hoping someone takes pity on me, lol
August 29, 2009 at 6:28 pm #51738In reply to: Changing avatars for the blogs list
peterverkooijen
ParticipantI need to find a solution for this as well.
Found this related post. PatG221 says: “I understand that changing the blog avatar is not possible yet…”
Really?
-
AuthorSearch Results