Search Results for 'wordpress'
-
AuthorSearch Results
-
June 9, 2015 at 9:20 pm #240509
shaquana_folks
ParticipantOh okay, so since it’s working from your end, maybe you can help me. Any suggestions on what I can do or should do to get it to work on my end? I’m still running into the same issue of the users not being created, even while I’m still on the Twenty Fifteen theme with only the BuddyPress plug in (now at the 2.3.1 version), the bbPress plug in (now at the 2.5.7 version) and the W3 Total Cache (still at the 0.9.4.1 version) activated. Also, I went and checked the back end again from my hosting plan provider (as well as talked to a representative of my hosting plan service over the phone) and he noticed that there was actually a lot of errors listed for my sites link. The only thing is that the representative said all the other errors listed have been resolved because he doesn’t see any other error messages on those that are listed in the error log. The only one he still sees on there (and I just realized this as well) was this message:
PHP Warning: strstr(): Empty needle in /hermes/bosweb26d/b246/ipg.sjfgraphixcom/myloopnetwork/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 781
Could this be the reason why the registration page is still not working? Because I never did any changes to that bp-core-filters.php file, I’ve only been working on the post pages and customizing my website theme that I wanted to use from before (which was the Magnus WordPress Theme). But as I was saying before, even though I’m still currently on the Twenty Fifteen theme, I’m still having issues. Please let me know what else I need to do to resolve this. My hosting plan server is iPage (which uses NGINX), running a 5.0 PHP version. I hope this additional information helps out.
June 9, 2015 at 8:45 pm #240505In reply to: HTML in Profile Field again!
patrix87
ParticipantI made some “progress”
I found this and I can agree that it is still true.
https://buddypress.trac.wordpress.org/ticket/5971
Filtering is inconsistent and sometime happens twice.I think this should be something to look into somewhat soon.
Anyway here is the minimum you have to do to turn off html filtering.
BUT it makes you website a lot more vulnerable to attacks and errors so use it at your own risk.
Add this code to your child theme function.php
//Unfilter xprofile *risky* remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_kses', 1 ); remove_filter( 'bp_get_the_profile_field_edit_value', 'wp_filter_kses', 1 ); remove_filter( 'xprofile_get_field_data', 'wp_filter_kses', 1 ); remove_filter( 'bp_xprofile_set_field_data_pre_validate', 'xprofile_filter_pre_validate_value_by_field_type', 10, 3 ); remove_filter( 'xprofile_data_value_before_save', 'xprofile_sanitize_data_value_before_save', 1, 4 );
June 9, 2015 at 4:51 pm #240492In reply to: Maximum number of users
r-a-y
KeymasterThere’s a ticket about this here:
https://buddypress.trac.wordpress.org/ticket/3789View the comments in that ticket for some approaches that you can take. If you need some hooks in BuddyPress to make this happen, let us know by replying to that ticket. Login using the same credentials as you use here on buddypress.org.
You could also think about using Gravatar and disabling avatar uploads as well. It’s probably not a valid option for your site, but just making sure you know! 🙂
June 9, 2015 at 10:22 am #240482In reply to: admin-ajax.php high wait time on pingdom test
Henry Wright
ModeratorNot that I know of. Have a read of How to Take Control of The WordPress Heartbeat API for an overview of the performance issues associated with it.
June 8, 2015 at 8:05 pm #240470In reply to: Buddypress notifications not working
Henry Wright
ModeratorIt seems this is in-progress. See 6057 for updates.
June 8, 2015 at 6:07 pm #240459In reply to: admin-ajax.php high wait time on pingdom test
atsouf
ParticipantHello and thanks for the fast reply.
1st I have a lot of custom code but nothing that interferes with admin-ajax.php
2nd My plugins (please dont panic)
Agreeable
bbpress
bbpress – custom kses allowed tags
bbpress -enable tinymce visual tab
bbpress moderation
buddypress
buddypress captcha
Contact form 7
easysocial icons
events manager
GB bbpress tools
google analytics by yoast
Gzip ninja speed compression
Loco translate
Speakout! email petitions
Tinymce advanced
Wordpress SEO
WP bakery visual composer
WP super cache
YOP Poll3d theme: fraction from orange themes (i already contacted their support and i am waiting for their reply)
June 8, 2015 at 12:48 pm #240437In reply to: Groups editing not saving
shanebp
ModeratorThe plugin needs to be compatible with BuddyPress, not vice versa.
You should contact the plugin author and make that request.
https://wordpress.org/support/plugin/buddypress-cover-photoJune 7, 2015 at 2:53 pm #240408In reply to: add members to hidden group
mrjarbenne
ParticipantI find this plugin incredibly helpful when managing — and allowing others to manage — the membership of groups, without availing them to the dashboard: https://wordpress.org/plugins/invite-anyone/
June 7, 2015 at 10:12 am #240401In reply to: Sponsored Ads
Henry Wright
ModeratorHi @mecceo
Yes. You have 3 options:
- Search for a plugin on the Plugin Directory
- Write some code yourself. Feel free to ask any “how to” questions on here
- hire a developer
June 6, 2015 at 10:52 am #240361In reply to: Create alternate version of avatar on upload
Henry Wright
ModeratorIs the Buddypress avatar handled the same way as the normal WordPress thumbnails? i.e. functions?
No. See the
bp_core_avatar_handle_upload()function for how avatars are uploaded in BP.Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L794
June 5, 2015 at 6:20 pm #240314In reply to: Username displaying as ‘@Admin’ on profile
shanebp
ModeratorSince the member’s user name is ‘admin’, it will show as ‘@admin’.
You can’t change the user name after registration – unless you go directly into the database via a tool like phpmyadmin.
Or use a plugin like:
https://wordpress.org/plugins/admin-renamer-extended/also – you shouldn’t use ‘admin’ as a user name.
https://codex.wordpress.org/Brute_Force_Attacks#Don.27t_use_the_.27admin.27_usernameJune 5, 2015 at 5:44 pm #240311In reply to: Messages Excerpts in Admin Bar Notifications
r-a-y
KeymasterYou’ll have to create your own messages adminbar menu.
You can create a new menu item using:
https://codex.wordpress.org/Function_Reference/add_nodeOr if you’re not using the WP Adminbar and have hardcoded that menu by yourself, you do not have to do anything.
Next, I would probably use JS to load the messages loop when you click on the “Messages” adminbar icon with AJAX.
June 5, 2015 at 5:05 pm #240302In 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
-
AuthorSearch Results