MyBB.de Forum
Moderatoren CP-Frage - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Archiv (https://www.mybb.de/forum/forum-57.html)
+--- Forum: MyBB 1.4.x (https://www.mybb.de/forum/forum-51.html)
+---- Forum: Allgemeiner Support (https://www.mybb.de/forum/forum-52.html)
+---- Thema: Moderatoren CP-Frage (/thread-11034.html)



Moderatoren CP-Frage - Literatopia - 22.09.2008

Hallo,

kann mal jemand einem Blinden helfen: Gibt es da irgendwo im Admin CP eine Editmöglichkeit für das Moderatoren CP?

Finde das irgendwie nicht.

Und zwar wollte ich es sperren lassen, dass Moderatoren Mitgliederprofile editieren können.

Grüße,

David


RE: Moderatoren CP-Frage - StefanT - 22.09.2008

Dazu musst du die modcp.php bearbeiten.


RE: Moderatoren CP-Frage - Literatopia - 22.09.2008

Oha, okay. Werde mich da mal umschauen, ob ich was finde.


RE: Moderatoren CP-Frage - Manuel - 22.09.2008

Hallo Literatopia,

also öffne modcp.php und suche nach
PHP-Code:
if($mybb->input['action'] == "do_editprofile"
füge unmittelbar davor folgendes ein
PHP-Code:
/* 
also
PHP-Code:
/*if($mybb->input['action'] == "do_editprofile") 

dann suche nach
PHP-Code:
    eval("\$edituser = \"".$templates->get("modcp_editprofile")."\";");
    
output_page($edituser);

und füge unmittelbar folgendes dahinter ein
PHP-Code:
*/ 
also
PHP-Code:
eval("\$edituser = \"".$templates->get("modcp_editprofile")."\";");
    
output_page($edituser);
}*/ 



RE: Moderatoren CP-Frage - Literatopia - 22.09.2008

Danke, probiere ich heute aus! Smile