Search Results for 'wordpress'
-
AuthorSearch Results
-
March 31, 2010 at 9:48 am #71013
In reply to: BuddyPress-Links 0.3 FINAL is here at last
foxly
Participant@stwc – Found the defect.
The problem is being caused by two blocks of code inside the BPLinks plugin that do not account for the situation where the BuddyPress administrator disables “friend” capabilities for the site.
When friend capabilities are disabled, calling the friends_check_friendship() function will crash the user thread. We handle this problem in BP Album+ by wrapping all calls to this function in a function_exists(‘friends_check_friendship’) statement, only calling the function if it is enabled.
This is a sneaky, subtle defect that could easily be missed during testing; fortunately, BPLink’s clean, well-documented source code made it easy to isolate and correct the problem.
Here’s a simple patch:
1) In “bp-links-classes.php” at line 650
REPLACE:
if ( $link_owner_user_id && $link_owner_user_id != $bp->loggedin_user->id && friends_check_friendship( $link_owner_user_id, $bp->loggedin_user->id ) ) {
$status_opts[] = self::STATUS_FRIENDS;
}
WITH:
if (function_exists(‘friends_check_friendship’)) {
if ( $link_owner_user_id && $link_owner_user_id != $bp->loggedin_user->id && friends_check_friendship( $link_owner_user_id, $bp->loggedin_user->id ) ) {
$status_opts[] = self::STATUS_FRIENDS;
}
}
2) In “bp-links-core.php” at line 1128
REPLACE:
return friends_check_friendship( $user_id, $link->user_id );
WITH:
if (function_exists(‘friends_check_friendship’))
return friends_check_friendship( $user_id, $link->user_id );
else
return null;
============================================================================
WordPress MU 2.9.2
BuddyPress Version 1.2.3
BuddyPress Links Version 0.3.2
BP Album+ 0.1.8 beta
^F^
March 31, 2010 at 6:23 am #70990In reply to: plugin errors
Paul Wong-Gibbs
Keymaster@nagoonline: you have asked this in another post, and we have answered. Do not double-post.
EDIT: Also, sending me a private message is not going to get you a reply any quicker. You could have searched Google to resolve this issue, as it’s a common WordPress “plugins broken my site” question.
March 31, 2010 at 6:17 am #70987In reply to: E-mail domains blacklist doesn't work
Paul Wong-Gibbs
KeymasterDisable BuddyPress and all other plugins. Does the blacklist work? If it doesn’t, it’s a WordPress problem. If they do work with WordPress, re-enable each plugin one at a time until it stops working. If BuddyPress is the culprit, please report a bug ticket on https://trac.buddypress.org/ using your username and password from this site.
March 31, 2010 at 4:30 am #70981In reply to: How to uninstall buddypress
r-a-y
KeymasterRename your /plugins/ folder to something else, then try to access your admin dashboard.
More info available here:
March 31, 2010 at 2:17 am #70974In reply to: BP core functions in bbpress?
deities1
MemberAlready tried that as well. I’m not able to call ANY bp functions outside of wordpress for some reason.
March 31, 2010 at 2:13 am #70973In reply to: Bring a post in from another blog
Anointed
Participanthttps://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/ is almost the pefect tool for this. It doesn’t allow you to choose which ones to bring in, it brings them all in.
I found one glaring problem though and it has to do with images in posts from other blogs. Basically when a post is made on another blog, it seems that it is automatically copied behind the scenes to the primary blog, only the title will link back to the original blog.
The problem with images, is that when wordpress gallery inserts images into a post, it uses a relative path and that is what is saved. Because that is what is brought over to the original blog, when the loop tries to display the image, it has no way of knowing what the blog id# of the image truly is.
example: http://uwcmi.org/site-blog/
the 4th article down is ‘welcome to the support blog, if you click the title, notice it takes you to another domain. I did nothing to make this happen, it is all automated. When I created the post on the other blog, it was automatically added to my primary buddypress site blog.
If I could find a way around the image problem, then at least for me it’s the perfect solution to what your asking for
oh yeah, has the same duplicate activity problem as other plugins mentioned above. solution to that lies in http://teleogistic.net/2009/12/streamlining-group-blogs/#comment-7023
March 31, 2010 at 2:05 am #70970In reply to: Bring a post in from another blog
r-a-y
KeymasterFound another plugin:
Vote2Republish:
https://wordpress.org/extend/plugins/vote2publish/
Could probably modify the code to remove the voting part.
March 31, 2010 at 2:03 am #70969In reply to: BP core functions in bbpress?
deities1
MemberI don’t know why WordPress can access the BP functions but not bbpress though.
March 31, 2010 at 1:48 am #70965In reply to: Bring a post in from another blog
r-a-y
KeymasterThere are a few options:
1) Featured Posts MU – https://wordpress.org/extend/plugins/featured-post-mu/ – uses a template tag that you can add to your homepage template or a widget.
2) BP Sitewide Featured Posts – http://dev.benoitgreant.be/blog/2009/11/buddypress-sitewide-featured-posts/ – uses a widget, but you could setup a widgetized frontpage and then you can use this widget. You could probably also modify the code to use it as a template tag.
[EDIT]
I misread your post, Wayne.
If you want the post’s content from another blog to reside on your main blog, you should think about making the user a contributor on your main blog. Then you won’t run into this issue.
March 31, 2010 at 1:42 am #70962In reply to: BP core functions in bbpress?
deities1
MemberAlready tried it ….
WordPress functions I add in bbpress work … Buddypress functions don’t.
March 31, 2010 at 1:36 am #70958In reply to: BP core functions in bbpress?
deities1
MemberDeep integration isn’t working for me for some reason … or at least I can’t access BP functions. WordPress functions work fine. (I use get_header(); with success)
March 31, 2010 at 1:31 am #70956In reply to: BP core functions in bbpress?
r-a-y
KeymasterYou need to call WordPress into bbPress.
Add this to the top of your bb-config.php (right after the <?php line):
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
define('WP_USE_THEMES', false) ;
include_once($_SERVER['DOCUMENT_ROOT'] . '/wp-blog-header.php');
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy") ;
}Then you can use WP/BP functions in bbPress.
March 30, 2010 at 10:52 pm #70938In reply to: Create a Site Forum
Craig Sunney
ParticipantI think the answer is YES for the following reason:
I do want to investigate the possibility of limiting access to certain forums to “groups” and then investigate how to link those groups somehow to “roles” from the WordPress side.
..is answer still to add line of code to wp-config ?
March 30, 2010 at 10:12 pm #70925In reply to: FAQ: How To, Code Snippets and Solutions
r-a-y
KeymasterBuddyPress isn’t sending out emails (eg. activation emails, email notifications)
This appears to be a problem with certain web hosts (Bluehost primarily).
Members of the BP community have had success using the “Mail From” plugin:
https://wordpress.org/extend/plugins/mail-from/
Try this and reply in the following forum thread if it doesn’t work:
https://buddypress.org/forums/topic/email-notification-not-working
March 30, 2010 at 9:29 pm #70913In reply to: Create a Site Forum
r-a-y
KeymasterIt should be quite simple to add to the activity stream if you’re using a deep integrated install (loading WordPress into external bbPress). Because then you’d have access to WP’s (and consequently, BP’s) functions.
March 30, 2010 at 8:27 pm #70900In reply to: Create a Site Forum
Craig Sunney
ParticipantThanks for this r-a-y.
Would you suggested tutorial also apply also for single WP installs?
–>http://theeasybutton.com/blog/2009/07/17/integrating-buddypress-wordpress-mu-and-bbpress/
or is there a better one?
and
Is there a way you know that would allow me to limit forums to roles beyond just the default “member”…
I have additional roles setup and would like to limit specific forums to those roles.
March 30, 2010 at 8:11 pm #70898In reply to: Buddypress and wp-wishlist help
Craig Sunney
ParticipantLast night I ran through a setup and successfully installed Buddypress 1,2,3 on WordPress 2.9.2 without hitch. Nothing inside WP-Wishlist member stopped working.
So for me it works with WP-Wishlist as Armand above says.
My next problem is to get the Thesis 1.6 Child theme (called Genealogies) to play nice with Buddypress
March 30, 2010 at 7:30 pm #70892In reply to: Group members not showing up
jim2112
ParticipantI get the same behavior in both WordPress standard and MU on my test server. Yes they are public groups.
Any ideas here? I must be missing a setting somewhere, no?
March 30, 2010 at 7:20 pm #70886@mercime
ParticipantGood one Xevo. For external bbpress in one install, I use https://wordpress.org/extend/plugins/bbpress-latest-discussion/ with template tags you could use for home page and/or sidebar. Works well also with another install with internal bbpress enabled via BuddyPress.
March 30, 2010 at 5:58 pm #70865In reply to: Installing BP with existing theme
stevegmmaccom
MemberThank you. The person that did our theme has always said that running a forum from a plug-in is not a good idea. So, I have emailed him to see if he sees any compatibility issues with this plug-in. But, I assume that since Buddy Press is from the people at WordPress, it should work fine.
Thanks,
Steve
March 30, 2010 at 5:49 pm #70861In reply to: Installing BP with existing theme
stevegmmaccom
MemberThank you for your comments. They are very helpful. So, this plugin (https://wordpress.org/extend/plugins/bp-template-pack/) adds all of the functionality to my existing blog with no other files being installed? I won’t have to install another wordpress for BP, or anything?
March 30, 2010 at 5:46 pm #70860In reply to: Installing BP with existing theme
r-a-y
Keymaster1) Use the BP Template Pack plugin:
https://wordpress.org/extend/plugins/bp-template-pack/
Please follow all of the steps involved.
2) Probably possible but will get messy trying to get cookies and login info integrated. You could try using WPMU or wait a few months when WP 3.0 is released and when BP is made compatible with WP v3.0.
March 30, 2010 at 5:05 pm #70852In reply to: Upgrade, then fresh install, generates error 500
simplescripts
MemberThe trouble was a line in the .htaccess file that was not edited properly. For anyone else having this trouble (it has been fixed on the SimpleScripts end) the line that needs to be changed is:
RewriteBase /wordpress-mu/
to
RewriteBase /your-installation-directory/
(replacing with your directory)
OR
RewriteBase /
(if your installation is in the root of your domain eg. http://www.yourdomain.com instead of http://www.yourdomain.com/buddypress)
March 30, 2010 at 4:41 pm #70845sueme
ParticipantI’m currently running an active site, and having followed the instructions in https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory I’ve got all my files in a mysite/wordpress file with everything in the wordpress folder but the index.php and .htaccess files in the home directory. that’s given the whole of my site a mysite address rather than a mysite/wordpress address.
This sites been up a while and works well, but I’m having trouble getting BuddyPress to work on it. Whatever I try, I seem to end up with half the site still on mysite (whilst everything in mysite/wordpress is coming up unobtainable); or half the site on mysite/wordpress (whilst everything in mysite is unobtainable).
Am I right in thinking that I can simply add the following to wp-content/plugins/bp-custom.php or is it more complicated than this?
function my_bp_override_core_domain() {
$domain = get_bloginfo('url');
return $domain;
}
add_filter('bp_core_get_root_domain','my_bp_override_core_domain');There’s quite a bit of activity on the site, so I don’t want to start from scratch, but I would like to get BuddyPress on it.
March 30, 2010 at 4:18 pm #70841Windhamdavid
ParticipantI think this a great idea for the wordpress track ~ I’m with @djpaul.. WordPress plugins should be able to declare a parent plug. I can declare that a piece of javascript has dependencies, or a theme, but not a plugin.. Are some of the more robust plugins (ecommerce, nextgen, etc) with sub plugins handling this? Someone should file an enhancement ticket.. this is very logical and would increase interest in child plugs, like those for BuddyPress.
-
AuthorSearch Results