Forum Replies Created

Viewing 15 replies - 16 through 30 (of 45 total)
  • Thread Starter squeebo

    (@squeebo)

    Can I share the link privately somehow? I don’t share my website URL publicly when I’m having technical issues, due to issues in the past with my website’s problems coming up in the SERPs.

    Thread Starter squeebo

    (@squeebo)

    I actually ended up adding this code to functions.php to specify the publisher image. This might be helpful for others.

    
    add_filter( 'amp_post_template_metadata', 'my_json_metadata', 10, 2 ); 
    function my_json_metadata( $metadata, $post ) {
    
       if( 'post'=== $post->post_type  ){
    
        $metadata['publisher']['logo'] = array(
            '@type' => 'ImageObject',
            'url' => 'https://mydomain.com/wp-content/uploads/amp-structured-data-publisher-logo.png',
            'height' => 60,
            'width' => 232,
        );
    
       return $metadata; 
      } 
    }
    Thread Starter squeebo

    (@squeebo)

    The last time I shared my url publicly on a support forum, the thread showed at the top of search results for my business name for years.

    I disabled all plugins but yours. No plugin is interfering. It still doesn’t work.

    Can you point me to an example site that has the url attribute correctly included? At this point I don’t believe your plugin is doing this correctly for any sites when I can’t get it to work on a basic clean install.

    Thread Starter squeebo

    (@squeebo)

    More info –

    I deleted all of the lines in wp_options containing ‘prli’ in the name, which is several lines. then I reinstalled with debug on and got this:

    [Access denied; you need (at least one of) the SUPER privilege(s) for this operation]
    SET GLOBAL innodb_large_prefix=1

    WordPress database error: [Index column size too large. The maximum column size is 767 bytes.]
    CREATE TABLE wp_prli_clicks ( id int(11) NOT NULL auto_increment, ip varchar(255) default NULL, browser varchar(255) default NULL, btype varchar(255) default NULL, bversion varchar(255) default NULL, os varchar(255) default NULL, referer varchar(255) default NULL, host varchar(255) default NULL, uri varchar(255) default NULL, robot tinyint default 0, first_click tinyint default 0, created_at datetime NOT NULL, link_id int(11) default NULL, vuid varchar(25) default NULL, PRIMARY KEY (id), KEY link_id (link_id), KEY ip (ip), KEY browser (browser), KEY btype (btype), KEY bversion (bversion), KEY os (os), KEY referer (referer), KEY host (host), KEY uri (uri), KEY robot (robot), KEY first_click (first_click), KEY vuid (vuid)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci

    WordPress database error: [Index column size too large. The maximum column size is 767 bytes.]
    CREATE TABLE wp_prli_links ( id int(11) NOT NULL auto_increment, name varchar(255) default NULL, description text default NULL, url text default NULL, slug varchar(255) default NULL, nofollow tinyint(1) default 0, track_me tinyint(1) default 1, param_forwarding varchar(255) default NULL, param_struct varchar(255) default NULL, redirect_type varchar(255) default ‘307’, created_at datetime NOT NULL, updated_at datetime default NULL, group_id int(11) default NULL, PRIMARY KEY (id), KEY group_id (group_id), KEY name (name), KEY nofollow (nofollow), KEY track_me (track_me), KEY param_forwarding (param_forwarding), KEY param_struct (param_struct), KEY redirect_type (redirect_type), KEY slug (slug), KEY created_at (created_at), KEY updated_at (updated_at) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci

    WordPress database error: [Index column size too large. The maximum column size is 767 bytes.]
    CREATE TABLE wp_prli_groups ( id int(11) NOT NULL auto_increment, name varchar(255) default NULL, description text default NULL, created_at datetime NOT NULL, PRIMARY KEY (id), KEY name (name) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci

    WordPress database error: [Index column size too large. The maximum column size is 767 bytes.]
    CREATE TABLE wp_prli_link_metas ( id int(11) NOT NULL auto_increment, meta_key varchar(255) default NULL, meta_value longtext default NULL, meta_order int(4) default 0, link_id int(11) NOT NULL, created_at datetime NOT NULL, PRIMARY KEY (id), KEY meta_key (meta_key), KEY link_id (link_id) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci

    Thread Starter squeebo

    (@squeebo)

    Yes, I already used the single site url as specified in the plugin. That’s a different spot than setting the domains.

    Thread Starter squeebo

    (@squeebo)

    Yes, the log file exists.

    The log file is 644 permissions, owner 2356.

    Thread Starter squeebo

    (@squeebo)

    Well I’m finding that the above code does work to move the checkbox below the button, but only if it’s the only checkbox on the form.

    The “Subscribe to Comments Reloaded” (SCR) plugin also adds a checkbox on my form. When SCR is enabled, the SCR checkbox appears above the submit button, and the MC4WP checkbox appears below the button, regardless of whether I have the above function in functions.php. What could be going on here?

    At this point I’d be happy enough with having both checkboxes either above or below the button, just so long as they aren’t split up like this.

    Thread Starter squeebo

    (@squeebo)

    You’re a genius!! The checkbox is now appearing right where I want it. Thanks so much!

    Thread Starter squeebo

    (@squeebo)

    Oops, I got this confused with a share plugin I’m also using.

    Thread Starter squeebo

    (@squeebo)

    Oops, I got this confused with a share plugin I’m also using.

    Thread Starter squeebo

    (@squeebo)

    I’m not sure how it does the styles, but it’s Recent Posts Widget Advanced. I don’t even see a stylesheet in the plugin folder except rpwe-admin.css that just has a few rules for the admin panel I guess.

    Thread Starter squeebo

    (@squeebo)

    Figured it out, GA settings issue.

    Thread Starter squeebo

    (@squeebo)

    Got it. The WP MySQL user only had READ and LOCK privileges. I must have done that when I was restricting access for some other MySQL users.

    Man that was crazy. I thought I got hacked.

    Thread Starter squeebo

    (@squeebo)

    Would that support a path like this to reference the parent directory? My forum is in a sibling directory of WP, if that’s the right term.

    ../forum/.*

    Thread Starter squeebo

    (@squeebo)

    Right, but I didn’t realize it would affect everything outside of WP too. It’s just a WP plugin so I assumed it only affects WP.

    Where do I enter a directory to ignore?

Viewing 15 replies - 16 through 30 (of 45 total)