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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
49 views

Display WordPress Custom Post Types with ACF-Fields on a Google map

I am currently working on my first WordPress plugin. I display custom post types on a google map with pins. The custom post types also have additional information by ACF fields which are displayed in ...
  • 21
4 votes
2 answers
101 views

Jekyll plugin which bundles files into a zip archive

I am not a Ruby developer but cold-reading existing Jekyll plugins I implemented one to bundle files in a zip archive and open sourced it on GitHub. What do I need to fix to make it look more Ruby-...
  • 193
3 votes
0 answers
61 views

Custom HTML Element with scrolling text

A junior developer here. I wrote a simple javascript custom element code here: https://codepen.io/rndbox/pen/mdWxryw as clean as I could with some advice from Junior Vs Senior Code - How To Write ...
  • 31
1 vote
1 answer
109 views

Vim plugin for easy window navigation

I've been thinking about it for a while and, after asking a question on vi.stackexchange, I decided to write a small plugin myself and put it on GitHub; basically it offers a mapping to activate a ...
  • 527
2 votes
0 answers
43 views

Vim plugin Nudge Lines

I've published a Vim plugin that nudges visually selected lines up or down, which for the most part seems to function as designed. However, I believe there are likely ways that this plugin could be ...
  • 976
3 votes
0 answers
197 views

SBT Helm plugin

Description I've created simple SBT plugin which enables creating Helm Charts The main reasons: in Helm it is impossible to 'fetch' external files: https://github.com/helm/helm/issues/3276 which is ...
  • 139
3 votes
0 answers
91 views

Vim plugin MarkDown Headings

This is my first Vim plugin and is intended to assist with adding, and editing, MarkDown headings. Features include changing the heading depth, auto-update heading reference links, and adding link ...
  • 976
3 votes
0 answers
99 views

Validating a file input whose value is reset to empty string ("") after selection

My form comprises of a mandatory file input. The form is validated according to the jQuery validate plugin. The file input has attribute required so that the ...
  • 131
4 votes
1 answer
29 views

Simple Bespoke WordPress Integration Plugin

I am in the process of setting up WordPress with WooCommerce, one of the requirements is a bit of integration that takes a person from another website directly to a specific product. I have set the ...
3 votes
0 answers
37 views

NRPE script for monitoring filesystems usage

Next script returns NRPE friendly output. It checks percentage usage of all local filesystems. Desired output if everything is ok: OK | /=56;;;; /boot=20;;;; /opt=40;;;; /var=60;;;; (and ...
1 vote
1 answer
72 views

NRPE script for monitoring memory usage

This script based on previous NRPE script for monitoring load average. Same purpouse - get NRPE friendly output with minimal usage of non built in commands. In this case wasn't need to count with ...
7 votes
3 answers
301 views

NRPE script for monitoring load average

This script converts a server load value into percentage, compares it with non desired state ($warning and $critical) and returns all information in NRPE (Nagios Remote Plugin Executor) friendly ...
1 vote
0 answers
42 views

WordPress plugin to reveal coupons after several visits to a page

My file tree is here. It does not look good. I would appreciate any tips you have on improving code organization. My React mindset of breaking folders by component didn't carry over well into php/...
  • 111
4 votes
2 answers
212 views

basic jQuery plugin template

I would like to know if I'm writing a plugin for jquery correctly. I followed the official guide and also added some tweaks that I've found from various sources over time. While this works perfectly, ...
2 votes
1 answer
228 views

SafeBlockPopulator to ensure neighboring chunks are generated before population

Bukkit/CraftBukkit/Spigot are Minecraft server extenders that allow for creating and using plugins. A particular type of plugin is a generator, which creates the game world. Generators operate chunk-...
4 votes
1 answer
103 views

AutoSuggest: Better way to implement focus after inserting a snippet

Introduction: I am working on a javascript plugin AutoSuggest, My aim is to create an IDE like autocomplete experience in web applications using JavaScript. One of the features I have implemented is ...
  • 101
2 votes
1 answer
926 views

Dynamically Generating XML Deserialization Classes / Code: Part I, Reading

I'm building an IntelliJ Plugin which will allow a person to select an XML file (and even a snippet of XML in the file, if they like) and, using a really brief GUI, generate classes / code in one of a ...
1 vote
0 answers
28 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 ...
  • 235
1 vote
0 answers
33 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 ...
  • 111
5 votes
1 answer
149 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 ...
3 votes
1 answer
120 views

jQuery plugin to load a full-page view window

I have been 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. It allows the user to add a data attribute to any ...
  • 141
4 votes
1 answer
107 views

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
0 answers
30 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: <...
  • 223
1 vote
0 answers
49 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 ...
  • 459
3 votes
0 answers
578 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
2 answers
4k 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 ...
  • 44.1k
2 votes
1 answer
189 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
1 answer
261 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. ...
  • 2,558
13 votes
1 answer
424 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 ...
  • 101
2 votes
1 answer
829 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 ...
  • 231
3 votes
2 answers
65 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 ...
  • 363
1 vote
0 answers
128 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
1 answer
88 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 ...
  • 363
3 votes
0 answers
747 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 ...
  • 230
4 votes
1 answer
111 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 ...
  • 363
6 votes
1 answer
161 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 <...
  • 363
2 votes
1 answer
182 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
1 answer
163 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
0 answers
154 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
0 answers
128 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 ...
  • 184
6 votes
2 answers
173 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, ...
  • 363
1 vote
0 answers
234 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 ...
  • 111
2 votes
0 answers
62 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 ...
  • 21
2 votes
1 answer
115 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
2 answers
58 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-...
  • 203
3 votes
0 answers
78 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 ...
  • 235
2 votes
3 answers
227 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 ...
  • 184
1 vote
0 answers
70 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 ...
  • 187
1 vote
0 answers
224 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. ...
  • 165
3 votes
0 answers
134 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 ...
  • 165