Closed (fixed)
Project:
Signup Pay for a node
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2008 at 04:16 UTC
Updated:
3 Apr 2008 at 21:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
pelicani commentedThinking about setting a priority weighting for each role.
But where would it make more sense, in the node or in the admin settings for signup pay.
We could do both.
Comment #2
kbahey commentedThis one is not as easy I initially thought it would be.
Having weights for each role in admin, and then assigning a price for each role in the node should work. We pick the lightest one (least weight) and lookup the price for that.
We can also have checkboxes as well in admin, saying which roles should have prices attached, and what is the default price if someone is not in any of those roles. So, for a site that has "admins", "moderators", "staff", "editors", "member", "anonymous", we may want only pricing attached to member and anonymous, and not the rest.
Perhaps it could be just an "Ignore" weight instead of the checkboxes.
Comment #3
pelicani commentedI'd like to think about this a bit more and create another issue for a fancy admin for role admin in the settings. Will that work?
See attached for the custom price code I've got so far.
NOTE: I had to tweak the db to allow multiple rids per node, install patch included
Let me know if you have any issues.
Comment #4
kbahey commentedI committed this code, and created a -dev release, so we can get people to test the module too.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.