Search Results for 'theme'
-
AuthorSearch Results
-
December 27, 2016 at 1:45 pm #262401
danbp
ParticipantHi @venutius
The explanation of this error message and how to solve it can be found here:
https://codex.wordpress.org/Option_Reference
You just have to adjust the comment max links in WP settings > General > DiscussionThe message is coded in bp-core/bp-core-moderation.php:135 and is applied to
$max_linksvariable.Also…
When you get such myterious message, the first place to check for is the pot file! All words used by BuddyPress are listed there, including file names and line numbers. That way, it is easy to get the origin, the function name or some dev’s comment for what is going on.
This trick applies also for theme and other plugins.December 27, 2016 at 12:05 pm #262398In reply to: Broken after install
baramagnus
ParticipantSame thing happens to me, although I don’t get the code. I just get the menu on the left but the rest off the screen is blank. I have latest WordPress and there are no other plugins or themes that can cause a conflict.
December 27, 2016 at 9:24 am #262395In reply to: Remove/disable Login popup
BexxBl
Participantokay i found a solutuion.
since my theme has theme options i just needed to disable the login/register popups under gerneral.
December 26, 2016 at 9:35 am #262374In reply to: WordPress Customizer Problem
snorklebum
ParticipantHi,
Is this the free version of the customizr theme you are running? Which page isn’t showing correctly? I run this theme on my site and can’t see any problems anywhere but maybe I’m looking in the wrong place.
December 24, 2016 at 11:54 am #262362dekoningalex
ParticipantHi i really want to do this too, but i am new to Php.
This is all the code in my header.php
<!doctype html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php wp_site_icon(); ?> <?php $id = get_queried_object_id(); $page_scroll = (get_post_meta($id, 'page_scroll', true) == 'on' ? 'page_scroll' : ''); $snap_scroll = (get_post_meta($id, 'snap_scroll', true) == 'on' ? 'snap_scroll' : ''); $rev_slider_alias = get_post_meta($id, 'rev_slider_alias', true); $smooth_scroll = (ot_get_option('smooth_scroll') != 'off' ? 'smooth_scroll' : ''); $header_style = (get_post_meta($id, 'header_style', true) ? get_post_meta($id, 'header_style', true) : ot_get_option('header_style', 'style1')); ?> <?php $class = array(); array_push($class, $page_scroll); if(!empty($snap_scroll)) { array_push($class, 'snap'); } array_push($class, $smooth_scroll); ?> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head> <body <?php body_class($class); ?> data-themeurl="<?php echo THB_THEME_ROOT; ?>"> <div id="wrapper" class="open"> <!-- Start Mobile Menu --> <?php do_action( 'thb_mobile_menu' ); ?> <!-- End Mobile Menu --> <!-- Start Quick Cart --> <?php do_action( 'thb_side_cart' ); ?> <!-- End Quick Cart --> <!-- Start Content Container --> <section id="content-container"> <!-- Start Content Click Capture --> <div class="click-capture"></div> <!-- End Content Click Capture --> <?php if (thb_accountpage_notloggedin()) { get_template_part( 'inc/header/subheader' ); get_template_part( 'inc/header/'.$header_style ); } ?> <?php if (is_page() && $rev_slider_alias) {?> <?php $rev_slider_white = get_post_meta($id, 'rev_slider_white', true); ?> <div id="home-slider" class="<?php echo esc_attr($rev_slider_white); ?>"> <?php if (function_exists('putRevSlider')) { putRevSlider($rev_slider_alias); } else { _e('Please Install & Activate Revolution Slider', 'bronx'); }?> </div> <?php } ?> <div role="main" class="<?php echo esc_attr($snap_scroll); ?>"> <?php if(!empty($snap_scroll)) { ?><div class="ai-dotted ai-indicator"><span class="ai-inner1"></span><span class="ai-inner2"></span><span class="ai-inner3"></span></div><?php } ?>Where do i add the from your example in the code?
<div id="testid"><?php echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); ?></div>I already added the css to the childs theme style.css and added the three php snippers for correctly placing the bubbles as well, this is the only part i don’t understand so far.
Thanks
December 24, 2016 at 10:32 am #262360In reply to: Activity date off by one day
Henry Wright
ModeratorJust to add, Twenty Fifteen is a good theme to use for testing against. It will help determine if the issue is theme-related. Also try deactivating plugins one by one to try to find the culprit. Sometimes a plugin can cause an issue such as this.
December 24, 2016 at 2:08 am #262356In reply to: Buddypress Cover Photo Does Not Save
JeffWillia.ms
ParticipantThe solution:
Go to…
/wp-content/themes/child-theme/BuddyPress/css
Rename the CSS folder.
This causes the parent theme folder to load instead, and everything displays properly.
December 23, 2016 at 1:10 pm #262342In reply to: Display Username – When activity disabled
pare81
ParticipantHi,
you can test this within your themes function.php:
add_action( 'bp_profile_header_meta', 'bp_info_viewer' ); function bp_info_viewer() { if (function_exists('bp_displayed_user_id')) { $user = new WP_User( bp_displayed_user_id() ); echo '<span class="user-loginname">'; echo $user->user_login; echo '</span>'; } }within your css you can style
.user-loginname { ... }Hope this help
December 22, 2016 at 2:30 pm #262318In reply to: [Resolved] New Page within Buddypress Profile
pare81
ParticipantI’ve edited the code:
function my_setup_nav() { global $bp; bp_core_new_nav_item( array( 'name' => __( 'My Page', 'buddypress' ), 'slug' => 'my-page', 'position' => 70, 'screen_function' => 'my_page_template' ) ); } add_action( 'bp_setup_nav', 'my_setup_nav' ); function my_page_template() { bp_core_load_template( 'my-page-template.php' ); }Where I have to safe the “my-page-template.php”? I use a wordpress childtheme with included folder buddypress. Do I have to write some special informations within the my-page-template.php or is it enough to insert the shortcode?
actually the link from profile menu “my page” links to members overview page what not should be. it should linked to the my-page-template.php.
thanks
December 22, 2016 at 2:00 pm #262316danbp
Participantplease, never publish username and password or any ftp crendetials when you’re not asked for.
(i removed them)
Have you tested whith Twenty Sixteen ? If you use a child theme (what ever the theme) you must first test with the parent theme and if ok, test with the child.Did you allowed search engines (wp settings) ?
Are users allowed to comment (wp settings) ?
Is activity component enabled (bp settings) ?
Do you have an “activity” page ?
Are pretty permalinks enabled ?More infos ? Read here:
December 22, 2016 at 1:18 pm #262315superpuperlesha
ParticipantHello!
My user After register can not add any posts on newsfeed. They have message “there was a problem posting your update please try again”
I deactivateted all plugins and have clear child theme.Help my please.
December 20, 2016 at 5:56 pm #262293In reply to: Custom Messages Panel
danbp
ParticipantHi,
BP has only a few templates who fit with almost any (good) wordpress themes, like BuddyBoss.
Firt you have to read your theme child-theme doc and eventually about BP template hierarchy.December 20, 2016 at 3:46 pm #262290In reply to: Problem with thumbnails
tonyxs1
ParticipantHello, I asked the support of theme, but does not answer me, I wanted to do it alone and I would not buy another theme seen how much does this onesocial.
December 20, 2016 at 3:13 pm #262278In reply to: Problem with thumbnails
danbp
ParticipantChange your theme ? Adjust CSS ? Ask the theme author ! It is not a BuddyPress issue.
December 20, 2016 at 3:06 pm #262277In reply to: Problem form – post update
danbp
ParticipantWhen you don’t see a button, first thing to do is to ensure you see it when you use WP+BP+Twenty theme
When the base trio works, you activate your theme and you check again. If it is wrong, you know it is your theme (and not WP or BP or Twenty theme).
If you have plugins, you test’em the same way.
For what is related here, it is a CSS issue, related to your theme… You probably have to adjust the div height containing the form.
The Update form used for Site, Members and Group activities is in
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.phpIn this file you can see the div’s name, class, ID. Search for them in your theme style.css.
DEpendingwhat you find or not, you declare (or redeclare the css) in your child theme. Note also that the update is handled by Javascript. This means in particular that you need absolutely to use same div id and classes to get it to work. If your theme is too customized and is changing that, you have to find the difference and adjust it/them eventually.Of course this adjustment vary from one theme to another and it is quite impossible to give you more guidance on how to handle that.
December 20, 2016 at 10:40 am #262271In reply to: Buddypress Cover Photo Does Not Save
pare81
ParticipantIf you use standard buddypress css, you have nothing to do. but if you have create an folder buddypress/css/buddypress.css within your childtheme folder, you have to define some css styles.
Best
PareDecember 20, 2016 at 8:56 am #262269danbp
ParticipantHi,
deactivate FB plugin (and all others too) and try only with BP.
Test also WP/BP only with Twenty Sixteen theme.December 18, 2016 at 5:57 pm #262241In reply to: How can I put a message for global advice’s widget
danbp
ParticipantThe easiest way would be to use your own widget instead of the default one. The file containing that widget is here:
bp-messages/classes/class-bp-messages-sitewide-notices-widget.phpMake a copy of the code and add your custom message inside the widget. Add the whole into bp-custom.php or your child-theme functions.php
December 18, 2016 at 5:34 pm #262239In reply to: Filter activities
danbp
ParticipantHi,
BuddyPress is a swissknife, when used out of the box, does a lot of things. But like a swissknife, you have to choose the knife or the tool you need precisely at the moment M. And like with the famous knife, you have to do this manually.
Filtering the general activity.
There is a default filter with several options,
You can modify the activity loop display via the template,
You can write some functions for more customization.This is pretty much for a component, and almost available for all BP components. Not exactly what you could qualify as “not built-in”… But you’re right, it is not “ready to use” via a “clickodrome” or a press’n’play customizer (not yet).
If you search the forum, yo’ll find a lot of related topics, and some with working snippets.
On the codex, you have also many information. Ie. :December 18, 2016 at 8:44 am #262226In reply to: Problem With Pages
danbp
ParticipantHi,
BP pages are not ordinary WP pages. BP use the page system to assign a permanent slug, while content stays dynamic. Usual WP pages are static.
BP pages must be unique. This means also without assigned template, model and of course, should be a slug to a page, and not a sub-page. These page are not intended to be published and exist only for internal use. You don’t need to build a menu for register and activation. Normally, these items come up, depending the context (theme, plugins, widgets) and/or the user status.
Related to “activation” and “register” and most of BP components, you need to declare a “page” for each, despite the fact that BP will only use them to insert a template. Registration will receive xprofile fields which are added to the existing WP registration form.
And another template for the Activation stuff, depending the context: activation key, success message and so on.December 18, 2016 at 3:19 am #262223In reply to: Buddypress Cover Photo Does Not Save
JeffWillia.ms
ParticipantDid you have to do anything other than paste the code into your child theme functions.php file?
I tried it, but was unsuccessful.
Thanks!
December 17, 2016 at 9:36 am #262214In reply to: Buddypress Cover Photo Does Not Save
pare81
ParticipantHi Guys,
I’ve found an solution.
For childthemes you have to check the following infos:
Here is what I have paste to my child themes functions.php, and now the cover image works:
function your_theme_cover_image_css( $settings = array() ) { /** * If you are using a child theme, use bp-child-css * as the theme handel */ $theme_handle = 'bp-child-css'; $settings['theme_handle'] = $theme_handle; /** * Then you'll probably also need to use your own callback function * @see the previous snippet */ $settings['callback'] = 'bp_legacy_theme_cover_image'; return $settings; } add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 ); add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );December 17, 2016 at 9:36 am #262213In reply to: Buddypress Cover Photo Does Not Save
danbp
ParticipantOK. Let’s say that the issue is the child theme.
What is a child theme ? An empty style.css containing a header information saying to WP, hey here is a child !
Another file can be there: functions.php. This file is empty and will be filled in the time with custom functions.
With BuddyPress, you can have a “buddypress” folder, containing rewamped templates. For example, the profile header template or your member directory page…
As BP template where recently modified (2.7), you have to verify your template customization (if any). See here if it helps:
If you’re not concerned by templates, you have to check your custom functions or custom JS (if any)
And voila.
December 17, 2016 at 9:25 am #262212In reply to: Buddypress Cover Photo Does Not Save
pare81
ParticipantHi danbp,
Thanks for your reply.
Worked fine on all Themes, with all my other plugins. Only if I choose the child theme of my Plugin, the cover photo is not shown. If I change to an other theme, the cover photo is shown. Do I switch back to my child theme, the cover photo as away.Do I have to do somethin for childthemes? user picture woks, only Cover image has this prob.
Thanks and regards
PatrickDecember 17, 2016 at 9:05 am #262209In reply to: Buddypress Cover Photo Does Not Save
danbp
Participantdid you respect the size instruction ? Sizes are theme dependant and vary from one install to another.
When it comes to image issues under BP, you’ll need to test your install without any plugin and only a Twenty theme active (never another one) as first and check if you can upload medias.
If OK, you activate BP and check again.You may also verify that the attachment folder exist and has eventually the correct write rights on the server:
wp-content/uploads/buddypress/members/USER_ID/cover-image/Similar path may exist for groups, which use/groups/GROUP_ID/instead of/members/USER_ID/If all is OK with Twenty, WP and BP, you can activate your plugins, one by one and testing after each. If still OK, you activate or install the definitive theme.
If things went wrong at this stage, you can be sure there is an issue with YOU or the theme.
You because you have omit a setting or did a wrong setting, or the theme, because all was ok while using a Twenty…
-
AuthorSearch Results