Search Results for 'wordpress'
-
AuthorSearch Results
-
September 10, 2014 at 10:05 am #191177
Henry Wright
ModeratorHi @julia_b
To my knowledge there isn’t anything like that available. Try searching the WP Plugin Directory. Else, if you’re good with code, something like this can be accomplished using regular expressions
All of that said, forums questions are better asked over at bbPress. You may have more luck there.
September 9, 2014 at 10:35 pm #191055In reply to: WordPress 4
danbp
ParticipantBuddyPress 2.0.2 is compatible with WordPress 4.0 See this site: it’s working ! 😉
500 Internal Server Error is a generic error message, given when no more specific message is suitable. There are a number of causes for a 500 Internal Server Error to display in a web browser. (cite)
Which theme do you use ?
https://wordpress.org/support/topic/500-server-error-after-upgrade-to-wordpress-40September 9, 2014 at 10:23 pm #191054In reply to: Adding video into activity without plugin
r-a-y
KeymasterAnd also WordPress uses a rich-text editor. BuddyPress does not for the activity post form.
September 9, 2014 at 6:54 pm #191034durkk
ParticipantHeheh,
You see the only coding experience I have is with music related software or game middleware. The creative process of pulling pages per user is very abstract to me 😀
I do know my French classics…
“Perhaps the world’s second worst crime is boredom. The first is being a bore.”
-Jean BaudrillardHoping not being guilty of the first but here goes:
First I added a filter to bypass the members in the profile URL so I could use dynamic links via this plugin: Buddy Menu Buddy Links. Then I make a page with the username as parent and a child with the same title for all students (lessons). resulting in a workin url looking this mydomain.com/username/lessons.
I made a CPT to keep the it more organized only and the pages index less cluttered.
/** * Remove the slug from published post permalinks. */ function custom_remove_cpt_slug( $post_link, $post, $leavename ) { if ( 'student' != $post->post_type || 'publish' != $post->post_status ) { return $post_link; } $post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link ); return $post_link; } add_filter( 'post_type_link', 'custom_remove_cpt_slug', 10, 3 ); /** * Some hackery to have WordPress match postname to any of our public post types * All of our public post types can have /post-name/ as the slug, so they better be unique across all posts * Typically core only accounts for posts and pages where the slug is /post-name/ */ function custom_parse_request_tricksy( $query ) { // Only noop the main query if ( ! $query->is_main_query() ) return; // Only noop our very specific rewrite rule match if ( 2 != count( $query->query ) || ! isset( $query->query['page'] ) ) { return; } // 'name' will be set if post permalinks are just post_name, otherwise the page rule will match if ( ! empty( $query->query['name'] ) ) { $query->set( 'post_type', array( 'post', 'student', 'page' ) ); } } add_action( 'pre_get_posts', 'custom_parse_request_tricksy' );September 9, 2014 at 6:28 pm #191031In reply to: [Resolved] bp_moderate capability?
r-a-y
Keymaster@ryanjhale – I’ve posted a fix here:
https://buddypress.trac.wordpress.org/ticket/5869This probably won’t make v2.1 since we’re close to releasing this version. I’ve tentatively put the fix for v2.2.
Thanks for reporting!
September 9, 2014 at 3:51 pm #191021In reply to: [Resolved] bp_moderate capability?
danbp
Participantwp roles and bp capacities are two diffrent things.
bp_moderate has a specific usage applied to the site admin only. If you read what is written in bp-core-caps.php, you’ll see this comment at line 200* Temporary implementation of 'bp_moderate' cap. * * In BuddyPress 1.6, the 'bp_moderate' cap was introduced. In order to * enforce that bp_current_user_can( 'bp_moderate' ) always returns true for * Administrators, we must manually add the 'bp_moderate' cap to the list of * user caps for Admins. * * Note that this level of enforcement is only necessary in the case of * non-Multisite. This is because WordPress automatically assigns every * capability - and thus 'bp_moderate' - to Super Admins on a Multisite * installation. See {@link WP_User::has_cap()}. * * This implementation of 'bp_moderate' is temporary, until BuddyPress properly * matches caps to roles and stores them in the database. Plugin authors: Do * not use this function.BuddyPress groups moderators are not authorized to enter the admin dashboard or the group admin on frontend. Group moderators can only delete, move and spam group activities or topics. If the group has a forum, they wil have the same capacities.
If you want a user to be able to access the admin dashboard, you can give him an editor role (which is a wp role).
If you want to allow him access to the group admin on the front-end, you promote him to group admin. This setting doesn’t allow that user to enter the site admin. He’s only a group admin (with a wp role of subscriber, by default) and not a site admin (admin or super-admin (MS) ).
September 9, 2014 at 2:33 pm #191016In reply to: Adding video into activity without plugin
mahdiar
ParticipantThanks !
But there is small difference . When I copy the video url ( e.g. …../video.mp4 not the page url) in normal post in wordpress it shows a video player . Why it is not supported in buddypress?September 9, 2014 at 2:04 pm #191013In reply to: [Resolved] Group Edit Dashboard broken
SeeingBlueS2
ParticipantFound it. Ticket #5868
September 9, 2014 at 1:18 pm #191008In reply to: BuddyPress WHOIS-ONLINE-WIDGET-REFRESH
danbp
Participantwho’s online refreshes after 5 mn.
Read more here:
https://buddypress.trac.wordpress.org/ticket/3590and feel free to open an enhancement ticket on the Trac.
You can login with the same credentials as on this forum.September 8, 2014 at 9:40 pm #190991In reply to: Ning Importer and BuddyPress Navigation
danbp
ParticipantSeptember 8, 2014 at 9:22 pm #190986namrons
ParticipantThanks @shanebp and thanks @r-a-y Your fix definitely works with latest version of WordPress and Buddypress (tested) but I have a couple of sites with an older WordPress (because some plugins I’m using are not yet compatible with recent WordPress) and this fix does not work there. Any suggestions for a fix with older WordPress?
September 8, 2014 at 6:55 pm #190961In reply to: Managing group creation
xprt007
ParticipantHi
The index.php file is clean, …
I used the plugin “Change DB Prefix” which enables a db prefix table change & in wp-config.php with a click. Good since the db has 175 tables 🙁 … ;), thi sbeing a community site with a number of functions.
I added BuddyPress-Honeypot, … but does it not matter it seems to have had no changes since 2012?
I temporarily disabled Wanguard to see if the 2 steps above + existing antispam plugins can handle this. Will then see about the .htaccess issue tomorrow etc.
Many thanks & kind regards
September 8, 2014 at 6:47 pm #190959danbp
ParticipantA 404 error ? If you copy/paste a wrong url this can happen !
When you create a new page in wordpress, a permalink is automatically created under the title box.
You copy that whole permalink, including http, into the snippet
'link' => 'your permlink',do not remove the coma ! And be carefull when editing code. Use a text editor, not Word !The snippet give you the possibility to add a page to a profile, and this page use his own template file, as also described.
Don’t copy/paste when you don’t know how to use it and how things are working.
For that you have the codex, where you can learn a bit on how BP is working.
Here about theming.September 8, 2014 at 3:50 pm #190948danbp
ParticipantNo, passwords are encrypted !
And for your misfortune, any thing encrypted can be decrypted ! With more or less effort, time and money.
Are you living in a candy world ? 😉
To avoid any temptation, the only option is to deactivate the private message component.
September 8, 2014 at 3:06 pm #190943In reply to: Activity Favorite Notification
danbp
Participanthi @aghajoon,
don’t jump into old post please !Much more convenient, would be to use the buddypress notification manager plugin !
Works with 4.0 and bp 2.02
September 8, 2014 at 3:03 pm #190942In reply to: [Resolved] bbPress and BuddyPress translation
giggio
ParticipantAll this is correct. The files is bbpress-bg_BG.mo and bbpress-bg_BG.po for bbpress and buddypress-bg_BG.mo and buddypress-bg_BG.po for buddyprerss. In wp-config – (‘WPLANG’, ‘bg_BG’) … site is in bulgarian.
And like I said, all is worked correctly (almost a year till now) before wordpress update.
September 8, 2014 at 2:27 pm #190937danbp
ParticipantIMHO you do it overcomplicated.
Create a new page; call it “extra”
Create eventually a template for it. Basically, you made a copy of your theme “page.php”, you rename it “my-extra_page.php” and in the file header, you remove the original page comment and replace it with the new template comment./* * Template name: my extra page */Save !
Back to the page “extra” > edit and asign it the new template.
Now you can add a this page to each profile by using the abose snippet from the child-theme functions.php
function bpfr_my_setup_nav() { global $bp; $mytab=array( 'name' => 'My Tab', 'link' => 'permalink_to_your_page', // the one under the page title on page editor 'slug' => 'my-tab', 'css_id' => 'my_custom_tab', 'position' => 100, 'user_has_access' => 1, 'screen_function' => 'xprofile_screen_my_tab' ); $bp->bp_options_nav['profile']['my-tab'] = $mytab; } add_action('bp_setup_nav', 'bpfr_my_setup_nav');You can now add into this page template any code you want. To call a plugin, a specific content or what else.
To avoid this page to be shown in the menu bar, you can use this old plugin (it still works with 4.0)
To use a shortcode from within the text widget (this is not possible by default)
you can add this to your child-theme functions.phpadd_filter('widget_text', 'do_shortcode', 11);
Now you can use a shortcode in this widget !September 8, 2014 at 1:36 pm #190934In reply to: BuddyPress overrides members Packages
danbp
Participanthow do you expect some help if you don’t give the theme name or a site url ?
This is not a buddypres issue, but a wordpress setting affair.Make the member package page as start page and set buddypress as private or members only.
More about “private” here:
https://buddypress.org/support/tag/private/September 8, 2014 at 1:28 pm #190933In reply to: Make an extra Site only with the post-form
danbp
Participantinstalling an extra site just for sharing posts is somehow a big task for… nothing and requires a multisite install. Made it simple ! Share your RSS feed…
http://www.wpbeginner.com/wp-tutorials/how-to-add-social-buttons-to-wordpress-rss-feed/Sorry If i misunderstand you. If the goal is to ADD an external link to your posts, you can create a custom post type for that or simply paste the link into a post.
If this is also not what you want, explain what kind of post, from where and how your members should use a sharing button. Even if BuddyPress doesn’t handle posts, he only shows them.
Also you can read some related forum topics here:
https://buddypress.org/support/tag/share/September 8, 2014 at 1:04 pm #190930In reply to: Managing group creation
danbp
Participantchange the tables prefix !
Check also some index.php firstly, for some encrypted datas, like base64_decode on the first line…If this matches, you have also to scan your computer.
You can use the wordfence plugin (and de-install if nothing is found)
This one is really efficient against fake registering.
But in any case, this is like carrying water in a sieve or perforated device !
September 8, 2014 at 11:02 am #190923In reply to: [Resolved] Re-install Buddypress Tables
christicehurst
ParticipantBelow is the errors that gave out after installing Buddypress
WordPress database error: [Table 'christic_database.wp_bp_xprofile_data' doesn't exist] SELECT id, user_id, field_id, value, last_updated FROM wp_bp_xprofile_data WHERE field_id = 1 AND user_id IN (1) WordPress database error: [Table 'christic_database.wp_bp_xprofile_fields' doesn't exist] SELECT * FROM wp_bp_xprofile_fields WHERE id = 1 WordPress database error: [Table 'christic_database.wp_bp_xprofile_fields' doesn't exist] SELECT type FROM wp_bp_xprofile_fields WHERE id = 1 WordPress database error: [Table 'christic_database.wp_bp_xprofile_fields' doesn't exist] SELECT id FROM wp_bp_xprofile_fields WHERE id = 1 Warning: Cannot modify header information - headers already sent by (output started at /home/christic/public_html/wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php:227) in /home/christic/public_html/wp-includes/pluggable.php on line 1173 WordPress database error: [Table 'christic_database.wp_bp_user_blogs' doesn't exist] SELECT COUNT(*) FROM wp_bp_user_blogs WordPress database error: [Table 'christic_database.wp_bp_user_blogs' doesn't exist] DELETE FROM wp_bp_user_blogs WHERE 1=1 Notice: Trying to get property of non-object in /home/christic/public_html/wp-content/plugins/buddypress/bp-members/bp-members-admin.php on line 829 Notice: Trying to get property of non-object in /home/christic/public_html/wp-content/plugins/buddypress/bp-members/bp-members-admin.php on line 829 WordPress database error: [Table 'christic_database.wp_bp_user_blogs' doesn't exist] SELECT COUNT(id) FROM wp_bp_user_blogs WHERE user_id = 1 AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs' doesn't exist] INSERT INTO wp_bp_user_blogs ( user_id, blog_id ) VALUES ( 1, 1 ) WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT blog_id, meta_key, meta_value FROM wp_bp_user_blogs_blogmeta WHERE blog_id IN (1) ORDER BY id ASC WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT id FROM wp_bp_user_blogs_blogmeta WHERE meta_key = 'url' AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] INSERT INTO <code>wp_bp_user_blogs_blogmeta</code> (<code>blog_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (1,'url','http://www.christicehurst.me') WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT id FROM wp_bp_user_blogs_blogmeta WHERE meta_key = 'name' AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] INSERT INTO <code>wp_bp_user_blogs_blogmeta</code> (<code>blog_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (1,'name','Chris Ticehurst') WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT id FROM wp_bp_user_blogs_blogmeta WHERE meta_key = 'description' AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] INSERT INTO <code>wp_bp_user_blogs_blogmeta</code> (<code>blog_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (1,'description','Creative Writer cat') WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT id FROM wp_bp_user_blogs_blogmeta WHERE meta_key = 'last_activity' AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] INSERT INTO <code>wp_bp_user_blogs_blogmeta</code> (<code>blog_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (1,'last_activity','2014-09-08 10:59:55') WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT id FROM wp_bp_user_blogs_blogmeta WHERE meta_key = 'close_comments_for_old_posts' AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] INSERT INTO <code>wp_bp_user_blogs_blogmeta</code> (<code>blog_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (1,'close_comments_for_old_posts','') WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT id FROM wp_bp_user_blogs_blogmeta WHERE meta_key = 'close_comments_days_old' AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] INSERT INTO <code>wp_bp_user_blogs_blogmeta</code> (<code>blog_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (1,'close_comments_days_old','14') WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] SELECT id FROM wp_bp_user_blogs_blogmeta WHERE meta_key = 'thread_comments_depth' AND blog_id = 1 WordPress database error: [Table 'christic_database.wp_bp_user_blogs_blogmeta' doesn't exist] INSERT INTO <code>wp_bp_user_blogs_blogmeta</code> (<code>blog_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (1,'thread_comments_depth','5')Below is the errors from two other plugins
Strict Standards: Declaration of UberMenuWalkerCore::start_lvl() should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /home/christic/public_html/wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php on line 227 Strict Standards: Declaration of UberMenuWalkerCore::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home/christic/public_html/wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php on line 227 Strict Standards: Declaration of UberMenuWalkerCore::end_el() should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /home/christic/public_html/wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php on line 227 Strict Standards: Declaration of UberMenuWalkerEdit::start_lvl() should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /home/christic/public_html/wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php on line 401 Strict Standards: Declaration of UberMenuWalkerEdit::end_lvl() should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /home/christic/public_html/wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php on line 401 Strict Standards: Declaration of UberMenuWalkerEdit::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home/christic/public_html/wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php on line 401 Notice: Undefined index: ctype in /home/christic/public_html/wp-content/plugins/mycred/addons/banking/services/mycred-bank-service-interest.php on line 575 Notice: Undefined index: user_id in /home/christic/public_html/wp-content/plugins/mycred/addons/banking/services/mycred-bank-service-interest.php on line 576September 8, 2014 at 9:42 am #190919In reply to: [Resolved] bbPress and BuddyPress translation
giggio
ParticipantYes, the files are in correct directory but the translation not work. Before the 4.0 update of wordpress there was not problem … Here is the site – http://pokerspirit.net/forum/new-topic/
September 8, 2014 at 12:29 am #190895In reply to: [Resolved] Problems after update WP
@mercime
Participant@riccardo-rossini WP 4.0 introduced the new Media Library Grid, among others. Any plugin that adds features to the media library may need serious work per https://make.wordpress.org/support/2014/08/omg-wtf-bbq-post/ So at this point, I suggest that you follow up with the rtmedia plugin authors about your issue.
September 7, 2014 at 9:02 pm #190893shanebp
Moderator>I can also report that the same bug is manifesting in the “My Favorites” and “Mentions” streams in the same way that it does in “My Groups” – only the word “replied” appears.
I cannot replicate those issues.
Re ‘My Groups’: Fixed. Thanks to @r-a-y
See: https://buddypress.trac.wordpress.org/attachment/ticket/5862/5862.01.patchHopefully it will make it into 2.1
September 7, 2014 at 10:34 am #190697In reply to: [Resolved] Re-install Buddypress Tables
christicehurst
ParticipantShare Paid Hosting
Plugins: Advanced Categories Widget, bbpress, Imsanity, Jetpack, Registration Honeypot, Team Showcase, UberMenu 2
No automated install for WordPress and I use phpmyadmin
If things continue to stay weird in terms of solving this, I am happy to PM log in details to you guys to see what’s going on under the hood.
-
AuthorSearch Results