Current time: 03-22-2010, 06:48 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] plugin compatability
08-22-2008, 11:46 PM (This post was last modified: 08-23-2008 12:09 AM by nitemare.)
Post: #1
[F] plugin compatability
for some reason no matter what i enter for the compatability feild of the info function, mybb stil says its incompatable with 1.4.1

i've tried typing in 1401, * and even removng hte line al together, nothing works

yet if i modify the version number in class_core.php back to 1400, it all suddenly works again

this has happend for both of my plugins, including the ems plugin and another i have yet to release

i hope this makes sence to somebody, it doesn't to me

edit ok, i may have found the issue, the 2 plugins that were showing as incompatble were listed one after the other (see first screen shot), now at this point i was focused on getting EMS workig first, so i didn't bother changing the version code of the ad rotar, so ad rotar was set to be 1400 compatable and ems set to 1401, and yet they both apperd as incompatable, i then simply edited the ad rotar and set it to be 1401 compatable, and both now appered compatable(see screen shot)

My mods
-Emergency Message System
-Ad Managment System
-Avatar caption
Find all posts by this user
08-23-2008, 06:16 AM (This post was last modified: 08-23-2008 06:16 AM by Ryan Gordon.)
Post: #2
RE: plugin compatability
Can't reproduce. I've set akismet.php compatibility to 1400 and hello.php compatibility to 1401. They both work fine. I would appreciate it if you attached the code here.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
08-23-2008, 09:05 AM (This post was last modified: 08-23-2008 07:00 PM by nitemare.)
Post: #3
RE: plugin compatability
(08-23-2008 06:16 AM)Ryan Gordon Wrote:  Can't reproduce. I've set akismet.php compatibility to 1400 and hello.php compatibility to 1401. They both work fine. I would appreciate it if you attached the code here.

sure, here are the 2 plugins i'm dealing with, in this situation, ads.php is set to be 1400 compatable, and ems.php is set to be 1401 compatable

Post-Fix Edit: As this issue has been resolved, i've removed the 2 plugins as they were not completly finished

My mods
-Emergency Message System
-Ad Managment System
-Avatar caption
Find all posts by this user
08-23-2008, 10:56 AM
Post: #4
RE: plugin compatability
It's a bug, the $compatibility_warning variable in /admin/modules/config/plugins.php is never cleared. You need both plugins to have a _is_installed() function to reproduce this.

To fix, find:
PHP Code:
if($plugins->is_compatible($codename) == false)
            {
                
$compatibility_warning "<span style=\"color: red;\">".$lang->sprintf($lang->plugin_incompatible$mybb->version)."</span>";
            } 
Add under:
PHP Code:
else
            {
                
$compatibility_warning "";
            } 
Visit this user's website Find all posts by this user
08-23-2008, 10:59 AM
Post: #5
RE: plugin compatability
ah, i was thinking something like that myself, i just couldn't find it, thanks for your help

My mods
-Emergency Message System
-Ad Managment System
-Avatar caption
Find all posts by this user
08-23-2008, 06:54 PM
Post: #6
[F] plugin compatability
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
09-13-2008, 08:57 AM (This post was last modified: 09-13-2008 08:58 AM by Pow-Mia.)
Post: #7
RE: [F] plugin compatability
youre welcome Toungue
and thanks im sure it will be alot better now, hope it works.?
zinga update zahers easy adv banner? pweeeeeze?

but honestly, the people here are on staff for a reason, and that is to provide official support that will always be here for as long as MyBB is alive. Lightbulb
Find all posts by this user
09-18-2008, 04:15 AM
Post: #8
RE: [F] plugin compatability
(09-13-2008 08:57 AM)Pow-Mia Wrote:  youre welcome Toungue
and thanks im sure it will be alot better now, hope it works.?
zinga update zahers easy adv banner? pweeeeeze?

OK, I am totally confused... I am trying to get the Ad rotator mod to work on my forum and I am using 1.4.2

I get the "incompatible" warning message.

is there a way for me to fix this?

Keep in mind I am not a programmer..

Please tell me what file I need to edit and where it is located?

Thanks
Find all posts by this user
09-18-2008, 04:18 AM
Post: #9
RE: [F] plugin compatability
there is no need to edit anything, ad rotar is not yet compatable with 1.4.2, i didn't know it had come out yet, it will be updated in the next few days

My mods
-Emergency Message System
-Ad Managment System
-Avatar caption
Find all posts by this user
09-18-2008, 04:24 AM
Post: #10
RE: [F] plugin compatability
I don't think, there should be any need to update your plugin for a maintenance release like this.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: