Search Results for 'wordpress'
-
AuthorSearch Results
-
September 28, 2009 at 9:49 pm #53207
In reply to: Members directory shows blank profile
Jeff Sayre
ParticipantOkay, a few questions to start:
- From your description, it is not clear how you’ve attempted to debug your setup. When trying to figure out an issue with BuddyPress, it is best to distill your environment down to the lowest common denominator. This means switching to the default BP theme and deactivating all plugins except BP. It is not clear if you did this completely or just partially. In other words, you need to fully test your BP install without any 3rd-party addons. If it works in that state, then you can safely assume it is an issue with a custom theme, another plugin, or both. So, did you reset BP to its lowest common denominator?
- What errors are you seeing in your server’s log files?
- Could you please provide details about this setup:
I have Buddypress installed in a subfolder with another wordpress installation in the root…
September 28, 2009 at 5:16 pm #53193takuya
ParticipantDO NOT use installers other than default wpmu plugin installer. Install buddypress from wordpress plugin installer, or set it up manually with FTP/SSH.
And make sure to activate the theme before you select themes. Which is explained in wpmu documents.
September 28, 2009 at 5:01 pm #53187In reply to: Extending WordPress Themes – Post Experiences
Detective
ParticipantMy approach is kind of weird.
First:
I needed a custom BP framework. So I started looking at the old Skeleton Theme. The first thing I noticed is that I didn’t want a fixed layout BP theme, so I removed all sidebars in each template file and wrapped the content inside a function.
This means that every template file of my BP theme was something like this:
<?php
/* my license ... GPL2 of course
*/
function this_file_content() {
?>
just the content of the page, without sidebars
<?php
}
my_layout_generator( 'this_file_content' );The magic is in my_layout_generator, which defines the html layout of each page. This includes sidebars and other stuff. The sidebars are fully widgetized, and I have custom widgets like “BP Options Bar” and “BP User Bar”, etc. Their content is also managed through actions.
my_layout_generator can mimic any WordPress theme, you just have to write the “skeleton layout” of your target theme.
Second:
This BP framework must be integrated with the WP theme. I setup the framework as child-theme and the original WP theme as parent theme.
Considering this, my_layout_generator has the following body (simplified from the original):
function my_layout_generator( $content_func = '' ) {
get_header();
?>
<div id="container">
<?php
if ( !empty( $content_func ) && is_callable( $content_func ) )
call_user_func( $content_func );
?>
</div>
<div id="sidebars">
<?php // your sidebars code ?>
</div>
<?php
get_footer();
}This uses the original theme headers and footers. I just need to provide the correct markup in the content!
There are other things to care about, like page title. Probably the header of the original theme uses wp_title instead of the BP title. Luckily, wp_title can be filtered! This is actual code from my framework:
add_filter( 'wp_title', 'gs_wp_title' );
// we need to put the current page title on the wp_title filter, so thesis will catch it
function gs_wp_title($title, $sep = '', $seplocation = '') {
if ( bp_is_blog_page() )
return $title;
global $bp;
if ( !empty( $bp->displayed_user->fullname ) ) {
$title = strip_tags( $bp->displayed_user->fullname . ' — ' . ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_nav[$bp->current_component][$bp->current_action]['name'] );
} else if ( $bp->is_single_item ) {
$title = ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_title;
} else if ( $bp->is_directory ) {
if ( !$bp->current_component )
$title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( BP_MEMBERS_SLUG ) );
else
$title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( $bp->current_component ) );
}
return $title;
}Now we have an integrated BP theme framework
Mine is integrated with Thesis, I think other themes will be much easier to integrate because you can directly copy their layouts from their template files.
September 28, 2009 at 4:34 pm #53173In reply to: Forum URLs aren’t picked up as links
Andy Peatling
KeymasterI don’t understand the problem here.
@wordpressfan: your bug is related to the achievements plugin by the look of that error, not BuddyPress itself.
September 28, 2009 at 4:04 pm #53169In reply to: Sitewide search
Michael Berra
ParticipantI ended up using this plugin and I am really happy with it: https://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/
Tags, Categories and search (if you want to) – works great!
September 28, 2009 at 9:50 am #53155In reply to: Widget Ajax Problem on Members/Groups
Paul Wong-Gibbs
KeymasterThis thread is a) old, b) about plugins rather than BuddyPress itself and c) about to be eaten by a grue.
Any uncompatibilities need to be discussed with the authors of these plugins. There is also enough google results about jquery incompatibility with WordPress and plugins.
September 27, 2009 at 8:15 am #53130In reply to: How To Edit Title Tags?
r-a-y
KeymasterTry SEO for BuddyPress:
https://wordpress.org/extend/plugins/seo-for-buddypress/
Make sure you remove your <title> tag in your BuddyPress theme otherwise you’ll have double <title> tags.
Not sure about the plugin’s compatibility with BP 1.1-RC1.
—
Also just some friendly words of wisdom… try not to bump your post less than 24 hours after you have posted.
September 26, 2009 at 5:04 pm #53116In reply to: BuddyPress Spam
wordpressfan
ParticipantI read your example. I need something with a wider net. First off, the robot registration never leave an e-mail address. Unlike WP comment spam, WPMU registration robots appear able to bypass required fields, including e-mail address.
I receive e-mails announcing new registrations that contain only IP addresses. Meaning I would need to include hundreds of IP addresses in your code.
The real solution is somehow create a bullet-proof required registration field or move the registration page behind a firewall. I’ve seen single-user WordPress installations that move the wp-admin or wp-signup pages to avoid robot attacks using the default name and location of these pages.
September 26, 2009 at 4:24 pm #53115In reply to: Limiting Access to Registered Users?
danbpfr
ParticipantMany links here to “restrict access”
September 26, 2009 at 4:13 pm #53113In reply to: Limiting Access to Registered Users?
danbpfr
ParticipantDid tried this plugin ?
https://wordpress.org/extend/plugins/wp-members/
Seems to do what you looking for.
September 26, 2009 at 4:03 pm #53112In reply to: BuddyPress Spam
danbpfr
Participant@ wordpressfan
Did you read this post ?
I give a solution. Not perfect but it works
https://buddypress.org/forums/topic/fighting-splogs#post-22687
September 26, 2009 at 2:49 pm #53109In reply to: BuddyPress Spam
wordpressfan
ParticipantAskimet does great catching spammers comments on regular WordPress installations, but WordPress MU is commonly the target of spam registrations, which is my problem. I tried reCaptcha and the same day had to delete spammers.
I’m hoping a future version of BuddyPress or WPMU will include finer security, allowing admins to block access to only humanly-registered users, rather than either shut off all registrations. Another possibility would be to follow the example of WordPress and allow admins to relocate or rename the registration component.
September 26, 2009 at 8:54 am #53104In reply to: Fatal Error installing BP 1.0.3
Paul Wong-Gibbs
KeymasterWhat socialpreneur said.
Your error message usually means you are trying to run BuddyPress on regular WordPress, not WordPress MU. Are you sure you have installed WPMU? Where did you download it from?
September 25, 2009 at 11:31 pm #53090In reply to: SI CAPTCHA for WPMU and BuddyPress
Mike Challis
ParticipantBeta is closed. 2.00 is released.
https://wordpress.org/extend/plugins/si-captcha-for-wordpress/
September 25, 2009 at 8:19 pm #53083In reply to: SI CAPTCHA for WPMU and BuddyPress
Mike Challis
Participantbeta Version: 1.9.4 – Supports BuddyPress 1.0.3 and 1.1
Same download URL:
http://www.642weather.com/weather/scripts/si-captcha-for-wordpress1.9-beta.zip
Testers?
September 25, 2009 at 6:11 pm #53078In reply to: SI CAPTCHA for WPMU and BuddyPress
Mike Challis
ParticipantI think I figured it out.
Anybody with BudyPress 1.1 want to test the registration CAPTCHA for me?
beta Version: 1.9.3
Same download URL:
http://www.642weather.com/weather/scripts/si-captcha-for-wordpress1.9-beta.zip
September 25, 2009 at 4:24 pm #53066In reply to: BBpress Plugins in V1.1
John James Jacoby
KeymasterSince there’s no admin panel in the integrated bbPress, you’d be best to try to port those bbPress plugins into a WordPress one, and add any BuddyPress specific features to it.
September 25, 2009 at 4:09 pm #53061In reply to: SI CAPTCHA for WPMU and BuddyPress
Mike Challis
ParticipantThanks for testing.
Did you install in plugins or mu-plugins?
Did you activate the plugin?
What version does it say it is?
9 hours ago I uploaded beta Version: 1.9.2
Same download URL:
http://www.642weather.com/weather/scripts/si-captcha-for-wordpress1.9-beta.zip
It had a fix for changing settings on WPMU forced activation installs.
Make sure the plugin is newest version or it may contain wpmu related bugs.
Mike
September 25, 2009 at 6:55 am #53041In reply to: Ads with buddypress
takuya
ParticipantMost such wordpress plugins work with wpmu. The best thing is to build a test site, install each plugin that you are interested, and test it.
September 25, 2009 at 2:46 am #53034In reply to: BuddyPress Spam
r-a-y
KeymasterHey wordpressfan, understand that BuddyPress runs on top of WordPress MU so any spam issues are still, at its core, a WPMU issue.
The WPMU readme.txt has some info on how to counter spammers:
https://trac.mu.wordpress.org/browser/trunk/README.txt (read line 165 and on)
For the Darcy Norman link, use WPMUTutorials’ variation for BuddyPress:
http://wpmututorials.com/how-to/spam-blogs-and-buddypress/
—
Also, for your suggestion on moderating signups, WPMUTutorials also has an article on that:
http://wpmututorials.com/hacks/how-to-moderate-signups/
Read the last comment in that post for info on modifying the article’s instructions for BuddyPress.
—
You might also want to check out SI Captcha:
https://buddypress.org/forums/topic/si-captcha-for-wpmu-and-buddypress
The beta version has support for BP as well.
Hope that helps in some way!
September 24, 2009 at 4:02 pm #53021In reply to: P2 Theme As The Wire/Wall?
abcde666
ParticipantHi JJJ,
are you still working on this ?
Where to find “BuddyPress/WordPress theme repo” ?
Thanks a lot !
September 24, 2009 at 12:57 pm #53012In reply to: Selected class for groups
Jayson
ParticipantCheers for checking it out. I apologise for my bad description. I am new to Buddypress, and just testing it out at the moment. I just assumed that this was how it worked, much like sub-pages in vanilla wordpress.
September 24, 2009 at 12:37 pm #53006In reply to: Can I do this..
John James Jacoby
KeymasterYou could add them via the wordpress admin, but you’ll still need to go back and edit their xprofile display name for them to be “visible” inside BuddyPress.
September 24, 2009 at 12:26 pm #53001In reply to: Can I do this..
John James Jacoby
KeymasterYes it’s possible but it will take some integrating with existing WordPress plugins to make it so. Best place to start with BP specific code is the codex; http://codex.buddypress.org
I’m trying to add a little to it everyday if I find the time, so it should keep getting more and more documented with code snippits and examples.
September 24, 2009 at 12:15 pm #52999In reply to: Using Custom Userbar.php
John James Jacoby
Keymaster@wordpressfan, yes go ahead and copy the files over from the parent theme into your child theme, and modify from there. Anything in your child theme will override the files from the parent.
-
AuthorSearch Results