plugins

ASP.NET MVC VirtualPathProvider not working under IIS 6

By ASP.NET MVC plugin architecture, http://stackoverflow.com/questions/340183/plug-in-architecture-for-asp-net-mvc I have separated DLL(plugin) which contains the views, css and javascript files in the resources. So my own VirtualPathProvider will load the content out from the DLL if that is for the plugin. It works all fine during deve...

Whether or not to modularize with Rails plugins?

I'm working on application which can be logically grouped into a core engine, and business domain modules. The business domain modules essentially encapsulate code which is specific to our customers' businesses. We initially separated this out using the root rails structure for our core engine, and having all customer code in separate ...

Change format of "0 Comments and 0 Reactions" in wordpress

Hello is it possible to change "0 Comments and 0 Reactions" into "0 Comments" or just "0". ...

Could we access to the Qt creator internal parser from a plugin ?

Hi, I would like to make a plugin for Qt Creator, and I want access to the parsing files (AST) in Qt Creator. For example if you right click on a variable, retrieve its type. I just looked at the doc and I have not found something very significant. And I fear myself having to parse the page. Anyone have tried it and succeeded? :p ...

Looking for jQuery Plugin - Mix of jCarousel and FishEye / Dock

I'm looking for a jQuery plugin that is a carousel mixed with a fisheye effect, where the center images would be larger and the outer images slightly smaller. I've searched to no avail, and really don't want to have to create this, so I'm hoping I'm missing a good one. Basically, need a mix of something like these two: jCarousel - h...

jquery autoResize breaks form validation for textareas

Here's a snippet of the jquery: $(document).ready(function() { $('textarea').autoResize(); $('#submitSurvey').click(function() { -- Skipping several lines -- $("input[id$='Buggy']:radio:checked").each(function() {// If any radio buttons are marked "Buggy" and no comment is left, require comment var parent = $(this).parent().g...

I want to Add one menu bar in MS word

hi all. I want to add one menu bar in MS word from which a pop window will be appear. there will be predefined combobox. user will select his desired option and TEXT data will come from some file according to selection. This is basically to just insert the some poetical work after selection the poet name and his content. plz give me ...

Rails How to use the main layout in a plugin controller

I am writing a plugin for Rails and I want to be able to use the main layout within the plugin. The usual style layout :layout_name , doesn't work for some reason. Am I missing something? A tip will be greatly appreciated. ...

Jquery plugin starting with semicolon?

Possible Duplicate: Why does the JavaScript need to start with ; ? I noticed many JQuery plugins start with a line that looks like this: ;(function($) { I understand the point of keeping it private by using (function($) {, but what's the deal with that semicolon? ...

Creating methods on the fly

Hi I'm trying to author a jQuery plugin and I need to have methods accessible to elements after they are initialized as that kind of object, e.g.: $('.list').list({some options}); //This initializes .list as a list //now I want it to have certain methods like: $('.list').find('List item'); //does some logic that I need I tried with ...

Making my code easy to write plugins for

Hi all, I have been writing some code that creates a generic blog. Its features are simple, create a post, edit and delete the post and allow comments. I am trying to write it so that it is very easy to write plugins for, however Im not sure on the best approach. Some of my ideas: Have the plugin author write a short script call...

LineUnavailableException for playing mp3 with java

Hi, my goal is to play an mp3 file from Java. With every approach that I took, it always fails on a LineUnavailableException. AudioInputStream inputStream = AudioSystem.getAudioInputStream(new URL("http://localhost:8080/agriserver/facebook/sound/test6.mp3")); Clip clip = AudioSystem.getClip(info); clip.open(inputStream); ...

Is is possile to Hook file-download event of a program ?

Please tell me is it possile to know when a program is trying to download a file ( like in Internet Download Manager ). I want to catch that event (hook it), get the download url, and then destroy the event. Thanks in advance.. @Jerry Coffin:Sr, I forgot to tell you that this feature of IDM is not active by default. It is only turned on...

How to get the current plugin directory in Wordpress?

I need to get the current plugin directory like [wordpress_install_dir]/wp-content/plugins/plugin_name (if getcwd() called from the plugin, it returns [wordpress_install_dir], the root of installation) thanks for help ...

PHP abstract class vs interface (performance)

In PHP 5 and later what's faster - an interface or abstract class ? abstract class MyPluginModel { vs interface MyPluginModel { Any ideas how they compare in terms of memory and time performance? ...

Spring security plugin not throwing events

Hi, I am in the process of migrating to spring security plugin from acegi plugin.Currently working on grails environment. I am facing a weird issue as my authentication success event and authentication bad credentials event does not throw at all.I added println statements in the callback in config.groovy and also through listeners.Howeve...

jQuery plugin jGrow not working

I have the following code, in which jGrow is not working. I have included Javascript jGrow file. Textarea doesn't adjusts its size according to lengtht of text, instead a scrollbar appears in textarea <html><head> <title>jGrow</title> <script src="jquery.js" type="text/javascript"></script> <script src="jgrow.js" type="text/javascript">...

Internet Explorere BHO and SSL

Hello. I've developed IE plugin which adds an icon after each link on pages. But, If I navigate on https sites then I get the message that IE has restricted..... If I try to allow the access IE shows that message again. How can I fix it or where am I wrong ? ...

Searching a simple jQuery BB-code plugin

I'm searching for a jQuery plugin or function to insert bb code in a selected textarea - nothing more. I found plugins like http://markitup.jaysalvat.com/downloads/ but they add are to oversized for my project. All i want is the following function realised in jQuery: document.getElementById("bold_button").onclick = function() { form...

Good wordpress sitewide message system plugin

I need a plugin for wordpress that will allow people to put a message at the top of the site that may state things like upcomming events or notifications of outages of our server..etc...etc.. Anyone know of a plugin that can do this? All the one's I've found like WP Announcement and Announcer don't seem to handle this very well. I canno...