Closed (fixed)
Project:
Usernode
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2006 at 08:51 UTC
Updated:
27 Oct 2007 at 08:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
fagoyou can write a simple module which uses hook_user to detect new users and makes the redirect
Comment #2
mtk commentedthanks, this is what I did:
Comment #3
(not verified) commentedComment #4
yhager commentedThe above seemed to have been working correctly for the 4.7 version of the module, but for the 5.x version it does not.
I had to apply the attached patch to make it work, otherwise, the value returned from usernode_get_node_id() would have been zero.
Comment #5
fagohm, I don't see why this patch should be needed as usernode is the only module which should set node_id. So if you need this, there must be another bug which causes this.
Anyway, to the topic of this issue. Now you can also create the redirect with workflow-ng.
Comment #6
yhager commentedOnly from looking at the code, this is possible. node_id might be assigned FALSE, if there is no entry in the table yet (db_result() returns FALSE). However, I am not sure what flow would cause this, but this is what happened in my case.
Thanks for the pointer for workflow-ng, this module looks great! I certainly could use it in various other cases other than this one :)
Comment #7
(not verified) commented