2011-11-01, 08:01 PM
(2011-11-01, 08:00 PM)qwertyx Wrote: [ -> ](2011-11-01, 07:48 PM)Malcolm. Wrote: [ -> ](2011-11-01, 07:43 PM)qwertyx Wrote: [ -> ]Unfortunately, most of plugins no longer supported by their authors, eg: ChangUonDyU - Extra File Chatbox, Profile Comments....
Combine the examples from my posts and pavemen's script, and you've got everything you need to update them yourself. It doesn't take an expert programmer to copy and paste some variables.
Look for this, it is good?
before
Quote:function profilecomments_edit_group_do()
{
global $updated_group, $mybb;
$updated_group['canmanagecomments'] = $mybb->input['canmanagecomments'];
$updated_group['cansendcomments'] = $mybb->input['cansendcomments'];
$updated_group['caneditselfcomments'] = $mybb->input['caneditselfcomments'];
$updated_group['candeleteselfcomments'] = $mybb->input['candeleteselfcomments'];
}
after
Quote:function profilecomments_edit_group_do(&)
{
global $updated_group, $mybb;
$updated_group['canmanagecomments'] = $mybb->input['canmanagecomments'];
$updated_group['cansendcomments'] = $mybb->input['cansendcomments'];
$updated_group['caneditselfcomments'] = $mybb->input['caneditselfcomments'];
$updated_group['candeleteselfcomments'] = $mybb->input['candeleteselfcomments'];
}
It's ok?
No, it isn't. You're not using a variable there, so you don't need to change anything. Please follow the instructions in the first post to find out what hooks need updated.