Search Results for 'buddypress'
-
AuthorSearch Results
-
May 4, 2010 at 3:11 am #76535
In reply to: can’t change avatars
Suzette
ParticipantI had the same problem but finally got it solved. I had to do 2 things:
1 – go into “settings>miscellaneous” and fill in the “full URL path to files” so it will be example http://yourdomainname/wp-content/uploads
2 – requires editing the php coding in the file bp-core-avatars.php in BuddyPress. You can find this file by going into “plugins>editor”. On the right side, there is a drop down box labelled “select plug-in to edit”. Change this default selection from Asimet to BuddyPress and press “select”. The list of files beneath will change. Scroll down to “buddypress/bp-core/bp-core-avatars.php” and select it.
The changes need to be down on lines 389 & 390, it’s down near the end of the page. (I used copy/paste in MS Frontpage editor to find the line number close to “function bp_core_avatar_upload_path() {“) You’ll be replacing the 2 lines with 3 lines. ** Use the WordPress editor to make the changes to copy/paste the lines once you find them **Replace:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;With:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;
else $path = ABSPATH . $path;See this post for the solution https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/avatar-cropping-after-upload-image-and-cropper-dont-appear-fails/
May 4, 2010 at 1:23 am #76524In reply to: Extra Page’s in BuddyPress
stwc
Participant: “is they’re any way you can edit it through a text editor rather than dashboard. Or is there any known way of how to solve this problem”
I tire of trying to parse through the mangled English we see here sometimes to tease out intended meaning. Also, I believe the question was edited since first posted.
The answer to that questions is: of course, any good FTP client will let you do that kind of thing. My preferred tools: get the WinSCP FTP client, get Notepad++ and set it as the text editor for WinSCP, double click on any PHP (or whatever) file on your site through the FTP client, it’ll open locally in Notepad++, when you hit save it’ll automatically upload the file. Boom, done.
May 4, 2010 at 12:22 am #76518In reply to: Is there a way to email everyone?
Carlos Mena
ParticipantSorry, I didn’t phrase that very clearly. What I meant to ask is, suppose you have 100 people using BuddyPress on your site. You would like to send all of them an email about some upcoming changes or something. Does BuddyPress have a feature that allows you to write an email and send it out to all of them? Where could I find information on this?
May 3, 2010 at 10:46 pm #76506In reply to: Extending Groups Navigation
r-a-y
KeymasterYou’ve declared “display” as screen_function in your org_info_add_subnav() function.
So now, you need to create a “display()” function with some code to display your admin page.
In the skeleton component, the function you would want to look at is “bp_example_screen_one()” for hints.—
Also is your plugin BP-aware?
https://codex.buddypress.org/how-to-guides/make-your-plugin-buddypress-aware-v1-2/May 3, 2010 at 10:36 pm #76504In reply to: Extending Groups Navigation
techguy
ParticipantI checked that out r-a-y. It looks like the bp_core_add_subnav_item is where I attach a screen function. However, it seems like the Group API might be doing this on its own already? Otherwise why would the nav appear there in the first place? Seems like when I do “class BP_Org_Info extends BP_Group_Extension {}” there’s something built in to add the nav and attach the screen function, but I can’t see where and how to change it so it links properly.
I did try like the skeleton component suggested and did the following which didn’t work for me. Maybe this is the way I have attach the screen function and I’m just calling it wrong? Here’s my code
function org_info_add_subnav() {
global $bp;
bp_core_add_subnav_item( array(
‘name’ => __(‘Organization Info’, ‘buddypress’),
‘slug’ => $bp->org_info->slug,
‘parent_slug’ => BP_GROUPS_SLUG,
‘parent_url’ => $bp->loggedin_user->domain . $bp->group->slug . ‘/’,
‘position’ => 30,
‘screen_function’ => ‘display’ //Should this be a call to some part of the Group API?
));
}
add_action( ‘wp’, ‘org_info_add_subnav’, 2 );Maybe one of the options I’m passing into bp_core_add_subnav_item is wrong, but I also just noticed that I’m getting this in the error logs:
PHP Fatal error: Call to undefined function bp_core_add_subnav_item()Do I have to include some other file to use bp_core_add_subnav_item()
May 3, 2010 at 10:22 pm #76499In reply to: BBpress setup through buddypress plugin?
r-a-y
KeymasterRead this again:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/bbpress-setup-through-buddypress-plugin/?topic_page=2&num=15#post-51853You can’t create sub-forums for a group natively in BP. It’s potentially possible to create a plugin to create sub-forums for each group, but such a plugin doesn’t exist right now.
If you need sub-forums, stick with the external install of bbPress.
May 3, 2010 at 10:07 pm #76497In reply to: BBpress setup through buddypress plugin?
Josh
ParticipantNever mind about integration it works now, i just need to figure out how to make sub-forums, based on the groups. I really want to set permissions for the groups i create for bp, and get things back to the structure i had it back in phpbb…..
May 3, 2010 at 9:54 pm #76495Derek
ParticipantSomebody? Anybody? Come on guys/ gals this really stinks! If I knew PHP I would do it myself but I am just a BuddyPress user… Somebody has to know how to get this working?
May 3, 2010 at 8:45 pm #76488Boone Gorges
Keymaster@dwdutch –
1) Exactly right.2) Most (all?) BP-specific functions that default to the logged in user are named in a way that makes it clear. bp_loggedin_user_domain() is an example. There are some WP functions that take the logged in user as a default argument, and they’re generally not so helpfully named (fwiw the context is generally not so complex on a blog as it is in a BP network). current_user_can() is an example. When in doubt, I do a quick search through the codebase of a local installation. cd to the correct directory, and then
grep -nR "function current_user_can" ./, etc.While the functions in bp-x-templatetags.php generally don’t accept arguments in the normal way – they get their arguments from the context of the iterating bp_has_x loop – there are also some functions that take user ids (or group ids, or activity ids, etc) as arguments. For instance, have a look at bp-groups.php and groups_get_total_member_count() – this isn’t intended to be used in the context of a groups loop. Generally you’re going to be better off using a loop, as the api is really designed around this kind of use, but you can use these other functions to do some things without loops.
3) I used to use that phpxref on bp-dev.org all the time, but sadly it’s a version or two out of date, and is kind of useless at this point. (bp_has_members, for instance, used to be bp_has_site_members or something like that). If I had some spare time and bandwidth, I would set up an up-to-date phpxref of the current version of BP. In the meantime, I recommend following @r-a-y ‘s advice and going directly to the BP codebase, until the community has come up with a better solution
May 3, 2010 at 7:57 pm #76486Jeff Sayre
ParticipantWithin a plugin group, the Reviews tab does not display that proper ranking. See my plugin group for an example. It states, “Based on 1 rating” but then shows two reviews below: https://buddypress.org/community/groups/wordpress-hook-sniffer/reviews/
May 3, 2010 at 7:05 pm #76485In reply to: Private Message Spam and Abuse
r-a-y
KeymasterTry this until a more, full-featured privacy component is available.
Remove send private message button for non-friends:
http://blog.etiviti.com/2010/03/buddypress-hack-remove-send-private-message-for-non-friends/May 3, 2010 at 7:02 pm #76484In reply to: BBpress setup through buddypress plugin?
r-a-y
KeymasterAgain, this isn’t very clear.
Please outline your steps.Let’s say your external bbPress install is located under /bbpress/.
Your custom template would reside in /bbpress/my-templates/YOURNEWTHEME/.In this case, you’d want to put “bbbp-default” under /bbpress/my-templates/.
Then you go to /bbpress/bb-admin/ and activate the bbPress theme.It’d also help to read the theme’s instructions. According to the theme author, you also need to add deep integration.
What is deep integration? Read the following article and read the section on deep integration:
http://wpwebhost.com/make-bbpress-theme-match-with-wordpress-by-deep-integration/May 3, 2010 at 6:48 pm #76481In reply to: Sidebar Widgets
r-a-y
Keymaster@quirhijn – Read this guide on how to create a child theme:
https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/Using a child theme allows you to make changes to the default theme without fear of losing them when you upgrade BuddyPress.
You don’t need programming knowledge in order to set one up either!
May 3, 2010 at 6:41 pm #76479In reply to: Extending Groups Navigation
r-a-y
KeymasterYou need to attach a screen function to your admin page.
Check out the skeleton component plugin for more details:
https://wordpress.org/extend/plugins/buddypress-skeleton-component/Or copy the structure of your favorite plugins
May 3, 2010 at 6:36 pm #76477In reply to: Sidebar Widgets
quirhijn
Member@mcclevmr Thx, I do not understand the concept of a child theme, I’m not a programmer due. I’ve seen your website on the link on the topic you mentioned, looks great!
But what is that child theme. I have the Buddypress Default Theme, and am almost ready. By activating another theme al that is gone. Or is that some kind of plugin to generate more widgets and columns? Please inform me on this, still feeling like a Dummy…
May 3, 2010 at 6:32 pm #76474Mike Pratt
ParticipantPossible bug?: When on a displayed user’s profile page the “personal” tab shows all mentions of the user NOT just that user’s activity, this can be verified by clicking @username mentions a few links to the right.
bp-default does not duplicate this issue so I am guessing it found its way in via bp.org customization
May 3, 2010 at 6:22 pm #76471In reply to: Social Bookmarking Functionality Question?
Jeff Sayre
ParticipantMrMaz’s plugin is what you need.
May 3, 2010 at 6:20 pm #76470In reply to: Email Activation not being sent in upgraded BP 1.2.2
techguy
ParticipantYou might want to join this group for part of what you’ve requested (the admin resend of activation emails/activating manually): https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/over-1000-not-activated-users-what-do-you-suggest-we-do-with-them/
Seems like he could add the redirect to the plugin as well. I don’t think it would be too hard.
May 3, 2010 at 6:17 pm #76469Scotm
ParticipantI think the ease of use and elegance of WordPress has somehow been lost in the most recent iteration of BuddyPress. Yes, we can make it whatever we wish it to be, but to do that we must be prepared to get under the hood and play with code while relying largely on untested or BP-approved plugins to extend its functionality. In one word, I would describe a BP install right now as ‘noisy’.
Seems to me the activity stream and the current group-forum relationship draws the ire of most people commenting in these forums. Right now, the activity stream is, frankly, a dog’s breakfast. The group-forum thing I can get my head around, but it would be very helpful if for example some of the functionality evident in bp.org was made readily available (the plugin group format for example) versus the current practice of teasing users with snippets of code all over the forums. Andy and the moderators here are great, but once again I think BP needs to figure out if it is targeting WordPress users or PHP developers as its primary target market. They are not one and the same, even those of us who are quite capable of handling a hosted version of WordPress.
I think BuddyPress should have focused its primary activity stream around the use of a microblog that comes standard with the install. A variation of P2 as the community blog right out of the box could provide an easy to follow timeline of user posts, shared links, etc. as per Twitter while a lot of the commenting and related noise created by the activity streams, etc. could be eliminated.
Looking forward to continued progress however on what is still the best option for developing a social networking application.
May 3, 2010 at 6:08 pm #76468dwdutch
Participant@DJPaul: I was looking for functions that might manipulate various xProfile fields (in particular) i was trying to extract info about checkbox type field. (I see that you may have provided me some insight on that topic in a separate thread).
@boonebgorges: thanks for the clarification re: files used for themes – i was wondering why it was named as it was but i couldn’t find any explanation. I had looked at the members loop documentation and I saw that the while loop is controlled by bp_members() but since i could find no documentation on that function, I assumed that it must loop through all members on a site (which is overkill for my goal — i just need to identify a handful of members who have a certain xprofile value set THEN i want to display them).
Meanwhile, back to this question… and my feeble attempt to avoid confusion.
1) if I’m understanding you correctly then by calling bp_has_members( ‘include=3,7,24? ) I’m effectively setting up a “global” loop within my instantiation of BP that is incremented with each call to bp_members(). So, while within the “global” loop, all function call potentially reference the same current iteration of $user_id. Did i understand correctly?
2) Yet, there must be certain functions that only refer to the currently logged-in user_id (e.g. is_site_admin()). How do i distinguish between which function type is which kind?
3) Why can’t I find bp_has_members in http://bp-dev.org/phpxref/nav.html?_functions/index.html? Is there some other “official” place to go learn what functions exist and are available to me?
May 3, 2010 at 6:06 pm #76467In reply to: Convert WP posts to BuddyPress
brandaris
MemberMay 3, 2010 at 6:06 pm #76466In reply to: BBpress setup through buddypress plugin?
Josh
ParticipantBut i can’t even theme it before i integrate bp and bbp, because when i upload and put them in the same folder as bbp, it don’t recognize the files for the theme…..
May 3, 2010 at 6:04 pm #76465In reply to: Social Bookmarking Functionality Question?
MrMaz
ParticipantHave you seen this plugin yet? https://wordpress.org/extend/plugins/buddypress-links/
May 3, 2010 at 5:54 pm #76464In reply to: Social Bookmarking Functionality Question?
lint9999
Participant@r-a-y – Thanks for the reply!
I did think of using the Favorite button for this, however I can’t figure out how to have activity postings that people have favorited show up in the “activity stream”, it only shows up in the stream with a favorite filter. Is there any way around that so as to have favorites show up in the main activity stream?
Thanks again
May 3, 2010 at 5:15 pm #76459In reply to: profile views
-
AuthorSearch Results