I'm a noob for scripting, just starting ... sorry for that :) I would know if there is a way to check if a plugin is installed and enabled The context is I would reorganize the N-Panel a little better and display the panel for a plugin only if it there and functional. Thanks for your help Have a nice day
120951
I want to add a button to a script that will detect if an add-on is present and then enable additional options if it is. I'm not sure how to go about locating this in python itself. But I think this would work better than having options that boot into an error if the add-on isn't present.   for example: if addon_prefs.automirror:  Wouldn't I need to be more specific to query the add ons folder?
94195
I've created a plugin and I want to auto-update this plugin.  I've been looking in the WordPress Codex and found this following piece of code:  add_filter( 'auto_update_plugin', '__return_true' );   I added this code into a new Must-have Plugin but it doesn't work. It does not auto-update all my plug-ins..  Anyone that have experience with auto updating?
3010
I have created a panel page (i.e using panels). I can add html content to it from the panel itself using add content->New custom content. I can also add css classes (add body css classes).  Now I would like to add a jquery button to that panel page. I could add a javascript to my theme but then it would be called on every page load not only this specific panel-page. So I would like to add my javascript through my module.   But how do I programatically check that the current page beeing viewed is that specific page panel? Is there a hook that lets me check that?  Thanks,  baba
57058
I found this plugin SpecKing that looks like it's just about exactly what I'm looking for, I haven't tried it out yet though because I was hoping to find a free, maybe even open source alternative..  Does anyone know of any open-source and/or free Photoshop plugins similar to this one?  I'm looking to extend the functionality of the measure tool so as to actually display annotated measurements of the measured distances for convenient reference.. like a blueprint basically.
108493
How do I bring up that initial guided tour panel again?  I'm mooking for the panel that starts with "connect your online accounts and then moves on to suggesting different types of linux software.  I really liked some of the suggested apps but since I'm new to linux, I don't remember any of their names.
41787
Basically, I'm trying to recreate the Faction plugins /f map in my single-player without mods as my PC doesn't run them very well. (I know it sounds strange.) I am trying to use the /testfor to test if I have written '/f map' in chat, and if I have, it would show me a custom generated map. I don't know how to word this better xD Essentially what I want is for it to test if I have written a command in chat, and if I have, display something.
97470
After seeing thousands of useful API functions in the WordPress core, I'm surprised to discover today that there ain't a function that would list the active plug-ins. I don't know you but I'm quite surprised at that.   I was wondering if there is a reason for missing that?  If so, I'd like to know about it.   And, if there is a quick PHP snippet you know of that could give you a list of active plugins, ( the same way that a get_post_types('','names'); does for CPT's or get_taxonomies('','names'); does for CTs ), I'd appreciate it if you provide the code.
123659
What can I do to run automatically a script after I mount/plugin or unmount/unplug a USB device?
72434
I want to improve my unattended script adding some Firefox addon, however I cant find the way,  Can someone help to find out how to?   Example: (Want to install adblockPlus plugin and set a new default webpage)  wget https://addons.mozilla.org/firefox/downloads/latest/1865/addon-1865-latest.xpi firefox -silent -install-global-extension addon-1865-latest.xpi -setDefaultBrowser www.google.es   Thanks in advance.
91310
I'm currently working on a plugin, and I essentially want to check if a certain page has been created.  Essentially, I want to do something like this:      if (file_exists($file)) {     $exists = true; } else {     $exists = false; }   But I just want to do it so that it checks, instead, for a post_name value. (If I was further able to ensure that the post was a page and not just a post with that title, that would be great too.)  How do I do this?  I had been getting the script to grab the headers from the url of the post and if it returned a 404, to return $exists = false, but I've pinpointed a memory leak problem with that and I don't think it's very efficient.
66078
When I autocomplete an environment, I get a red box (which I now know, from  is called a placeholder.)   What are these placeholders for, what functionality is associated with them, and what is the intended workflow for using them? (I think this information is probably all on here somewhere, spread over a series of different questions/answers. But it would be great to have everything in one place and to know I'm not missing anything)
35167
I'm making a WordPress plugin. What are typical things I should include in the uninstall feature?  For example, should I delete any tables I created in the install function?  Do I clean up my option entries?  Anything else?
4451
Since I'm here for the first time as a registered user, I'll introduce myself. I am a developer that have created a Gitignore plugin last time for . It was fun to develop something that others use. After that I was thinking about a new product that I can release and I've checked wishlist on JetBrain's plugins page - there is a request for LaTeX plugin (there are not too much voices in general, but I supose it's because of page's low viewership).  Before I'll start anything I'd like to ask you - does LaTeX plugin for JetBrains' IDEs makes any sense ?  I'd like to hear, what do you think about it - will you use it ? Are there many IntelliJ, etc users ? What would you like to see in initial releases ?  Thanks for the answers and I believe that this non-latex-problem question will not be banished.  Best regards, hsz  Edit:  As @Joseph Wright pointed me out - not everyone know what IntelliJ is.  IntelliJ is an IDE for programming in Java, PHP, NodeJS, Android, etc.. It allows programmer to write in barely every language that he needs. JetBrains provides  adapted for various environments (Python/Perl, C#, iOS, Ruby, databases...). As soon as LaTeX is (sorry for that!) just a minor tool in programming, they didn't provide anything to cover it. That's why I got this idea - I am a programmer that needs to write documments in TeX - should I install external software that does not provide version controlling or should I try to create something integrated with powerful IDE that will give me more options, not just writing TeX documents..  I do not know if there are many programmers here and whet do you do in your work, what IDE do you use, but I give a shoot.  Edit 16.01.2014  I've started development some time ago. Now it supports syntax coloring (BNF and JFlex rules created).  The source code is available on my GitHub:   IntelliJ plugin for LaTeX support will be released soon. Keep it in your minds that it'll be very simple version for now.
39711
How would you implement a Plugin-system for your Java application?  Is it possible to have an easy to use (for the developer) system which achieves the following:   Users put their plugins into a subdirectory of the app The Plugin can provide a configuration screen If you use a framework, is the license compatible with commercial developement?
5766
I have a plugin where I want to output ads after X number of posts on the home page. The home page is step 1, but things like archives should be possible too once I get the code for the home page.  How do I hook in to post loops and say something like "after every loop, increment a counter, and then if the counter = my number, output an ad". I can write all the logic for this code myself, but where to hook/implement my code is confusing.
48930
I read about Drupal behaviors today, and I tried writing the following code.  (function ($) {    Drupal.behaviors.mymodule = {     attach: function (context, settings) {       $('#mymodule_id', context).change(function () {         alert('Handler for .change() called.');       });     }   };  }(jQuery));    Is Drupal.behaviors.mymodule the namespace? What are the context and settings parameters passed to the Drupal behavior? Is this the equivalent of document.ready()?   Can I attach any number of functions?  Can I define JavaScript functions which will be called somewhere?
15715
I am a bit confused as to where I should put externally downloaded plugins. I have tried putting them in:   /usr/share/gedit/plugins ~/. Local/gedit/plugins ~/. Gnome2/gedit/plugins /usr/lib/gedit/plugins   The way I have checked whether the plugins show up or not is going to Edit -> Preferences -> Plugins and looking for the ones I have downloaded (clickconfig, gedit-developer-plugins-...). Since I do not see any new plugins appearing, I have to assume that I am doing something wrong.  None of these have worked. I am a bit tired of polluting my system. It's probably my own fault as it's written somewhere I have not thought to look. Please let me know how to add external plugins to Gedit properly. I am running Ubuntu 11.10. My Gedit version is 3.2.3    EDIT:   I am still not able to solve this problem. I have tried the following folder now as well, and it hasn't worked:  ~/. Config/gedit/plugins  EDIT 2:   I am trying to install the plugins in "gedit-developer-plugins" as well as the "clickconfig" plugin.