• Resolved boobymonster

    (@boobymonster)


    the plugin isn’t posting to google plus even though the google plus account is setup. there are no errors or anything. why?

    from debug:

    [+] Sending POST request to: https://accounts.google.com/ServiceLoginAuth
    
    2012-06-16 08:09:29 : wgplus_safe_post_google running,  past log in
    2012-06-16 08:09:34 : Post type is portfolio
    2012-06-16 08:09:39 : wgplus_safe_post_google running,  past update
    2012-06-16 08:09:39 : publish_to_gplus done running

    https://www.ads-software.com/extend/plugins/wpgplus/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Eckman

    (@johneckman)

    It’s not posting because the post type is ‘portfolio’

    WPGPlus is designed only to post posts of type post. ??

    to change it, you can edit (in current version 0.8) wpgplus.php lines 345-348:

    if(get_post_type($my_post->ID) != 'post') { // only do this for posts
    		wpgplus_debug(date("Y-m-d H:i:s",time())." : Post type is ". get_post_type($my_post->ID) ."\n");
    		return;
    	}

    You can change it to either include other types (if post type is not post && post type is not portfolio) or you can just comment out the whole three lines and WPGPlus will work on all post types.

    Thread Starter boobymonster

    (@boobymonster)

    It doesn’t post blog posts netiher. I will look for the log on that, but now its throwing this error for any updates:

    [+] GET Logging out:
    Warning: Cannot modify header information - headers already sent by (output started at /home/polar/public_html/wp-content/plugins/wpgplus/gplus.php:491) in /home/polar/public_html/wp-includes/pluggable.php on line 881
    Plugin Author John Eckman

    (@johneckman)

    My bad – had disabled logout while testing and re-enabled it just before releasing 0.8.

    0.8.1 will fix this issue and be out shortly.

    As to why it isn’t posting blog posts, enable debugging (on the settings screen) and look at what gets output.

    Have you ever visited m.google.com/app/plus from your mobile phone or from a browser using a mobile user agent? There is a terms of service for mobile you must have already accepted for this to work.

    Thread Starter boobymonster

    (@boobymonster)

    Seems to be posting now.

    Thread Starter boobymonster

    (@boobymonster)

    For whatever reason it just spams my Google Plus profile:

    https://plus.google.com/u/0/111012073762958423646/posts

    For every single post it will make many multiple posts.

    I have the same issue. It is not posting, turned on debug and got the below message. Anybody have a clue?

    2012-09-10 19:12:21 : publish_to_gplus running, included wpgplus.php
    2012-09-10 19:12:21 : publish_to_gplus running, postID is 899
    2012-09-10 19:12:21 : wgplus_safe_post_google running, post_id is 899
    2012-09-10 19:12:21 : just requested the login info

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WPGPlus] not posting’ is closed to new replies.