Search Results for 'wordpress'
-
Search Results
-
I am planning on purchasing Wishlist, but I am also planning on using BuddyPress. If I am using WordPress 3.01, can both Wishlist and BuddyPress work together in one website run by WordPress.
If not would you please let me know why?
I’ve a site which grabs a fairly large number of submitted blog feeds for syndication. They come from all over – wordpress.com, blogger, individual blogs on various platforms. Recently an issue has arisen where in a lot of feeds the first image is a tweetmeme or a stats tracker. Since we are pulling the first image and showing it at 150px wide, this looks awful.
We can individually contact those submitting feeds to resolve this, but it’s like playing whack a mole, and I’d prefer to somehow filter them out. I am doing this in the standard WordPress pages within a function that grabs the first image from the feed, then filters out those containing certain strings – ‘api’, ‘stats’. ‘tracker’ etc. I’m trying to figure out how to do it here.
I’ve located the function that shows the thumbnail – in shortened version below:
function bp_activity_thumbnail_content_images( $content ) {
preg_match_all( ‘/]*>/Ui’, $content, $matches );
$content = preg_replace(‘/]*>/Ui’, ”, $content );
if ( !empty( $matches ) ) {
/** —- stuff about image size —*/if ( !empty( $src ) ) {
/** —- stuff about image size —*/$content = ‘
‘ . $content;
}
}return apply_filters( ‘bp_activity_thumbnail_content_images’, $content, $matches );
}I’ve made some attempts at a filter, but I am going nowhere. Basically I don’t really know what I am doing, which is probably stating the blindingly obvious.
function lose_rubbish_images ($src) {
if(stristr($src, ‘tracker’)) {
$content = ”;
} elseif(stristr($src, ‘api’)) {
$content = ”;
} elseif(stristr($src, ‘stats’)) {
$content = ”;
} elseif(stristr($src ‘statistics’)) {
$content = ”;
}}
add_filter(‘bp_activity_thumbnail_content_images’,’lose_rubbish_images’);Can anyone point me in the right direction?
This should not be difficult. I just don’t know how. I want to limit people who register on my buddypress site to those who go to a certain school. The easiest way would be to whitelist the domain myschool.edu on the registration page and not allow any other signup, at least for the initial registration. I don’t care if people change their address afterwards.
How can I do that? Before I installed buddypress, I was using a whitelist plugin and it worked fine with the regular WordPress installation (3.01). It doesn’t seem to stop non ‘myschool.edu’ registrations anymore.
Thanks for any help.
Greetings!
I am new to wordpress and buddypress.. I have been running a ning network for a couple of years and figured I’d take a look at shifting it all to a buddypress system instead.I have installed wp and bp successfully.. and was installing a bunch of plugins when I hit a snag..
I intalled (from the dashboard) the ‘qtranslate admin’ plugin – I think its this one http://buddypress.org/community/groups/buddypress-qtranslate/members/ –
and now whenever I view a buddypress page I am seeing the following error message:Fatal error: Call to undefined function is_user_logged_in() in *internal server path – removed by me, nick, manually in this forum post* /public_html/infiniteeureka.com/wordpress/wp-content/plugins/bp-translate/includes/bp-translate-user.php on line 103
Does anyone have any idea how I can fix this? Am I even posting this message in the right forum?
cheers
ive been trying for the past few days now to install a clean copy of wordpress 3.0.1 and buddypress
however they never seem to work on my server. I keep getting a fatal error: allowed memory size of 33454……
anyways, I have a dedicated server, pentium 4, QUAD processor, with 4 gigs of DDR.. Ive edited my php.ini file to allow way more memory then what its asking…I have yet to get your plug in to work… any suggestions on what are the best versions of wordpress for buddypress and the best version of buddypress…
Hi is it possible to have 2 separate themes active on wordpress. One dedicated for the blog and another for the BuddyPress. Basically I’m using a custom theme on my website with the Theme Compatibility Pack plugin, the theme doesn’t really fit into the buddypress. So I was wondering if It was possible to use a theme such as Test Drive Buddypress theme or any other theme for my Buddypress. How is this possible?
Thanks.
Topic: How is a user created
I’m trying to find information on how a buddypress user is created from the wordpress manual add user method.
For example, in wordpress, if I go to “Users” and then “Add New”, fill in all the details and submit the form, the _usermeta and _users database tables are populated as normal but how is the buddypress _xprofile_data table triggered to populate?
Thanks
)