Forum Replies Created

Viewing 15 replies - 106 through 120 (of 138 total)
  • Thread Starter Duke

    (@davidsons)

    Let’s say the post title contains the keyword “Incredible Hulk”. I would want that to be posted in the ‘Incredible Hulk’ category. We might have another video titled with the keyword “Incredible Adventures” so I don’t want that to go to the “Incredible Hulk” category, but to the “Incredible Adventures” category. Of course this would all be setup in the settings.

    Remember I am dealing with importing movies so it might not be the same for everyone. But for me, it would be a heck of a lot easier if ‘Importing Existing Categories’ to have the right column filled with keywords that match the left column of categories.

    Not always will it be like that, so it’s nice to be able to adjust the wording with the way you have it in the keyword column. If it started with the exact match, then I can always add more keywords to it or take some of the pre-filled keyword and modify it. But having the first keyword displayed to match the category would make things a lot easier.

    Also, like before, it would be good to increase the character limit of the keyword column to more than 255 characters. Some categories would have a lot of different keywords going into them so maybe set the limit to around 5000 or so.

    Hope it clarifies things a little.

    Thread Starter Duke

    (@davidsons)

    I backed up everything and loaded up your modified version of the plugin. I see that the backend still needs some language clean up but so far so good. I would recommend that when it does the ‘Import Existing Tags/Category” function that it pre-fills the ‘Related Words’ right column with the same data that it shows on the left column for the different ‘tag/category names’. I think most the keywords we would be looking for in the title would also be used for our tags and categories. I might be wrong, but I have over 230 categories and it would be a pain to copy all of them over one-by-one. I guess I could go into the database table and do it from there. Another suggestion is to maybe have an option next to the ‘Import Existing Tags/Category” button asking if we wanted to our right side column match our left side imported column. Don’t know how you would word that or even if it’s possible to be done in the first place, but that’s my suggestion so far.

    I will play around with the rest of it and see how it works with my auto-blogger. FYI, I am importing videos from RSS feeds and so far it tags the videos fine with APT. I want to see if it will properly categorize them too by doing a title scrub for the selected keywords. If it works out, then I might not have to run 230+ different campaigns with my autoblogger just to get the videos to go into the right category. I hope to be able to run just one campaign and have your modified version of the plugin post the videos to the right category as they are being pulled from the feed.

    I will report back on how it goes. Thanks

    Thread Starter Duke

    (@davidsons)

    Sounds good. I will backup everything, then install this plugin and let you know how it goes. I might have a few suggestions. Thanks

    Thread Starter Duke

    (@davidsons)

    Yes, that is what I want…to add already existing categories to posts. Now since I already have APT installed on my site, how do I install this modified version? Do I have to deactivate/remove the orginal version fist, then install/activate this one?

    Thanks

    Thread Starter Duke

    (@davidsons)

    Hi,

    I took a look at the thread you mentioned and it gets a little confusing for me…sorry.

    So I hope you can provide some simple steps needed to convert the plugin to work with categories instead of tags. I’ll still be using your original APT plugin for tagging, so please, if you can, show me how to modify the plugin for categories so that it doesn’t conflict with the original plugin.

    This is what I’ve gathered so far.

    1) That we need to modify the original plugin’s code and that we can run the two plugins simultaneously, one for tagging and one for setting categories. That’s fine with me, but I need to know how to modify the plugin.

    2) So far I understand that we need to replace all occurrences of “apt_” with something like “abc_”. This will rename the added option names and the custom database table.

    3) Then I understand we need to rename the plugin to something else. Where do we do that or do we? Maybe that is what the step above does?

    4) And I gather that we need to change the “post_tag” parameter to “category”. I see someone mentioned to find all mentions of ‘post’ and change those to ‘category’. Can you tell me which lines to do that on? Or can I simply do the Find/Replace function to change all the mentions of ‘posts’ to “category’?

    5) Then I see the same person mentioned to look for ## ADDING TAGS TO THE POST, then to add something like:

    foreach ($apc_tags_to_add_array as $apc_cat) {
    $term = get_term_by('name', $apc_tag, 'category');
    $apc_tag_ids[] = $term->term_id; }

    Where exactly would we add that? Would it go right after the line that says ## ADDING TAGS TO THE POST?

    6) Then he said to replace

    wp_set_post_terms($post_id, $apc_tags_to_add_array, ‘category’, true); //append tags

    with…

    wp_set_post_terms($post_id, $apc_tag_ids, ‘category’, true); //append tags

    And to repeat it with the same function immediately below. I see that but want to make sure.

    Instead of being all over the place, can you please list the steps needed to modify the plugin so that works along side the original APT plugin.

    The whole process is not clear on that thread so was hoping you could clear it up here with a few simple steps.

    Thanks

    Thread Starter Duke

    (@davidsons)

    Do you know of another plugin that does it for categories? I can’t seem to find one.

    Thread Starter Duke

    (@davidsons)

    Sounds good. When you think 1.6 will be out?

    Thread Starter Duke

    (@davidsons)

    No problem. It works now leaving the tag VARCHAR at 255. Thanks

    Thread Starter Duke

    (@davidsons)

    delete this

    Thread Starter Duke

    (@davidsons)

    delete this

    Thread Starter Duke

    (@davidsons)

    Okay, this time around I went to the Plugin > Editor and on the automatic-post-tagger.php file, I change all occurrences of 255 to 5255 then saved the file.

    Then I went to the plugin settings and did ‘Restore Default Settings’, then saved that.

    Then I went to do the ‘Import Existing Tags’ function. It said it imported 45 tags, which is right, but I can’t see them in the ‘manage tags” area still, same as before.

    Thinking, like you said, that I needed to delete the table in the database before restoring defaults, I started looking in phpMyAdmin and found this senario happening…

    If I have the original plugin left ‘as-is’ with the original settings of 255, then the table (“wp_apt_tags”) is visible in the database and everything is functioning fine.

    If I delete the table, then change all the 255’s to 5255 in the php file and ‘Resort Default Settings’, I notice it doesn’t create the table in the database. So right now the plugin will create the table only if the file setting are kept at 255, if something other than 255 is used, then it doesn’t create the table, thus the reason why I am not seeing any of the tags in the ‘tag manager’ when I go to import the existing tags…hmm.

    So now I’m going to put everything back to original with the 255s and have the table created, then I am going to modify the table to make the character size more than 255. I want to see if that helps.

    Or maybe I’m missing something?

    EDIT:
    Okay I found out that I can not change the ‘tag’ field in the table…it errors out if I try to make it higher than 255. I was able to change the ‘related words’ to 5255 though. So now I went back to the plugin setting and imported the existing tags…all is good. But when I try to add many related words it looks like it still stops me at 255. Do I need to change a spot in the Php file?

    EDIT:
    If I leave the PHP file all with 255s and change the table in the database to 5255 for ‘related words’, I can’t enter more characters than 255 in the plugin settings under ‘related words’ so that means the plugin is restricting me. If I go to resort default settings it reverts the table back to 255. So it seems that the PHP file doesn’t need all the 255s changed. Just only change the ones that pertain to the ‘related words’. I don’t think people need tags to be more than 255, but we need the related words to be more than 255 for sure.

    Thanks

    Thread Starter Duke

    (@davidsons)

    Hi, I downloaded the plugin, un-zipped it, changed all the 255’s to 5255 and zipped it back up. Then I removed the old plugin and installed this edited one.

    I then went to select ‘import existing tags’ and it says it has imported 45 tags, which is the correct number, but then they are not showing in the ‘manage tags’ area….it shows 0 tags.

    I also tried to add some tags manually and the same thing, not showing up in the ‘manage tags’ area.

    I went and downloaded the plugin again and tried to make sure I was doing it right. I found all the 255’s and changed them again to 5255. I installed that plugin and still same problem.

    I removed it and install the current plugin and everything works again.

    Maybe I missing something?

    Actually, I just made sure I had the latest download, and now I don’t see the “Gifts” tab anywhere on the Profile Page. I do have the latest version of Buddypress installed, ver 1.7, so maybe that’s why. Look forward to the updates on this plugin to make it work. Thanks

    Hi Sim2K,

    Any updates on this plugin? I can test it out for you, either the basic an pro version. Thanks

    Thread Starter Duke

    (@davidsons)

    Hi,

    I am using the Custom Community theme from themekraft.com

    http://themekraft.com/custom-community/

    I just now updated all my plugins and am running BP 1.7. When I select ‘Follow’ for the Profile Menu, it now messes up all the CSS for the entire profile page. It used to just mess with the profile menu. Now it messes with the whole page.

    Thanks for a fix.

Viewing 15 replies - 106 through 120 (of 138 total)