Quote:
Originally Posted by Natch
As AndrewD said, the code I wrote ignores the permissions deliberately. It is a teaser so that unregistered users, or users without permission do not see an Empty Box in your portal, but see the links. If they decide to try and download, they get told they do not have permission, and if unregistered they are prompted to register.
This seemd to me to be the cleanest way to do it - I can test the altered get_hotlinks.php code and get back to you on how it looks, but my guess is that it will not be as clean on your portal page.
I do not know what might be causing your error - but as AndrewD said as well, it sounds like a template error to me.
|
I've tested the updated [permissions-based] get_hotlinks.php file with my board, and the only question I have [for AndrewD] is what is returned if there are no links available for the user to view ?
It does work by reducing the links that the Guest / limited access usr can see in the CustomBox, but what happens if the number of returned links is zero (0) ?