Even if you uncheck subscription access for regular and anonymous users, the subscription link in the Navigation menu still appears.
Even if you uncheck subscription access for regular and anonymous users, the subscription link in the Navigation menu still appears.
Comments
Comment #1
robert castelo commentedHas now been fixed.
Update the eNewsletter module files 'enewsletter.module' and 'enewsletter_send_receive.inc', no database updates neccessary.
Make sure to flush your cache after updating
Comment #2
noid commentedHi Robert,
Subscription menu link disappeared but I can still see the subscription tab -- was able to subscribe even without proper access (still not getting my newsletter though).
Comment #3
robert castelo commentedJust uploaded a new version of enewsletter.module file which fixes that.
No db update neccessary.
In future I plan to have individual 'subscribe', 'contribute' and administer permisions for each newsleter.
Also I'll transfer the 'Subscribe' code to subscriptions.module and make the tab available to any other module that wants to use it.
Noid, if this fixes the problem could you close this issue, thanks.
Comment #4
noid commentedI can still see the subscription tab and I get the ff error when I click it:
Fatal error: Call to undefined function: subscribed_get_subscriptions() in /home/mysite/public_html/modules/enewsletter/enewsletter.module on line 560
Comment #5
noid commentedMy bad. Delete the fatal error part. Wasn't able to enable subscribed module. However, I can still see the subscription tab.
Comment #6
robert castelo commentedThe 'subscribe' tab is visible on all member accounts, but if you click on it and there's nothing available to subscribe to it will display a message like "No subscriptions available".
Still deciding whether the 'subscribe' tab should display to visitors if no subscriptions are available (either no newsletters have been created or the member doesn't have permission to subscribe).
Thoughts?
Comment #7
noid commentedHope the subscription tab is disabled when a user doesn't have permission so we, the administrators, can test the enewsletter module without the visitors seeing it. :)
Comment #8
robert castelo commentedOriginal issue is fixed, so I'm moving this discussion to a feature request where we can talk about the interface:
http://drupal.org/node/38057
Comment #9
robert castelo commented