Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin]

A plug-in (or plugin) is a set of software components that adds specific abilities to a larger software application. If supported, plug-ins enable customizing the functionality of an application.

1
vote
0answers
17 views

jQuery plugin for allowing only digits to be entered in html form input

I wrote this small jQuery plugin to set some fields so that they allow only 0-9 digits to be entered. I intended to do that by preventing user from typing, pasting or dropping non-digit content. It ...
0
votes
0answers
23 views

Plugin generator in Go

This is my first go program. It is a plugin generator and works only with Linux. The repository is open. It basically creates some Go code in some temporary file defining a function taken from ...
1
vote
0answers
18 views

WordPress plugin development - plugin-name.php file and plugin files/folders structure

I am creating my first WP/WooCommerce plugin. I was following instructions from WordPress Codex during development, but I wanted to review it here, to make sure I am on the right path. First things I ...
5
votes
1answer
91 views

Python toolbox for OpenStreetMap data

Background My project is a Python toolbox. This is my first bigger coding project and it took me quite some time to code this toolbox. I learned a lot from the start point to this day. I changed this ...
2
votes
1answer
47 views

jQuery plugin to load a full-page view window

I am writing a lot of jQuery plugins lately, but I don't really know if what I am doing is any good. Here is one of my most recent plugins, this allows you to add a data attribute to any class and ...
3
votes
1answer
57 views

(IRC) Internet Relay Chat Bot Core with Plugins System

I started learning Python by making an IRC bot, as it took some pains in another language. I've improved it now over time. As it involves networking, I'd also like some comments on that side. ...
2
votes
0answers
23 views

Range value selector jQuery plugin

In need of making a range selecting feature I made my first jQuery plugin. I tried to mimic the structure from some open-source plugins. I wonder if this can be improved. Here is the source code: <...
1
vote
0answers
27 views

A vim plugin to manage and view tag files

I'm writing a Vim plugin to manage and view tag files. There are two primary goals: gaining a bit more control over Easytags plugin by instructing it where to search and place tag files, and viewing a ...
3
votes
0answers
182 views

C++17: Boost.Hana based compile-time plugin registration

My aim with the following is to have a way of registering a list of classes, which represent plugins. In the end, I want a boost::hana::set that contains type objects for all plugins' classes. I want ...
4
votes
2answers
1k views

Load ASP.NET Core plugins and their dependencies

I'd like one of my RESTful services to support plugins. Currently it uses references hardwired at compile-time. The Application Parts seem to be THE solution so I gave it a try and created a small ...
2
votes
1answer
123 views

Option buttons in plugin Dialog

I used the jQuery UI plugin Dialog to ask a user for "name" and to show it in a subsequent dialog. Is there the better way to add a function to the option "buttons" to get the data and to go to a ...
5
votes
1answer
99 views

Sublime Text plugin to modify text before it's pasted

It's my first plugin and it's super simple but there could easily be some things worth knowing from this e.g. Python coding practices and potential bugs. ...
13
votes
1answer
219 views

Voting plugin for an IRC bot

MetaBrainz has an IRC channel called #metabrainz on which there's a bot called BrainzBot running. It provides utilities such as linking to JIRA issues or Github PRs ...
2
votes
1answer
414 views

A simple JavaScript and HTML5 Canvas drawing component

This is my first time writing a Vanilla JS plugin. I have tried to make a simple HTML5 canvas drawing script. I have tried to handle both touch and mouse events on the canvas. Kindly help me point ...
3
votes
2answers
39 views

Setting QProgressBar values based on selection

I have a function which writes a report based on technologies selected by the user via QCheckBoxes. Depending on the number of technologies chosen, the QProgressBar will go through set values until ...
1
vote
0answers
92 views

Xamarin.Forms Use Plugin or DependencyService

I am working on Xamarin forms project that targets three platforms (Android, iOS, UWP), and I was wondering which better to use Plugins or it's better to use DependencyService https://developer....
6
votes
1answer
76 views

Update GIS Project by matching files from directory with files already loaded and apply relevant symbology

I am developing a plugin for a GIS (Geographic Information Systems) software, QGIS, which uses Python. I have created a function which performs an update (i.e. inserts files, or shapefiles, into their ...
3
votes
0answers
430 views

jQuery Plugin, multiple instances/elements with different options

I was having some real issues creating a jQuery plugin that could handle multiple instances with different config options. I came up with this, but am not sure if it follows best practices. I used ...
4
votes
1answer
92 views

Reduce list manipulation for QGIS layer tree

I am developing a plugin for the GIS software, QGIS. The code below reads the number of layers in various groups (as shown in the image) and adds them to a QTableWidget: For each group, I want to ...
6
votes
1answer
146 views

Calculating areas of map features

I am developing a plugin for QGIS (a Geographic Information Systems) software which uses Python. I have calculated four areas of interest, it does this by identifying each feature on the map (called <...
2
votes
1answer
128 views

jQuery plugin to toggle truncated text

I have from a recommendation on my other question here: My other review post Developed a truncate plugin, and was wondering if you guys could help me improve it or see where I have gone wrong. ...
-2
votes
1answer
106 views

Stateful Javascript plugin [closed]

I am new to Jquery plugins, I was searching a lot about widgets and plugins, however I am still not sure if this code is okay. Should I use widgets for stateful plugins? Or is this plugin correct? ...
1
vote
0answers
107 views

jQuery custom slider

I'm new to jQuery and JS and have recently tried turning a working slider into a plugin for the first time for a small project. I would love some feedback, code improvement, optimization and any do's/...
2
votes
0answers
107 views

jQuery plugin to highlight HTML on click/hover events and easy grouping

I have this plugin that I have finally finished the big pieces of, there's one or two minor details that are not yet implemented do to lack of a decision yet but everything else is there. I wrote it ...
6
votes
2answers
162 views

Handlers for checkboxes to select various map features

I am developing a plugin for QGIS (a Geographic Information Systems) software which uses Python. I have several functions where each of them is connected to a QCheckbox. So when a checkbox is checked, ...
1
vote
0answers
179 views

jQuery plugin for dropdown with multiple select

This is my first time creating a jQuery plugin. As there are many tutorials for jQuery plugins, I'm not sure if my code correct. This is my first draft for my plugin, it is working but I haven't ...
3
votes
0answers
47 views

jQuery Mobile Menu plugin

I would like some opinions on this Mobile Menu plugin I wrote for work. We develop custom WordPress themes, nothing too advanced or anything. I would like if anyone could just take a look and provide ...
2
votes
1answer
100 views

WordPress Settings Plugin security

I'm wanting to step into plugin development so I can eventually push to WordPress.org so I wanted to go through and really learn how to properly develop a Plugin's settings page. I went through ...
0
votes
2answers
53 views

injectOptions jQuery plugin

Over the past year I've found myself moving from back-end development to something more akin to full-stack development. I've created the following jQuery plugin as a test of my hopefully-not-so-...
3
votes
0answers
69 views

jQuery plugin for a lightweight dropdown

I'm working on my first jQuery plugin for a lightweight dropdown. This dropdown behaves just like a ordinary <select>. Before implementing new features I'd ...
3
votes
3answers
189 views

jQuery plugin to highlight text spans in various colors

I am trying to tackle two fairly massive concepts through JavaScript and jQuery, the first being object-oriented programming and the second being how to build robust modular plugins with an OOP ...
1
vote
0answers
57 views

Template for web pages using social plugins

I created a simple template for web pages that uses social plugins. The template consists of the html/php with jquery, and the necessary javascript to enable and use social plugins. The javascript ...
1
vote
0answers
130 views

Tabbed popup jQuery plugin

A plugin I'm writing that will have essentially be a tabbed popup. However, I feel like the method I use to remove tabs is completely unwieldy. ...
3
votes
0answers
70 views

jQuery modal dialog plugin

I'm working on creating a new jQuery modal plugin. I'm pretty good at jQuery but still pretty new to the whole object oriented plug-and-play style of plugins so I used a different plugin I found ...
1
vote
0answers
47 views

JavaScript scroll entrance plugin

I'm currently writing a JavaScript plugin to provide a very simple way to allow elements to animate in as they appear in the viewport. It uses data-* attributes to determine which animation should ...
1
vote
1answer
66 views

Popup jQuery plugin

I need a code review for my first jQuery plugin. It seems like a lot of code and I want to hear something about my plugin code structure and more. ...
1
vote
1answer
74 views

Documentation for a Minecraft server plugin

I'm working on a minecraft plugin for my Spigot Minecraft server. I have a class which works as expected. I've done my best to hammer every single bug out (famous last words, I know) and am now ...
3
votes
1answer
551 views

Integrating the Ace embeddable code editor for editing HTML, CSS, and JavaScript

I am currently implementing the Ace-editor embeddable code editor. In to my application. I use a div with a certain class(example: editor_js) to render the editor the div also gets a data attribute (...
1
vote
0answers
730 views

TinyMCE plugin to save with cancel button

Please provide constructive criticism for this TinyMCE plugin which allows the user to save the content, or cancel and go back to the original. JS Bin ...
2
votes
0answers
279 views

Compile-time plugin system (2)

Background This is a follow-up of this CR: Compile-time plugin system. The code exposed below can also be browsed on this gist, which shows the differences between both questions (original is version ...
6
votes
1answer
1k views

Compile-time plugin system

Background For a piece of software that I need to get extensible, I wanted to design a simple compile-time "plugin" system in C++. My use case was that the program (actually a library) can accept ...
3
votes
2answers
139 views

Nagios plugin webdav check 2

Original post: nagios plugin webdav check According to the good advice I have received I've made some modifications to the code: ...
6
votes
0answers
132 views

Object-oriented WordPress plugin

Note: This plugin is / was never intended to be submitted to repo just for personal use but the questions still apply to general Plugin Development. This plugin listens for ...
1
vote
1answer
51 views

Tabster / jQuery based plugin

I am PHP programmer whom only recently started to play with a bit of JS/jQuery. Because of that my code is probably something that most of You hardocding JS programmers would see as disgrace (again I ...
3
votes
1answer
93 views

Scale-able API development with macro definitions

In a couple of months I'll be part of a large(ish) project, and there's good chances my team will be a lot bigger, with at least 2 programmers (probably 3) and some 3-5, or more, consumers of the API ...
2
votes
1answer
80 views

ngCordova plugin for audio player

I wrote a Cordova plugin for an app that I'm working on, and now I'm trying to write an Angular definition to wrap my plugin. So far, I've followed the model in ng-cordova.js: ...
3
votes
1answer
5k views

Monitor, read and display data from a dynamic log file

I am developing a plugin for intellij that basically monitors a log file and displays the data in a tool window within the IDE in real-time. I have managed to get it working but I would like to know ...
1
vote
0answers
103 views

JavaScript plugin architecture for multiple methods with the same parameters

I am writing a JavaScript plugin for fun. The plugin allows the user to pass options to initialize the plugin and perform actions. It is a simple alert/confirm plugin just for fun. I am hoping to ...
3
votes
1answer
534 views

Simple Python plugin loader

I have written a simple system to load plugins from files in Python 2.7, and I'd like to see if any of it can be improved upon. vedo.py ...
1
vote
1answer
64 views

jQuery Plugin options

The user can provide a JSON object to configure the plugin when they initialise it. I want those options to be available whenever a plugin action is performed. I have read the plugin documentation ...