|
[Beta]Control ModCP
|
|
05-02-2010, 05:42 AM
(This post was last modified: 07-06-2010 07:45 AM by Nayar.)
Post: #1
|
|||
|
|||
|
[Beta]Control ModCP
May peace be upon you.
This plugin controls the what moderators/super moderators can edit in the profile editor. i.e. it adds no new feature. It only allows better control. This plugin needs to be tested. Feel free to add new features to this plugin and post it here. Regards Download removed until next re-write in November Facebook Connect for MyBB |
|||
|
05-02-2010, 10:50 AM
Post: #2
|
|||
|
|||
|
RE: [Beta]Control ModCP
Ooohh nice! Thanks for sharing.
|
|||
|
05-02-2010, 02:00 PM
Post: #3
|
|||
|
|||
|
RE: [Beta]Control ModCP
I'm going to download it.
|
|||
|
05-02-2010, 03:37 PM
Post: #4
|
|||
|
|||
|
RE: [Beta]Control ModCP
This plugin is incompatible with MyBB 1413 error.
|
|||
|
05-02-2010, 04:48 PM
Post: #5
|
|||
|
|||
RE: [Beta]Control ModCP
(05-02-2010 03:37 PM)Mc Hammer Wrote: This plugin is incompatible with MyBB 1413 error. Open the plugin with a text editor. Find this line: PHP Code: "compatibility" => "16*" PHP Code: "compatibility" => "14*" (05-02-2010 10:50 AM)Rozzy Wrote: Ooohh nice! Thanks for sharing. (05-02-2010 02:00 PM)darkly Wrote: I'm going to download it.
Facebook Connect for MyBB |
|||
|
05-02-2010, 06:13 PM
Post: #6
|
|||
|
|||
RE: [Beta]Control ModCP
(05-02-2010 04:48 PM)Nayar Wrote:(05-02-2010 03:37 PM)Mc Hammer Wrote: This plugin is incompatible with MyBB 1413 error. Thank you. |
|||
|
05-03-2010, 06:26 PM
Post: #7
|
|||
|
|||
|
RE: [Beta]Control ModCP
Very nice plugin, can't believe this isn't core.
Do you design websites for Wordpress and Joomla? Looking to make some spare cash this summer? Please PM me. |
|||
|
05-04-2010, 09:00 AM
(This post was last modified: 05-04-2010 09:02 AM by Nayar.)
Post: #8
|
|||
|
|||
RE: [Beta]Control ModCP
(05-03-2010 06:26 PM)41shots Wrote: Very nice plugin, can't believe this isn't core.Thanks ![]() I fought a lot for this feature but then decided to learn php and do it myself. Lets hope it will be core in the future Facebook Connect for MyBB |
|||
|
07-06-2010, 07:07 AM
Post: #9
|
|||
|
|||
|
RE: [Beta]Control ModCP
Thank you Nayar
you did good worck it work for me profectly yhank you |
|||
|
07-06-2010, 07:37 AM
Post: #10
|
|||
|
|||
|
RE: [Beta]Control ModCP
Nayar - I have a few issues with your plugin...
PHP Code: $user = get_user($mybb->input['uid']); Although this does get checked in the function, you should perform some sort of validation to ensure you actually have a user to edit and show an error if there isn't. Also, the entire modcpperm function runs whether you're editing a profile or not. In this function, you could do this: PHP Code: if($mybb->input['action'] != "editprofile")...and just another gripe, but correct me if I'm wrong - these settings seem global? As in if you set an option to 'no', then no moderator can edit that section. This includes administrators and all moderators? I'm not too sure if you planned to do that or not... Last thing, there are 11 str_replace function calls. This function accepts arrays as parameters, so it would be a lot easier if you added the strings and replacements then only one str_replace function is needed... |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help





![[Image: 25314.png]](http://internetometer.com/image/25314.png)