Active
Project:
Flag limit
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2012 at 16:29 UTC
Updated:
29 Apr 2012 at 09:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
otcassetmgmt commentedUsers may select 6 or more please if anyone knows what is wrong the configuration is in the pic
Comment #2
aschiwi commentedI was hoping to do a similar thing: Allow users to flag 3 nodes and not more. The description looks like it does that, but all I get with this module enabled is this message when flagging (first click for each flag)
An HTTP error 200 occurred.@otcassetmgmt Assigning yourself to an issue is for when you plan to fix it.
Comment #3
otcassetmgmt commentedUsing Rules you can configure a component or a rule in the event "a node has been flagged_your_flag" and use the action "Trim a flag" this will only allow users to flag the amount you set. If you need to use this in other places create a component. To learn how do a google search for Node One and watch the Rules Framework. Good luck
Comment #4
aschiwi commented@otcassetmgmt Thanks for your answer. A module with just a few settings would be easier than using rules and since it's here I was hoping to be able to use it instead of creating a rule. Trimming a flag is not very user friendly, plus the oldest flag gets trimmed, which would lose the user's first selection. We would have to find a way to build a rule that does what this module does - see if the user has already flagged 3 things and if so, display a message and not allow another flag. Using js flags with rules messages or page reloads doesn't seem to be easy to do, I guess we will first look into why this module isn't working, I assume it's because something has been changed in flag since the last release of this module.