Search Results for 'wordpress'
-
AuthorSearch Results
-
June 5, 2015 at 5:05 pm #240302
In reply to: how to add “member with avatar” as a search option
shanebp
Moderator…the search profile form…
Are you referring to this plugin:
https://wordpress.org/plugins/bp-profile-search/If so, you should use Andrea’s support forum:
https://wordpress.org/support/plugin/bp-profile-search
orYour option could be added, but will require coding ability, afaik.
June 5, 2015 at 3:39 pm #240285In reply to: /members/user & other page errors
xprt007
ParticipantHi
Thank you for responding.
I tried a few other themes including twentythirteen & Mesocolumn – no difference.
Then today I disabled all plugins except buddypress & bbforum.Observation:
#1. The mentioned links worked.
#2. I then first activated a number of security plugins + Hyper cache plugin. Problem back, of page not found, until I deactivated Hyper cache.This was solved by reading this article => http://www.buddyboss.com/buddypress-speed-and-performance/ & doing this:
By default this plugin will cache all of your site’s pages, including your BuddyPress-specific content like activity posts and forum posts. This is not good, as your BuddyPress content is constantly updated and needs to remain fresh. To fix it add the following lines into “URI to reject” in the “Filters” settings panel of Hyper Cache:
/forums/
/groups/
/members/
/activity/
/blogs/
/messages/
/register/
/activate/… I think current plugin terminology is “Exact URIs to bypass” & “(Starting with) URIs to bypass”, which I did and clearing the cache.
#3. As I continued activating, I discovered the used https://wordpress.org/plugins/404-to-start/ also causes if I try to go to my profile page or for example /members/user-x/, etc to re-direct to site front page, with no error.
I have to look into this later. The other plugins I had tried before caused some issues, so I was happy with this re-direct plugin.
Will report back, at least if I get a response from author or get a plugin not causing issues, someone could recommend one ;).
Thank you & regards.
June 5, 2015 at 2:02 pm #240278Dono12
ParticipantYes it is related to “Messages > Starred”. There is nothing wrong with the new feature. It’s this function that I found online that’s causing a conflict.
/* ——————————Start BP Post in profile code for function——————– */
function importSomething(){
return include_once ‘bp-custom.php’;
}
add_action( ‘bp_setup_nav’, ‘buddyboss_child_bp_nav_adder’ );
add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );function buddyboss_child_bp_nav_adder() {
global $bp;
$post_count = count_user_posts_by_type( $bp->displayed_user->id );
bp_core_new_nav_item(
array(
‘name’ => sprintf( __( ‘Posts <span>%d</span>’, ‘my-poems’ ), $post_count ),
‘slug’ => ‘Articles’,
‘position’ => 250,
‘show_for_displayed_user’ => true,
‘screen_function’ => ‘buddyboss_child_list’,
‘item_css_id’ => ‘articles’,
‘default_subnav_slug’ => ‘public’
));
}
function buddyboss_child_list() {
add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}
/*——- This is end of the code for above function ———*/
function profile_buddyboss_child_loop() {
$myposts = get_posts( array(
‘posts_per_page’ => -1,
‘author’ => bp_displayed_user_id(),
‘post_type’ => ‘post’
));
if( ! empty($myposts) ) {
foreach($myposts as $post) {
setup_postdata( $post );
if (has_post_thumbnail( $post->ID ) ):
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘sidebar-smallthumbnew’ );
else :
$image[0] = “…/wp-content/themes/Starkers-Child-2/images/vidimage.jpg”;
endif;
echo ‘<li class=”sidebar mostpop post-‘ . $post->ID . ‘”><div id=”postimage”>ID) . ‘”></div><div id=”postinfo”>ID) . ‘”>’ . get_the_title($post->ID) . ‘</div>‘;
}
echo ‘‘;
wp_reset_postdata();
} else { ?>
<div class=”info” id=”message”>
<p><?php bp_displayed_user_fullname(); ?> has No posts.</p>
</div>
<?php }
}
/* This is end of the code for above function */
remove_filter(‘bp_setup_nav’,”);
function count_user_posts_by_type( $userid, $post_type = ‘post’ ) {
global $wpdb;
$where = get_posts_by_author_sql( $post_type, true, $userid, true);
$count = $wpdb->get_var( “SELECT COUNT(*) FROM $wpdb->posts $where” );
return apply_filters( ‘get_usernumposts’, $count, $userid );
}
/* ——————————This is end of the code for post in profile above function——————– */It adds a new button on the user activity page and when the Message-Starred button is clicked it takes the user the lists of post page that the above function creates. How can I stop that fro happening. I really want to keep the starred message function and I don’t want to lose the lists of WordPress post in the user Activity page.
June 5, 2015 at 10:01 am #240265In reply to: Username problems
Henry Wright
ModeratorJune 5, 2015 at 9:50 am #240264In reply to: nginx vs apache installs with buddypress
mcpeanut
Participantcool he will probs read this when hes online, this is the thing with buddypress, i just didnt understand when i first came to these forums a few years ago even though i had been comming longer without registering, I myself had shared hosting and thought yippee i have found a plugin that i was looking for and installed it, then after messing around with buddypress it dawned on me that shared hosting just was not gonna cut the ice with buddypress let alone wordpress for a serious install.
I then decided to delve into the world of dedicated/vps servers. I am by no means an expert in this world yet but i believe from my own experience that it is a very daunting task moving to these kind of setups at first, once you get the basics of initial setup and general security right its then time to tweak everything for future proofing and scaling and performance tweaking if your serious about the future of your website, unless your willing to pay ALOT of cash out to people who can do his for you full time.
This is why i sort of pushed my buddypress websites design back in favour of looking into all this. I think this is one of the biggest points concerning every website build and believe that not enough info is out there to make people understand just how important all this is to succeed with their websites, alot of people see these one click easy installs and adverts off companys telling them to come build your website with us its easy then see wordpress installed and think yippe look at my new website and what it can do, until of course they then get popular crash and burn then fail and give up because they just dont understand the reality involved in pushing forward a scalable environment. This is why i believe people doing a massive project such as buddypress should really be able to share this info with each other from nivice users to experts in this field.
June 5, 2015 at 8:50 am #240258In reply to: nginx vs apache installs with buddypress
Henry Wright
ModeratorJune 4, 2015 at 11:08 pm #240240In reply to: Logged in Links
Bradley Allen
ParticipantWell, it would be nice to do this without a plugin 🙂
However, this plugin seems to work fine
https://wordpress.org/plugins/menu-items-visibility-control/June 4, 2015 at 6:47 pm #240218In reply to: Members Directory Page Broken After Update
r-a-y
Keymaster@jturet – You can make this corresponding change to
/buddypress/bp-core/bp-core-catchuri.phpfor now until v2.3.1 is released:
https://buddypress.trac.wordpress.org/changeset/9916/branches/2.3/src/bp-core/bp-core-catchuri.phpJune 4, 2015 at 3:40 pm #240206shaquana_folks
ParticipantSorry I forgot to tag you in the previous message @henrywright
Activated plugins from my end:
Akismet (Version 3.1.1)
bbPress (Version 2.5.7)
BuddyPress (Version 2.3.0)
Contact Form 7 (Version 4.1.2)
Contact Form Shortcode (Version 0.9)
Jetpack by WordPress.com (Version 3.5.3)
MOJO Marketplace (Version 0.6.0)
SZ-Google (Version 1.8.9)
W3 Total Cache (Version 0.9.4.1)
WordPress Importer (Version 0.6.1)
wp responsive photo gallery (Version 1.0)
iFlyChat (Version 2.9.2)June 4, 2015 at 3:29 pm #240205shaquana_folks
ParticipantAkismet (Version 3.1.1)
bbPress (Version 2.5.7)
BuddyPress (Version 2.3.0)
Contact Form 7 (Version 4.1.2)
Contact Form Shortcode (Version 0.9)
Jetpack by WordPress.com (Version 3.5.3)
MOJO Marketplace (Version 0.6.0)
SZ-Google (Version 1.8.9)
W3 Total Cache (Version 0.9.4.1)
WordPress Importer (Version 0.6.1)
wp responsive photo gallery (Version 1.0)
iFlyChat (Version 2.9.2)June 4, 2015 at 3:11 pm #240200In reply to: List groups i am admin of
Henry Wright
ModeratorIf you just need a quick and dirty approach for yourself to view, you could use the standard group loop to output a loop. See here.
Then put the following snippet directly after the line:
<?php while ( bp_groups() ) : bp_the_group(); ?>Snippet:
<?php $args = array( 'populate_extras' => true, 'group_id => bp_get_group_id() ); $group = groups_get_group( $args ); if ( ! in_array( bp_loggedin_user_id(), $group->admins ) ) { continue; } ?>Notes:
- I haven’t tested
- This approach won’t be performant
- I haven’t considered pagination
That said, it should get the job done. The alternative is to write some SQL and use the wpdb class.
June 4, 2015 at 2:13 pm #240192In reply to: Public User Gallery ?
Henry Wright
ModeratorJune 4, 2015 at 1:34 pm #240190In reply to: End User Blog
Gnostic_Thought
ParticipantThanks for all your help. I don’t think I would need multisite at the moment, maybe when my site grows to have more dedicated bloggers. Can you give me your opinion on a plugin called Buddyforms http://themekraft.com/store/wordpress-front-end-editor-and-form-builder-buddyforms/
It looks better than BuddyBlog
Thanks once again
June 4, 2015 at 6:56 am #240174In reply to: Members Directory Page Broken After Update
Hugo Ashmore
ParticipantI can confirm that the url path is stripped out but the actual members page should still work either directly navigated to or clicking the page link as nested under a parent dropdown which should result in page being found but at it’s root position my-site.com/members/
Can we confirm that the page does still exist and is viewable, in the meantime I’ll open a trac ticket to log the page hierarchical issue.
This issue is ticketed for looking into:
https://buddypress.trac.wordpress.org/ticket/6475#ticketJune 4, 2015 at 3:29 am #240168In reply to: Group tab questions
mrjarbenne
ParticipantJune 4, 2015 at 3:28 am #240167In reply to: BuddyPress on another domain
mrjarbenne
ParticipantYou can do that by adding this constant in wp-config.php
define ( 'BP_ROOT_BLOG', $blog_id );I’m thinking you probably want option B: https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/#b-network-wide-activation-buddypress-root-blog-in-secondary-site
June 4, 2015 at 2:30 am #240163In reply to: Toolbar Empty for Mobile Logged Out Users
mrjarbenne
ParticipantAdd this to the style.css file of your theme:
/*Fix for hiding the Login menu on Mobile*/ #wp-admin-bar-root-default #wp-admin-bar-bp-login { display: block; }If you don’t want to have to edit your theme every time there is a theme update, you could use something like this to add the CSS from the dashboard: https://wordpress.org/plugins/simple-custom-css/
June 4, 2015 at 1:54 am #240156In reply to: End User Blog
mrjarbenne
ParticipantMS integrates wonderfully with BuddyPress. When network activated on a Multisite, activity from across the network is recorded on the users Profile. Just be sure to check Site Tracking under Settings/Buddypress once you network activate BuddyPress (https://cloudup.com/i_-p1kJGUwd). Once upon a time, BP was ONLY compatible with Multisite: you couldn’t run it on a single WP install.
Note that this will give your users the ability to have their own blogs. This is separate from the ability to post from the front end. For this you would need to make a theme like P2 your network default. http://premium.wpmudev.org/blog/how-to-set-the-default-theme-for-wordpress-multisite/
June 4, 2015 at 1:13 am #240147In reply to: Multi date select profile field
mrjarbenne
ParticipantDoes this plugin fit your needs: https://wordpress.org/plugins/rendez-vous/
June 3, 2015 at 7:10 pm #240119In reply to: BP_ENABLE_MULTIBLOG stops activate working
r-a-y
KeymasterCan you try the patch in this ticket?
https://buddypress.trac.wordpress.org/ticket/6371June 3, 2015 at 6:47 pm #240114In reply to: Per-group Identity?
Tony G
ParticipantWell, group meta allows meta data to be applied to groups. I’m thinking along the lines of data in the usermeta table which is only consumed by specific groups. This might be expressed as a name/value pair in the profile. So with reference to my original example, a GroupName profile value would include:
school:Robert
home:Bobby
coolGame:ZarconThe BuddyPress Profile Shortcodes plugin allows for custom fields and related shortcodes to be used. This is much closer to my needs but still not quite there. I can’t create a profile field for every possible group. Ideally there would be a pulldown of groups to which the user belongs, where they can enter the name they wish the use for that group, and the group/name pairs would be displayed in a grid.
Now I’m thinking one of the better user meta plugins could handle that. But I would also need to customize it so that there can only be one WP user with a specific value for a specific group. This is a unique key per group, as some reference to @Bobby can’t apply to more than one person, but the @Bobby in one group can be different from @Bobby in another group.
On the client side, I would then need to modify bbPress to get the user name that’s specifically for the current group, rather than using wp_get_current_user()->display_name or whatever it has there. For example:
get_user_meta($user_id,’groupName_’.$group_id,true)
or better
get_user_meta($user_id,’groupNames’,false)[$group_id]Actually I’d rather abstract all requests for a user name to a function which can then be replaced with custom code just once. I don’t suppose anyone has already done that, or it’s been proposed as a BP/BBP enhancement?
I’m a noob with coding into WP, haven’t touched BP/bbP, and know little about the APIs, so please bear with me on the syntax and other specifics and focus on the concepts. Thanks.
The more I try to flesh it out above the more it seems possible for me to do this myself. But it would be really helpful if someone has already done it. Or if someone with knowledge in this area can see a more direct line from an exiting plugin to the solution I’m describing.
Thanks for your time!!
June 3, 2015 at 3:18 pm #240101Henry Wright
ModeratorHey guys,
This is a known issue. See #6360 for more info.
(@codemonkeybanana I think you already found it) 🙂
June 3, 2015 at 10:21 am #240089In reply to: /members/user & other page errors
xprt007
ParticipantUpdate:
I have to add I have a set up of Buddypress/bbpress on another site on same server & sharing same account (Justhost.com) & there is no issue, with those pages. WordPress & ALL used plugins are up-to-date.Regards
June 3, 2015 at 8:51 am #240084Robert Hart-Fletcher
ParticipantYES!!! Only yesterday after ages of research I found a plugin: Unconfirmed.
Gives you access to Pending users:Unconfirmed creates a Dashboard panel under the Users menu (Network Admin > Users on Multisite) that shows a list of unactivated user registrations. For each registration, you have the option of resending the original activation email, or manually activating the user.
Robert
June 2, 2015 at 3:56 pm #240051danbp
Participantphp memory limit is used to calculate the cache size of php scripts.
Manually transfering content to DB has nothing to do with that.
Deactivate all plugins except BP and if you use custom functions in your theme or via bp-custom.php, remove them provisory, while testing your install.FYI, WP recommends 40Mo (single) or 64Mo (MS) and by using BP, a recommend size is 128M. The maximum you can set anyway is 256Mo. (which is largely enough for a script)
See doc in wp-admin/admin.php:138Some usefull tips/recommendations can be found here.
-
AuthorSearch Results