Role Referral 6.x problem
| Project: | Role Referral |
| Version: | 6.x-1.0 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Hi there,
i recently downloaded role referral module (http://drupal.org/project/rolereferral) and installed it in my drupal website (www.site1.com). After i enabled this module, i went to check the configuration page and it only gave me an option to specify the referrer URL (www.site2.com -- where the link to site1 will appear) and to which role i should assign this to. However i can't get this up and running. My question is, i have several users under this particular role, how will this module determine to which particular user it should apply the authentication to? I have tried assigning one user (and deleted the others) to a role with the same name but it doesn't work as well, it still brings up the user login page when it should have given the user a direct access to the site without logging in.
Was i doing it right? or i missed out something?
Please advise.
Thank you.

#1
I think you have a slight misunderstanding of how the module works. It is NOT an auto-login module. All it does is temporarily (for the length of a session) assign a role to an anonymous user. So upon using the referring URL, you should have all the access priveleges of the role which you told my module to grant, but you still won't be logged in.
Also, make sure the referrer URL you specify is exactly what will come thru in the html header - if the link is on a page like http://www.site2.com/links/links.html, then simply specifying the server (http://www.site2.com) will not be sufficient.
Please let me know if you have further questions or problems. If necessary, I might be able to set up an example site to demonstrate how it's intended to work.
#2
Hi Olarin,
Thanks for your immediate response. So basically, this module is intended to anonymous users only right? I was thinking of creating different roles with different access to contents using taxonomy access control lite. But it got me thinking, creating roles wouldn't be enough because technically there was no username and password assigned -- how will it recognize that the intended role to be used is for anonymous user or for another role? I guess tweaking the code will do the trick, unfortunately that is not my option for now as coding is not my forte.
By the way, would it be possible to show me an example site of how this module should work?
Waiting for your soonest response. Thanks again, appreciate your help. :)