Closed (fixed)
Project:
Premium
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2007 at 16:56 UTC
Updated:
17 Aug 2008 at 03:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
allie mickaI would accept a patch that effects this when the premium settings are changed.
Comment #2
jerdavisI've created a patch which will address this. The attached patch uses hook_node_operations() to add a "Make Premium" and "Remove Premium" option on admin/content/node. These options will allow you to select existing nodes and set/remove premium status on those nodes as a bulk operation.
This can be used to make existing nodes premium, without having to edit each one individually.
I've tested the patch locally on d5 and everything seems to be working properly. The patch was made with a CVS Diff of HEAD.
Let me know if there are any issues!
Jer
Comment #3
jerdavisIn addition to the previous patch, here is a patch which addresses the needs you described above. This patch adds a few things to admin/settings/premium. First, there is the ability to set "premium-ness" for existing node types directly from the admin interface. Additionally, you can check a box which allows you to update all nodes based on the current premium admin settings.
When a user first downloads and installs premium, they simply go to admin/settings/premium, pick which node types they would like to make premium, check the box to bulk update nodes and all existing nodes of the types selected will be made premium based on the current admin form settings.
Comment #4
allie mickaThanks jerdavis!
Committed both patches.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.