Search Results for 'buddypress'
-
AuthorSearch Results
-
August 29, 2010 at 9:24 pm #90868
In reply to: Show: By Latest Post | By Group
Boone Gorges
KeymasterI told you to use include= but I realized that you can’t pass multiple groups into bp_has_groups() in the 1.2 branch. My bad.
So you might want to try @modemlooper‘s advice. The group slug is whatever shows up in the URL as the group name. For example, a group with URL http://example.com/groups/i-am-awesome has the slug i-am-awesome. You should be able to get that group only by using the following:
`if ( bp_has_groups( ‘slug=i-am-awesome’ ) )`
Then, as Modemlooper says, you’d have to do it a couple times for each group. Or better yet, make an array and loop over it:
`$groups_to_show = array( ‘i-am-awesome’, ‘i-am-cool’, ‘bodacious’ );
foreach ( $groups_to_show as $g ) {
if ( bp_has_groups( ‘slug=’ . $g ) ) {
// do all your group-specific stuff here
}
}
`August 29, 2010 at 8:38 pm #90863In reply to: 404 page not found
Roger Coathup
Participant@irishartisans – I’ve never known anyone use rewrite.script. Mod_rewrite.c is the norm for WP / BP
I suggest going back to the original .htaccess file, then de-activate BuddyPress, and then run the following tests:
Do custom permalinks work (e.g. change them to /%category%/%postname%/ in your wp-admin), can you comment, can you register new sites, and so on.
Does all this work without problem? If not, check you have correct permissions set on your .htaccess file
August 29, 2010 at 7:54 pm #90857In reply to: Group Documents: Any hack to work with BP 1.2.5.2?
Sigfriedar
ParticipantHello guys!!
I ve a problem with this plugin too, it doesn’t want to upload my files: Here is my error
Warning: move_uploaded_file(/mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/http://omaidi.org/wp-content/uploads/group-documents/6/1283094527-representationetsymbolismedesnombresnaturels.pdf) [function.move-uploaded-file]: failed to open stream: No such file or directory in /mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/wp-content/plugins/buddypress-group-documents/include/classes.php on line 234
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/shared/upload_tmp/phpxM38p7’ to ‘/mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/http://omaidi.org/wp-content/uploads/group-documents/6/1283094527-representationetsymbolismedesnombresnaturels.pdf’ in /mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/wp-content/plugins/buddypress-group-documents/include/classes.php on line 234
Warning: mkdir() [function.mkdir]: File exists in /mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/wp-content/plugins/buddypress-group-documents/include/classes.php on line 377
Warning: move_uploaded_file(/mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/http://omaidi.org/wp-content/uploads/group-documents/6/1283110977-Mai2010.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/wp-content/plugins/buddypress-group-documents/include/classes.php on line 234
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/shared/upload_tmp/php7VEPXq’ to ‘/mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/http://omaidi.org/wp-content/uploads/group-documents/6/1283110977-Mai2010.jpg’ in /mounted-storage/home140/sub031/sc76288-XUCJ/omaidi.org/wp-content/plugins/buddypress-group-documents/include/classes.php on line 234
Thanks for any help you can give ,
See ya
August 29, 2010 at 7:52 pm #90856In reply to: Forums Page not Working Properly
Thorsten :-)
ParticipantHi,
I found the error by mayself. It has to do with th pluginBuddyPress Forums Extras – Add CSS classes for Posts/Topics per user level
If you use this plugin you will have problems with your Forums and Groups.
August 29, 2010 at 7:21 pm #90852In reply to: Changing order of pages?
@mercime
ParticipantFirst, build a BuddyPress Child Theme
Then copy header.php from bp-default theme. Lines 45 – 79 show the main navigation links of BP components which you can reorder, and below that are the wp_list_pages and bp_nav_items for BP plugins to hook into.
August 29, 2010 at 6:54 pm #90851August 29, 2010 at 6:46 pm #90849Paul Wong-Gibbs
KeymasterA link like that won’t break the site. It must be something else. Is this something new since you’ve installed a plugin (other than BuddyPress) or changed theme? Most likely, I’d guess it’s an PHP memory error.
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
August 29, 2010 at 6:42 pm #90848In reply to: Show: By Latest Post | By Group
LPH2005
ParticipantUGH. I’m getting so irritated that it’s time to leave the computer. There must be a way to get my site to work like https://buddypress.org/support/topics/grouped/. It seems such a simple request. I can’t believe it isn’t an option or obvious. Nothing I’ve tried seems to work.
Time for a break. Maybe someone with knowledge will take pity here and help.
August 29, 2010 at 6:09 pm #90846In reply to: bp-blog theme as default
Dainismichel
Participantdid ya get those last two issues fixed…
wow, looks like buddypress has come a long way since i asked this however long ago…glad to see the phenomenal progress!
August 29, 2010 at 5:53 pm #90844In reply to: Show: By Latest Post | By Group
LPH2005
ParticipantI’ve been looking at your code and can’t seem to get the GroupName slug to match up with anything. Is the GroupName the URL? Or is it something else?
August 29, 2010 at 5:37 pm #90841Roger Coathup
ParticipantWe came up with a solution to include the featured image (post_thumbnail) in the activity stream. The solution avoids the need to use switch_to_blog
It isn’t simple, but it might help:
We removed the action bp_blogs_record_post and replaced it with our own version that populates the content field with the post_thumbnail (you could also add the excerpt), i.e. `$activity_content = get_the_post_thumbnail( $post_id );`
Unfortunately, bp_blogs_record_activity then takes the image and mangles it. To get around this we had to implement our own version of bp_blogs_record_activity, and call that instead from our blogs_record_post function.
You can see the whole set of code here:
Then in your activity loop, just use bp_activity_content_body() to display the thumbnail / excerpt, etc.
IMHO – bp_blogs_record_activity() needs a rework in the core to give theme designers much more control.
August 29, 2010 at 4:19 pm #90840In reply to: buddypress friend requests RESET
alex
Participantalso would i have to go through the activity tables to .. any help would be great
August 29, 2010 at 3:43 pm #90839In reply to: Problem with Title Tag in Category and Tag
August 29, 2010 at 2:33 pm #90834Hugo Ashmore
ParticipantIf you re-read the page it does say that you can place the files elsewhere to avoid them being overwritten I just stick em in a new folder kept in /plugins/
Flag the account issue to John James Jacoby or @DJPaul
August 29, 2010 at 2:10 pm #90833Hugo Ashmore
ParticipantLocked!
Continued in new post:August 29, 2010 at 2:02 pm #90831In reply to: How to RegEx the output (stream/forum)?
rich! @ etiviti
Participantyou asked this question yesterday (why not just keep it to one thread)
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/search-and-replace-status-text-with-regular-expressions/you will need to use the hooks setup for buddypress or ask the author of that plugin to include the hooks. ie, the hook for the activity content is `bp_get_activity_content` or forums `bp_get_the_topic_post_content` and so forth.
August 29, 2010 at 1:57 pm #90830In reply to: users editing their posts
rich! @ etiviti
Participantallows editing top level status updates (not replies – think after 1.2.6 hits i can hook into a new filter)
https://wordpress.org/extend/plugins/buddypress-edit-activity-stream/
August 29, 2010 at 1:55 pm #90829Hugo Ashmore
Participant
so what happens if you copy the relevent snippet of code from 2010 to BP?This revised section from BP single.php:
`<?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '
‘); ?>
<?php edit_post_link( __( 'Edit', 'buddypress' ), '‘, ‘‘ ); ?>`
N.B. that the comment meta by default has the edit link, but that is part of the comments_template
August 29, 2010 at 1:31 pm #90825Hugo Ashmore
ParticipantEdit// oh those groups

Talk about what exactly then?
The whole site talks about (BuddyPress) plugin development to an endless degree
August 29, 2010 at 1:31 pm #90824@mercime
ParticipantAugust 29, 2010 at 1:25 pm #90823Grakisaurus
Participantits the default nav bar with groups forums etc. … any help would be much appreciated!
it’s for my college thesis!
August 29, 2010 at 1:25 pm #90822In reply to: Problem with Title Tag in Category and Tag
Hugo Ashmore
Participanthere’s a quick adaptation then to give you all words uppercase, as for the order things are written in if you look at the first instance of $title you will see how the various parts are constructed, it’s a string so follows the order you read in, have a play around to get the order of things the way you want. if you want specific characters then you need to look up ‘html character entity codes’ to get things like ‘ » ‘
`function bp_page_title_blog_category_remove_hyphens( $title ) {
global $bp, $wp_query;
if ( defined( ‘BP_ENABLE_MULTIBLOG’ ) ) {
$blog_title = get_blog_option( $current_blog->blog_id, ‘blogname’ );
} else {
$blog_title = get_blog_option( BP_ROOT_BLOG, ‘blogname’ );
}
if ( bp_is_blog_page() && is_category() )
$title = __( $blog_title . ‘| Blog | Categories | ‘ . $wp_query->query_vars , ‘buddypress’ );
$title = str_replace(‘-‘, ‘ ‘, $title);
$title = ucwords($title);
return $title;
}
add_filter( ‘bp_page_title’, ‘bp_page_title_blog_category_remove_hyphens’ );`August 29, 2010 at 1:21 pm #90821In reply to: Having Disqus for comments in a BuddyPress forum
javipas
MemberIt seems Telegraph.co.uk is combining the two systems, but not with full integration http://blogs.telegraph.co.uk/culture/kateday/100044509/telegraph-communities-the-arrival-of-disqus-and-buddypress/
August 29, 2010 at 1:06 pm #90819OnlyBlue
Participant@hnla
Thanks for your reply.
I don’t look for developer or job. I’m looking for a group which talk about buddypress campatibal plugin development.August 29, 2010 at 12:24 pm #90815Jeff Sayre
ParticipantWell, @hnla beat me to the answer by 4 minutes!
-
AuthorSearch Results