Forum Replies Created

Viewing 15 replies - 1 through 15 (of 54 total)
  • Thread Starter cityfox

    (@cityfox)

    I’m sorry. I got a blank page after posting the topic. And when I reloaded the Support Threads page my topic was not there. So I thought that it failed.

    Thread Starter cityfox

    (@cityfox)

    Hi Alex,

    that would be awesome. ??

    Merle

    Thread Starter cityfox

    (@cityfox)

    Hi Devon,

    thank you for your message. Basically, I still have this problem (with Origamiez v.1.2.9). Two thoughts on that:

    1) I use the layout “Three column – small:large:medium” for blog posts and single posts. Have you checked that, too?

    2) On my website the Origamiez theme always shows related posts – although I unchecked the box in layout settings. Maybe this bug plays a role for this issue. However, I don’t want to show related and adjacent posts at all, so I hide that via css completely. But I want to show the date/time and the author for my blog posts (but not for the Notif pages).

    I found a workaround:

    I noticed that that Notif Pages are attachment pages. With the css selector body.attachment I was able to hide all unwanted parts for attachment pages.

    Best
    cityfox

    Thread Starter cityfox

    (@cityfox)

    Hi Alex,

    I wish you a Happy New Year! All the best for you and your family!

    For the Google font issue:

    If I remove the 2 block codes the site doesn’t load the font files from my child theme. So I tried this:

    1) File origamiez/inc/functions.php

    a. Line from 1152 – 1156:

    I changed the code to:

    //GOOGLE FONT
        $font_groups['default'] = array(
    		'oswald' => '/wp-content/themes/cocomero/fonts/google-fonts.css?family=Oswald:400,700&subset=latin,vietnamese',
    
            'noto-sans' => '/wp-content/themes/cocomero/fonts/google-fonts.css?family=Noto+Sans:400,400italic,700,700italic&subset=latin,vietnamese',
    
    		'josefin-slab' => '/wp-content/themes/cocomero/fonts/google-fonts.css?family=Josefin+Slab:400,400italic,700italic,700',
        );

    b. Line from 1174 – 1180:

    I didn’t change this code.

    2) I created a folder called “fonts” in my child theme and there I put:

    a. Folders “josefinslab”, “notosans” and “oswald” with font files (that I downloaded from Google)

    b. a css file called “google-fonts.css” with this code:

    /* latin */
    @font-face {
      font-family: 'Josefin Slab';
      font-style: normal;
      font-weight: 400;
      src: local('Josefin Slab'), local('JosefinSlab'), url(josefinslab/46aYWdgz-1oFX11flmyEfegdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
    }
    /* cyrillic-ext */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/C7bP6N8yXZ-PGLzbFLtQKRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
      unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
    }
    /* cyrillic */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/iLJc6PpCnnbQjYc1Jq4v0xJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
      unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    }
    /* devanagari */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/5pCv5Yz4eMu9gmvX8nNhfRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
      unicode-range: U+02BC, U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200B-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
    }
    /* greek-ext */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/gEkd0pn-sMtQ_P4HUpi6WBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
      unicode-range: U+1F00-1FFF;
    }
    /* greek */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/iPF-u8L1qkTPHaKjvXERnxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
      unicode-range: U+0370-03FF;
    }
    /* vietnamese */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/mTzVK0-EJOCaJiOPeaz-hxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
      unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB;
    }
    /* latin-ext */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/erE3KsIWUumgD1j_Ca-V-xJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
      unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
    }
    /* latin */
    @font-face {
      font-family: 'Noto Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Noto Sans'), local('NotoSans'), url(notosans/LeFlHvsZjXu2c3ZRgBq9nFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
    }
    /* latin-ext */
    @font-face {
      font-family: 'Oswald';
      font-style: normal;
      font-weight: 400;
      src: local('Oswald Regular'), local('Oswald-Regular'), url(oswald/yg0glPPxXUISnKUejCX4qfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
      unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
    }
    /* latin */
    @font-face {
      font-family: 'Oswald';
      font-style: normal;
      font-weight: 400;
      src: local('Oswald Regular'), local('Oswald-Regular'), url(oswald/pEobIV_lL25TKBpqVI_a2w.woff2) format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
    }

    This works for Chrome and Firefox but not for the Internet Explorer. Unfortunately lot of my colleagues still use the Internet Explorer. Do you have an idea what I can do to make it work in the Internet Explorer?

    Thanks so much,
    Merle

    Thread Starter cityfox

    (@cityfox)

    Hey Bojan,

    thanks for your answer. Hope you’re well, too.

    Unfortunately I cannot send a link to my site because it’s located on an internal server and not accessible from outside.

    After reading your advice I tried something with CSS and found a solution that works for my case. In the CSS file of my child theme I added the following code:

    .entry-thumb {
    display: none;
    }

    In addidition, I set the width of the thumbnail to “full width” in the theme settings. If the thumbnail is located left or right there will be a blank space when hiding it via CSS.

    Thank you for coming up with the idea to do via CSS. This helped a lot.

    Merle

    After more research and trying I found a solution that works for my case.

    I added the following code in the members-loop.php directly after bp_the_member():

    $user_id = bp_get_member_user_id();
    if (get_user_meta($user_id,'adi_user_disabled', true)) continue;

    Hi again,

    I did some research and found this thread:
    https://buddypress.org/support/topic/hide-deactivated-users-from-members-loop/

    But this code doesn’t work (added directly after bp_the_member() in members-loop.php):

    <?php while ( bp_members() ) : bp_the_member();
    $user = new WP_User( bp_get_member_user_id() );
    if ( ($user->roles[0] == 'blocked') ) continue;
    ?>

    My assumption is that the Active Directory integration plugin does not set the (BuddyPress?) role to “blocked” but that it deactivates users in some other way (the checkbox “User deactivated” is checked in the user’s profile in the back end). How can I refer to that to filter deactivated users in the members loop?

    Thank you again for your effort. As I said before, I don’t know coding good enough to implement this solution by myself.

    So it would be awesome if the plugin author would include this feature with next update.

    Thread Starter cityfox

    (@cityfox)

    Hi Alex,

    are you ok? Haven’t heard from you for a while…

    Cheers
    Merle

    Thank you so much for your effort. I’m not sure if I dare to implement big changes like these by myself. I fear that I could break someting in the WordPress installation or in the database.

    But your script could help the plugin author to implement a solution.

    @plugin author: Are you going to integrate this feature in near future? That would be awesome!

    Hi

    thank you for sharing your solution with us. I’m not a coder so I don’t know how to write and use scripts. I wish the plugin author would provide a solution with next update.

    I use BP Profile search and asked the author about his opinion. He answered:

    I suggest you ask the author of Active Directory Integration for a way to hide disabled users in the Members directory, then we can use the same way to hide them in BP Profile Search results.

    (See here the original support thread.)

    Thread Starter cityfox

    (@cityfox)

    Hi Andrea,

    yes the disabled users show up in the standard BuddyPress Members directory.

    I have a similar issue. The user search still finds persons that were disabled in the AD. How can this be solved?

    First I thought it would be good if the WordPress account of disabled persons will be automatically deleted. But that could lead to problems if the person has created content for the page that shouldn’t get lost.

    Thread Starter cityfox

    (@cityfox)

    Hi Tobias,

    sometimes things are too simple. I installed TablePress a couple of weeks ago and recently added the extension. I didn’t think about that the TablePress version was updated in the meantime.

    I downloaded the latest TablePress version and now it works.

    Thank you so much. I would like to donate for the extension. I will ask our accounting department how we can do this.

    Regards,

    Merle

    PS. Maybe I found a small bug: In the generated PDF it shows &nbsp; in a table cell instead of leaving it blank. In the print version it’s ok (blank).

    Thread Starter cityfox

    (@cityfox)

    Hi Alex,

    just wanted to know if the Origamiez update will be released soon.

    Cheers,

    Merle

Viewing 15 replies - 1 through 15 (of 54 total)