MyBB.de Forum

Normale Version: Advanced MyCode Permissions
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
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.
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?
Wende dich damit bitte an den Autor.
(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
Hier wirst du ihn jedenfalls nicht erreichen. Wink
(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

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
Das Plugin scheint nicht für die MyBB-Version > 1.6.5 angepasst worden zu sein.
Danke Dir für die Info, habe es gelöscht!

LG Torie