Hi, I’m not really familiar with Multisite so honestly I’m not sure what the problem is and what can be done about it.
But I’m currently working on the next version 1.6; I’ll put your suggestion on my to-do list.
I’m glad you otherwise like the plugin.
Hey Devtard!
Actually, it seems like you are halfway there. If you point me in the right direction I could do some minor changes to see if I could get it to work.
In basic declarations you set $apt_table = $wpdb->prefix .’apt_tags’. Thus, the tags go into the right Multisite table when saving – in my case wp_3_apttags. The problem is when you try to tag your posts, which probably has to do with the database call in the tag function basically just missing the prefix.
If you only point me in the right direction (file and row) of where that is done I can easily test and report back to you. Tried making the changes where I thought it was, but it seems it was the wrong place.
The message “There aren’t any tags that can be added to posts” (line 1595 in the main php file) is displayed only if the variable “apt_stats_current_tags” is equal to zero. If there are some keywords in the table but you are still getting this error message for some reason (the variable should be updated every time a new keyword is added or removed, I’m not sure why it doesn’t work for you), try deleting or commenting out lines 1596 to 1599. Let me know if that helps.
Thanks, Devtard! That worked perfectly for the manual tagging.
The automatic function is still not working though, any tips and tricks to make that function work?
I assume you aren’t getting the same error message when using the bulk tagging tool, correct? What exactly doesn’t work?
Yeah, the bulk tagging is working great now since I commented out the part you mentioned above.
What’s still not working is the automatic tagging, which is set to trigger on publishing/updating. It doesn’t seem to be running at all, no messages are being tagged. Tried changing the trigger to saving as well, but no luck.
(PS. I tried uninstalling and reinstalling, but to no avail.)
Delete/comment out lines 679 to 681, that might fix the problem.
This worked perfectly.
New problems with 1.6 now though. Same as other guy, will post in that thread.