Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • I’ve started testing this plugin and it looks great, but I too noticed that tasks are not added to the calendar. It would be helpful if they were. Thanks.

    Thread Starter fmpweb

    (@fmpweb)

    Thanks @stephenharris 🙂 Very helpful.

    Thread Starter fmpweb

    (@fmpweb)

    An update. The first two warnings are at the top of the screen.

    The last three display in the Settings > Restrict Taxonomies page:

    /wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 427 – next to the Custom post types to handle checkbox;

    /wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 437 – next to the Categories checkbox.

    If I create a custom taxonomy, another warning displays next to that check box.

    The final warning above – /wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 466 – is inside the Roles tab.

    If I select the Users tab, there is another warning:

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 496

    Now, if I check the Posts checkbox and click Save Changes, I land on a white screen for wp-admin/options.php with the following warning:

    Warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/freeman6/public_html/fmp/wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 607

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 609

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php:607) in …/wp-includes/pluggable.php on line 1228

    I then refresh my browser and land on the All Settings page (something similar I’ve only seen in a multisite installation).

    I go back to the Restrict Taxonomies page and the error next to the ‘checked’ Posts checkbox is now gone. The warnings elsewhere still show.

    I then check the Custom Taxonomies to handle/Categories checkbox and click Save Changes. Again I land on a white screen with the following warnings, as before:

    Warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in …/wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 607

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php on line 609

    Warning: Cannot modify header information – headers already sent by (output started at /home/freeman6/public_html/fmp/wp-content/plugins/restrict-taxonomies/restrict-taxonomies.php:607) in …/wp-includes/pluggable.php on line 1228

    I reload my browser and again land on the All Settings page.

    I now visit the Restrict Taxonomies page and now all the warnings have disappeared, including the one next to the now checked Categories checkbox.

    If I try to uncheck the Posts and/or Categories checkboxes, and click Save Changes, the don’t uncheck. Is this correct?

    If I create custom post types and taxonomies, checkxes can be checked/unchecked not problem.

    If Reset to Default Settings, all the warning return.

    I hope that’s helpful. Thanks.

    Thread Starter fmpweb

    (@fmpweb)

    Thanks John – I’ll keep my eyes peeled 🙂

    Thread Starter fmpweb

    (@fmpweb)

    Thanks @johnzenausa. However, checking/unchecking the box in Settings will apply to all layouts, so not a great solution.

    Why not create shortcodes for both post_title and read_more to allow people to use or not per, for example, post-type?

    I have ideas on how people can customise their layouts, rather than editing the network-posts-extended.php as suggested by @martindnnetdk – which can be rather messy – if you’re interested? If so, how would be best to proceed? This thread, another thread or email?

    Thanks.

    Thread Starter fmpweb

    (@fmpweb)

    Okay – this seems to work:

    remove_action( 'bp_init', 'bp_em_init' );
    remove_action( 'bp_include', 'bp_em_init' );

    Just add as above and all reference to EM disappear and EM posts are not added to the activity stream.

    Thread Starter fmpweb

    (@fmpweb)

    Hi Angelo – they are the classes of the fields for the other forms. The customisation for the EM fields aren’t working though.

    Thread Starter fmpweb

    (@fmpweb)

    Hi angelo. Thanks for this – I’ve now managed to customise the design of the datepicker for the frontend event form and its consistent with other forms on the site. Great 🙂

    However, I’m now struggling to customise the event form datepicker’s jquery. If I add the following to my functionality plugin:

    <script>
    jQuery(document).ready(function($) {
    $( ".js-wpt-date, #dp1445337524574, #dp1445337524575, #field_lkuceo" ).datepicker({
    minDate: 0, maxDate: "+12M",
    showAnim: "slideDown",
    changeMonth: true,
    changeYear: true
    });
    });
    </script>

    …my customisation works for the first and last fields which are not EM fields, but doesn’t work for the second and third, which are EM fields.

    Is there something else I should be doing that is specific to the EM plugin?

    Thanks. Gavin.

    Thread Starter fmpweb

    (@fmpweb)

    Thanks – I’ll give it a try 🙂 Thanks and all the best.

    Thread Starter fmpweb

    (@fmpweb)

    There doesn’t appear to be a solution for the SG CachePress plugin :(. I enquired about how I could exclude the ads from being cached but no joy.

    My host, SiteGround, who are very good by the way, have details on their offering at https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm

    The Dynamic Cache setting is fantastic and dead simple to use. It seems a real shame not to be able to use it.

    Your cache busting feature looks very interesting – will it work with this SG CachePress?

    Thanks. Gavin.

    Thread Starter fmpweb

    (@fmpweb)

    Hi Thomas – thanks for your continued help.

    I can now get rotation to work on both desktop and mobile. It was a combination of me not placing the Advanced As shortcode in the correct places, my caching plugin and, in particular, this piece of code in the htaccess file:

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"
    </IfModule>
    ## EXPIRES CACHING ##

    Deactivating the caching plugin slows the site down a little but I’ll have to look into dealing with that. Is there a way to exclude the banner ads from being cached? I’ll have a chat with the SG CachePress authors too 🙂

    Thanks again for your help.

    Cheers.

    Thread Starter fmpweb

    (@fmpweb)

    I’m using the views plugin from https://wp-types.com/. This uses shortcodes to create layouts. Are you au fait with this plugin?

    Could it be a shortcode within a shortcode issue or a loop within a loop issue?

    Saying that however, the first ad group isn’t in the loop.

    Thread Starter fmpweb

    (@fmpweb)

    Hi again Thomas – I’ve also tried with just one group on the frontpage (with a) just Block 1 with two ads and b) just Block 2 with three ads. Again, no rotation.

    Thread Starter fmpweb

    (@fmpweb)

    Hi Thomas – on the frontpage I currently have four groups, one at the top (Block 1) with two ads set to random, to only display one ad at a time and they are not in any other group – this doesn’t rotate.

    The remaining three groups (Block 2, Block 3 and Block 4) each have three ads, again set to random. Each group has the same ads and are set to show just one ad at a time – these don’t rotate.

    I’ve even tried just have Block 2 in multiple places on the frontpage – again it doesn’t work.

    The inside pages/posts is one group with five ads, set to random and to show up to three ads. This does rotate.

    Does that explain?

    Thanks. Gavin.

    Thread Starter fmpweb

    (@fmpweb)

    Okay – I’ve just figured out what has happened. I’d changed my google password. So it’s now working.

    Thanks. Gavin.

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