Ready to get started?Download WordPress


NextScripts: Social Networks Auto-Poster
SU Tag Issue (and enhancements/requests) (3 posts)

  1. stitchkingdom
    Posted 1 year ago #

    First, I think I found an issue. Even though I have SU set to include tags, the post itself is tagged only with the category.

    Second, since I'm spending a lot of time on this and you do frequently update, so if you can consider this, I'd be grateful:

    I have coded in my own support for default tags. So for Tumblr, I have a space where I can define tags that are added in addition to the post tag. Specifically, a tag that applies to all my posts and doesn't make sense for me to keep adding independently.

    I also created one for Twitter and created a %HASH% placeholder in the tweet (note that $twLim takes into account the entire Hash strlen so it never gets truncated).

    I also added support for YOURLS Link Creator plug-in since I have my own surl domain and run YOURLS on it. Basically the code in NextScripts_SNAP.php now looks like this

    if (preg_match('%SURL%', $msg)) {
         $url=get_post_meta( $postID, '_yourls_url', true );
    	 if($url=='') {
    	    $url = get_permalink($postID);   $response  = wp_remote_get('http://gd.is/gtq/'.$url);
            if ((is_array($response) && ($response['response']['code']=='200'))) $url = $response['body'];
    	  $msg = str_ireplace("%SURL%", $url, $msg);

    I was working on adding default tags for SU and the others when I noticed the SU one doesn't seem to work.


    [ Please do not bump, that's not permitted here. ]

  2. Olivier
    Posted 1 year ago #

    Well done :)

  3. stitchkingdom
    Posted 1 year ago #

    Though it just occurred to me that my %HASH% for Twitter is superfluous since one could simply just modify the template to include any default tags and then manipulate it at add time as necessary.

    I have still carried on my default tag(s) for Tumblr option as well as support for the YOURLS plug-in.

    As for SU, their interface looks different today and it appears that they've removed tags altogether.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.