Enhances the deviantart-suggest-to-group-popup.
video how to use: youtu.be/MXVA3q4Vmbk
another one: how to use collections
This is a working script! Install it if you want this!
asked me to collaborate for the current dA-Related Collaborative Contest and made a suggestion about listing all groups, changing the display and graying out Groups you can't submit to:
- List all your groups (your member of) at once with icons and descriptions*!
- Search within your group's name real-time and with regexp**!
- All groups he deviation is already in will be grayed out***
- Search for new groups by typing "#", the name of the group and return. If you are allowed to submit, it will be temporary displayed within the list.
- Make your own lists of groups! Just select a group, type the name of the collection in the panel on the bottom-left and press "OK" while "Add" is selected. Now when you choose the new entry and click "show" all added groups will be shown! Selecting and pressing "OK" while "Remove" is selected will remove them from the collection. empty collections will get deleted
- Type "*" and the list of a group-collection to show the groups within the collection!
- You can even add groups you aren't a member of to the a collection-group! You only have to search for them via inserting their name with a "#" before and pressing enter to get the new list-entry. Then select it and add it to your collection
- Multiple group-collections can be made at once (one for photos, one for journal-skins, one for general groups etc.)
- Hiding feature: hide groups from your list
*To get/refresh the grouplist, you need to simply click the button "Update List of Groups"
**Regexp provides wildcards as placeholder and many other useful things:
Type "Journal|CSS" to get all groups with "Journal" or "CSS" in their name.
Type "d.*d" to get all groups with 2 "d" in their name.
Type "ba(na)*d?" to match "band", "banana", "bad" etc.
Type "beauty" to get all groups with "beauty" in their name.^^
Invalid regexps will be marked red.
***only the groups listed on the deviation's page will be grayed, so after submitting, you need to refresh to get the new one grayed out.
This also means that for suggestion favourites it won't gray out anything.
works well with...
firefox + Greasmonkey-addon,
chrome + tampermonkey,
Information for installing can be seen here: fav.me/d4akman
Install: phi.pf-control.de/userscripts/…Mirror: greasyfork.org/de/scripts/5771…
I fixed a few bug regarding groups you aren't member of.
If they are open, adding them to a collection will work now.
Thanks to WillyGalleta for sending me a note!
Multi-account-support, groups are separated.
Also bug fixed: If you had a new account with no "recent groups" the script crashed.
Thanks to IridescentStardust for sending me a note!
Adapted to new dA-design
Adapted to new dA-design
Also an indicator of the collection the group is in would be useful, since it's hard to remember which groups you already put in a collection so you end up trying to add all the groups you want and have a lot of pop ups because the group is already in the collection..
Also typing # for searching for new groups doesn't seem to work for me, it just shows me a single group the has the word I was searching for.
I can integrate such an option, but I don't have much time at the moment, so it can take a while.
collections the deviation is in could also be marked with e.g. a grey background.
I'll have to check, how the # search is supposed to work. If I remember correctly, it was just a way to add one specific group to a collection, not a general search...
I've always been complaining how it's time consuming submit work to multiple groups
and had to google.
So glad I found this!
Thank you!!! It works like a charm. Just what I needed!
don't get why DA doesn't fix this
Thanks for the report!
I noticed a part of the code responsible for compatibility with old versions was messing with the group name storage.
Please update to v1.82 and tell me if this fixed your problem!
You might need to click the "update groups" button first and then close and open the group dialog again.
Clicking on submit to group refreshes the whole page 1/3 second after I click on the button.
However I did not notice it before and I failed to join all the groups I contribute to (Lazy person I am). That I can change. The bug I have I cannot.
I just checked this in Firefox + Greasemonkey and Google Chrome with Tampermonkey, and it seems to work well for me.
Are you using a different setup?
Have you tried the "Update list of Groups" button?
If this doesn't help, try uninstalling the script, restart your browser and install it again. Make sure Collections are exported before uninstalling the script or they will be lost.
There was some update in firefox recently that seem to have broken greasemonkey's default value for when to run scripts. Before they were running after the document was loaded, now they do something else. This causes the script's database to be inaccessable and for the script to crash.
I added the runAt tag now, to force loading the script after the document was loaded.
Please update to version 1.81 and check, if your problem was fixed!
Just wondering about one thing, is there an option to remove groups from the list if you've left them? Since for me, it only comes up with the 'you do not have permission to submit to this group', and doesn't give me the option to hide or remove the group.
If this doesn't help, you can press the "Hide" button on a selected group, so it doesn't show up anymore.
Also love this script! Saves so much time Q uQ!!
I made an update to v1.78.
Now it includes an Import and an Export button to get you a .txt file that you can take to a different PC (e.g. using Dropbox or USB Device).
I noticed the new button on your program that allows for 'import' and 'export', and came back here to read more about it, then I found your comment here, though for the life of me, I'm too slow to even begin to understand what has been said here^^"
Though I seem to gather that when you click on the button, it should generate a text file? Alas when I try, nothing happens^^" Though I'm using Chrome so I'm not sure if that's what's causing it? What would you suggest I do? I'm migrating to a new computer these 2 days and if possible, I'd love to keep my lists. Just like the above commenter, I too have a huge list and it would be really tedious to have to move them manually, and if there's a method of doing thiseasily I'd love to learn. Thank you so much, and so sorry for the inconvenience ><
In case this still doesn't help:
Before you press "Add to groups", press ctrl+shift+j. This opens a new window panel ("console") that is probably mostly empty. Now try to export the list again and tell me, if any new elements appear inside the console-panel.
Here's the console panel message I got:
AdsErrors Ads.error Object
VM712:372 Uncaught TypeError: Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 4 is not of type 'Window'.
Thanks again ;u;
I couldn't reproduce the error, but as the error was caused by the click emulation, I added a little workaround:
Export now creates a little "Download"-link right next to it. if the "export" button is not downloading the text file, click download to start it manually.
For that, please update to v1.79
I was already really surprised you answered so quickly, but it caught me totally off guard that you'd come up with a solution and fix so quickly! Thank youuu ;u;
This is really, really, really helpful TvT You saved me so much trouble. I can't thank you enough!
If it's urgent you can copy the database entry from one PC to the other PC, if you use Firefox.
This may sound a bit complicated, but is easier done.
- The database file for each Firefox Greasemonkey script is located at something like C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\vv12ub32.default\gm_scripts.
- the vv12ub32.default folder is your Firefox Profile and may have different letters, but should be the only folder there.
- The Database File is dev_group_list.db. You can either move the file from one PC to another or overwrite the database-entries Dediggefedde_collist and Dediggefedde_grouplist. Your username will be written instead of Dediggefedde.
- You need a program to edit SQLite Database files (there is a firefox-addon but I prefer SQLiteStudio)
In case of Chrome things are a bigger hassle. All data of ALL scripts in Tampermonkey seem to be stored in C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\dhdgffkkebhmkfjojejmpbldmpobfkfo\000346.log (the # in the .log file may vary) and seems to be some sort of binary levelDB Database... Replacing this will probably not work...
I didn't find any information about Opera's Violent Monkey or Safari's GreaseKit...
But I will also take a look into it today, it may be easy to write a feature for it...
My own list seems to update well. Please note that you can only update your list on your own submissions.
you can try to clear the internal storage by uninstalling the script and restarting the browser. In most cases, this is enough to clear the storage and get a blank plate when you install the script again.
At least for me, it only appears the very first time I try to scan my groups.
This means, it is only installed within your browser on one pc, but can neither access your deviantart database nor your local file system.
Thanks for your report!
It's difficult to fix this as the script has a feature to add groups to collections that you are not a member of, if you put a # in front of the name, when searching.
Of course they only appear when you are allowed to submit to them as non-member. This is mostly used for the second tab, "suggest a favourite" to groups you are not a member of.
To fix your problem, you could try to choose "suggest to group favourites" at the top, choose your collection and press "show". You might need to do this both twice as there is some handler issue...
Then the group you left will appear again and can be removed from the collection.
Alternatively you could download a SQLLight data Tool, fint the database file on your system and change the userscript value, but that's complicated, so if the solution above doesn't help, I will probably add a feature to remove a collection directly...
I'm glad you like it. ^^
And it still seem to work for me... were you on your own deviations when this error occured?