Forum Replies Created
-
I noticed the registration, found anything useful?
No,
In my case the account doesn’t get activated yet until done manually by entering the code from the URL in the input form.
see screenshot: https://www.poke-spot.com/wp-content/uploads/Screen-Shot-2018-07-01-at-18.03.05.png
Hi 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
Tried to add that in the submenu item, no luck 🙁
I can’t seem to find the code for the search function for the members page in any of the files… where is it located? Sorry i’m a newb.
Thank you very much that solved the profile avatar upload issue, it now works. Yet, it created another problem for uploading a cover image. In detail, if one clicks on change over profile there is nu upload button present anymore, which makes it impossible to upload one.
Hi danbp,
Thank you for your response.
There is a patchfile for bp-plupload that might solve the issue in your link, but how do i patch the file? Iv’e tried adding the code of the patch in src/bp-core/js/bp-plupload.js but that didn’t work.
I have this same issue… any solution?