4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 16, 2018, 10:27:50 AM

Login with username, password and session length
Search:     Advanced search
You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Releases & Support)
| | |-+  Tutorials (Moderators: mawenzi, Rembrandt)
| | | |-+  [TUT] Neue Kategorie Rechte, New categories permission
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Current Topic Rating: *****
Author Topic: [TUT] Neue Kategorie Rechte, New categories permission  (Read 15941 times)
ivan
4images Moderator
4images Guru
*****
Offline Offline

Posts: 2279

Thank You
-Given: 4
-Receive: 31


View Profile WWW
« on: August 10, 2008, 09:33:43 PM »

- zunächst einmal nur in deutsch ...
- a englisch version is coming soon ... or later ...  Wink ... 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
1
2
3
4
5
6
7
8
9
10
11
$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
1
  "auth_viewcat" => AUTH_ALL,

ersetze
1
  "auth_viewcat" => AUTH_ACL,
« Last Edit: August 10, 2008, 09:48:54 PM by ivan » Logged

greetings / grüsse
ivan

Facebook Fan Page | Follow Twitter

Blog: Reisen Blog
Bilder Gallery: Bilder Gallery
Sumale.my
Addicted member
******
Offline Offline

Posts: 1773

Thank You
-Given: 169
-Receive: 86

Neverdie


View Profile
« Reply #1 on: August 10, 2008, 10:37:32 PM »

Super, klasse Arbeit Very Happy
Logged
mediteran13
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 0

Enjoy it!


View Profile WWW
« Reply #2 on: January 03, 2010, 10:08:14 AM »

Perfect tutorial, it's saving a hundred clicks a day. Thank you!
Logged

-----
best rgds
Ralf
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.055 seconds with 20 queries.
Post your comments here