Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Tagger/OCP: Disable erroneous post type tagging #2144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Extensions/auto_tagger.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//* TITLE Auto Tagger **//
//* VERSION 0.7.5 **//
//* VERSION 0.7.6 **//
//* DESCRIPTION Tags posts automatically. **//
//* DEVELOPER new-xkit **//
//* DETAILS This extension allows you to automatically add tags to posts based on state (reblogged, original, queued) or post type (audio, video, etc) and keeping original tags while reblogging a post. **//
Expand Down Expand Up @@ -333,6 +333,10 @@ XKit.extensions.auto_tagger = new Object({

return_tag_based_on_type: function(obj) {

// disabled due to lack of NPF type parsing
return "";

/*
if ((obj.type === "regular" || obj.type === "text") && XKit.extensions.auto_tagger.preferences.tag_for_text.value !== "") {
return XKit.extensions.auto_tagger.preferences.tag_for_text.value;
}
Expand Down Expand Up @@ -370,7 +374,7 @@ XKit.extensions.auto_tagger = new Object({
}

return "";

*/
},

return_tags_for_queue: function() {
Expand Down
1 change: 1 addition & 0 deletions Extensions/xkit_preferences.css
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,7 @@
}

.xkit--react .xkit-extension[data-extension-id="people_notifier"],
.xkit--react .xkit-extension[data-extension-id="auto_tagger"],
.xkit--react .xkit-extension[data-extension-id="bookmarker"],
.xkit--react .xkit-extension[data-extension-id="cleanfeed"],
.xkit--react .xkit-extension[data-extension-id="dont_stretch_photosets"],
Expand Down
2 changes: 1 addition & 1 deletion Extensions/xkit_preferences.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//* TITLE XKit Preferences **//
//* VERSION 7.7.0 **//
//* VERSION 7.7.1 **//
//* DESCRIPTION Lets you customize XKit **//
//* DEVELOPER new-xkit **//

Expand Down
Loading