Forum Replies Created
-
OK, I found the solution. For those who need that here is the solution:
Add this to your functions.php:
`function my_query_filter( $query_string ) {
$query_string .= ‘&per_page=10’;
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_query_filter’ );`I can integrate your WP theme to BP. If you need help just let me know.
@DJPaul I had that infection issue three times on my web site and I had to re-upload all files to the server. I think this happens when safe mode is off. Now I want to install BP to another site and to upload avatars, I need to turn safe mode off. If I do that, does that cause same infection issues?
@rossagrant Unless someone merges virus to PDF, yes it’s safe
Here’s the example script:
http://downhomeconsulting.com/Downloads/Country_State_Drop_Down/demo.html
I think it’s about “onchange” event, right? But how can I integrate this to the fields?
I think this option should come back. Because I want to add e.g. Country field to the registration page. I have to add the countries one by one… How can I do that without losing time? With that option of course… We want that option back
Nope. My child theme might caused such a problem but it’s not related with “Reply” button. Child theme’s style.css has “@import url(bp-default/_inc/default.css” code, so it loads id’s and classes from this file. What might be the problem?
add this to your iframe code’s “style” tag:
vertical-align: top;
@r-a-y I tried it now and saw that, there is no problem with the groups I created recently. When I navigate to Group Settings and click Save Changes, it’s OK. After I do that, I click to Group Details and click to Save Changes again, everything is fine. There’s a problem about updating group settings I guess. How can I optimize all of groups? I have almost 200 groups.
There’s a really huge problem with the plugin’s current version. A fix is really needed… I had blank page error with it.
My problem was the oohembed.js file. I removed it from header.php and it works well.
@minniwelt OK, you can download and activate the plugin to fix your rss issue. I fixed myself with that way. Here’s the link:
OK. I thought BP Group CSS plugin may cause the problem but I was wrong and you confirmed that…
@ronia I’m not sure but there’s one more thing… Are you using BP Groups CSS plugin?
I also developed my first plugin for this issue It’s gonna be published soon I think.. It’ll be added to the Plugins directory as soon as it’s on air.
Thanks.
OK, I fixed that by myself
Paul has a lot to do I guess… Right @DJPaul?
OK @minniwelt I’m sure you’re expecting to see the fix. Here’s the solution:
In bp-activity-templatetags.php file, line 911, you’ll see that:
$title = trim( strip_tags( html_entity_decode( utf8_encode( $content[0] ) ) ) );
What causes the corrupted characters is “utf8_encode” thing. I’m already using my site as UTF-8. So second attempt for the UTF-8 might be the problem. I defined a new function for myself and problem solved. Put this function to your theme’s functions.php file:
//feed character correction function by alierkurt.net
function rssfeedcharcorrection() {
global $activities_template;if ( !empty( $activities_template->activity->action ) )
$content = $activities_template->activity->action;
else
$content = $activities_template->activity->content;$content = explode( ‘<span', $content );
$title = trim( strip_tags( html_entity_decode( $content[0] ) ) );if ( ‘:’ == substr( $title, -1 ) )
$title = substr( $title, 0, -1 );if ( ‘activity_update’ == $activities_template->activity->type )
$title .= ‘: ‘ . strip_tags( bp_create_excerpt( $activities_template->activity->content, 15 ) );return apply_filters( ‘rssfeedcharcorrection’, $title );
}
add_filter(‘bp_get_activity_feed_item_title’, ‘rssfeedcharcorrection’);That’s all! And let me know if this works for you too…
Wow! I’m becoming a better developer every single day I think I’m gonna rock BP community soon…
My bp-custom.php doesn’t work. I can run my functions via my functions.php file. How can I run bp-custom.php instead of functions.php?
“My Groups” show +1 for me and the count isn’t correct. I leave a group and it still seems that I’m the member of +1 group. For example if I really a member of 4 groups, it shows (5)… Isn’t it weird?
I checked the bp-groups-classes fix (trac no. 3041) but it didn’t work. How to fix that?
Didn’t know that plugin. I solved this problem with my own function…
@ronia you should put bp-custom.php file into the wp-content/plugins folder. Don’t put it into plugins/buddypress. Becasue bp-custom is a custom file which runs before your BP plugin. So that’s how it works.
@bennadler I didn’t use your code but I re-uploaded all files into the root directory and it worked.
OK. I’ve uploaded my all subdomain fiels to the root and it works now. I’ve upgraded to 1.2.5.2 and now it works. But I still have some avatar issues. For example, I can’t see some of my group and member avatar thumbnails. When I try to re-upload an avatar, it works.
Aha! That’s a great question caplain What I say was inviting people to your site. It’s not about adding friends.
But if you’re talking about adding friends, you should be seeing “add as friend” button in the member’s single profile. If you’re not, try to upload the bp-default theme folder to your “themes” directory.
Hope this helps…
Hello caplain. You can use plugins for this. I’m using Invite Anyone. You can search Extend section by typing “invite” and visit WP Plugins Directory at https://extend.wordpress.org/plugins
@johnjamesjacoby Yeah John. I see the files in the directory but there is a problem to reach them. When I try to go to the url files/avatar.jpg it says “Not Found”. I try to go to the wp-content/blogs.dir/1/files/avatar.jpg it says “Not found” again. So there’s a huge problem and ? really need to fix it. Hope you help me asap because my site is still down.