Search Results for 'theme'
-
AuthorSearch Results
-
September 24, 2011 at 6:08 pm #120924
Connor
MemberI know I added this code here:
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;I put this in the last section of functions.php
September 24, 2011 at 6:06 pm #120923Connor
MemberThanks for getting back,
Nope the wp-CONTENTfile is still there, and all in the correct place buddypress is ROOT>WP-CONTENT>PLUGINS>BUDDYPRESS and the themes are also the same
September 24, 2011 at 5:57 pm #120921Paul Wong-Gibbs
KeymasterTake a look at the HTML source of http://utraz.com/members/test/activity/
You’ll see
http://utraz.comWP_PLUGINS_DIR/buddypress/bp-themes/bp-default/_inc/global.js?ver=20110921
Obviously, that WP_PLUGINS_DIR shouldn’t be there! This is a strange issue. Have you moved your wp-content folder, or the plugins folder, or done any other non-standard ways to customise your BuddyPress install?
September 24, 2011 at 5:43 pm #120911In reply to: Plugins that dont work with 1.5
modemlooper
ModeratorTop of this page has links to lists of compatible plugins and themes http://codex.buddypress.org
September 24, 2011 at 5:27 pm #120905In reply to: [Resolved] Buddy Press Theme Intergration ???
@mercime
ParticipantDownload the six BP template folders which transferred into your active WP theme folder during the BP compatibility process down to your computer hard drive. Open up the first file, activity/index.php , with text editor of choice
1) At the top, replace:
``with:
``2) At the bottom of same file, replace
``
with:
``
3) Before closing the file, you might also want to change the header tag of the activity/index.php
``
to
``
so all your headers across site are the same.Save file. Repeat 1-3 on the remaining 10 files. Save and upload to your active WP theme folder in server.
September 24, 2011 at 5:05 pm #120904In reply to: Widgets are not working BuddyPress 1.5
Lynn Hill
ParticipantI have a similar problem. Since the upgrade my system crashed. A friend deleted the BP registration option Plugin for me which seemed to bring the dashboard back for me to use. But crashed the site when I reinstalled it. I know it wasn’t fully compatible with WP in the first place but it did a half decent job.
I’m getting robots joining as members and I’m having to delete them one at a time. The ‘User pending’ never worked, all captchas don’t work either or are not compatible with latest WP.
My theme (BP columns 1.2) has also changed from 3 columns to 2.
My friend is working on changing the look of the site, but if I cannot get any of the important widgets to work I shall be spending most of my time dodging the robots.
Any suggested help is appreciated. Even if it’s possible to go back to the previous BP until it’s sorted out.
Thanks in advance.September 24, 2011 at 2:21 pm #120897In reply to: Page not found – after update
fib
ParticipantI’ve changed to the default theme and have menu now but still no activity or wp-admin?
September 24, 2011 at 11:43 am #120882In reply to: Page not found – after update
fib
ParticipantHow do know what themes are 1.5? I’m using bp-fakename
September 24, 2011 at 10:24 am #120870Paul Wong-Gibbs
KeymasterHey guys
Regarding /activity/post/ being broken. If you are using the default theme, and have javascript disabled, you will get this problem. If you are using a 3rd party theme without BP-Default’s javascript, problem will also occur. I’ve just fixed this bug in core: https://buddypress.trac.wordpress.org/ticket/3612
It will be in BP 1.5.1
September 24, 2011 at 10:10 am #120869In 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 8:04 am #120865In reply to: custom community theme help
best84
ParticipantSeptember 24, 2011 at 7:53 am #120864In reply to: custom community theme help
@mercime
ParticipantIt would be easier if you gave the site URL. Or, you could install Firebug, a Firefox add-on, where you can check what div you need to add display:none or style accordingly.
September 24, 2011 at 7:27 am #120863In reply to: [Resolved] Buddy Press Theme Intergration ???
Chi
MemberCool. I got Bp 1.5 and BP template pack 1.2 already installed, the installation is correct and 11 files need to be update. I’ve added
the Pastebin url here for the avenue page.php code. here : http://pastebin.com/vRu5jLDb
also here’s the avenu index.php code here : http://pastebin.com/y15va2g3
also I’m up to the setup option to install “Forums for Groups” and “New! Site Wide Forums” which I havent installed yet.
Here’s something to give back to the community to test out WP theme’s, plugins, customisations without an internet connection http://www.instantwp.com/
September 24, 2011 at 2:38 am #120855In reply to: is it possible to let user to define his own theme?
echoman
Participant@nahummadrid I hope there is going to be an upgrade, because currently on buddypress 1.5 it’s not working.
September 24, 2011 at 2:24 am #120854In reply to: [Resolved] Can’t Install Sitewide Forum
echoman
ParticipantLiIttle something i learned as a newb.
Activate your forum next thing you’ll want to do is then go to your settings you’ll see forums on the bottomYou’ll see archive slug and Single Slugs rename in the forum base and then in the forum slug below aswell. Because forum actually conflicts with the sitewide forum. let’s say name your sitewide forum bulletin board or support. The group forum natively is the forum on the header menu. Which you can later rename..
Now you want to make a topic go to topic in the forums. Click you’ll see “all forums” and “new forum”
I would click new forums, here you name a topic of interest. let’s say general discussion name your topic and below give a basic Description(optional).Now you want to save it you’ll then see a link look at the link copy it. but only copy
http://www.example.com/support
Next thing you’ll need to do which is the final step. Go to the appearance section. You’ll see menu which is you site navigation menu. You’ll have a few things you have to do here.
First make sure you make a custom menu or which now the main theme allows you to or you can make a custom menu name.
look at the section on the top left corner a drop-down you click whichever theme is named or you select as your menu save .
Now go down to custom links remember that link you copied earlier(http://www.example.com/support) paste it in there and name it click add to menu.Now you have a list you can now rearrange move or even create a drop-down menu on. What i did have activity /members /group and with forums i renamed that “group forum directory” moved that slightly to the right which creates a Drop-down, then the site wide forum which i named support or whatever you want to call it. Now save. DONE!!
Go to your site homepage and everything should be there. Best of luck!!
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 11:50 pm #120844In reply to: Only default theme works with BuddyPress
@mercime
ParticipantMake sure you installed and activated BP Template Pack only on site where you activated BuddyPress in network – on main site or subsite. Also, methinks your server has memory limits issues – check page @aces posted above
September 23, 2011 at 11:09 pm #120842In reply to: Page not found – after update
Tammie Lister
ModeratorDid you update your theme to a BuddyPress 1.5 one? Also is there anything in your php error logs or / and server logs?
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:12 pm #120820Paul Wong-Gibbs
KeymasterThat form posts by javascript. You’ve not loaded the default javascript file (global.js) in your theme. I think this is probably the problem; see that your filters on your member directory etc don’t work either.
September 23, 2011 at 9:08 pm #120815In reply to: Only default theme works with BuddyPress
pixelsandtea
MemberI did as @mercime suggested, I installed the BP Template Pack. After I activated it and set it up I no longer had access to the network admin area! Luckily though I had my wp-config and .htaccess files up to date and backed up on my computer so I just ftp’d it into place overwriting the previous files. Now since I did that, I no longer have access to my dashboard at all! But at least I could now load the buddypress pages ok.
Thankfully, it’s only a brand new install so I haven’t really lost anything but I will have to re-install the whole network again and I won’t be using the template pack again.
And @aces, it’s because the template pack fixed the front-end loading issue that I can’t see how the memory limit would be preventing buddypress from loading.
September 23, 2011 at 8:36 pm #120811In reply to: Only default theme works with BuddyPress
September 23, 2011 at 7:59 pm #120806In reply to: BuddyPress Members page now gives this error
linick
MemberI was going to post the same problem…
I get this error:
Fatal error: Call to undefined function bp_activity_get_permalink() in /wp-content/plugins/buddypress/bp-members/bp-members-template.php on line 590
I’m using the default theme
-
AuthorSearch Results