Thread Rating:
  • 44 Vote(s) - 3.36 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Plugin Changes coming in 1.6.5
#61
Not Solved
(11-01-2011, 08:00 PM)qwertyx Wrote:  
(11-01-2011, 07:48 PM)Malcolm. Wrote:  
(11-01-2011, 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.
#62
Not Solved
Since people can't see to follow simple instructions in the first post and are overwhelming what is supposed to be an informational thread only with support requests, I've closed it to maintain the informational level. It seems to me that every question has been answered, in some cases multiple times due to the laziness of people who can't be bothered to read the thread. The information is here. Read it.
#63
Not Solved
I've updated the original post with this information as well... I'll update the wiki momentarily.

Due to a plugin that was already receiving by reference Stefan discovered you can use the receive by reference method (shown above in the case of the 2nd section) for either of the plugin type changes. It was not intended functionality, but does make authoring plugins much simpler.


Forum Jump:


Users browsing this thread: 1 Guest(s)