Befugnisse

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
froggiton
Mitglied
Beiträge: 138
Registriert: 05.12.2003 19:57
Wohnort: Elmshorn

Beitrag von froggiton »

ok das funzt.

hast du bitte noch die varriablen für den yellow card mod?, damit ich den dort auch zufügen kann? (oder noch besser die komplette änderung? :D )

ein prob ergibt sich aber noch damit, beim editieren wird ein gleines bild neben der maus angezeigt (java script denke ich) dieses geht aber nicht mit zu den letzten möglichkeiten der auswahl, sondern bleibt an der stelle stehen, wo beim standart mod die letzte befugniss einzustellen war.
also das bildchen geht nicht ganz mit der maus nach links sondern bleibt vorher "kleben".
hast du dafür evtl. auch ne änderungsmöglichkeit? (ist aber nicht ganz so wichtig!)

gruß froggiton
Nein ich bin nicht die Signatur, ich putz hier nur. :lol:
Wie bitte? Also ne. Hallo? Wer is los? Nein. Ähm...ja ich bin hier.
schlubiz
Mitglied
Beiträge: 103
Registriert: 28.07.2004 12:13
Kontaktdaten:

Beitrag von schlubiz »

für alle, die den "Overall Forums Permission Interactive Editor" nutzen wollen, hab ich mal paar kleine änderungen/ergänzungen/korrekturen eingebaut (farbig gekennzeichnet)
##############################################################
## MOD Title: Overall Forums Permission Interactive Editor
## MOD Author: yttrbium (overallforums@jaredgrubb.com)
## MOD Description: This mod allows you to set the permissions of all forums at the same time
## using a colorful, javascript-driven interface. The inspiration for this
## came from phpBBhack mod#486 of the name "overall forums permission".
## Note: Using this hack requires a recent browser (specifically that supports
## getElementById(); I would think anyone who is admin to a BB would probably
## have an adequate browser!
## MOD Version: 1.0.0
## Credits:
## The original mod, which I drew from for inspiration:
## [ #486: Overall Forums Permission ] - Smartor
##
## Special Thanks to:
## Erik Bosrup, http://www.bosrup.com/web/overlib/, for the overlib.js code
##
## Installation Level: easy
## Installation Time: 5 Minutes
## Files To Edit:
## language/lang_english/lang_admin.php
## Included Files: 30
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes:
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
## Revision History:
##
## v1.0.0:
## + initial released
##
##############################################################


#
#-----[ COPY ]--------------------------------------------
#
copy admin_overall_forumauth.php to admin/admin_overall_forumauth.php

#
#-----[ COPY ]--------------------------------------------
#
copy auth_overall_forum_body.tpl to templates/subSilver/admin/auth_overall_forum_body.tpl

#
#-----[ COPY ]--------------------------------------------
#
copy auth_overall_forum/admin_overall_forumauth.js to templates/subSilver/images/auth_overall_forum/admin_overall_forumauth.gif
copy auth_overall_forum/overlib.js to templates/subSilver/images/auth_overall_forum/overlib.js
copy auth_overall_forum/_restore.gif to templates/subSilver/images/auth_overall_forum/_restore.gif
copy auth_overall_forum/ADMIN.gif to templates/subSilver/images/auth_overall_forum/ADMIN.gif
copy auth_overall_forum/ADMIN_TO_ALL.gif to templates/subSilver/images/auth_overall_forum/ADMIN_TO_ALL.gif
copy auth_overall_forum/ADMIN_TO_MOD.gif to templates/subSilver/images/auth_overall_forum/ADMIN_TO_MOD.gif
copy auth_overall_forum/ADMIN_TO_PRIVATE.gif to templates/subSilver/images/auth_overall_forum/ADMIN_TO_PRIVATE.gif
copy auth_overall_forum/ADMIN_TO_REG.gif to templates/subSilver/images/auth_overall_forum/ADMIN_TO_REG.gif
copy auth_overall_forum/ALL.gif to templates/subSilver/images/auth_overall_forum/ALL.gif
copy auth_overall_forum/ALL_TO_ADMIN.gif to templates/subSilver/images/auth_overall_forum/ALL_TO_ADMIN.gif
copy auth_overall_forum/ALL_TO_MOD.gif to templates/subSilver/images/auth_overall_forum/ALL_TO_MOD.gif
copy auth_overall_forum/ALL_TO_PRIVATE.gif to templates/subSilver/images/auth_overall_forum/ALL_TO_PRIVATE.gif
copy auth_overall_forum/ALL_TO_REG.gif to templates/subSilver/images/auth_overall_forum/ALL_TO_REG.gif
copy auth_overall_forum/MOD.gif to templates/subSilver/images/auth_overall_forum/MOD.gif
copy auth_overall_forum/MOD_TO_ADMIN.gif to templates/subSilver/images/auth_overall_forum/MOD_TO_ADMIN.gif
copy auth_overall_forum/MOD_TO_ALL.gif to templates/subSilver/images/auth_overall_forum/MOD_TO_ALL.gif
copy auth_overall_forum/MOD_TO_PRIVATE.gif to templates/subSilver/images/auth_overall_forum/MOD_TO_PRIVATE.gif
copy auth_overall_forum/MOD_TO_REG.gif to templates/subSilver/images/auth_overall_forum/MOD_TO_REG.gif
copy auth_overall_forum/PRIVATE.gif to templates/subSilver/images/auth_overall_forum/PRIVATE.gif
copy auth_overall_forum/PRIVATE_TO_ADMIN.gif to templates/subSilver/images/auth_overall_forum/PRIVATE_TO_ADMIN.gif
copy auth_overall_forum/PRIVATE_TO_ALL.gif to templates/subSilver/images/auth_overall_forum/PRIVATE_TO_ALL.gif
copy auth_overall_forum/PRIVATE_TO_MOD.gif to templates/subSilver/images/auth_overall_forum/PRIVATE_TO_MOD.gif
copy auth_overall_forum/PRIVATE_TO_REG.gif to templates/subSilver/images/auth_overall_forum/PRIVATE_TO_REG.gif
copy auth_overall_forum/REG.gif to templates/subSilver/images/auth_overall_forum/REG.gif
copy auth_overall_forum/REG_TO_ADMIN.gif to templates/subSilver/images/auth_overall_forum/REG_TO_ADMIN.gif
copy auth_overall_forum/REG_TO_ALL.gif to templates/subSilver/images/auth_overall_forum/REG_TO_ALL.gif
copy auth_overall_forum/REG_TO_MOD.gif to templates/subSilver/images/auth_overall_forum/REG_TO_MOD.gif
copy auth_overall_forum/REG_TO_PRIVATE.gif to templates/subSilver/images/auth_overall_forum/REG_TO_PRIVATE.gif

#
#-----[ OPEN ]---------------------------------------------
#
language/lang_english/lang_admin.php

#
#-----[ FIND ]---------------------------------------------
#
$lang['Group_auth_explain'] = 'Here you can alter the permissions and moderator status assigned to each user group. Do not forget when changing group permissions that individual user permissions may still allow the user entry to forums, etc. You will be warned if this is the case.';
$lang['User_auth_explain'] = 'Here you can alter the permissions and moderator status assigned to each individual user. Do not forget when changing user permissions that group permissions may still allow the user entry to forums, etc. You will be warned if this is the case.';
$lang['Forum_auth_explain'] = 'Here you can alter the authorisation levels of each forum. You will have both a simple and advanced method for doing this, where advanced offers greater control of each forum operation. Remember that changing the permission level of forums will affect which users can carry out the various operations within them.';

#
#-----[ AFTER, ADD ]--------------------------------------
#
$lang['Forum_auth_explain_overall'] = 'Here you can alter the authorisation levels of each forum. Remember that changing the permission level of forums will affect which users can carry out the various operations within them.';
$lang['Forum_auth_explain_overall_edit'] = 'First click on the swatch in the key, then click on the forum swatch you want to change. Use "restore" to undo changes. Use "stop editing" to turn off further editing.';
$lang['Forum_auth_overall_restore'] = 'Restore Original';
$lang['Forum_auth_overall_stop'] = 'Stop Editing';

#
#-----[ OPEN ]---------------------------------------------
#
language/lang_german/lang_admin.php

#
#-----[ FIND ]---------------------------------------------
#
$lang['Group_auth_explain'] = 'Du kannst hier die Befugnisse und den Moderator-Status für jede Gruppe einstellen. Vergiss nicht, dass einzelne Benutzerbefugnisse immer noch gültig sind, wenn du die Gruppenbefugnisse änderst (z.B. Zugang zu Foren u.ä.). Sollte dies der Fall sein, wirst du darüber informiert.';
$lang['User_auth_explain'] = 'Du kannst hier die Befugnisse und den Moderator-Status für jeden einzelnen Benutzer einstellen. Vergiss nicht, dass Gruppenbefugnisse immer noch gültig sind, wenn du die Benutzerbefugnisse änderst (z.B. Zugang zu Foren u.ä.). Sollte dies der Fall sein, wirst du darüber informiert.';
$lang['Forum_auth_explain'] = 'Du kannst hier die Zugangsebenen für jedes Forum bestimmen. Es gibt eine einfache und eine fortgeschrittene Methode, dies zu tun. Bei der fortgeschrittenen Methode hast du eine bessere Kontrolle über jedes Forum. Bedenke, dass das Ändern der Zugangsebene beeinflusst, welche Benutzer welche Aktionen im Forum durchführen können.';

#
#-----[ AFTER, ADD ]--------------------------------------
#
$lang['Forum_auth_explain_overall'] = 'Hier kannst du die Berechtigungen für jedes Forums verändern. Bedenke, dass das Ändern der Zugangsebene beeinflusst, welche Benutzer welche Aktionen im Forum durchführen können.';
$lang['Forum_auth_explain_overall_edit'] = 'Klicke zuerst oben auf die Zugangsebene und danach auf das Forum, welches du ändern möchtest. Benutze "Original wiederherstellen" um Änderungen rückgängig zu machen. Benutze "Ändern abbrechen" um weiteres Ändern zu beenden.';
$lang['Forum_auth_overall_restore'] = 'Original wiederherstellen';
$lang['Forum_auth_overall_stop'] = 'Ändern abbrechen';

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/images/auth_overall_forum/admin_overall_forumauth.js

#
#-----[ FIND ALL ]---------------------------------------------
#
<img src="../templates/wyosigs/images/auth_overall_forum/

#
#-----[ REPLACE ALL WITH ]--------------------------------------
#
<img src="../templates/subSilver/images/auth_overall_forum/

#
#Fuer zentrierte Anzeige der Berechtigungssymbole
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/admin/auth_overall_forum_body.tpl

#
#-----[ FIND ]---------------------------------------------
#
<!-- BEGIN forumrow -->
<tr>
<td class="row1"><span class="gen">{catrow.forumrow.FORUM_NAME}</span></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_VIEW_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_VIEW_IMG}',{catrow.forumrow.FORUM_ID},'VIEW');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_VIEW" name="auth[{catrow.forumrow.FORUM_ID}][VIEW]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_READ_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_READ_IMG}',{catrow.forumrow.FORUM_ID},'READ');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_READ" name="auth[{catrow.forumrow.FORUM_ID}][READ]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_POST_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_POST_IMG}',{catrow.forumrow.FORUM_ID},'POST');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_POST" name="auth[{catrow.forumrow.FORUM_ID}][POST]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_REPLY_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_REPLY_IMG}',{catrow.forumrow.FORUM_ID},'REPLY');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_REPLY" name="auth[{catrow.forumrow.FORUM_ID}][REPLY]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_EDIT_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_EDIT_IMG}',{catrow.forumrow.FORUM_ID},'EDIT');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_EDIT" name="auth[{catrow.forumrow.FORUM_ID}][EDIT]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_DELETE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_DELETE_IMG}',{catrow.forumrow.FORUM_ID},'DELETE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_DELETE" name="auth[{catrow.forumrow.FORUM_ID}][DELETE]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_STICKY_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_STICKY_IMG}',{catrow.forumrow.FORUM_ID},'STICKY');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_STICKY" name="auth[{catrow.forumrow.FORUM_ID}][STICKY]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_ANNOUNCE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_ANNOUNCE_IMG}',{catrow.forumrow.FORUM_ID},'ANNOUNCE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_ANNOUNCE" name="auth[{catrow.forumrow.FORUM_ID}][ANNOUNCE]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_VOTE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_VOTE_IMG}',{catrow.forumrow.FORUM_ID},'VOTE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_VOTE" name="auth[{catrow.forumrow.FORUM_ID}][VOTE]"></td>
<td class="row2"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_POLLCREATE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_POLLCREATE_IMG}',{catrow.forumrow.FORUM_ID},'POLLCREATE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_POLLCREATE" name="auth[{catrow.forumrow.FORUM_ID}][POLLCREATE]"></td>
</tr>

#
#-----[ REPLACE WITH ]--------------------------------------
#
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle"><span class="gen">{catrow.forumrow.FORUM_NAME}</span></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_VIEW_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_VIEW_IMG}',{catrow.forumrow.FORUM_ID},'VIEW');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_VIEW" name="auth[{catrow.forumrow.FORUM_ID}][VIEW]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_READ_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_READ_IMG}',{catrow.forumrow.FORUM_ID},'READ');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_READ" name="auth[{catrow.forumrow.FORUM_ID}][READ]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_POST_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_POST_IMG}',{catrow.forumrow.FORUM_ID},'POST');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_POST" name="auth[{catrow.forumrow.FORUM_ID}][POST]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_REPLY_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_REPLY_IMG}',{catrow.forumrow.FORUM_ID},'REPLY');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_REPLY" name="auth[{catrow.forumrow.FORUM_ID}][REPLY]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_EDIT_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_EDIT_IMG}',{catrow.forumrow.FORUM_ID},'EDIT');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_EDIT" name="auth[{catrow.forumrow.FORUM_ID}][EDIT]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_DELETE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_DELETE_IMG}',{catrow.forumrow.FORUM_ID},'DELETE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_DELETE" name="auth[{catrow.forumrow.FORUM_ID}][DELETE]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_STICKY_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_STICKY_IMG}',{catrow.forumrow.FORUM_ID},'STICKY');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_STICKY" name="auth[{catrow.forumrow.FORUM_ID}][STICKY]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_ANNOUNCE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_ANNOUNCE_IMG}',{catrow.forumrow.FORUM_ID},'ANNOUNCE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_ANNOUNCE" name="auth[{catrow.forumrow.FORUM_ID}][ANNOUNCE]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_VOTE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_VOTE_IMG}',{catrow.forumrow.FORUM_ID},'VOTE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_VOTE" name="auth[{catrow.forumrow.FORUM_ID}][VOTE]"></td>
<td class="row2" align="center" valign="middle"><img src="../templates/subSilver/images/auth_overall_forum/{catrow.forumrow.AUTH_POLLCREATE_IMG}.gif" onClick="return change_auth(this,'{catrow.forumrow.AUTH_POLLCREATE_IMG}',{catrow.forumrow.FORUM_ID},'POLLCREATE');"><input type="hidden" id="auth_{catrow.forumrow.FORUM_ID}_POLLCREATE" name="auth[{catrow.forumrow.FORUM_ID}][POLLCREATE]"></td>
</tr>

#
#Fuer deutsche Nutzer
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/admin/auth_overall_forum_body.tpl

#
#-----[ FIND ]---------------------------------------------
#
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" width="100%"><span class="cattitle"><b><a href="{catrow.U_VIEWCAT}">{catrow.CAT_DESC}</a></b></span></td>
<td class="cat" align="center" valign="middle"><span class="gen">View</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Read</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Post</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Reply</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Edit</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Del</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Sticky</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Ann</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Vote</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Poll </span></td>
</tr>

#
#-----[ REPLACE WITH ]--------------------------------------
#
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" width="100%"><span class="cattitle"><b><a href="{catrow.U_VIEWCAT}">{catrow.CAT_DESC}</a></b></span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Ansicht</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Lesen</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Posten</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Antwort.</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Bearb.</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Löschen</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Wichtig</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Ankünd.</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Umfrage</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Umfrage erstellen</span></td>
</tr>


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
getestet und für gut befunden ;)
Antworten

Zurück zu „phpBB 2.0: Mod Support“