Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter Looic

    (@looic)

    Hi

    Seems like it worked ! Site Kit is now installed on both of my network sites. Thanks and happy new year !

    Loic.

    Thread Starter Looic

    (@looic)

    Hi

    Thanks for your feedback. The Site Health information does not show anything unusual, here is an extract. I’ve filled the Google Forms with all the details enclosed about my installation.

    About the site verification, my website (and the subfoder) already shows as verified under the Search console. See below.

    If you have an idea, let me know.

    Many thanks!

    Loic.

    Thread Starter Looic

    (@looic)

    Awesome, thanks ! I’ll have a look at the classic widget editor for the short-term and work on updating my plugin then. Many thanks !

    Thread Starter Looic

    (@looic)

    Thanks for your reply ! I have also developed one plugin for my website and I get the same error. Can you kindly tell me or head me to a resource to understand what’s missing here ? Is that linked to the widget functions ?

    • This reply was modified 2 years, 4 months ago by Looic.
    Thread Starter Looic

    (@looic)

    Hi,
    I cannot do that, because the same WordPress installation is also working behind Apache (for frontend users).

    So what I am looking is a hook or something like that, to specifically prevent plugins from loading when I call wordpress in CLI mode (so that the plugins continue to work when loaded with Apache).

    Thread Starter Looic

    (@looic)

    Hi,

    I developped a quick plugin to achieve that, and it works quite good.
    It works with tags and combo boxes for admin user interface.

    It could be easily integrated and improved in your plugin if you wish! Let me know.

    Looic.

    Thread Starter Looic

    (@looic)

    Thank you for your answer.

    I tried with alpha-2, it lacks some widgets and CSS styles are quite different from 1.4 version. Is that the same as the beta version you mention ?

    Thanks,

    Thread Starter Looic

    (@looic)

    I checked the plugin, in fact what I need is being able to use the shortcode outside the base page.

    Is there a way to do that ?
    Thanks,
    Looic.

    Thread Starter Looic

    (@looic)

    Thank you for your answer. My bad : I omit the “hide_empty” parameter.

    However, the issue is not resolved, as the search does a %LIKE% match, not an exact one.

    In the following situation, searching for ‘GG’ returns me two objects :

    A
    \-- fooGGfoo
    \-- GG
    *** New Query=Array
    (
        [parent] => 804
        [search] => GG
        [hide_empty] =>
    )
    select statement=SELECT t.*, tt.* FROM wpmutest_63_terms AS t INNER JOIN wpmutest_63_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('my_tax') AND tt.parent = '804' AND ((t.name LIKE '%GG%') OR (t.slug LIKE '%GG%')) ORDER BY t.name ASC
     -> Output get_terms()=Array
    (
        [0] => stdClass Object
            (
                [term_id] => 1644
                [name] => fooGGfoo
                [slug] => fooggfoo
                [term_group] => 0
                [term_taxonomy_id] => 2027
                [taxonomy] => my_tax
                [description] =>
                [parent] => 804
                [count] => 0
            )
    
        [1] => stdClass Object
            (
                [term_id] => 1643
                [name] => GG
                [slug] => gg
                [term_group] => 0
                [term_taxonomy_id] => 2026
                [taxonomy] => my_tax
                [description] =>
                [parent] => 804
                [count] => 0
            )
    
    )

    Is there a way to get the object by EXACT match (not %LIKE%), so that I can avoid making a if/foreach search for the right object ?

    Also I have another issue with “&” and “‘” characters in searched terms, but I will open a new thread 🙂

    Thank you,
    Looic.

    Thread Starter Looic

    (@looic)

    Hi Patrick,
    Thank you for your answer. Regarding the stats you mention, probably WP will fit my needs 🙂

    For now I will start using a private server,if my project works I will migrate to a solution that allows more agility using a VPS and the plugin you mention.

    Thank you,
    Looic.

    Got it !
    The issue comes from the Multisite installation and occurs only on the main blog (not other blogs). WP UI plugin calls “site_url()” to register JS scripts for admin and userland side (see admin/wpUI-options.php:857).

    When using WordPress Multisite, site_url() returns the right value, *except* for the main multisite blog. In that case, wpui-script=before fails to load (404 error) and the plugins breaks.

    I replaced the following line :
    wp_register_script( 'wpui-script-before', site_url( '/?wpui-script=before' ), $admin_deps );

    by that one :
    wp_register_script('wpui-script-before',get_bloginfo('url') . '/?wpui-script=before', $admin_deps );

    and now it works perfectly !

    I suppose I have to change all occurrences of site_url() when used to load JS by get_bloginfo(‘url’).

    Hope this helps,
    Regards,
    Looic

    Hi !

    I have exactly the same problem. On one of my WordPress sites, my WP UI plugin doesn’t work (tabs are not displayed anymore in the admin tab nor the blog side) and the Developper console of Chrome says :

    Uncaught ReferenceError: wpuiJQ is not defined tabs.js:38
    Uncaught ReferenceError: wpuiJQ is not defined init.js:46
    Uncaught TypeError: Object [object Object] has no method 'wptabs'

    But no reference to any file or line.

    I tried to deactivate all the plugins, or to change the theme, no change. also I tried to switch on another blog (I run WP Multisite) and it works on all other blogs.

    Do you find a way to resolve that issue ?

    Thank you for your help,
    Looic.

    Thread Starter Looic

    (@looic)

    Finally I restarted the code from scratch and it works very well now. don’t understand what happened…

    Looic.

    Thread Starter Looic

    (@looic)

    Hi,
    I am answering to myself if it can help somebody.

    Don’t know why but with Multisite, you have to set HTTP_HOST variable before starting the WordPress stuff. Do like this :

    $_SERVER[ 'HTTP_HOST' ] = 'www.yourdomain.com';
    require_once('/my/path/to/wp/wp-load.php');
    
    /*
    * ...
    * Your geek stuff ...
    */

    Have a good day 🙂
    Loic.

    Thread Starter Looic

    (@looic)

    I finally found a solution to have my WP 3.5 multisite installed into /wp/ AND all my sites located under /la-communaute-des-ikea-addicts/

    RewriteRule ^la-communaute-des-ikea-addicts/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) wp/$2 [L]
    RewriteRule ^la-communaute-des-ikea-addicts/([_0-9a-zA-Z-]+/)?(.*\.php)$ wp/$2 [L]

    I was first very very surprised but after doing some tests, it seems to work like a charm !

    Thank you for all your answers,
    Loic.

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