WordPress.org

Ready to get started?Download WordPress

Forums

Doc's Auto-tags
[resolved] Error message on settings page after install (7 posts)

  1. PinkishHue
    Member
    Posted 2 years ago #

    Everything seemed to go fine with the install and the plugin seems to be working fine, but after install when I first loaded the settings page, this error appeared:

    Warning: Invalid argument supplied for foreach() in /home/zsfhgqtd/public_html/3_animalsneedinghomes/wp-content/plugins/docs-auto-tags/docs-auto-tags.php on line 99

    I added a tag setting and saved the settings, after saving the error message was not there.

    Great plugin (if the error message above is nothing serious), thanks for sharing.

    On a related note, would it be difficult to recreate this plugin but to add categories instead of tags, or does anyone know of any plugins that can do that?

    Thanks again

    http://wordpress.org/extend/plugins/docs-auto-tags/

  2. John LeBlanc
    Member
    Plugin Author

    Posted 2 years ago #

    Aloha PinkishHue!

    Thanks very much for the report. I've just committed version 0.5 which should remedy the Warning you encountered.

    It would be pretty simple to assign posts to categories instead of tags. I use the wp_set_post_tags() function on line 61. We could use wp_set_post_categories() instead, though we'd need to also update the auto-complete logic on line 139, which suggests tags using the ajax-tag-search functionality within admin-ajax.php

    What do you think? Should we add that functionality to this plugin or create another called "Pink's Auto-categories?"

    Mahalo!
    John

  3. PinkishHue
    Member
    Posted 2 years ago #

    Hi John, thanks for the quick update to the plugin. I've upgraded to the new version.

    A category version would be fantastic! I think a separate plugin would be good (and I think it should be Doc's Auto-cats :) ) because not everyone will need both features and this is a nice little plugin on it's own.

    When I was searching this was the only auto-tag plugin I could find that added tags only based on my chosen phrases, the others seemed to add tags that the system decided were right based on the content. This plugin has been perfect for my needs (auto-sorting posts for rescue animals in need of adoption)

    I will keep a close eye out for the category plugin, thanks again, really appreciate it :)

    Jo

  4. 3x7
    Member
    Posted 1 year ago #

    Hi,

    I found the solution for around 11$
    It's called Category Master
    http://www.dailyhandout.com/index.php?show=contests&oid=97

    I bought it here and it works just fine, but you can still buy it from developer:
    http://www.digitalquill.co.uk/categorymasterplugin/

    I also found out few days after I bought it :) that data importer WPe-Matico has this new feature, so if you are importing posts u can try it out..

    Anyhow having such plugin for free would be cool and very useful.

    Cheers!

  5. PinkishHue
    Member
    Posted 1 year ago #

    Cool, thanks for sharing the info.

    I've been using FeedWordpress as I thought WPe-Matico wasn't being updated any more, but it seems like it is (although maybe it still has some bugs?). I may consider switching to that but only if it doesn't cause too much disruption.

    Would still prefer a basic setup like this autotag plugin that works for categories.

    I've had a look at the source but not sure I trust my skills enough to attempt to convert it to categories instead of tags.

    I just realised, an even better solution might be to auto add custom taxonomies instead but I'm also having trouble finding a good search solution so people can search for X taxonomy AND Y taxonomy AND Z taxonomy.

    If anyone knows more about how to do this or how to convert this autotag plugin to categories please do let us know! (But probably better on a new thread as this one has gone off-topic)

    Thanks :)

  6. 3x7
    Member
    Posted 1 year ago #

    I use feedwordpress also but I have some trouble with duplicate posts and auto expiry of the posts, but good cause it can import custom taxonomies... WPe-matico does not have such option.

    However, I suppose "Simple tags" plugin is for you then. It can tag custom taxonomies "tag per word" only, so it can't tag X word as Y tag. Only X -#letters word tag.

    About filtering you have many plugins like out there but only one as far as I know is capable of real conditional filtering is "query multiple taxonomies"

    Hope it helps.

    Cheers

  7. John LeBlanc
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Folks,

    If you're willing to suggest the code additions needed to support cats and custom taxonomies, I'd be happy to incorporate them.

    Aloha!
    John

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic