Forum Replies Created
-
Author
-
SQadmin
KeymasterThe same happens to me. works for the admin but not for guests.
Redirect the users to their profile with the code from this topic: https://archived.seventhqueen.com/forums/topic/redirect-user-to-their-profile-after-login
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterFor the upgrade account text, redefine this function in your sweetdate-child/functions.php
COPY CODEfunction kleo_membership_info() { global $membership_levels,$current_user; if (! $membership_levels) { return; } if (bp_is_my_profile()) { if (isset($current_user->membership_level) && $current_user->membership_level->ID) { echo '<a href="'.pmpro_url("account").'"><span class="label radius pmpro_label">'.$current_user->membership_level->name.'</span></a>'; } else { echo '<a href="'.pmpro_url("levels").'"><span class="label radius pmpro_label">'.__("Upgrade account",'kleo_framework').'</span></a>'; } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterNot important. You can use it without
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterGlad I could help
Cheers,
AbeHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, See this topic to show for all users profile: https://archived.seventhqueen.com/forums/topic/member-level-displayed-on-profile
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterThis problem has been discussed here several times. Try disabling plugins, enable a SMTP plugin and send mail trough a SMTP server. see the spam folder.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, That is the way it should be since there is no space to fit on the same row.
The drop-down will be available in 2.3 version that will come this monthHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi,
I searched this on the net and it seems related to s2member and ajax login in general, not related to the theme. See topics opened on this issue:
http://wordpress.org/support/topic/redirect-not-working-for-non-admin-users
http://www.s2member.com/forums/topic/s2member-and-loginwithajax-issue/Anyway we have found a fix to disable the s2member default redirect. Add this to sweetdate-child/functions.php:
COPY CODEadd_filter('ws_plugin__s2member_login_redirect', create_function('$arg','return false;'));
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterYou need to search in buddypress plugin for the file that handles that. If I already knew I would have told you the solution.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, We made it hidden by default. You can disable this by adding this css to sweetdate-child/style.css or in WP admin β Sweetdate β Styling options β Quick css:
@media only screen and (max-width: 767px) { .rev_slider_wrapper { display: block; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterFirst you need to have WordPress installed in your language: http://codex.wordpress.org/WordPress_in_Your_Language
Then translate it using the Codestyling localization plugin and click to generate the .mo file
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterThat should be the full url http://yourdomain.com/registration
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterI don’t know how you added it or what you did but the code works. I re-tested it…
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterI see the device in the picture π The picture is small and fuzzy.. over the image is an overlay because I can’t tell?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterWhat device are you using. I tested it with an Android powered device and it looks ok. When I click the image ones up in the popup and the background is beneath it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
Keymasteryour code has lots of errors
COPY CODE$author = sprintf( '<a href="%1$s" title="%2$s" rel="author">%3$s</a>', esc_url( bp_core_get_user_domain( get_the_author_meta("ID") ) ), esc_attr( sprintf( __( "View all posts by %s", "kleo_framework" ), get_the_author() ) ), get_avatar( get_the_author_meta("ID"), 32 ) );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterYou can only replace this class in sweetdate/custom_buddypress/class-bp-tabs.php and change it after each update
COPY CODEclass BpMembersTab_bp_album extends BpMembersTab { public function __construct($args) { parent::__construct($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 = sanitize_title($this->args["name"]); } return '<dd class="sliderEvent '.$active.'"><a href="#'.sanitize_title($this->args["name"]).'">'.$this->args["name"].' <span class="radius label alert">'.bp_album_get_total_picture_count().'</span></a></dd>'; } public function has_profile_data($name) { global $bp; $save_current_action = $bp->current_action; $bp->current_action = 'hack-to-show-all-albums'; if (!function_exists('bp_album_query_pictures')) { return false; } bp_album_query_pictures('per_page=100'); if ( bp_album_has_pictures() ) : $this->tabs_instance->fields_data[$name] = '<div id="gallery-carousel">'; while ( bp_album_has_pictures() ) : bp_album_the_picture(); $this->tabs_instance->fields_data[$name] .= '<span class="circle">'; $this->tabs_instance->fields_data[$name] .= '<a href="'.bp_album_get_picture_original_url().'" class="imagelink" data-rel="prettyPhoto[gallery2]">'; $this->tabs_instance->fields_data[$name] .= '<span class="overlay"></span>'; $this->tabs_instance->fields_data[$name] .= '<span class="read"><i class="icon-'. apply_filters('kleo_img_rounded_icon','heart').'"></i></span>'; $this->tabs_instance->fields_data[$name] .= '<img src="'.bp_album_get_picture_original_url().'" alt="">'; $this->tabs_instance->fields_data[$name] .= '</a>'; $this->tabs_instance->fields_data[$name] .= '</span>'; endwhile; $this->tabs_instance->fields_data[$name] .= '</div><!--end #gallery-carousel-->'; $this->tabs_instance->fields_data[$name] .= '<div class="clearfix"></div> <div class="four columns centered btn-carousel hide-for-small"> <small><a href="#" id="stanga-prev">'. __("PREVIOUS", 'kleo_framework').'</a> <a href="#" id="dreapta-next">'. __("NEXT", 'kleo_framework').'</a></small> </div>'; else: $this->tabs_instance->fields_data[$name] = "User hasn't uploaded additional photos"; endif; $bp->current_action = $save_current_action; bp_album_query_pictures(); $this->tabs_instance->has_data[$name] = true; return true; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, You should leave it like this and add this css to Sweetdate – Styling options – Quicks css to hide it:
COPY CODEbody:not(.my-account) #item-nav, body:not(.my-account) #item-body { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
Keymasterthe code is in sweetdate/functions.php around line 11
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterI understand now π and I have updated the code
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHI, I don’t think is possible…
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterThank you very much for appreciating our work.
You can customize the fields from WP Admin – Users – Profile fields
Customize the search form: WP Admin – Sweetdate – BuddypressAlso see the video tutorial for initial setup: https://archived.seventhqueen.com/video-tutorials
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, We fixed that in v.2.3 that will be released this month. Until then please download it from this link:
https://archived.seventhqueen.com/files/sweetdate_2.3.zipHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, You shouldn’t have replaced the customized CSS with the default one.
This code added to sweetdate-child/functions.php will make the bbPress pages full width:
COPY CODEadd_action('wp_head', 'kleo_bbpress_tpl', 11); function kleo_bbpress_tpl() { //user is viewing a forum page if(get_post_type() == 'forum' OR get_post_type() == 'topic' OR get_post_type() == 'reply') { //set to full width remove_action('kleo_before_content', 'kleo_sidebar'); remove_action('kleo_after_content', 'kleo_sidebar'); remove_action('kleo_before_content', 'kleo_extra_sidebar'); remove_action('kleo_after_content', 'kleo_extra_sidebar'); add_filter('kleo_content_class', create_function(null, 'return "twelve";')); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterLike I said it is a minimal breadcrumb because it is not aware of the Buddypress components which are not translatable.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterI don’t think that is the problem. We tested and haven’t encountered any issues. The only thing that can be is the situation I said above:
“that could come from the fact that you are logged in on another tab and the current tab hasnβt been refreshed and wonβt log you in since you already are. “Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, I see it is loading now.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterThat is generated by Buddypress navigation. Try their forum and see if it is possible
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterThat is a problem with the plugin so best is to talk with the developer.
A quick fix from us to hide the textarea, add this css:COPY CODE.autosizejs { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, That is not a simple job and requires custom development.
Regards,
AbeHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterTry the code again, I re-pasted it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi, You can override that by adding in sweetdate-child/functions.php:
COPY CODEfunction kleo_membership_info() { global $membership_levels,$current_user; if (! $membership_levels) { return; } if (bp_is_my_profile()) { if (isset($current_user->membership_level) && $current_user->membership_level->ID) { echo '<a href="'.pmpro_url("levels").'"><span class="label radius pmpro_label">'.$current_user->membership_level->name.'</span></a>'; } else { echo '<a href="'.pmpro_url("levels").'"><span class="label radius pmpro_label">'.__("Upgrade account",'kleo_framework').'</span></a>'; } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterThanks π
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterThat should happen if you are redirecting users on their last visited page and it is normal since the latest visited page was the Activate page.
Try redirecting users to their profile upon login. See this topic: https://archived.seventhqueen.com/forums/topic/redirect-user-to-their-profile-after-loginHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterPlease import the demo revolution sliders that are in the package downloaded. You don’t need to add code to show the rev slider, set it from Sweetdate – Homepage or for any other page when you edit it from General settings – Header
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterYou can add a filter to set your register page with this added to sweetdate-child/functions.php:
COPY CODEadd_filter('kleo_pmpro_url_redirect', 'my_custom_redirect'); function my_custom_redirect() { if (is_user_logged_in()) { return pmpro_url("levels"); } else { return bp_signup_page(); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterYou easily share with droplr.com or dropbox.com
Images are uploaded using rtmeadia or bpalbum?
You should come with full details on your problems πHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi,
You should override the class that handles the bp-Album tab. I will try and give you the codeHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterHi,
you can remove our customization with this added to sweetdate-child/functions.phpCOPY CODEadd_action('after_setup_theme', 'my_customizations'); function my_customizations() { remove_action('login_head', 'custom_login_css'); }
Then you can define you own custom code based on ours:
COPY CODEfunction my_custom_login_css() { global $kleo_sweetdate; echo '<style>'; echo $kleo_sweetdate->get_bg_css('header_background', 'body.login'); echo "\n"; echo '.login h1 a { background-image: url("'.sq_option('logo',get_template_directory_uri().'/assets/images/logo.png').'"); background-size: 250px;width: 326px; min-height: 80px;}'; echo '#login {padding: 20px 0 0;}'; echo '.login #nav a, .login #backtoblog a {color:'.sq_option('header_primary_color').'!important;text-shadow:none;}'; echo '</style>'; } add_action('login_head', 'my_custom_login_css');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadmin
KeymasterSee this how you can enable the classes in menu: http://sevenspark.com/how-to/how-to-add-a-custom-class-to-a-wordpress-menu-item
then add the show-for-small class to the items you want to be visible on mobile
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts