>>
Site Map
>>
Forums
>>
Modules
Forum module - topics in forum:
Modules - Get help on installing any module or add-on here
module is brokin.......and im tired of tryin to figure it ou
ok i got 2 dif modules i have added to my nuke7.5 MS_TopSites_v1_0
and Maninder.Tk_Super_Games_List everything looks good and the topsite said the install went ok but when i activate it it says sorry can not access this file directly what did i do wrong
also its been a while since using php-nuke and wondering where to go to set up permission .....sorry i got used to postnuke lol
thanks
Let me ask you a question is the topsites loading as home? Even if it's not try doing the following open modules/MS_Topsites/index.php (at least I think thats the correct directory name) and change the following:
| Code: : |
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
} |
to
| Code: : |
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
die ("You can't access this file directly...");
} |
Try that let us know how it works out.
OK I looked at your site just now it isn't saying "cannot acces this file directly. It's saying "Sorry, such file doesn't exist... " Make sure the module is located in modules/MS_TopSites so the correct path the the index.php file is modules/MS_TopSites/index.php
The only permissions you can set in PHP-Nuke are for the modules and that is done in the admin panel>>>> modules just click edit on each module you want to change the user permissions on. Say your downloads module is set to everyone or annonymous you can change it here to Registered Only. Hope that answers that for you.