Author Topic: Befugnisse Download  (Read 6200 times)

0 Members and 1 Guest are viewing this topic.

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Befugnisse Download
« on: December 02, 2007, 01:58:19 PM »
Hallo,

gibt es die Möglichkeit im ACP (oder in der Datenbank) sämtliche Kategorien für den Download komplett auf ALLE zu setzen.
Wenn man das einzeln macht wird man ja irre  :(

In der Categories.php habe ich den Download schon auf alle gesetzt.


nobby
« Last Edit: December 02, 2007, 02:30:39 PM by nobby »

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Befugnisse Download
« Reply #1 on: December 02, 2007, 02:00:35 PM »
I no get German ... I think is this you want:

In admin/categories.php file -

find:

Code: [Select]
"auth_download" => AUTH_USER,

replace:

Code: [Select]
"auth_download" => AUTH_ALL,

Is ALL user - default. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Befugnisse Download
« Reply #2 on: December 02, 2007, 02:01:50 PM »
I no get German ... I think is this you want:

In admin/categories.php file -

find:

Code: [Select]
"auth_download" => AUTH_USER,

replace:

Code: [Select]
"auth_download" => AUTH_ALL,

Is ALL user - default. ;)

YES

speak German

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Befugnisse Download
« Reply #3 on: December 02, 2007, 02:06:05 PM »
Thank for posting.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Befugnisse Download
« Reply #4 on: December 02, 2007, 02:33:40 PM »
Es wäre auch Hilfreich wenn der Download-Button auf ON gesetzt werden kann.
Standard ist er auf OFF gesetzt.

Es gibt hier auch eine Hilfe, aber die ist für mich nicht Brauchbar, da ich in PHP nicht so firm bin  :wink:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Befugnisse Download
« Reply #5 on: December 02, 2007, 02:36:57 PM »
This is place for switch AUTH in admin/categories.php file ...

Code: [Select]
$access_field_array = array(
  "auth_viewcat" => AUTH_ALL,
  "auth_viewimage" => AUTH_ALL,
  "auth_download" => AUTH_USER,
  "auth_upload" => AUTH_USER,
  "auth_directupload" => AUTH_ADMIN,
  "auth_vote" => AUTH_ALL,
  "auth_sendpostcard" => AUTH_ALL,
  "auth_readcomment" => AUTH_ALL,
  "auth_postcomment" => AUTH_USER
);

For lang for level - right after:

Code: [Select]
$access_array = array(
  AUTH_ALL => $lang['all'],
  AUTH_USER => $lang['userlevel_registered'],
  AUTH_ACL => $lang['private'],
  AUTH_ADMIN => $lang['userlevel_admin']
);
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Befugnisse Download
« Reply #6 on: December 02, 2007, 02:54:29 PM »
categories.php is correct

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Befugnisse Download
« Reply #7 on: December 02, 2007, 04:51:56 PM »
So  8O nun bin ich immer noch nicht schlauer geworden  :(

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Befugnisse Download
« Reply #8 on: December 02, 2007, 05:13:58 PM »
Is problem with categories.php file ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Befugnisse Download
« Reply #9 on: December 02, 2007, 05:19:49 PM »
No, are already ok. Thanks

nobby