Support for OneCommunity - BuddyPress Community e-Learning LMS Theme

Diabolique

Diabolique supports this item

Supported

This author's response time can be up to 1 business day.

Popular questions for this item

Missing style sheet error when installing the theme

A common issue that can occur with users new to installing WordPress themes is a "Broken theme and/or stylesheets missing” error message being displayed when trying to upload or activate the theme. This error message does not mean that the theme you have purchased is broken, it simply means it has been uploaded incorrectly. Luckily, there is a very easy fix.

I installed WooCommerce and the sidebar is displayed below products.

Add following code into theme’s functions.php:

// WOOCOMMERCE
remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
add_action('woocommerce_before_main_content', create_function('', 'echo "<div id="\" content="">";'), 10);
add_action('woocommerce_after_main_content', create_function('', 'echo "</div>";'), 10);
remove_action( 'woocommerce_before_main_content',
    'woocommerce_breadcrumb', 20, 0);

When I go to the single group page then it redirects me to the group’s forum (groups/music/forum/). I want to be redirected to the Home of the single group (groups/music). How to do it?

Open following files:
wp-content/plugins/onecommunity-shortcodes/onecommunity-shortcodes.php
groups/groups-loop.php

... and replace (few times):

<?php bp_group_permalink() ?>forum

for

<?php bp_group_permalink() ?>

How to replace OpenSans font?

Open functions.php and replace source of font here:
wp_register_style('OpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic');
wp_enqueue_style( 'OpenSans');

You can use fonts from google – http://www.google.com/webfonts

If you want to replace Open Sans for Yanone Kaffeesatz font then replace

wp_register_style('OpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic');
wp_enqueue_style( 'OpenSans');

for

wp_register_style('Yanone', 'http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
wp_enqueue_style( 'Yanone');

Now open style.css and replace “Open Sans” for “Yanone Kaffeesatz”.

How to replace Quicksand font for Bebas Neue?

Go here – http://www.fontsquirrel.com/fonts/bebas-neue Click on @font-face Kit and download @font-face Kit.

Now unpack downloaded zip file and upload following files to wp-content/themes/OneCommunity/font/:

BebasNeue-webfont.eot
BebasNeue-webfont.svg
BebasNeue-webfont.ttf
BebasNeue-webfont.woff

Open wp-content/themes/OneCommunity/font/font.css remove everything and paste style from stylesheet.css (this style is in the downloaded file from fontsquirrel.com).

Open style.css and replace
QuicksandBook
QuicksandBold
for
BebasNeueRegular

I have trouble installing this theme.

If you see following error:

    Unpacking the package…
    Installing the theme…
    The package could not be installed. The theme is missing the style.css stylesheet.
    Theme install failed.

then you are trying to upload whole file downloaded from ThemeForest. You have to unzip downloaded file -> compress OneCommunity folder to ZIP format and upload. Inside the Help folder you’ll find a documentation – make a double click on the index.html.

I see this error “Fatal error: Call to undefined function bp_is_active() ...”

You have to activate BuddyPress plugin.

How to add pagination to the groups page?

Open group/groups-loop.php and paste following code – http://pastebin.com/qsAngbfz

between:

<?php endwhile; ?>
---paste here---
[/ul]

You have to paste it in 4 places.

You can decrease per_page=500 too – number of groups per page.

How to remove @font-face fonts?

Open functions.php and remove following code lines:
wp_register_style( 'font', get_template_directory_uri() . '/font/font.css', array(), bp_get_version() );
function load_fonts() {
           wp_register_style('OpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic');
            wp_enqueue_style( 'OpenSans');
        }

 add_action('wp_print_styles', 'load_fonts');

How to changethe background of frontpage with image background?

Upload your image into images folder of theme and paste folowing code in myStyle.css:

body { background-image: url( "images/image.jpg" ); background-position: top center; background-repeat: no-repeat; }

How to make the memberlist page visible for logged in members only?

You should use following conditional tag

<?php if ( is_user_logged_in() ) { ?> … <?php } else { ?> NOT LOGGED <?php } ?>

Open members/index.php and replace – http://pastebin.com/W5PVehpx for – http://pastebin.com/4Pcdiqx5

How to change size of logo?

You can change logo size in functions.php:

add_theme_support( 'custom-logo', array(
'height'      => 93,
'width'       => 296,
'flex-height' => true,
'flex-width'  => true,
) );

Where to change background color of header tiles?

Paste following CSS in Appearance -> Customize -> Additional CSS

header .tile, header .tile2 { background:#cccccc; }
header .tile:hover { background:#cccccc; }

Where to change background color of tabss?

Paste following CSS in Appearance -> Customize -> Additional CSS

#item-nav, #object-nav, #object-nav2, .object-nav-container { background:#dddddd; }

I want to know how to install the option “Login” for external people, who don’t have the account in Wordpress.

Install such plugin – https://wordpress.org/plugins/oa-social-login/ ...and paste code provided by this plugin with social login in the wp-content/plugins/onecommunity-shortcodes/onecommunity-shortcodes.php file after:

<input type="submit" name="wp-submit" id="shortcode-login-submit" value="<?php _e( 'Log In', 'OneCommunity' ); ?>" tabindex="100" />

How do display cover images on profile and group pages?

Generally theme doesn’t support cover images because in this type of design the cover images just doesn’t fit. But if you really need to enable it then here is a solution how to do it.

1. Open the functions.php file of theme and paste following code – https://pastebin.com/gP7U9XK0

2. Go to WP Dashboard -> Settings -> BuddyPress -> Options and enable cover images.

3. Open wp-content/themes/onecommunity/groups/single/cover-image-header.php remove everything and paste it – https://pastebin.com/aGpsmqCx

4. Open onecommunity/groups/single/home.php remove everything and paste it https://pastebin.com/4GgtJ8Vp

5. wp-content/themes/onecommunity/members/single/cover-image-header.php remove everything and paste it – https://pastebin.com/uMwdasZY

6. Open onecommunity/members/single/home.php remove everything and paste it https://pastebin.com/4NKGr4XD

Show more

Contact the author

This author will respond to buyers' questions and provides limited support through their own support system.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by