Thread Rating:
  • 44 Vote(s) - 3.36 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Plugin Changes coming in 1.6.5
#7
Not Solved
(2011-10-27, 08:21 PM)pavemen Wrote: I think I use a whole bunch of those in my various plugins.

will updating them now break anything if used in pre-1.6.5 installs?

It shouldn't. If a value is passed by ref, and you return it at the end of a function it works... and if you both pass and receive by ref it silently ignores one since its already "by ref". Or at least thats how I understand it.

(2011-10-27, 08:25 PM)labrocca Wrote: Oh hell.

And is that a typo?

function example_finc(&$var)

"finc"

I knew you'd have that reaction... but with PHP themselves deprecating passing by ref in favor of receiving by ref, this change had to come. Maybe not so drastic, but my thought was: Do it all now and get it over with. Especially with more and more servers getting upgraded to PHP 5.3.x where the deprecation occurs.

And yes, it was a typo. Fixed now, thanks Smile

(2011-10-28, 12:32 AM)aglioeolio Wrote: oh boy... that's not a good thing to read about a minor update in mybb version

I don't have a clue if this will ruin some current features (some plugins simply didnt have a "temporary disable" button - They're installed or not) and could even make me change the forum script - but, anyway, thanks for the advice.

The thing is to test it exhaustly in xampp/lampp before upgrading to the real forums...

Any plugin that doesn't properly use install/uinstall vs. activate/deactivate simply isn't a well written plugin. In most cases if you post in the plugin support forums I'm sure someone will be able to help. Be it staff or another community member. 90% of the time the edits will be very very easy to do.


Messages In This Thread
Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-27, 06:36 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-27, 08:21 PM
RE: Plugin Changes coming in 1.6.5 - by labrocca - 2011-10-27, 08:25 PM
RE: Plugin Changes coming in 1.6.5 - by Jaketfg - 2011-10-27, 11:51 PM
RE: Plugin Changes coming in 1.6.5 - by enhu - 2011-10-28, 03:47 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 02:28 AM
RE: Plugin Changes coming in 1.6.5 - by Rukbat - 2011-10-28, 03:09 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 03:33 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 04:08 AM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 06:40 AM
RE: Plugin Changes coming in 1.6.5 - by Euan T - 2011-10-28, 09:12 AM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-28, 04:11 PM
RE: Plugin Changes coming in 1.6.5 - by Tomm M - 2011-10-28, 07:45 AM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 02:23 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 03:28 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 03:29 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 04:23 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-28, 04:29 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 06:03 PM
RE: Plugin Changes coming in 1.6.5 - by sunjava1 - 2011-10-28, 06:44 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 06:46 PM
RE: Plugin Changes coming in 1.6.5 - by sunjava1 - 2011-10-28, 06:58 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 07:13 PM
RE: Plugin Changes coming in 1.6.5 - by adbrad - 2011-10-28, 07:37 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 07:38 PM
RE: Plugin Changes coming in 1.6.5 - by Solidus - 2011-10-28, 10:56 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 11:14 PM
RE: Plugin Changes coming in 1.6.5 - by Maj - 2011-10-29, 12:00 AM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-29, 12:30 AM
RE: Plugin Changes coming in 1.6.5 - by Maj - 2011-10-29, 05:15 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-29, 06:00 AM
RE: Plugin Changes coming in 1.6.5 - by crazy4cs - 2011-10-29, 10:54 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-29, 02:42 PM
RE: Plugin Changes coming in 1.6.5 - by Solidus - 2011-10-29, 05:04 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-29, 10:41 PM
RE: Plugin Changes coming in 1.6.5 - by Alan S. - 2011-10-30, 06:18 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-29, 04:56 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-30, 04:05 AM
RE: Plugin Changes coming in 1.6.5 - by Solidus - 2011-10-30, 02:13 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-30, 02:37 PM
RE: Plugin Changes coming in 1.6.5 - by pdtrx - 2011-10-30, 02:22 PM
RE: Plugin Changes coming in 1.6.5 - by FBI - 2011-10-30, 02:51 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-30, 03:11 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-30, 03:23 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-30, 03:28 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-30, 04:57 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-30, 06:46 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-31, 01:40 AM
RE: Plugin Changes coming in 1.6.5 - by qwertyx - 2011-11-01, 07:43 PM
RE: Plugin Changes coming in 1.6.5 - by qwertyx - 2011-11-01, 08:00 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-01, 07:56 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-01, 08:01 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-01, 08:03 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-02, 04:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)