Forum Replies Created
-
Author
-
Radu
ModeratorHi
Please replace this file content : wp-content/themes/kleo/kleo-framework/lib/function-facebook-login.php
With content of this content : https://pastebin.com/jsMdqLnV
Let me know if now you can login
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
the tab cannot be changed because of those JS errors

There are also some resources that cannot be loaded

The issue it’s caused by some server setting or htaccess settings or cache settings
Try one of those solutions (see the comments with solutions) :
CHECK also this : https://stackoverflow.com/a/42454296/7974488
If you will need to add that code into head tag from header just copy this file : wp-content/themes/sweetdate/page-parts/general-header.php to wp-content/themes/sweetdate-child/page-parts/general-header.php and edit the file how you need.
Child theme needs to be installed and activated.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Great
No problem
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Not sure if those can be like that without code alteration
There it’s a single UL generated there and it’s only one column if you want to you will need to make a php condition if there are more than 10 fields from example to generate another UL

here’s the file : wp-content/themes/sweetdate/custom_buddypress/class-bp-tabs.php
You can overwrite that by copying this function (it’s marked in screenshot in large rectangle)
COPY CODEif (!class_exists('BpMembersTab')): class BpMembersTab { /* tabs instance */ public $tabs_instance; public $args; public function __construct($args) { $this->tabs_instance = BpMembersTabs::get_instance(); $this->args = $args; } public function title() { $active = ''; if($this->tabs_instance->active_tab === FALSE || $this->tabs_instance->active_tab == $this->args["name"] ) { $active = 'active'; $this->tabs_instance->active_tab = esc_attr(str_replace("%", "",sanitize_title_with_dashes($this->args["name"]))); } return '<dd class="'.$active.'"><a href="#'.esc_attr(str_replace("%", "",sanitize_title_with_dashes($this->args["name"]))).'">'.$this->args["name"].'</a></dd>'; } public function has_profile_data($name) { $this->tabs_instance->has_data[$name] = false; $this->tabs_instance->fields_data[$name] = ''; if ( bp_is_active( 'xprofile' ) && get_group_id_by_name($name) ) : if ( bp_has_profile( 'profile_group_id='.get_group_id_by_name($name ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); if ( bp_profile_group_has_fields() ) : $this->tabs_instance->fields_data[$name] .= '<dl class="dl-horizontal">'; while ( bp_profile_fields() ) : bp_the_profile_field(); if ( bp_field_has_data() ) : $this->tabs_instance->has_data[$name] = true; $this->tabs_instance->fields_data[$name] .= '<dt class="bp-field-name bp-field-id-' . __(bp_get_the_profile_field_id(), 'kleo_framework') . '">'. __(bp_get_the_profile_field_name(), 'kleo_framework') .'</dt>'; $this->tabs_instance->fields_data[$name] .= '<dd class="bp-field-value bp-field-id-' . __(bp_get_the_profile_field_id(), 'kleo_framework') . '">'. __(bp_get_the_profile_field_value(), 'kleo_framework') .'</dd>'; endif; endwhile; $this->tabs_instance->fields_data[$name] .= '</dl>'; endif; endwhile; endif; endif; if ($this->tabs_instance->has_data[$name] == true) return true; } } endif;Into functions.php from child theme and to make your desired changes for that.
I don’t have a pre-maded solution for that.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorGood
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Great
Have a nice weekend
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorNo problem
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorI see,
At this moment it’s like that

The resources seems to not be found on the server… not sure why
I’ve noticed also this

did you had changed the code of the theme in some way ? in child or directly in the theme ?
If yes, try to deactivate the child theme and check again, try to re-upload parent theme files over the existing one, but if you had made some changes make a backup first.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Not sure if that it’s a problem.i think it’s the default behaviour of buddypress, you can ask that on their forum support.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorNo problem
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorSet the size to the image in this case, the title was like that cuz you had choosen the image width to large.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Add this css
COPY CODEli#change-avatar-personal-li { display: none !important; }Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
This it’s the only available wayCOPY CODE@media(min-width:768px) { ul#activity-stream { height: 600px; overflow-y: scroll; } }Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Found a easy way just copy this file : wp-content/themes/kleo/page-parts/general-title-section.php to your child theme in wp-content/themes/kleo-child/page-parts/
Create the missing folders in child theme.
Then open from child theme wp-content/themes/kleo-child/page-parts/general-title-section.php and add the next code in the marked area starting from line 23-24
COPY CODE/*Hide the tittle on events pages*/ if(is_singular('post')){ $title_arr['show_title'] = false; //$title_arr['show_breadcrumb'] = false; //$title_arr['extra'] = ''; } /*END Hide the tittle on events pages*/Replace post from the code with your post type slug.
It should be ok.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Make sure to have all things updated, theme , plugins and wordpress.
Check also if you deactivate child theme it works.
If it’s the same provide to me the credentials to take a closer look.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorJust set the image position top

Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorLet me know
btw what’s the plugin name ?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I see add this snippet to funcitons.php of your child theme
It should allow you to register
Let me know
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorNo problem.
Looking at they shortcode options and cannot see any option to add custom html in that shortcode.
https://getshortcodes.com/shortcodes/spoiler/
As a workaround you can use this css
COPY CODEp.bps_filters { background: #0095c2; width: 200px; position: fixed; color: #fff; right: 0; top: auto; } p.bps_filters a { background: red !important; color:#fff !important; padding: 0 10px; margin: 10px !important; display: block; }Will do this, there the div showing the selected criteria remains fixed when you scroll.

Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi
Great
I will mark it.
Have a nice week.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I see, when you made a change to theme options and immediately you preview the frontend it may be like that because the kleo_dynamic.css file was not completely generated. Usually this it takes from 0 to 5 seconds.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
You will have to ask the plugin author for a conditional tag like this if_plugin_page() and if they have one you will have to use a code like this
COPY CODEadd_action( 'after_setup_theme', 'hide_the_tile_certain_places', 10 ); function hide_the_tile_certain_places() { //title section $title_arr['show_title'] = true; //hide breadcrumb? $title_arr['show_breadcrumb'] = false; }wrap the add action in the plugin condition
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Those most sure are caused by the changes that you had made and they are not theme issues.
Changing the paths folder names etc…
So in first instance if i can see your site can be helpful cuz like this “i’m blind”
Did you encounter the same if you de-activate the child theme ? or/and using default wp theme?
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorAre you referring to that menu item “Message” ? this it’s added from wp-admin -> appearance -> menus
It’s rendered trough this file : wp-content/themes/sweetdate/page-parts/general-header.php
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I see, did you encounter the same on our demo ?from what device are you encounter issue ? What browser ? i can login with facebook on our demo using phone and desktop
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
1. Check in theme options choose no background

2. For the up_page.png it’s from a css from go to top button

file path : wp-content/themes/sweetdate/assets/styles/app.css line from 357
3. Here : wp-content/themes/sweetdate/functions.php line from 127

Check this for changing the wp content path : https://firstsiteguide.com/replace-rename-wp-content-folder/
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
It’s on top now right ? cuz on my install it’s on top.
What you need to achieve right now, not understand exactly from your latest reply.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I see that “wired layout” most sure there some css file missing! So if you will made a change to theme options and immediately you preview the site since the kleo_dynamic.css file it’s generated once you press save options or play with customizer.
So maybe you had done that prior to preview the site ?
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I see in this case should add that in that shortcode, from where you had chosen the fields or the search form to be collapsed ?
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts

