zinga, mybb 1.6.5 will affect some of your plugins
MattR Offline
Junior Member
**
Posts: 40
Joined: Jul 2010
Post: #4
RE: zinga, mybb 1.6.5 will affect some of your plugins
The changes are incredibly minor and only affect a select list of hooks. Some functions will require a & to be placed before the variable that's passed to the function, and some require you to add return $var; to the end of the function, where $var is the value that's passed to the function (in fact it's actually possible to use the & method for all the changes). That's it. And you'll probably find a lot of plugins do this already. Everybody's making a lot of fuss about a very small change and it's required because call time pass by reference was deprecated in PHP 5.3, and as more hosts are upgrading to it, the change needs to be made, because otherwise you'll get errors on your forum and people will still complain. You can even make the changes before you update to 1.6.5 and it won't break your plugins on 1.6.4. You can't just stop updating a forum because you've got to spend a little bit of time making some minor code alterations to keep up with PHP 'requirements'. I have 15 plugins and it took me under an hour to compile a list of the lines that need changing and then to make the changes. It's not like you're going to have to rewrite all your plugins.
(This post was last modified: 11-19-2011 10:37 PM by MattR.)
11-19-2011 09:42 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: zinga, mybb 1.6.5 will affect some of your plugins - MattR - 11-19-2011 09:42 PM

 Standard Tools
Forum Jump: