AndrewD |
04-30-2008 04:54 AM |
Quote:
Originally Posted by josiespencer
(Post 1502595)
OK, I think I am misunderstanding the how the can_view_hidden setting works. I grant this permission to a user group. Then I hard code the link in a post like this:
PHP Code:
[COLOR=Blue][I][U][B][URL="http://uber-goober.com/forums/local_links.php?catid=1&linkid=3891"]AC020 - Investment Management[/URL][/B][/U][/I][/COLOR]
When a user in this group clicks on the hyperlink created by the above code, I expect them to be able to download the file. But they get this error message instead:
How is this supposed to work? I don't want my users doing searches, I want every link to be hard coded in a post.
|
As you say, wrong permission - entries can be 'hidden' (explicitly or e.g. by post-dating them) - and *can_view_hidden* controls whether the usergroup can see these hidden entries or not.
I think the permission to use is *can_access_link* (with 2.2.9, or - required with earlier versions - the forums based permissions system)
Also your url in the forum should be ..php?action=jump&... to take authorised users directly to the download and unauthorised users to an error. Otherwise, users without the permission will simply get to see the usual LDM page with an entry with no hyperlink.
|