
Originally Posted by
mc12345678
Ahh, yes the two different versions. I tested against the original version, not the one the I modified to partially support Stock By Attributes. In that version i added one subroutine that I tried to uniquely name so that unlikely to exist in another plugin, and to incorporate applicable escape code so that if additional plugin was not present the software would work as originally written. (Sans SBA)
Problem is, sounds like you installed the version modified to partially support SBA independent of the other program and had no problem (unless I am mistaken about that) with its functionality, but supposedly when both installed together there was a problem. My guess is that users that don't have SBA installed probably have a problem with the version I provided, although the goal was to provide the possibility of additional functionality, not to disable existing functionality.
There was one individual originally that was looking for that additional functionality and they indicated that it worked after it was developed/implemented. No one that didn't have SBA has till now stated they've had a problem. Will have to go back and verify that for those without SBA the "unnecessary" information is properly skipped. Until then I recommend to continue using chadderuski's version if SBA is not installed and if desired to try to add some functionality to EP4 with SBA installed, then can try the version slightly modified of chadderuski's version. Hopefully sometime soon he'll post the updated version that he's been working on.
I don't have the line number but there was a logic error for those that didn't have SBA installed. If you search for:
Code:
if ( ( strtolower(substr($file['name'],0,15)) <> "categorymeta-ep") && ( strtolower(substr($file['name'],0,7)) <> "attrib-") && ( strtolower(substr($file['name'],0,4)) <> "sba-" && ep_4_SBA1Exists() == true)) { // temporary solution here... 12-06-2010
and replace with:
Code:
if ( ( strtolower(substr($file['name'],0,15)) <> "categorymeta-ep") && ( strtolower(substr($file['name'],0,7)) <> "attrib-") && ((ep_4_SBA1Exists() == true ? (strtolower(substr($file['name'],0,4)) <> "sba-") : true))) { // temporary solution here... 12-06-2010
That version of Easy Populate should work for those that do not have SBA installed, and provide additional functional options if SBA is installed that meets the criteria searched for.
Bookmarks