Search Results for 'wordpress'
-
AuthorSearch Results
-
September 11, 2014 at 6:20 pm #192067
In reply to: How to make my site like Facebook
danbp
Participantyou seem to be affraid by the term “legacy”… ?
Read here some explanation about legacyLike BuddyPress, bbPress is only a plugin.
Generally when you need a theme, you search a theme for wordpress, not for a plugin.Of course some a better than other, or better tailored to do something than other, but in anyway, no theme can be perfect for anything.
And in some case, ready to use is not synonym of adaptable ready.
If you search forum themes, see first what other forum software have to propose. One of the most popular, phpbb, is desperatly identical from one site to another in 90% of case.When you have 1 000 of WP theme and you add a bbpress or a buddypress group forum, you have potentially 1 000 different forum look.
Basically it’s a grid, so it’s a bit difficult to present a forum in a very original maner. And finally too much work for many users or considered as out of rentability (100 hours to get a nice forum and 3 topics after 2 mounth….search the error ! )
September 11, 2014 at 3:52 pm #192062In reply to: How to activate Status Buddypress chilld theme?
@mercime
Participant@arximughal You only need to activate one WP theme. So if you’re already using the7 theme, you don’t need the Status child theme anymore. As for the BP Default theme, it’s been phased out http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/
September 11, 2014 at 1:51 pm #191900In reply to: How to make my site like Facebook
danbp
ParticipantFYI here some related topics
https://buddypress.org/support/topic/how-to-remove-xprofile-names-and-replace-with-username/
https://buddypress.org/support/topic/sort-user-list-by-last-name/About your first post, why don’t you show the site activity by using the topic filter instead of the default “all activities” ?
https://buddypress.org/support/topic/changing-the-default-activity-filter/Or you can try buddypress-wall plugin
https://wordpress.org/plugins/buddypress-wall/September 11, 2014 at 12:37 pm #191895In reply to: How to make my site like Facebook
Henry Wright
ModeratorIn the last screenshot, if you take a look under the IP address it reads:
@ Julia BuckleyRegarding the roadmap, 2.1 is due any time soon. See https://buddypress.trac.wordpress.org/roadmap
September 11, 2014 at 12:25 pm #191892In reply to: How to make my site like Facebook
danbp
Participantbe patient ! The upcoming BP 2.1 version brings huge improvement to mentions handling, with auto suggestion.
BP 2.1 About page excerpt:
With BuddyPress 2.1, type a @ when leaving a status update or commenting on an activity item or blog post, and the new suggestions panel will open.September 10, 2014 at 8:17 pm #191862In reply to: Theme Compatibility – Customizing
September 10, 2014 at 8:00 pm #191859In reply to: wp_enqueue_script issue on activity page
albert101
ParticipantHello again cut and pasted the code exactly on the last line of the theme functions php and
my debug log output is as follows.
I must be doing something wrong.[10-Sep-2014 19:54:06 UTC] PHP Fatal error: Call to undefined function bp_is_activity() in /Applications/MAMP/htdocs/wordpress/wp-content/themes/mytheme/functions.php on line 4618
[10-Sep-2014 19:54:06 UTC] PHP Stack trace:
[10-Sep-2014 19:54:06 UTC] PHP 1. {main}() /Applications/MAMP/htdocs/wordpress/wp-admin/index.php:0
[10-Sep-2014 19:54:06 UTC] PHP 2. require_once() /Applications/MAMP/htdocs/wordpress/wp-admin/index.php:10
[10-Sep-2014 19:54:06 UTC] PHP 3. require_once() /Applications/MAMP/htdocs/wordpress/wp-admin/admin.php:204
[10-Sep-2014 19:54:06 UTC] PHP 4. do_action() /Applications/MAMP/htdocs/wordpress/wp-admin/admin-header.php:108
[10-Sep-2014 19:54:06 UTC] PHP 5. call_user_func_array:{/Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505}() /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505
[10-Sep-2014 19:54:06 UTC] PHP 6. print_head_scripts() /Applications/AMP/htdocs/wordpress/wp-includes/plugin.php:505
[10-Sep-2014 19:54:06 UTC] PHP 7. do_action() /Applications/MAMP/htdocs/wordpress/wp-includes/script-loader.php:773
[10-Sep-2014 19:54:06 UTC] PHP 8. call_user_func_array:{/Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505}() /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505
[10-Sep-2014 19:54:06 UTC] PHP 9. my_dequeue_script() /Applications/MAMP/htdocs/wordpress/wp-includes/plugMin.php:505September 10, 2014 at 6:19 pm #191788In reply to: wp_enqueue_script issue on activity page
shanebp
ModeratorDid henry’s original function it work for you?
If so, don’t bother changing it.
@henrywright
afaik – The reason the codex page uses the wp_print_scripts hook is to insure that it runs after the wp_enqueue_scripts hook, regardless of priority.https://codex.wordpress.org/Plugin_API/Action_Reference
The deprecation Hugo mentions is re not using print_scripts to enqueue a script, which the OP is not trying to do.
So I’m not convinced that your change to the codex page is appropriate. If you decide to stick with your change, at least update the comments above the example function to reflect that change.September 10, 2014 at 6:10 pm #191739danbp
ParticipantI just want to get the list of buddypress shortcodes.
Doesn’t exist. You can create a shortcode or use this plugin:
September 10, 2014 at 3:52 pm #191185In reply to: WordPress 4
danbp
Participantadd following line in your
wp-config.phpfile:define('SCRIPT_DEBUG', true);
and activate the already existingdefine('WP_DEBUG', false);todefine('WP_DEBUG', true);
and feedback here.BuddyPress 2.1 milestone estimation
September 10, 2014 at 1:26 pm #191183In reply to: wp_enqueue_script issue on activity page
Henry Wright
ModeratorHello @albert101
You can use
wp_dequeue_script()to remove an enqueued script. For example:function my_dequeue_script() { if ( bp_is_activity() ) wp_dequeue_script( 'xyz-custom-script' ); } add_action( 'wp_print_scripts', 'my_dequeue_script', 100 );Ref: https://codex.wordpress.org/Function_Reference/wp_dequeue_script
September 10, 2014 at 10:05 am #191177Henry 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 #190948 -
AuthorSearch Results