Needs review
Project:
Smartqueue Per User
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2010 at 17:56 UTC
Updated:
3 Dec 2011 at 02:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
DrakeTaylor commentedWhoops, for got to change the status.
Comment #2
DrakeTaylor commentedHere's a patch that lets an admin create subqueues in a nodequeue for existing users. It creates a tab at /admin/content/nodequeue. Here you can pick which nodequeue created by smartqueue_users to batch create subqueues for all users that don't have a subqueue already created. Test it out, let me know if it works for you.
-Drake
Comment #3
DrakeTaylor commentedI've been thinking about the patch in #1 and while it should work, it's all or nothing. If you apply it, a user joining the site will get a subqueue for every nodequeue owned by smartqueue_users. Maybe this is not something we want, maybe we should have a checkbox on the nodequeue create form that allows an admin to choose if they want users to get a subqueue. It's just a thought.
Comment #4
steve hanson commentedThe smartqueue users batch patch doesn't work properly if the site uses a database prefix since it explicitly calls the user table.
Comment #5
DrakeTaylor commentedThanks Steve!
I've fixed that and added to the code so now during the batch process only the users that have the roles allowed by the nodequeue get subqueues added.
Let me know if it works.
-Drake
Comment #6
beeradb commentedRenaming for accuracy (and also because I need this namespace)
Comment #7
vegantriathleteThis is something else that I thought the 5.x-0.6 version already does.
Anyway, I am laying the groundwork to build a D7 version of this module and would like to make a decision whether to use the 6.x-1.x or 6.x-2.x branch as my starting point. Please jump in to the discussion in the issue queue.