Search Results for 'wordpress'
-
AuthorSearch Results
-
September 24, 2011 at 10:10 am #120869
In reply to: WordPress vs. buddypress theme
Tammie Lister
ModeratorUltimately you have one theme, you can probably hack a theme switch but I’d also say that tends to lead to not only user but also general confusion. A cohesive look is far better.
Now of course if you’ve hit a case where the styling is an issue my first question would be are you using the template pack? I would assume so if it was a WordPress theme?
Now, what you could do is copy over the styling for those sections into your theme and use in those cases. Whilst keeping the wrapper of your site. However that would require some coding and I don’t know how you feel about that – some may not feel comfortable so hence asking?
I just would not suggest even with a hack to do it loading a different theme depending on where you are as it ruins the experience for users.
September 24, 2011 at 9:18 am #120866In reply to: bad admin bar links in bp 1.5
Paul Wong-Gibbs
KeymasterWe saw this in an early beta release, but no-one could recreate it. Are you all using domain mapping? Can you all share some more information about your WordPress, what plugins you have, version numbers, etc
September 24, 2011 at 12:02 am #120846In reply to: Buddypress version of wordpress 'mystique' theme?
@mercime
Participant@stripedsquirrel I don’t believe it would be compatible unless theme dev updated it. You could make Mystique BP-Compatible with the BP Template Pack, a future-proof solution.
September 23, 2011 at 10:37 pm #120836Connor
MemberHi it does not appear to have worked, I put it in the child theme currently in use and the main theme. Below is my functions.php with the code in it, does that seem correct?
<?php
add_action( ‘widgets_init’, ‘bptc_login_out_widget’ );function bptc_login_out_widget() {
register_widget( ‘BP_Theme_Converts_LogIn_Box’ );
}
class BP_Theme_Converts_LogIn_Box extends WP_Widget {/**
* Widget setup.
*/
function BP_Theme_Converts_LogIn_Box() {
/* Widget settings. */
$widget_ops = array( ‘classname’ => ‘bptc-login-out’, ‘description’ => __(‘BuddyPress Log In/Out Widget.’, ‘bptc-login-out’) );/* Widget control settings. */
$control_ops = array( ‘width’ => 300, ‘height’ => 350, ‘id_base’ => ‘bptc-login-out-widget’ );/* Create the widget. */
$this->WP_Widget( ‘bptc-login-out-widget’, __(‘BuddyPress Log in/out widget’, ‘bptc-login-out’), $widget_ops, $control_ops );
}/**
* How to display the widget on the screen.
*/
function widget( $args, $instance ) {
extract( $args );/* Before widget (defined by themes). */
echo $before_widget;buddyPressLoginBox();
/* After widget (defined by themes). */
echo $after_widget;
}}
function buddyPressLoginBox() {
?><a href="”><a class="button logout" href="”>
<?php printf( __( ' You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) ?>
<form name="login-form" id="sidebar-login-form" class="standard-form" action="” method=”post”>
<input type="text" name="log" id="sidebar-user-login" class="input" value="” />
<input type="submit" name="wp-submit" id="sidebar-wp-submit" value="” tabindex=”100″ />
<?php /* Show forum tags on the forums directory */
if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?><?php
}
if ( !function_exists( ‘bp_dtheme_enqueue_scripts’ ) ) :
/**
* Enqueue theme javascript safely
*
* @see https://codex.wordpress.org/Function_Reference/wp_enqueue_script
* @since 1.5
*/
function bp_dtheme_enqueue_scripts() {
// Bump this when changes are made to bust cache
$version = ‘20110921’;// Enqueue the global JS – Ajax will not work without it
wp_enqueue_script( ‘dtheme-ajax-js’, WP_PLUGINS_DIR . ‘/buddypress/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );// Add words that we need to use in JS to the end of the page so they can be translated and still used.
$params = array(
‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
‘comments’ => __( ‘comments’, ‘buddypress’ ),
‘close’ => __( ‘Close’, ‘buddypress’ ),
‘view’ => __( ‘View’, ‘buddypress’ )
);wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_scripts’ );
endif;
?>September 23, 2011 at 10:11 pm #120833Boone Gorges
KeymasterOK, sure. You should be able to drop this in your theme’s functions.php.
`if ( !function_exists( ‘bp_dtheme_enqueue_scripts’ ) ) :
/**
* Enqueue theme javascript safely
*
* @see https://codex.wordpress.org/Function_Reference/wp_enqueue_script
* @since 1.5
*/
function bp_dtheme_enqueue_scripts() {
// Bump this when changes are made to bust cache
$version = ‘20110921’;// Enqueue the global JS – Ajax will not work without it
wp_enqueue_script( ‘dtheme-ajax-js’, WP_PLUGINS_DIR . ‘/buddypress/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );// Add words that we need to use in JS to the end of the page so they can be translated and still used.
$params = array(
‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
‘comments’ => __( ‘comments’, ‘buddypress’ ),
‘close’ => __( ‘Close’, ‘buddypress’ ),
‘view’ => __( ‘View’, ‘buddypress’ )
);wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_scripts’ );
endif;
`September 23, 2011 at 9:50 pm #120831In reply to: Buddypress version of wordpress 'mystique' theme?
stripedsquirrel
ParticipantDoes anyone know if Mystique for BP works with the new 1.5?
September 23, 2011 at 9:48 pm #120830Connor
Memberlol tracking each other down :L
Thank you for replying, the code didn’t show up on the post on the wordpress.org one, it says it was moderated, is there any chance you could post it here
September 23, 2011 at 9:41 pm #120828Boone Gorges
KeymasterI just left a comment telling you how to do it on your wordpress.org post
September 23, 2011 at 6:14 pm #120793@mercime
Participant@kkradel bp.css is enqueued after your style.css and bp.css has this in stylesheet
`#wp-admin-bar .padder {
width: 95% !important; /* Line up the admin bar with the content body in this theme */
}`The easiest thing to do is to
1 – download a copy of bp.css https://plugins.svn.wordpress.org/bp-template-pack/tags/1.2/bp.css
2 – correct the width of #wp-admin-bar .padder to 100%
3 – upload to server in plugins/bp-template-pack to override old bp.cssSeptember 23, 2011 at 1:46 pm #120761jjstreat
Member“
…was the code I tried to blockquote above. New to the forums. Heh.
September 23, 2011 at 9:38 am #120746In reply to: How do you add a Favorite Button to Blog Posts?
Tammie Lister
ModeratorIt depends what you want to happen on favourite.
https://wordpress.org/extend/plugins/add-to-any/ works for social / bookmarking.
If you wanted to add the BuddyPress style favorites though that would be:
https://wordpress.org/extend/plugins/bp-favorites/
Or perhaps likes with this plugin:
https://buddypress.org/community/groups/buddypress-like/
I am not 100% sure how updated any of those plugins are though.
September 23, 2011 at 6:35 am #120731In reply to: [fixed] Bug on 1.5
Paul Wong-Gibbs
KeymasterWordPress does that to slugs when there’s already a pre-existing slug with the same name; it adds a number to differentiate.
September 23, 2011 at 1:39 am #120718In reply to: Widgets are not working BuddyPress 1.5
Chido
MemberBP Default. Native WordPress themes, like the login form that used to be in the right is not showing in this version
September 22, 2011 at 9:06 pm #120691In reply to: Some Activity features not working with BP1.5
everydayreviews
MemberIm still having trouble. now the message form is showing up, but when I click on send message, it comes up with a blank form, the name doesnt transfer. when i do send a message, i got a blank page with this error now:
Fatal error: Call to undefined function bp_get_settings_slug() in /home2/showandr/public_html/wordpress/wp-content/plugins/buddypress/bp-messages/bp-messages-notifications.php on line 20Also, all replies to any activity not showing up/not working. any ideas?
September 22, 2011 at 9:05 pm #120690rodrigueswilson
ParticipantHow can I chage wordpress 1.5 language?
September 22, 2011 at 8:19 pm #120689In reply to: buddypress 1.5 won’t activate?
Adam
MemberHeres what I did:
(this is on a multisite – yes my host allows for e to execute php files and -press type programs, including wordpress and bbpress)
I deleted my old BPress for other issues that worked upon its deletion. I then searched and installed this version through the dashboard for network admin and then tried to network activate. the first tie I got that error, I then checked the permissions and tried an experiment by setting things from 750 – 777 for all files and directories (including sub directories) of my “upload to” folder. so this made all associated files with bp 777. I tried activating it again….same issue.
September 22, 2011 at 7:24 pm #120677In reply to: Previous version?
Boone Gorges
KeymasterYou can download previous versions of BuddyPress from https://wordpress.org/extend/plugins/buddypress/download/
September 22, 2011 at 7:05 pm #120674In reply to: “My topics” link in support does not work
r-a-y
KeymasterThanks for the report.
I’ve filed a ticket about this:
https://buddypress.trac.wordpress.org/ticket/3604#comment:2September 22, 2011 at 6:48 pm #120671In reply to: importing users from 1.2.10 to 1.5
r-a-y
KeymasterUsers are the same even when you upgrade from 1.2.x to 1.5.
If you’re talking about an import users option for BuddyPress (not WordPress), that’s different. A plugin like that could be developed, but as far as I know, nothing freely exists at the moment. I could be wrong though.
September 22, 2011 at 6:47 pm #120670In reply to: Poll (User’s Results)
islandcastaway
ParticipantHello,
This really isn’t a BuddyPress thing.Check out https://wordpress.org/extend/plugins/polldaddy/
Polldaddy is an Automattic ruckus http://polldaddy.com/
September 22, 2011 at 6:25 pm #120666In reply to: Changing Group tab display defaults
Andrew Tegenkamp
Participantok, let’s give this code a shot. I just tried it on a local dev and it worked well.
Code:function redirect_group_home() {
global $bp;
$path = clean_url( $_SERVER[‘REQUEST_URI’] );
$path = apply_filters( ‘bp_uri’, $path );
if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[‘groups’][‘home’][‘slug’] ) === false ) {
/*
echo "HERE WE GO…";
echo "<PRE>"; print_r($bp->groups->current_group); echo "</PRE>";
echo $bp->groups->current_group->status;
echo $bp->groups->current_group->is_user_member;
*/
if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == ‘public’) {
//echo "<PRE>"; print_r($bp->bp_options_nav); echo "</pre>";
//exit();
if ($bp->bp_options_nav[‘groups’][‘announcements’][‘slug’]) {
bp_core_redirect( $path . $bp->bp_options_nav[‘groups’][‘announcements’][‘slug’] . ‘/’ );
} else {
bp_core_redirect( $path . $bp->bp_options_nav[‘groups’][‘forum’][‘slug’] . ‘/’ );
}
//bp_core_redirect( $path . ‘welcome/’ ); //quick hack for some other tab
}
}
}
function move_group_activity_tab() {
global $bp;
if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == ‘public’) {
$bp->bp_options_nav[‘groups’][‘home’][‘position’] = ’98’;
$bp->bp_options_nav[‘groups’][‘admin’][‘position’] = ’99’;
$bp->bp_options_nav[‘groups’][‘home’][‘name’] = ‘Activity Log’;
}
}
add_action(‘wp’, ‘redirect_group_home’ );
add_action(‘bp_init’, ‘move_group_activity_tab’);If that does not work for you can you kinda enable debug and comment out the /* and the //echo lines and see if you get anything different?
On a side note, I noticed you called them forums. Did you know that bbPress is now a plugin at https://wordpress.org/extend/plugins/bbpress/ if you don’t want all the BuddyPress features and just the forum itself? Just an FYI in case that serves ya better. Check out https://bbpress.org/blog/ for more as it’s new as of yesterday as an official release.
September 22, 2011 at 6:18 pm #120665In reply to: Blogs & Sites
r-a-y
KeymasterYou need to create a WordPress network first before you can use BuddyPress’ blog tracking functionality.
Have you read this article?
https://codex.wordpress.org/Create_A_NetworkSeptember 22, 2011 at 5:48 pm #120659In reply to: 404 Not Found for all pages!
MajinSaha
Member@Paul_Gibbs, the error I get is something like that:
[Thu Sep 22 08:47:40 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/wordpress/register, referer: http://localhost:9080/wordpress/September 22, 2011 at 3:40 pm #120633In reply to: 1.5 Group Avatars using Mystery Man Default?
sheffieldlad
MemberThe setting is in wordpress under discussion I believe
September 22, 2011 at 3:30 pm #120632In reply to: BuddyPress 1.5 compatibility for plugins and themes
Damon Cook
ParticipantAlso, Custom Profile Filters seems to be working fine with BP 1.5 / WP 3.2.1.
-
AuthorSearch Results