Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Advanced MyCode Permissions
#1
Eine neue Erweiterung wurde veröffentlicht: Advanced MyCode Permissions

Zitat:When you add or edit a custom MyCode, you will be able to set permissions for:

Forums it can be used in.
Forums it can't be used in.
Groups it can be used by.
Groups it can't be used by.
Groups that it can be viewed by.
Separate replacement for groups that cannot view it.
If it can be used in stickied threads.
If it can be used in closed threads.
If it can be used in other threads.
If the user must be a moderator to use it.
If the user must moderate the forum they are posting it in to use it.
If the user must be an administrator.

This will allow you to create MyCodes for moderators, administrators, and some for certain forums only.

Now with 1.1 you can do even more with the support of variables in MyCode.

The following variables are now available for replacement in mycode:
{$post} An array of the current post. E.g. {$post['fid']} will return the current forum id.
{$thread} An array of the current thread. E.g. {$thread['subject']} will return the subject of the current thread.
{$user} An array of the current user. E.g. {$user['reputation']} will return the user who posted this mycode's reputation.
{$users} An array of all users. E.g. {$users['1']['reputation']} or {$users['Username']['reputation']} will return the user with the uid 1 or the username Username's reputation.
{$cache} The class datacache where groups, forums, etc are cached. E.g. {$cache->cache['forums']['1']['name']} will return the forum's name that has the fid 1.
{$uid}, {$fid}, {$tid}, and {$gid} return the values of the respective names. {$uid} and {$gid} refer to the user who posted the mycode.

This will remove the need for most mycode plugins, and you will be able to set up exactly what you want your mycode to do.
Zitieren
#2
ich hab nen Bug gefunden

du kannst die MyCodes nicht deaktivieren, sie bleiben trotzdem Aktiviert ( sie werden aber Als Deaktiviert angezeigt )

ebenso wenn du eines der beiden auswählst um bestimmte Usergruppen zu bestimmen, die diesen MyCode verwenden dürfen oder nicht, es deaktiviert bei allen restlichen die MyCodes!

du kannst zwar {$user} nutzen, doch es zeigt anstatt den richtigen Namen nur "Array" ( oder geänderte Posts )

Vielleicht kannst du es beheben?
Zitieren
#3
Wende dich damit bitte an den Autor.
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#4
(10.10.2010, 10:09)StefanT schrieb: Wende dich damit bitte an den Autor.

Er ist der Author, doch seine Seite sowie ihn, kann ich nicht erreichen

Zitat:Der Server unter www.rvgaming.net konnte nicht gefunden werden.

Und ich weiß gerade nicht, wo man noch was erreichen kann
Zitieren
#5
Hier wirst du ihn jedenfalls nicht erreichen. Wink
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#6
(10.10.2010, 12:56)silvermf schrieb: Er ist der Author, doch seine Seite sowie ihn, kann ich nicht erreichen

Du könntest es evtl. hier probieren: Jammerx2's Plugins

viele Grüße
Jockl
übersetzte und eigene Plugins
Zitieren
#7
Irgendwie bin ich zu doof um die Einstellungen zu finden. Wo genau sind die? Blush Hoffe das der Bug behoben wurde aber schau'n wir mal.

LG Torie
Zitieren
#8
Das Plugin scheint nicht für die MyBB-Version > 1.6.5 angepasst worden zu sein.
viele Grüße
Jockl
übersetzte und eigene Plugins
Zitieren
#9
Danke Dir für die Info, habe es gelöscht!

LG Torie
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Warning System Permissions MyBB.de Bot 8 2.411 16.04.2018, 02:35
Letzter Beitrag: MyBB.de Bot
  Post Icons Permissions MyBB.de Bot 0 941 06.03.2017, 16:55
Letzter Beitrag: MyBB.de Bot
  Custom User Permissions MyBB.de Bot 1 1.623 29.01.2017, 23:50
Letzter Beitrag: MyBB.de Bot
  My Permissions MyBB.de Bot 0 999 02.09.2014, 16:11
Letzter Beitrag: MyBB.de Bot
  Custom User Permissions MyBB.de Bot 6 2.652 25.08.2014, 17:30
Letzter Beitrag: MyBB.de Bot