Needs work
Project:
Registration codes
Version:
2.0.x-dev
Component:
Rules integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2012 at 00:37 UTC
Updated:
3 Sep 2024 at 05:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
smokrisA patch is attached, which adds a new "Create registration codes" Rules Action.
Comment #2
smokrisAlternate patch, which accepts a single
taxonomy_terminstead of alist<taxonomy_term>(so, in a single rule, you can create a term and then use it to create a regcode).Comment #3
sumit@skytesters.com commentedYou missed to increment
value of i which results infinite loop of registration code being create.moreover you are not taking in consideration total length which results in increased length if we add prefix to it.
and as module is designed if no. of registration code is 1 only registration code produced should be the code with prefix character.....
sorry ,if something in wrong in English .hope things i wanted to convey are conveyed.
for which i made following modification...a newbie so code may not be optimised
Comment #4
bobfries commentedHas anyone had a deadlock issue running this rule action?
Using the following rule which attempts to create a new reg code using a hidden field when a group is created. It works most the time, typically the error comes when the client tests it!
Comment #5
tr commentedNew features need to be put into the current branch first, then backported to previous versions if there is community interest.
Comment #6
tr commented