Author Topic: [TUT] Neue Kategorie Rechte, New categories permission  (Read 20539 times)

0 Members and 1 Guest are viewing this topic.

bildergallery

  • Guest
[TUT] Neue Kategorie Rechte, New categories permission
« on: August 10, 2008, 09:33:43 PM »
- zunächst einmal nur in deutsch ...
- a englisch version is coming soon ... or later ...  ;) ... meanwhile use this  English-Google-Translation ...
     - but don't use the php-/html-code from this translation, use the php-/html-code from the original topic ...


Hallo zusammen,
Wie kann ich die Rechte, wenn ich eine neue Kategorie erstelle, als standard ändern?

admin/categories.php
suche
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
);

Erklärung:
"auth_viewcat" = Kategorie sehen
"auth_viewimage" = Bilddetails sehen
"auth_download" = Download
"auth_upload" = Upload
"auth_directupload" = Direkter Upload
"auth_vote" = Bewerten
"auth_sendpostcard" = Postkarten versenden
"auth_readcomment" = Kommentare lesen
"auth_postcomment" = Kommentare posten

AUTH_ALL = Alle
AUTH_ADMIN = Administratoren
AUTH_USER = Registrierte User
AUTH_ACL = Privat

Wie kann ich nun "Kategorie sehen" auf Privat stellen?

Beispiel:
suche
Code: [Select]
  "auth_viewcat" => AUTH_ALL,
ersetze
Code: [Select]
  "auth_viewcat" => AUTH_ACL,
« Last Edit: August 10, 2008, 09:48:54 PM by ivan »

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.804
  • I ♥ 4I
    • View Profile
Re: [TUT] Neue Kategorie Rechte, New categories permission
« Reply #1 on: August 10, 2008, 10:37:32 PM »
Super, klasse Arbeit :D

Offline mediteran13

  • Newbie
  • *
  • Posts: 10
  • Enjoy it!
    • View Profile
    • Life as it should be!
Re: [TUT] Neue Kategorie Rechte, New categories permission
« Reply #2 on: January 03, 2010, 10:08:14 AM »
Perfect tutorial, it's saving a hundred clicks a day. Thank you!
-----
best rgds
Ralf