Forum Replies Created

Viewing 40 posts - 8,801 through 8,840 (of 11,328 total)
  • Author
  • in reply to: Adding advertising areas in header using a widget #44980
     sharmstr
    Moderator

    You should read up on wordpress actions. They allow you to inject things into places that theme/plugin developers have specified. If you look at kleo/header.php you’ll see a do_action called ‘kleo_before_main’. That action lets you inject whatever you want before the title/breadcrumb section. So instead of editing core files, you can use a add_action routine in your functions.php file.

    COPY CODE
    
    add_action('kleo_before_main','display_advertising');
    function display_advertising() {
    	echo "my ads here";  //you could put a shortcode here if you want, too.
    }
    

    So, its add_action(‘where’,’what’);

    I dont specifically see an action for adding it just after the title/breadcrumb and before the page divides itself into sections, but you can add your own action. Copy /kleo/page-parts/general-title-section.php to your child theme and add do_action(‘kleo_after_title’); to the very bottom. Then you can use the above example, but put in kleo_after_title instead of kleo_before_main.

    If you want to target the area just above the content, but not above the sidebar, then use ‘kleo_after_main_content’

    You can even get tricky with it and specific pages like.

    COPY CODE
    
    add_action('kleo-after-title','display_advertising');
    function display_advertising() {
    	if ( is_front_page() ) 
    		echo "my ads here";
    }
    

    The is_front_page() will only inject it into the front page.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Rich text editor for buddypress? #44941
     sharmstr
    Moderator

    bbpress doesnt support it well. They have known about this for years but its not a priority for them. For buddypress, ask over in their forums.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    Oh ok. Its hard to guess who knows what already around here 🙂

    These work for me

    Forums: is_bbpress() && !bp_is_members_component() && !bp_is_user()
    Blog: is_home()
    Members: bp_is_members_component()
    Members “own” profile: bp_is_home()

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Questions about upgrade #44931
     sharmstr
    Moderator

    1 – Yes. The current version is compatible as well.
    2 – Very soon
    3 – The download package will include VC 4.4.2. As always, you will need to install it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: avatar in posts grid #44908
     sharmstr
    Moderator

    I dont understand your question. Are you asking how to adjust the size? If so, you can do that with css

    COPY CODE
    
    article .post-header .post-meta .meta-author img {
    height: 25px;
    width: 25px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    Logos and such are set in theme options. if you’ve been running the Kleo parent theme to set up your site, you need to re-enable it, export the settings, enable kleo-child and import the settings. Either that or manually reconfigure your settings: http://sharmstr.com/saving-importing-and-exporting-kleo-settings/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Demo Data Download #44899
     sharmstr
    Moderator

    Hmmm. Maybe a permissions issue, but that seems like it would error out. Can you try enabling wp debugging and try importing By Content Type > Pages

    To turn on debugging, open up wp-config.php and look for WP_DEBUG. Set it to this

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_DISPLAY’, true);

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: VC Grid error #44893
     sharmstr
    Moderator

    If you’re talking about VCs new Grid Elements that they recently released, its not supported until Kleo 2.4 which will be released soon. 2.4 has been delayed due to the new VC and all its changes AND Buddypress 2.2 which was released today.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: avatar in posts grid #44892
     sharmstr
    Moderator

    Soon. It was due to already be released, but Visual Composer had a major update and Buddypress released 2.2 today. Kleo had to be modified to support both of those updates.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Demo Data Download #44891
     sharmstr
    Moderator

    I had that issue when I was hosted on a slow server. They eventually showed up (30 mins later?). The script was still being processed on the slow server. Give it some time and report back if the pages still dont show up.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: STEPS TO UPDATE KLEO THEME AND PLUGINS #44890
     sharmstr
    Moderator

    You should not install newer versions than the ones provided in the Kleo install. VC 4.4.2 made significant changes/additions that have been undergoing compatibility testing with the next version of Kleo. As a matter of fact, the release of VC 4.4.2 actually delayed the release of Kleo 2.4.

    Kleo 2.4 will be released very soon and will have VC 4.4.2. (I actually got a copy of it today and its working nicely). In the meantime, download Kleo 2.3.1 from themeforest. It has VC 4.3.5 which works with with Kleo 2.3.1 AND fixes some issue that VC 4.3.4 (the version you tried to upgrade) had with WP 4.1

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Garbage Script #44888
     sharmstr
    Moderator

    But that’s my point. It has only found the comment that says “for better garbage collection”. Its not actually initiating WP session garbage collection. It finds it in qTip2 which is a jquery script that provides tool tip functionality. That jquery script doesnt have access to the db and doesnt make calls to the db. “Garbage Collection” is a global term and not specific to wordpress, php or sql. In this case its merely saying, unhook all these IDs so we dont waste resources. Here’s the code

    COPY CODE
    
    // Remove ID from used id objects, and delete object references
    // for better garbage collection and leak protection
    		this.options = this.elements = this.cache = this.timers = 
    			this.plugins = this.mouse = NULL;
    
    		// Delete epoxsed API object
    		delete QTIP.api[this.id];
    

    Compare that to wpdatables which is actually initiating garbage collection via “public function garbageCollect()”.

    You haven’t specifically said that they are still seeing erroneous sql calls with datatables disabled. Can you confirm? If they are, can you switch to WP 2014 or 2015 theme and see if they persist?


    @abe
    : Can you put eyes on this and confirm I’m making sense here?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    We can all replicate the issue. WP controls that, just like Buddypress controls their pages. For example, try typing something into the editor for the blog page. It doesnt display. WP takes over displaying any page you set to being your “blog” page. Just like Buddypress takes over pages like Register, Members, Activate, etc. I know its confusing because you see the sidebar option. Unfortunately it doest work for certain pages that are merely placeholders for processing that happens outside of the standard page routines.

    Instead of content aware sidebars, try using Widget Logic. You can use one sidebar, then set only certain widgets to display if its the blog page. https://wordpress.org/plugins/widget-logic/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Custom member page Pagination problem (Ajax?) #44882
     sharmstr
    Moderator

    Does it work in a different theme?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Garbage Script #44880
     sharmstr
    Moderator

    Can you ask them for the part of the log that shows its the kleo framework? There is a mention garbage collection in a commented out part of the script in the framework. But it doesnt actually initiate or schedule garbage collection.

    Also, can you reply privately with a link and credentials to your site.?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Move profile tabs order #44860
     sharmstr
    Moderator

    The copy and paste doesn’t work because of the pretty formatting of the single quotes as @Norman found.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Popup login not working at homepage #44850
     sharmstr
    Moderator

    Or try this plugin http://wordpress.org/plugins/peters-login-redirect/ I think that works with the bp widget

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Popup login not working at homepage #44848
     sharmstr
    Moderator

    I suggest asking over on the buddypress forum since its their widget.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44838
     sharmstr
    Moderator

    Also, lets take this offline. Email me the results.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44837
     sharmstr
    Moderator

    It appears that BP Custom Reg is not working with BP 2.2. As far as injecting the message. Try removing all of the css and see if the BP Custom Reg message even shows up anymore.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44835
     sharmstr
    Moderator

    btw – you can set up a test site using sitegrounds staging feature.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44834
     sharmstr
    Moderator

    Its because you upgraded BP to 2.2. Early on I warned you about setting up a test site to make sure everything works before upgrading your production site. There are several things that don’t work in Kleo as well.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44833
     sharmstr
    Moderator

    Nope.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44830
     sharmstr
    Moderator

    Just so you know I’m not crazy. This is from that test site I set up for you.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    in reply to: Changing messaging correctly and where to find. #44829
     sharmstr
    Moderator

    Its worked on the test site.

    The issue is that second message doesnt have a css class associated with it so its hard to target it. Arrrrg. Hold on.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44827
     sharmstr
    Moderator

    Did you remove the .error one that radu gave you? You should only have what I posted. Nothing else.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Problem with Buddypress 2.2 – Creat a Group link #44823
     sharmstr
    Moderator

    Good on ya! I’m sure there will be plenty of others who dont follow that golden rule.

    btw – that code will not be part of 2.4. Its merely a temporary workaround and should be removed when Kleo supports BP 2.2

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Create page that filters by pmpro member type #44817
     sharmstr
    Moderator

    You should ask over on the PMPro forum or if you dont want to pay, then search their support forum on their wp plugin page.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Modal login and registration page customization #44812
     sharmstr
    Moderator

    Try this instead

    COPY CODE
    
    add_action( 'after_setup_theme', 'move_fb' );
    function move_fb() {
    remove_action( 'kleo_before_login_form', 'kleo_fb_button', 10);
    add_action( 'kleo_after_login_form', 'kleo_fb_button', 10 );
    }
    
    

    You’ll have to sort out styling of the fb box when its on the bottom.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Image above footer #44811
     sharmstr
    Moderator

    You need to put the img src there.

    COPY CODE
    
    echo '<img src="path-to-image.jpg" />';
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44810
     sharmstr
    Moderator
    COPY CODE
    
    #activate-page > p {
        display: none !important;
    }
    #activate-page .bp-template-notice {display:none !important;}
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing messaging correctly and where to find. #44804
     sharmstr
    Moderator

    @radu I’ve been working with him. I’ll handle it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Problem with Buddypress 2.2 – Creat a Group link #44801
     sharmstr
    Moderator

    Try this code

    COPY CODE
    
    <script>
    jQuery('.group-create').on( 'click', function(event) {
    document.location.href = '/groups/create/';		
    			return;
    	
    });
    </script>
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Problem with Buddypress 2.2 – Creat a Group link #44792
     sharmstr
    Moderator

    They changed their js code. Those changes obviously aren’t in Kleo yet. You can try putting this into your Theme Options > General Settings > javascript code, but I dont know what it will break.

    EDIT: Code has issues. Working on a better solution.

    In the future, you should wait for Kleo to support new versions of VC, Rev Slider, bbPress, WP and BP before upgrading.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: avatar in posts grid #44784
     sharmstr
    Moderator

    If you mean having the author avatar in the author meta, I’ve added that to 2.4.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    in reply to: Menu issue when add ##profile_link## #44779
     sharmstr
    Moderator

    Yes, please add them to the feature requests.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Username / Password realtime validation #44778
     sharmstr
    Moderator

    No. I haven’t.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Image above footer #44759
     sharmstr
    Moderator

    Put this is your functions.php file

    COPY CODE
    
    
    add_action('kleo_after_main','inject_image');
    function inject_image() {
    	if ( is_front_page() ) 
    	echo "image code here";	
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Forums > Reply : Styling Issue #44754
     sharmstr
    Moderator

    Its happening because your site is generating a bunch of extra li tags. If I manually correct it using the inspector, the label correctly positions itself.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    in reply to: Forums > Reply : Styling Issue #44753
     sharmstr
    Moderator

    Sorry, got pulled away.

    No, I dont see any issue with that. I’m still trying to figure out why you need it though. Its not happening on any of my sites.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 40 posts - 8,801 through 8,840 (of 11,328 total)

Log in with your credentials

Forgot your details?