Current time: 04-23-2014, 08:12 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 44 Votes - 3.36 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin Changes coming in 1.6.5
11-01-2011, 08:01 PM
Post: #61
Not Solved RE: Plugin Changes coming in 1.6.5
(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.

CodeWeavers - CrossOver: Windows Compatibility on Macintosh and Linux
[Image: Advocate_125.png]
Doesn't like unsolicited PMs
Find all posts by this user
11-01-2011, 08:03 PM (This post was last modified: 11-01-2011 08:05 PM by Dylan M..)
Post: #62
Not Solved RE: Plugin Changes coming in 1.6.5
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.

CodeWeavers - CrossOver: Windows Compatibility on Macintosh and Linux
[Image: Advocate_125.png]
Doesn't like unsolicited PMs
Find all posts by this user
11-02-2011, 04:43 AM
Post: #63
Not Solved RE: Plugin Changes coming in 1.6.5
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.

CodeWeavers - CrossOver: Windows Compatibility on Macintosh and Linux
[Image: Advocate_125.png]
Doesn't like unsolicited PMs
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication