plugins

making a Rails plugin with partials

I followed the Rails guide to make a plugin which makes an acts_as_* with helpers and controllers. I also would like to use partial views. I could not find a way to make the plugin's helpers' render :partial => ... directives search within the plugin's directory structure (e.g. vendor/plugins/<my plugin>/lib/app/views directory. It alw...

How to access devices on a client PC from a browser

What are the various ways to access devices on client PC - a barcode reader, a scanner, etc. - from a browser? I realize my users may need a plugin. These devices may have an API that is specific to their device; I would like to exploit their API if available (maybe Java, maybe C, maybe command line). ...

You do not have sufficient permissions to access this page.

Hello All, I am creating a simple plugin in wordpress this is a simple form with three fields that will save data to a database table. Plugin is activated successfully, but when i fill the form and press button to submit, it shows me a blank screen with error "You do not have sufficient permissions to access this page." i am stuck here. ...

Cross-platform JS access to local filesystem via plugin?

I have a javascript photo-organizer built on the YUI JS libs which can organize photos from many sites via REST api. I want to know if I can resuse any of this code to organize photos on the local filesystem. I need a cross-browser (i.e. PC/Mac) solution to the following (in order of increasing privilege): persistent file access to...

How to add a new field in php using plugin

How to use plugin facility to add a new field on squirrelmail.what files need to change to add a field using plugin in php. is somebody thewre for guidence and having step by step procedure to do this .i need to add a openid field(textbox) using plugin on squirrelmail user interface.there are the files like function.php,setup.php etc. ...

Making wide application (with plugins)

Hi guys, I'm going to make my application extensible. Where I can read information about writing programs which support plugins? C++ ...

Does Wp-Ecommerce works with LinkPoint gateway ?

Hi there. I have an online store working with osCommerce, actually works fine. But there is no integration with the store blog which is in Wordpress fortunatelly. Now I've seen a new payment plugin for wordpress called Wp-Ecommerce , so i decided to migrate the whole store to wordpress since this can be treated like a CMS. This plugin h...

community upload/download site recommendations? (like StackOverflow, but for uploads & downloads instead of Q&A)

Our company wants to offer a "plugin gallery" or "app store" where users of our (packaged enterprise software) product can find, download, and share plugins to our product. I'm assuming we'll have to build our own site (although a "buy" solution would be welcome), so we're looking for inspiration. Who's done this right? My experience w...

jquery mouse gestures/btn queuing

Hi. I am using jquery super gestures, http://www.evanbot.com/article/super-gestures-jquery-plugin/22, for an interface on a site. I want each gesture I use to have a series of actions assigned to it e.g: When one movement (say moving the mouse to the left) is performed by the user it fades in a div with a nice graphic prompting the u...

How to break someone into testing?

OK. Our product works. Beta testers are actually getting their stuff done. Time for the next iteration. But how to ensure quality? We need a tester! How do I get someone fresh off the street started in testing? I have no clue on how to do it myself (I'm a developer, not a tester)! We are a tiny team: 2 architects (as in buildings, no...

Control VST Host Transport from a VST Plug-In

Hi, I would like to control the transport (play/stop) of a VST host from within a VST plug-in. It is clear that the sendVstEventsToHost method provides a mean to send commands to the host, but these ones are MIDI, and are said to be attached to the track. Is it possible? Any idea? Thanks. ...

Using a.vim for C++

is there a way to use the a.vim plugin to switch between .h, .cxx and .txx files? Alternatively, can you provide another solution? The idea is to automagically switch from .h -> .txx -> .cxx at the press of a key. A Big Thanks to both of you! ...

Is there a way to detect Flash blockers?

I'm wondering wether there's a Javascript way to detect wether a user has any sort of flash blocking plugin installed so i can accommodate these users properly. For example, I use 'click to flash', but sites that use SiFR to render text are littered with "click to flash" buttons, which is getting very annoying. I don't use SiFR in my de...

How To Implement a Safari Browser Plugin?

I want to implement a Safari plugin under OS X that manages the browsing history in an alternative way. More precisely, i need to have access to data like "a link is clicked", where the link leads and on which page the clicked link is located. In addition to that, i need to draw a representation of the gathered data. I want it to feel as...

Good Rails forum plugins

Hi. I am creating a rails app that needs to have a social-forum like behavior. Can anyone suggest a good plugin for rails that will let me build on top of it, without having to re-invent the wheel? Cheers ...

How to add Eclipse Task Tags programmatically (Eclipse Plugin development)?

Hi, I am developing an Eclipse Plugin. I want to add my custom Task Tag programmatically within the plugin. (Lets say DOTHIS) Later, i want to list the lines marked with DOTHIS tag in my custom taskView I know that it is done using the Eclipse UI from Project > Properties > Java Compiler > Task Tags > New. and then in the task view by ...

A voting plugin with special features

Hi, I am looking for a voting plugin with the following features: 1. Allow like or dislike votes( with or against). 2. Translates votes into a percentage( 45% result for example) 3. Can translate percentage into a relevant image( so a green light if liked or otherwise a red light if disliked). That's almost all, and if it could generate...

jQuery Menu - Save the State and Preserve the Back Button

I am using this jQuery Accordion plugin to save the state of the menu using a hash (#) at the end of the URL for ever level that is expanded: http://sandbox.unwrongest.com/jquery.accordion/ The only problem is that the back button doesn't work. I have tried to implement the jQuery history plugin but can't figure it out. I wouldn't even...

jQuery hover profile?

How to create the effect like trulia when you hover on the avatar? http://www.trulia.com/voices/Home_Buying/Why_are_there_only_homes_listed_under_quot_Recen-164127 ...

Adding custom CSS into a new Moodle assignment

I'm working on a new Moodle Assignment plugin. How can I include a custom CSS to my plugin? I'm using Moodle 1.9.7. Thanks in advance. ...