| Author |
Message |
Doom
Corporal


Joined: Apr 05, 2003
Posts: 54
|
Posted:
Thu Apr 10, 2003 5:11 am |
  |
is it posible to add some "file.exe" in downloads and if you are not loged in like admin you will not se "file.exe", i mean , i wanna add it to download but hide it so only admins se hiden file? |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Thu Apr 10, 2003 5:22 am |
  |
If you mean to have 1 download area and then restrict particular files to particular roles, then I would advise you to have 2 separate download areas. Leave the standard one as is and create a second one for Admin's only. |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
Doom
Corporal


Joined: Apr 05, 2003
Posts: 54
|
Posted:
Thu Apr 10, 2003 5:25 am |
  |
| Raven wrote: |
| If you mean to have 1 download area and then restrict particular files to particular roles, then I would advise you to have 2 separate download areas. Leave the standard one as is and create a second one for Admin's only. |
i mean, i want to add some file in downloads area, and when registred users i browsing the my downloads he will not se that file, and when admin is browsing i downloads area he will se it? |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Thu Apr 10, 2003 5:30 am |
  |
As I said, your best and easiest route is to have 2 separate d/l blocks/modules - 1 for registered users and 1 for admins. Otherwise you will have to modify the d/l block/module logic to check if the person is an admin and then hide/mask out particular files. Yes, it can be done. |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
sixonetonoffun
Major


Joined: Jan 13, 2003
Posts: 892
|
Posted:
Thu Apr 10, 2003 6:09 pm |
  |
|
   |
 |
BobMarion
Nuke Soldier


Joined: Feb 20, 2003
Posts: 17
|
Posted:
Wed Apr 16, 2003 6:14 pm |
  |
|
    |
 |
Nemesis
Corporal


Joined: Apr 06, 2003
Posts: 65
|
Posted:
Tue Apr 22, 2003 10:33 am |
  |
hey bob i dled the nsn groups like you suggested ( may fix two problem i been having) and hehe i see AI into that to ( way to go AI your a programming machine) but my question to you bob is in your install do you get _GR_usergrups and _GR_useradmin ect instead of GR Usergroups |
|
|
     |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Tue Apr 22, 2003 12:04 pm |
  |
eh? what did I have to do with NSN Groups?????
The only version I had anything to do with is the latest one that includes my modules tweak, and the only think I did then was update the modules tweak a teeny bit on top of Bob's changes.
AI |
|
|
   |
 |
BobMarion
Nuke Soldier


Joined: Feb 20, 2003
Posts: 17
|
Posted:
Tue Apr 22, 2003 5:59 pm |
  |
Nemesis: Have you copied the contents of admin/language/lang-english.txt into your admin/language/lang-english.php as the instructions say to? If not then that is why your getting the underscored text.
Yes, there is a NSN Groups/AI modules set but I will be doing the support since it was I that asked for permission to include AI's code in with NSN Groups AI has enough to do with out having to support NSN scripts too  |
_________________ Bob Marion
http://www.nukescripts.net
Codito Ergo Sum |
|
    |
 |
|
|