Extend confuses 'FAQ' and 'FAQ Manager' plugins - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Extend confuses 'FAQ' and 'FAQ Manager' plugins (/showthread.php?tid=3997) |
Extend confuses 'FAQ' and 'FAQ Manager' plugins - hameau - 2012-12-11 Not sure where this should go, or if it's a problem with Extend or one or other of the subject plugins. Previously mentioned in here. I have mvlcek's 'FAQ' plugin installed, but the entry in the site admin Plugin Management page is titled 'FAQ Manager' and the link is pointing to mikeh's 'FAQ Manager' in Extend. As there is a version difference, the update alarm is showing and I am offered an update to a different plugin. I have verified that the plugin file faq.php is correct (mvlcek's version). RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - mvlcek - 2012-12-11 (2012-12-11, 22:06:50)hameau Wrote: Not sure where this should go, or if it's a problem with Extend or one or other of the subject plugins. I've sent a PM to mikeh to change his plugin's php file name. For the API the name has to be unique, but it is not enforced. RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - shawn_a - 2012-12-12 We need to enforce plugin s names, people should not be using generic plugin or filenames or function names. ALWAYS PREPEND YOUR STUFF WITH AN ID. There are several of these I noticed. RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - hameau - 2012-12-12 While your argument for unique filenames is valid, surely the issue is with Extend (or GS?) apparently identifying a plugin by a component file's name, rather than its declared plugin name? In my case, I have never installed FAQ Manager in this GS, yet its name – not contained anywhere in this GS installation* – is shown in the Plugin Management page. Spooky. (* except in one of the data/cache files, presumably the cache of update-available plugins?) RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - shawn_a - 2012-12-12 There is no other way to identify a plugin. Declared plugin names are registered by the plugin, we cannot register plugins when they are disabled. Other solutions are to make plugins a pain to create, by making them 2 files or wrapping them in classes or functions. Rather people should just name their plugin the registered name. Its not really that hard and its pretty common sense that someone else will use the same generic name s yours if you chose to use a generic name. RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - shovenose - 2012-12-14 Maybe we could put a notice in Extend on the page they use to upload their plugins or themes? "Please Use a Unique File Name for your Plugin or Theme!" RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - shawn_a - 2012-12-14 It should be in the wiki guide if not already. RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - datiswous - 2012-12-14 (2012-12-14, 04:06:40)shawn_a Wrote: It should be in the wiki guide if not already. My opinions: An extra reminder in the plugin upload dialog would be welcome. Including a couple of links to relevant wiki sections, including info about the right one file, one folder "rule" and other. There is a link in the Extend: Viewing your files -section: http://get-simple.info/extend/admin//files.php To an About Extend page: http://get-simple.info/extend-repository/ Reminder should be at least at that page. Extend guidelines and API info or link should be in the plugin upload dialog as well. An other thing about Extend: Wouldn't it by better if the old plugins (made for version 2, or by date) are in a different section in Extend. Also a warning this plugin isn't updated in 2 years or something would be welcome. RE: Extend confuses 'FAQ' and 'FAQ Manager' plugins - shawn_a - 2012-12-14 Well it should be filtered by version, but thats on the roadmap already. |