Support » Plugins » Hacks » Lots of questions about plugin development

  • I am in the process of re-writing my plugins and creating a few new ones and I have a few questions.

    My new plugins will be based around a home made framework which simplifies the admin side of things. Obviously each plugin will be bundled with the framework but only one class can be declared. That is fine except if I update the framework and someone has an outdated plugin then upon a new install of another plugin the new plugin may try and use some methods that are new to the new version of the framework which would fail because they weren’t declared as the framework class had already been declared with the outdated version. One way to get around this is to give each new version a unique class name like ‘framework1’ and ‘framework2’. Does anybody know of a way to make sure that the most recent framework is declared?

    I have done little work with network sites but people are requesting network features. Is there a global options database? – I need to be able to set options which are accessible from within any of the individual site’s sandboxes.

    My plugin is internationalised but has no .mo, .po files – can anyone suggest which windows software is best for making these (I have some translators ready)?

    Is there a way for a plugin to opt itself out of the automatic updates? My plugins are very extensible (usually slight changes can be done by adding an extensions.php file) however sometimes I cannot extend the functionality that someone has requested without modifying the plugin code. Despite my warnings some of these people update the plugin and lose the customisations. I know I can just change the name of the plugin but that isn’t ideal. Is there any other way that I can opt out of the update notifications?

    I know this isn’t wordpress related but I thought I might as well ask it here. Is there any way (doesn’t need to support old browsers as isn’t essential) without javascript to set a style to act on all elements with a certain class when any one of them is hovered. All the elements are siblings. Basically there is a list of logged visits with the ip(without dots) as a class so when they hover over one record I want all the others by that person to highlight.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lots of questions about plugin development’ is closed to new replies.