"log in to discuss" for anon users?
aharown07 - November 7, 2008 - 21:43
| Project: | Discuss This! |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | spiderman |
| Status: | closed |
Jump to:
Description
Wd be super to have a teaser link that says "Login/register to Discuss" ... and appropriate links to user page.
On this one I am also open to some improvising if somebody can suggest how to code it. I just don't know PHP very well yet so... sometimes I can guess my way through. More expert guidance wd save much time.

#1
I've implemented this feature in this commit: http://drupal.org/cvs?commit=170867.
Notably, the code there checks if the user is logged in FIRST, before checking any permissions. So even if you give the relevant perms to the Anonymous role, they won't take effect. This might be considered a bug, but it seems like this is the most common use case. If anyone needs anonymous users to be respected in this way, please reopen this issue.
#2
Many thanks! Will test in a day or two if not sooner.
#3
I'm not real familiar w/commits and CVS and all that... how do I use the commit? Or do I need to wait until it gets into a new release?
#4
@aharown07: if you download the -dev.tar.gz release of the module, you should get the fix. I believe these tarballs are re-rolled every 6 hours with latest CVS code. Alternately, if you check the code out directly from CVS yourself, you can do a 'cvs update' after new code is committed to get the updates.
Read this handbook page and other related ones for more details on CVS.
#5
Many thanks
#6
Automatically closed -- issue fixed for 2 weeks with no activity.