Closed (won't fix)
Project:
Discuss This!
Version:
6.x-1.6
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2010 at 15:16 UTC
Updated:
29 Nov 2013 at 11:42 UTC
Jump to comment: Most recent
Comments
Comment #1
AlexisWilke commentedHi l0calh0rst,
Is the "New user message:" label not sufficient?
Thank you.
Alexis Wilke
Comment #2
l0calh0rst commentedNot really. I want the link to be identical to when a user is logged in as the logintoboggan module will take care of the redirect to the login/register page. So basically discuss this should not care about wether the user is registered or logged in. That would perfectly match my needs. Could that be done optionally?
Thx
Comment #3
AlexisWilke commentedThere is a permission "access discuss this links" which if you setup for anonymous users should do what you're looking for.
Let me know if that doesn't work.
Thank you.
Alexis
Comment #4
l0calh0rst commentedIt does work, but it shows the "login or register" links and text plus the "New user message". That's not what I want.
Comment #5
AlexisWilke commentedIn discussthis.module you have this test around line 399
Change it like this:
And see whether you still got those pesky links. Or if they all disappear.
Thank you.
Alexis
Comment #6
l0calh0rst commentedWhen I do that, nothing appears at all for anonymous users.
Comment #7
AlexisWilke commentedOkay... that means the earlier user_access() calls return FALSE... Weird. You could try to replace the two user_access calls that are in the previous if() block by TRUE and see if you get the result you need.
Comment #8
dom. commentedModule maintainer has changed. I'm closing this issue after years of inactivity, please open a new issue if needed.