2
You can add this code to /modules/wfdownloads/visit.php
near the top, after all the functions and maybe above the
if agree section.
if ($xoopsUser) $uid = $xoopsUser->getVar("uid", "E");
else redirect_header("/register.php", 3, "You must register for free and/or login to download.");
This will allow all users to browse the downloads, but then when they go to actually download, it will check to see if they are a loggen in (registered) user and if not, redirect them to the login/registration page.
Hope that helps,
Daniel Hall / XOOPS Module Development & Theme Design
Free XOOPS Support >
My Wish List