Search Results for 'wordpress'
-
AuthorSearch Results
-
January 12, 2013 at 9:09 pm #150455
@mercime
ParticipantDoes it mean that the user profiles (wp profiles and bp extended profiles) are also unified/sync’d?
Other than usernames No. BP Extended Profiles has a more complex set up than the WP profiles
make twenty twelve compatible with buddypress
@mitesh-patel I’ve posted the walkthrough for BP Template Pack with the Twenty Twelve Theme at http://wp.me/p1I84P-4d let me know how it works out for you.
January 12, 2013 at 6:50 pm #150444@mercime
Participanti will try to adapt it to new bbPress soon. But i was hesitating as i thought it already exists
@imath checking https://wordpress.org/extend/plugins/tags/bbpress
– I see bbPress update status but that’s automatic, not quite what some would want
– There’s also the getshopped one, but it’s not been updated since WP 3.2.1 and looking through documentation it’s not quite what your plugin does quite so nicely.Thanks again for a cool plugin.
January 12, 2013 at 5:26 pm #150439In reply to: Totally private Buddypress site
modemlooper
ModeratorBuddyPress overides urls and such. Regular WordPress plugins do not always take BP into consideration. BP 1.7 should work better with WordPress plugins as it uses page.php to display content instead of hijacking urls
January 12, 2013 at 4:39 pm #150434In reply to: Member profiles private vs. public
Ben Hansen
ParticipantIt’s called an author archive page and it is automatically generated by your theme more info on that can be found here:
https://codex.wordpress.org/Author_Templates#Custom_Author_Information
January 12, 2013 at 1:11 pm #150416In reply to: Shortcodes – Disable WordPress automatic formatting
m1000
ParticipantThanks! It works. The whole code will be:
`function my_formatter($content) {
$new_content = ”;
$pattern_full = ‘{(\[raw\].*?\[/raw\])}is’;
$pattern_contents = ‘{\[raw\](.*?)\[/raw\]}is’;
$pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);foreach ($pieces as $piece) {
if (preg_match($pattern_contents, $piece, $matches)) {
$new_content .= $matches[1];
} else {
$new_content .= wptexturize(wpautop($piece));
}
}return $new_content;
}remove_filter(‘the_content’, ‘wpautop’);
remove_filter(‘the_content’, ‘wptexturize’);remove_filter( ‘bp_get_the_topic_post_content’, ‘wptexturize’ );
remove_filter( ‘bp_get_the_topic_post_content’, ‘wpautop’ );add_filter(‘the_content’, ‘my_formatter’, 99);
add_filter(‘bp_get_the_topic_post_content’, ‘my_formatter’, 99);`January 11, 2013 at 11:34 pm #150369In reply to: Cannot Edit, Delete, Open or Sticky Forum Topics
kpolkson
ParticipantI am going to have to dredge up this topic again as I have gone through the process of completely reinstalling wordpress 3.5 and the latest version of buddypress 1.6.3 to a fresh new Ubuntu server with only my custom theme, database and alterations to buddypress that were not in the buddypress core file (obviously since the old one has been nuked) and I am still getting a 404 response (from within our wordpress page, not an apache 404) whenever I try to edit, sticky or delete a topic in the forums.
this is still the case even with the default buddypress theme.
This is a buddypress set up to do groupt forums, not sitewide and I do not have bbpress running at all (though interestingly enough, when bbpress was running alongside buddypress, I was not getting our site’s 404 response, but was getting a new topic form and the notification of “Oh bother, there are no topics here” – 0r something like that)
would really like to get this figured out as it is pretty critical and I don’t know how else to debug this (there has to be *some* clues as to why this is happening.)
thanks in advance.
January 11, 2013 at 11:18 pm #150367In reply to: View Profile Page?
Ben Hansen
Participanti believe you are mistaken the buddypress profiles can only be filled out in the front end (even for admins) the wordpress backend profile is separate (other then a few items).
January 11, 2013 at 7:10 pm #150325In reply to: No Flood Control – Buddypress 1.6.2
Hugo Ashmore
ParticipantGreat are you going to patch it for us then 🙂
Patches can be returned on a ticket to: buddypress.trac.wordpress.org/
January 11, 2013 at 5:32 pm #150316In reply to: Manual vs. SimpleScipts install
modemlooper
ModeratorYou will need to backup database, download wp-content folder, delete everything including database, create fresh database, install wordpress and buddypress manually, upload the contents of your downloaded wp-contents folder, import saved database backup.
January 11, 2013 at 4:06 pm #150308In reply to: Activity Stream Date Format
danbpfr
Participantview here, this can perhaps inspire you https://github.com/alex11/wordpress-plugins/blob/master/rs-buddypress-activity-refresh/rs-bp-activity-refresh.php
January 11, 2013 at 3:47 pm #150304In reply to: Shortcodes – Disable WordPress automatic formatting
danbpfr
ParticipantHi @m1000,
all forum filters are listed in bp-forums/bp-forums-filters.php
ie :<code>remove_filter( ‘bp_get_the_topic_post_content’, ‘wptexturize’ );
remove_filter( ‘bp_get_the_topic_post_content’, ‘wpautop’ );
remove_filter( ‘bp_get_the_topic_latest_post_excerpt’, ‘wpautop’ );</code>and many others ! 😉
January 11, 2013 at 3:35 pm #150301In reply to: Activity Stream Date Format
danbpfr
ParticipantHi @amalsh,
all this can be done if you create a child theme.
Date format is explained in the WP codex. https://codex.wordpress.org/Formatting_Date_and_Time
And for the other question: https://buddypress.org/support/topic/how-to-remove-active-xyz-hours-ago/
January 11, 2013 at 10:11 am #150276Mitesh Patel
ParticipantThank you @mercime.
A small follow-up question on user sign-on/registration. As you clarified, there is a unified login for all wp and bp/bb components. Does it mean that the user profiles (wp profiles and bp extended profiles) are also unified/sync’d?
With regards to the twenty twelve – Buddypress compatibility, let me elaborate my set-up a little.
Twenty twelve is not compatible with buddypress out of the box (like bp-default theme is), so one needs to use bp-compatibility-pack plugin (or can be done manually) to copy-paste buddypress specific .php templates and other files to the theme directory. This also includes buddypress style sheet (bp.css) which seems to be a copy-pasted part from bp-default style.css.
Thus, when you make twenty twelve compatible with buddypress (I am doing this on child theme of twenty twelve), the styles of buddypress components resembles to bp-default (rather than twenty twelve). If one deletes all the css from bp.css, one gets plain styles (these are twenty twelve styles but as there is nothing in twenty twelve styles for bp, they are as good as plain). Fixing these plain styles would be like making a completely new theme from scratch (like styling _s theme) for bp component pages/sections. There doesn’t seem to be a simple workaround about this.
January 11, 2013 at 4:10 am #150264In reply to: installation wizard failing
@mercime
ParticipantWeird, my WordPress claims it is the most current version.
@bkvwordpress I recall that happening in a friend’s site which was installed with a webhost script like fantastico or scriptalicious or something similar. Did you use a webhost script for your WP install?
January 11, 2013 at 3:23 am #150259In reply to: installation wizard failing
BKVWordPress
ParticipantWeird, my WordPress claims it is the most current version. Please forgive this oversight. Looks like I have some updating to do.
Thank you for your response!
January 11, 2013 at 3:19 am #150258In reply to: [Resolved] wordpress database error
@mercime
ParticipantGreat. Thanks for posting back here. Marking this as resolved.
January 11, 2013 at 3:18 am #150257In reply to: installation wizard failing
@mercime
ParticipantUsing 1.6.2 version of BuddyPress, as well as WordPress 3.3.1
@bkvwordpress BuddyPress 1.6.2 is compatible with WordPress 3.5 not version 3.3.1
January 11, 2013 at 3:15 am #150255In reply to: installation wizard failing
BKVWordPress
ParticipantHello, I am having this exact same issue. Using 1.6.2 version of BuddyPress, as well as WordPress 3.3.1
Any ideas? My first install and I’m a bit lost.
I have tried to reload it multiple times, but as always the result is the same.
January 11, 2013 at 1:37 am #150243In reply to: [Resolved] wordpress database error
crepmaster
Participantthanx issue solved with the update to 1.4.5
January 11, 2013 at 1:10 am #150240@mercime
ParticipantYou could start off with https://wordpress.org/extend/plugins/buddypress-courseware/
Their support forum https://wordpress.org/support/plugin/buddypress-coursewareJanuary 11, 2013 at 1:05 am #150238@mercime
Participant1. yes
2. n/a
3. I will check this out and post a url for fix if necessary.
January 11, 2013 at 12:53 am #150235In reply to: Add media problem after upgrading to WP 3.5
@mercime
Participant@bibliata if you deactivated BP as mrjarbenne advised above and you still cannot add media, please post this issue at https://wordpress.org/support/
January 11, 2013 at 12:17 am #150226In reply to: [Resolved] wordpress database error
@mercime
Participantand it’s seems is in the themes1bp-corporate\functions.php.
Deactivate the theme. Either you’re using an outdated theme or you need to upgrade it to latest version. Either way, please contact the theme author.
January 10, 2013 at 7:35 pm #150174In reply to: Activation link in 1.7-bleeding
magichew
ParticipantSorry but I have just created another ticket for this too.
https://buddypress.trac.wordpress.org/ticket/4760
I have been running 1.7 on the site I’m testing for weeks and it seems like it hasn’t been a problem for the whole life of 1.7 as some users are fine and other users haven’t been able to activate at a later date.
Unfortunately I don’t know how to find out any sort of timeline for when this broke.
January 10, 2013 at 5:40 pm #150151In reply to: [Resolved] BuddyPress kills my 3.5 upgrade
lwaltzer
ParticipantOops. Trying again:
/**
* In WP 3.5+, get_blogs_of_user() is much slower than in previous versions. As
* a result, if you have a certain number of blogs, running get_blogs_of_user()
* will create a memory timeout. This is a particular problem because
* get_blogs_of_user() is called on every page, because of the toolbar.
*
* Ideally, there would be a way to short-circuit get_blogs_of_user(), or even
* to prevent WordPress from calling get_blogs_of_user() while loading the
* toolbar. But there is not. As a workaround, this function intercepts a key
* step in get_blogs_of_user() – the get_user_meta() call that gets all of a
* user’s metadata. If we determine that this request is coming from
* get_blogs_of_user() (which we do by examining the debug_backtrace(), a truly
* awful technique), AND that it’s one of the generic meta queries used by
* get_blogs_of_user(), AND that the current user has more than 75 blogs, THEN
* we strip all of the blog capability keys from the array of metadata,
* tricking get_blogs_of_user() into thinking that the current user has no
* blogs at all.
*/
function bbg_admin_bar_hack( $check, $object_id, $meta_key, $single ) {
// Only fire when looking at get_user_meta() with no params
if ( ! $meta_key ) {// check to see whether this came from get_blogs_of_user()
$db = debug_backtrace();
$is_get_blogs_of_user = false;
foreach ( $db as $dbk => $dbv ) {
if ( ‘get_blogs_of_user’ == $dbv[‘function’] ) {
$is_get_blogs_of_user = true;
break;
}
}if ( $is_get_blogs_of_user ) {
// Get the real metadata, but don’t recurse
remove_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );
$meta = get_user_meta( $object_id );
add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );// How many blogs does this user have?
static $blog_count_of_user;
if ( ! isset( $blog_count_of_user ) && is_user_logged_in() ) {
$blog_count_of_user = 0;
foreach ( $meta as $mk => $mv ) {
if ( ‘capabilities’ === substr( $mk, -12 ) ) {
$blog_count_of_user++;
}
}
}// We only care about those with counts > 75
if ( $blog_count_of_user > 75 ) {
static $clean_keys;
if ( isset( $clean_keys ) ) {
return $clean_keys;
} else {
foreach ( $meta as $mk => $mv ) {
if ( ‘capabilities’ === substr( $mk, -12 ) ) {
unset( $meta[ $mk ] );
}
}$clean_keys = $meta;
return $meta;
}
}
}}
return $check;
}
add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 ); -
AuthorSearch Results