FAQ Database Discussion Community


Rev slider loading issue in WordPress

wordpress,video,plugins,slideshow
I have a revolution slider on my WordPress site with a video in my banner. It was working just fine and suddenly I got a black box for about 15-20 seconds before it loaded. In the meantime I've added a banner image as the background for this div so it...

File is being made but FileConfiguration is not putting text in it

java,plugins,bukkit
I'm trying to make a Bukkit/Spigot plugin which stores user data with YML files, and I can't make a list in file that gets created when the users joins. I'm using the built in parser. The Code: @EventHandler public void onPlayerJoin(PlayerJoinEvent e) { Player p = e.getPlayer(); File f; f...

How see actual return type on parametrized scala method with Intellij Idea?

scala,plugins,intellij-idea
Consider a code: //here Map is scala.collection.immutable.Map val myMap = Map.empty[String, Int] //getting value can be anywhere, not at next line val value = myMap.get("myKey") When a press ctrl + q in Intellij Idea on value I see Pattern: value: Option[Int] But when I put cursor on get function it...

How to find out what type a rustc::middle::ty::Ty represents?

plugins,rust,lint,internals
For writing yet another lint in Rust, I need to make sure that the type of an Expr is actually an Option<_> (or any pointer to one). I have already walked any ptrs and rptrs to their conclusion and am left with a rustc::middle::ty that in my test case debugs...

How to get Node class instance from MObject in Maya API

c++,plugins,nodes,maya
In a cpp plugin I am developing in Maya API, I register a custom MPxTransform Node in the initializePlugin function: status=pluginFn.registerTransform("mympxtransform", myMPxTransformClass::id, &myMPxTransformClass::creator, &myMPxTransformClass::initialize, &myMPxTransformMatrixClass::creator, myMPxTransformMatrixClass::id); And then create the node programmatically: MDagModifier mdagmod; MObject MyMObject; MyMObject=mdagmod.createNode("mympxtransform",MObject::kNullObj,&status); I can see the node properly created in the...

Tycho build error: “… requires bundle … but it could not be found”

eclipse,plugins,eclipse-rcp,tycho
We have an eclipse Luna plugin application which we're trying to build with Tycho. When we try to do a mvn clean verify, we're getting this type of message: [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: our.app 1.0.0.qualifier [ERROR] Missing requirement: our.app 1.0.0.qualifier requires 'bundle org.eclipse.core.runtime 3.7.0' but...

Eclipse extension point for Open Resource/Open Type dialogs

eclipse,plugins,eclipse-plugin
Is there an extension point where I can customize the search behavior of these dialog boxes? Or am I better off making an extensions that just overrides those hotkeys with dialog boxes that subclass FilteredResourcesSelectionDialog?...

Eclipse Plugin: FileStoreEditorInput access unsaved data

java,eclipse,plugins
I'm trying to access a file's data that is not part of the workspace and after some testing found out my objects is of type FileStoreEditorInput. The solutions I found to accessing FileStoreEditorInput's data made use of normal Java concept which should not have access to unsaved data inside the...

How to enable HTML5 videos in qutebrowser?

html5,browser,plugins,archlinux
qutebrowser is not that popular, so I couldn't google an answer to my question, I want to be able to watch youtube etc... Please help this is the only thing stopping me from using a great browser

How to use variables in option parameters for a plugin (like fullpage.js)?

jquery,variables,plugins,options,fullpage.js
I've been looking for hours to find the answer of my problem, but could'nt find anything usefull. I'm using the fullpage.js plugin, one of the various option is "anchors". I'd like to use this one but I'll never know the link's names that I've to put in it. They can...

Jira SAL using PluginSettings

plugins,settings,jira,webwork,sal
I looked for a way to store project-specific configurations for my plugin. In the first step i only want to store a simple String like "Hello". So, what i found is SAL and the PluginSettings. https://developer.atlassian.com/docs/atlassian-platform-common-components/shared-access-layer/sal-services This seems pretty easy to use but I don´t have any idea how to...

Height of input box on Contact 7 form

css,wordpress,plugins,contact-form
I am trying to reduce the height of the "Your Message" input box on the Contact 7 form on this page: https://www.nycofficesuites.com/new/office-space-vertical/ I've tried the following (with different heights so I can see which one is working) but nothing is working. Thanks for your help. .wpcf7-textarea { height: 80px; }...

Pass structure (or class) from C++ dll to C# (Unity 3D)

c#,c++,dll,plugins,interop
I am writing a wrapper to get some data from a sensor. While I have no problems with passing int, float and arrays of them, I have difficulties to grasp how to pass a structure. Code summary C++ side The structure is as follows: struct HandInfo { int id; float...

activate/deactivate plugin option for particular file type in Intellij plugin development

java,plugins,intellij-idea,intellij-plugin
I am developing a plugin for Intellij, which has number of actions. I want to disable some actions by default, and they would get activated only for certain file types. e.g. When I right click on .java file it should be deactivated or disabled. However, when I right click on...

Reuse jquery plugin without conflict

javascript,jquery,plugins,make,conflict
I have a little plugin working as a progressbar. the problem is: I can't update progressbar's value because every change I made, affect just the last object created =( also.. if I call it as: $(node-selector).progBar().setValue() it works calling the correct node but it loss the config object follow the...

What does the following javascript syntax mean?

javascript,jquery,plugins,syntax
I'm currently learning to develop javascript/jquery plugins and I've noticed many of them have the following syntax: var pluginName = window.pluginName || {}; I'm having a hard time understanding what this means, specifically the OR curly braces part. If someone could shed light on what this means in the context...

How to view a cakephp plugin page

php,cakephp,plugins,cakephp-2.0
I'm making a plugin called "test", as an example. Is it possible to create "pages" for this plugin and display them? In my plugin folder I've got a folder called View, and inside that another folder called Pages, which contains a file: "demo5.ctp" +test view Pages demo5.ctp +webroot I'm assuming...

How to write a plugin which depends on a task from another plugin?

plugins,sbt
There is a great sbt plugin sbt-dependency-graph, which provides a dependencyTree task to show the dependencies. I want to write a sbt plugin which depends on it, but always fails. build.sbt sbtPlugin := true name := "my-sbt-plugin-depends-on-another" version := "0.1.2.1" organization := "test20140913" addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.5") src/main/scala/MySbtPlugin.scala import...

Display artifact in Jenkins Build description

plugins,jenkins
I would like to automatically display a artifact as part of the build description. Now I can do this by manually editing the build description but that would mean I have to do this for every build. Is there a way to automate this? This is what I would like...

Call to undefined function add_action()

wordpress,plugins,wordpress-plugin
I am developing a plugin for custom registration form.I have first file customapplicationform.php file , other files in side registration and shortcode folder. So, My Plugin Directory structure like this : --->customapplicationform |--js |--ajax-registration.js |--registration |--registration.php |--regsubmit.php |--scripts.php |--shortcode |--display.php |--shortcodes.php --customapplicatioform.php It's give error : Fatal error: Call to...

Debugging a Dynamics CRM Plug-in

c#,plugins,dynamics-crm,dynamics-crm-online
I'm having trouble debugging a Dynamics CRM Online (2015) plug-in (C#). I'm following the instructions on this MSDN article to attach to a process. In the Attach To Process window, I select "Show processes from all users" and refresh. However, I don't see any of the four service processes listed...

Call to a member function tableColumnExists() on null

php,database,plugins,ilias
I'm making a plugin for ILIAS and I am gtting this error when I try to call for anything database related. I'm including the dbupdate file in the config file to be able to update it and change things while developping the plugin. (This is because I believe that ILIAS...

Android, create “non visible” .apk

android,android-intent,plugins
I am working on an Android framework which is composed by a main .apk that executes in foreground and a set of "plug-ins" which are .apk that can be downloaded and installed into the device silently. The main purpose of this architecture is to have only 1 application running and...

Get a mesh node from a transform node in Maya C++ API

c++,plugins,mesh,maya
I want to get a shape/mesh object under a transform node active in Maya. If I select and object (e.g. a poly sphere) in Maya, when calling getActiveSelectionList method, it returns a transform node, not a shape/mesh one. I'm getting crazy reading the API classes (MDagPath, MSelectionList, MFnDependencyNode) and methods...

org.jibx: maven-jibx-plugin:1.2.1 - Error reading path

apache,maven,plugins,bind,jibx
I am trying to execute a goal using maven-jibx-plugin version 1.2.1, but I am getting the following error: [ERROR] Failed to execute goal org.jibx:maven-jibx-plugin:1.2.1:bind (default) on project XoXcertExIm: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence -> [Help 1] I am using Maven 3.2.5, Java versions 1.8.0_11,...

Fancytree: implementing bootstrap skin

jquery,css,twitter-bootstrap,plugins,fancytree
I currently have a working fancytree that is using the Windows 7 skin css, but the rest of my application is based on the Bootstrap style. I am having trouble implementing the bootstrap skin to Fancytree. When I do (by replacing my win7 css file with the Bootstrap css file)...

Rewrite and combine query strings for wordpress

php,wordpress,plugins,url-rewriting
I'm working with two plugins with a different language query string setup. The language plugin itself works with mydomain.com/?lang=english (polylang plugin), the other plugin needs to retrieve mydomain.com/?language=english. How should I rewrite the url so both are working correctly? I've tried the following: function languagerewrite() { //$language = get_query_var('lang', 1);...

Get current CategoryModel filled with data from Nop to my plugin

plugins,nopcommerce
Could you please help me on the following? I am developing a plugin in nop commerce and I need to get the current CategoryModel from nop.web. How I can get it filled with the appropriate data into my plugin? I tried using the EngineContext.Current.Resolve<CategoryModel>(); but it fails.Hope it is clear....

How to stop a repeating task schedule in Bukkit

java,plugins,minecraft,schedule,bukkit
I am writing a minigame for Minecraft and have a problem with the schedule. I don't know how to stop the schedule. Please tell me how I can stop running this loop / Timer / Schedule: public void WarteTimer() { count = Bukkit.getScheduler().scheduleSyncRepeatingTask( (Plugin) this, new Runnable() { @Override public...

Hide Widget based on condition using Widget Logic Plugin

wordpress,plugins,widget
My website (http://www.chicagokaraokenight.com/wordpress) is a karaoke directory where bars can list karaoke nights for free OR upgrade to a premium or featured premium listing (paid packages) to receive a more robust profile. As part of the benefit to upgrading to a paid package, I'd like to have some widgets disappear...

Nrpe error command specified in service not defined anywhere?

plugins,nagios,nfs,nrpe
Getting error command specified in service not defined anywhere! Service check command 'check_nrpe!check_nfs4' specified in service 'NFSV4' for host 'NFS-01' not defined anywhere! [email protected]:/usr/lib/nagios/plugins# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.0.8 Website: http://www.nagios.org Reading configuration data... Read main config file okay... Read object config files okay... Running pre-flight check on configuration...

Jquery is not working on newly added elements to the dom with Plugin like JRate Plugin

javascript,jquery,plugins,jquery-plugins
I have been searching this on internet, I have found some answers which were helpful like but they were not enough to solve my problem (e.g. Similar Problem but no solution provided for my problem) I am using JRate plugin, I am adding a div inside a div using jQuery....

Cordova plugin error in success callbackId referenceError: option is not defined

javascript,cordova,plugins,referenceerror
I am trying to modify an existing TCPSockets plugin to work with Cordova 5.0. I have changed it to run in a new thread so it doesn't run off the main thread. This appears to work up until I receive the callbackId from the plugin. It seems to be bogus...

Can plugins in CustusX implement several interfaces at once?

plugins
I want to create a plugin (or two?) for CustusX. The plugin is thought to be used to guide a user through a recording workflow. At the same time, it is supposed to take an image stream, and provide another image stream (original stream + overlay image). So it's supposed...

How to create an extension to already wrapped library via SWIG?

c++,c,plugins,shared-libraries,swig
I have a library. It is wraped via SWIG. I want to create a plugin to extend it. Plugin requires a class from already wrapped library to run having something like void init( oldT old);. Library is used from Java and c#. Now this plugin also will be used from...

Cakephp 2.6 how do I return to the main application after entering a plugin

cakephp,plugins,url-routing,cakephp-2.6
I am using Luis Dias' Report Manager Plugin to generate some quick reports for an application I am developing. From my application dashboard I enter the plugin using the following: <td style="text-align:center"> <button style="height:75px; width:175px; background-color:BurlyWood; font-size:20px; font-family:Verdana" onclick="window.location.href='<?php echo Router::url(array('controller'=>'report_manager' ,'action'=>'reports'))?>'">Report Management</button> I'd really like to open the Report...

Export plugin on Grails 2.4.4

grails,plugins
I want to make an app that can upload Excel and read them. and create PDF, Excel and Word on the fly. I use Grails 2.4.4. and Export v 1.6. Here's my code class AuthUserController { def exportService def grailsApplication .... def list = { if(!params.max) params.max = 10 if(params?.format...

TFS Server plugin fails after upgrade from TFS2012 to TFS2015 RC

plugins,tfs2015
We have just upgraded one of our servers from TFS2012.2 to TFS2015RC. Everything went "smooth", but we are encountering an issue: A while ago we wrote a server side plugin for TFS, which listens to the WorkitemChangedEvent. It implements the ISubscriber interface. The following piece of code was working fine...

Java how to detect variable change

java,javascript,android,cordova,plugins
I have the cordova plugin and it is working. However, the while loop to wait until hashmap has something seems inefficient. Is there a better way? public class MyApp extends CordovaPlugin { static HashMap<String,String> myProp = new HashMap<String,String>(); protected void pluginInitialize() { } public boolean execute(String action, JSONArray args, CallbackContext...

Minecraft plugin sign reading

java,plugins,minecraft
I've got problem trying to get values of sign lines in minecraft plugin. Here is my code: package pl.maccraft.regssal; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.Sign; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.block.SignChangeEvent; import org.bukkit.event.player.PlayerInteractEvent; public final class rgs...

disable update for wordpress plugin named Dropbox Folder Share

wordpress,plugins,wordpress-plugin,wordpress-plugin-dev
I have found the following plugin. Dropbox Folder Share which is licensed under the GNU General Public License. In the plugin I have made some minor changes. mainly added my language. but i have also changed som other things. How can I ensure that the plugin will not be updated....

JavaScript/jQuery: How to Chain a Method that uses console.log()

javascript,jquery,plugins,chaining,method-chaining
I'm playing around with jQuery plugin development, and I'd like to chain methods. I read in the jQuery tutorial (https://learn.jquery.com/plugins/basic-plugin-creation/) that you can chain methods by adding return this; to the end of the method, and that works for the first method (test 1). How can I do that for...

Joomla 3 get configuration of other plugin onAfterInitialize()

plugins,joomla
Joomla 3 get configuration of other plugin onAfterInitialize() I have two plugins authentication and system. I'd like make action onAfterInitialize event in system event using configuration defined in .xml file of authetication plugin. What's the right way to do it? Do I need separate plugin for configuration and how do...

CSS:: Is there any CSS element inspector (or plugin)? [closed]

html,css,firefox,plugins,xpi
I was wondering if there is a CSS element inspector so you can easily copy an element completely AND all it's (USED ONLY) CSS properties. I want to be able to copy only the CSS lines that used to create that specific [selected] element. iow... I want to clean all...

sonar ERROR Timeout trying to lock table “PROJECT_MEASURES”; SQL statement:

plugins,views,sonarqube,sonar-runner,sonarqube-5.0
I'm using SonarQube 5.1 (using default Database H2) with Gradle 2.3/4. In SonarQube, I'm using a trial version for Views portfolio management plugin which (combines SonarQube project's metrics across as a component and lets you create views like all projects under a given team, department, manager, all app projects, all...

Wordpress plugin: How to depend on other plugins?

css,wordpress,twitter-bootstrap,plugins
I am writing a simple plugin for wordpress (actually a widget, packaged as a plugin, because reasons). I am using bootstrap to style the widget, because reasons. Now, the problem is that should I include bootstrap along the plugin or depend on another plugin (for example https://wordpress.org/plugins/wordpress-bootstrap-css/). The first is...

Bootstrap star-rating shown two times

jquery,ajax,twitter-bootstrap,plugins,rating
I am using this plugin to show star rating on my Bootstrap website. Here is part of the modal code in which I put the star rating (see the input element): <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <h4 class="modal-title" id="userTitle"></h4> <input id="avg" class="rating" min=0 max=5 step=0.1 data-size="xs" data-readonly="true"...

elasticsearch couchbase-transport plugin not listening

plugins,elasticsearch,couchbase
I have some Couchbase servers, and I have a dedicated Elasticsearch server with the couchbase-transport plugin. My Elasticsearch settings : network.publish_host: 192.X.X.X network.host: 192.X.X.X netstat -laputen | grep 9300 : 192.X.X.X:9300 My Elasticsearch service is listening correctly on the IP, but when I use netstat for the port of the...

Node js plugin permissions

node.js,plugins,permissions,sails.js,fs
I create a web server with Sails.js, and want to allow third dev to create node.js plugins installable from a web page (store). My problem is I don't want this plugin to require sails (or other critical modules) and have access to database and services and do what they want....

Umbraco7 new backoffice section, edit date field, AngularJS

jquery,angularjs,plugins,umbraco7
I'm trying to create an edit screen for a new section in the back office. I've followed various tutorials on how to go about this and it is working fine for normal text fields. However, my model has 2 date fields as part of it and I would like to...

How to get Properties from a Neo4j Database in Server Plugin after Commit?

java,plugins,neo4j,server,graph-databases
I have to implement a Neo4j Server Plugin that reacts to changes to the Database and get's information about those changes. I need to get all the Data that has been added, changed and deleted in a transaction. I use a TransactionEventHandler registed to the database. For performance reasons i...

Plugin-system: How to handle events between host application and plugin

c#,.net,events,plugins,reflection
Note: I need to use .NET 3.5 My test application is in three parts (different projects and different dlls); host-application, plugin-sdk and test-plugin. The host application is a WPF application with an area to load in views from the plugins. Plugins is loaded through Reflection. This part work as supposed....

Import jQuery Plugin with JSPM

jquery,plugins,shim,jspm
I'm trying to import the jQuery plugin jQuery.scrollTo with JSPM. So far I installed it with jspm install npm:jquery.scrollto and now I'm trying to import it with import $ from 'jquery'; import scrollTo from 'jquery.scrollto'; Now I'm only getting $(...).scrollTo is not a function errors. I tried to shim it,...

Imagemaps in uCKEditor bad performance

performance,plugins,ckeditor,umbraco,imagemap
We have been using the uCKEditor plugin for umbraco for a few months now. We also installed a plugin for it called Image Maps. Recently, one of our content editors noticed a sharp drop in performance while editing some pages. After testing it for a while I noticed that removing...

How to fix Class 'Behat\Behat\Output\Printer\ConsoleOutputPrinter' not found

php,plugins,phpstorm,behat
Im trying to use the Behat plugin for PHPStorm (on Behat 3). the problem is once i try to run a feature i will receiving the following Fatal error: Fatal error: Class 'Behat\Behat\Output\Printer\ConsoleOutputPrinter' not found in /private/var/folders/js/27x3tw5n5jx9b14vn_cn12w0748zmg/T/ide-behat.php on line 82 I had a look in the Behat source i can...

How to deploy a utility DLL that is used by plugins?

c#,plugins,dynamics-crm-online,ilmerge,dynamics-crm-2015
I've entered a project that used the architecture where all the utility classes were stored in the same project as the plugin. That's fine as long as there's only a few plugins with different utilities. I noticed, however, that as the number of plugins has grown, many of the individual...

Creating action for Idea plugin

plugins,intellij-idea,action
It's my first experience with creating Idea plugin, so I decided to read some manuals. They say it's required to create an action class. But "OK" button is disabled. What am I doing wrong? Thank you for your answers.

Register a GIMPLE pass in gcc 5.1.0

c++,c,gcc,plugins,gimple
Hi I've been doing gcc plugins for gcc 4.8 and 4.9 but I'm having a problem in gcc 5.1.0. The problem is that I can't register a GIMPLE pass in this new gcc version. Here is an example plugin code: int plugin_is_GPL_compatible; static bool gateCheck(void) { printf("BBBBB\n"); return true; }...

Implementing one page scroll by Pete R

jquery,css,plugins,scroll
Im not good with jquery, js, scripts overall and i´m trying implementing this onepagescroll puglin by Pete R. but till now no sucess. https://github.com/peachananr/onepage-scroll Thinks i´ve done: body { margin: 0; font-family: 'Open Sans', Helvetica, sans-serif; min-width: 900px; } .header { background-image: url("img/fundo1.jpg"); background-size: cover; background-color: rgb(21, 21, 21); color:...

Cordova 4.1.2 twitter integration

android,ios,cordova,twitter,plugins
How to integrate twitter login for cordova 4.1.2, as now childBrowser is deprecated we can not use this demo. can any one help me in this??

Fancytree: Configure my own keyboard navigation

javascript,jquery,plugins,treeview,fancytree
I would like to know if there is a way to expand on the navigation that Fancytree offers, for instance, force the delete, cut, copy or paste methods from my contextMenu to occur when I press Delete, ctrl+x, ctrl+c or ctrl+v on my keyboard. I've been studying and using fancytree...

Fluentd parser plugin

plugins,fluentd
I am trying to implement a parser plugin for fluentd. Below are the configuration file and the plugin file. Fluentd config file. <source> type syslog port 9010 bind x.x.x.x tag flog format flog_message </source> Plugin file module Fluent class TextParser class ElogParser < Parser Plugin.register_parser("flog_message", self) config_param :delimiter, :string, :default...

Can i use font-awesome in android's edittext?

android,plugins,font-awesome
I have added font-awesome .tff file to the assets folder, initlaized some of the icons in the strings.xml file, changed the typefaces of the entities i will use font-awesome in and tried using font-awesome on buttons and it worked, but i did the same for edittexts but there are strings...

Difference between aoColumnDefs and aoColumns

plugins,jquery-plugins,datatables-1.10
Difference between aoColumnDefs and aoColumns in datatable jquery plugin?

Maven version custom upgrading

maven,plugins,version,maven-release-plugin
I am working on a maven project and it is currently versioned at 0.x, I need to be able to bump the version to X.0 using the maven release plugin. Is this possible? I came across the maven versions plugin http://mojo.codehaus.org/versions-maven-plugin/usage.html but wasnt sure if this could be used to...

How do I create a jquery function with callbacks [closed]

jquery,function,plugins
How do I create a plugin / jquery function with the use of the following $("#button").click(function(){ $.confirm({ yes : function(){ // some code }, no : function(){ // Some code } }); }); ...

Error 404: cordova-plugin-file when trying to install cordova-plugin-zip for iOS

ios,cordova,plugins,registry,http-status-code-404
When trying to install the cordoba-plugin-zip using: cordova plugin add https://github.com/MobileChromeApps/zip.git as documented (https://github.com/MobileChromeApps/cordova-plugin-zip), I get the below 404 error message. Has the cordova-plugin-file its trying to reference been moved? How can I tell the plugin to look for it elsewhere if so? Installing "cordova-plugin-zip" for ios Fetching plugin "cordova-plugin-file"...

Wordpress woocommerce weird problems

php,wordpress,plugins,woocommerce
First of all, thank you for bothering to read this topic, I feel like this is going to be a long and painful one, as I'm trying for about 7-8 hours now to get what the hell is happening with this plugin. I am a developer, so I know what...

need wordpress plugin to show 3 type of different kind of text, image and 2 buttons

wordpress,plugins,wordpress-plugin
I have slider image on http://techturners.com/arman-badwal/ page in "featured work" section. I need plugin to create dynamic slider like image in section.I use many sliders like cyclone-slider but they show only title, description and image.

How to load a xml file in plugins webroot

cakephp,plugins,components,cakephp-3.0
I am using cakephp-3.0 In a Component of a plugin, I want to load a XML file in the plugins webroot. simplexml_load_file('RangeMessage.xml') The file can't be found. Debugging the path with debug(realpath('')); Says, that the actual directory is /path/to/app/webroot. My xml-file however is in /path/to/app/plugins/myPlugin/webroot So how can I find...

Get position information for videoframes of a video source/probe in CustusX

plugins
In a custom plugin for the extension of CustusX which implements GUIExtenderService I want to access the streamed image of an ultrasound probe together with its position. The Documentation says: VideoSource has two main users: Rendering to screen and recording to disk. VideoGraphics contains the visualization functionality that the Reps...

Django-CMS 3.0.3 Publishing a page duplicates data from plugin django-cms-saq

django,python-2.7,plugins,django-cms
Django-cms-saq is tested for 2.4.x. I'm trying to update the program to work with 3.0.X. So far, I've updated all the imports but am coming across an unusual error. When I add a question (a plugin) to a page and hit publish, it creates two copies of the question in...

How to specify SonarQube rule description as a markdown/html resource file instead of using annotation?

plugins,sonarqube
I have my custom rule, let's say with AEM-1 key. So, as it is done here, I make my AEM-1.html resource file with some simple html content and it does not get's picked up by SonarQube 5.1. It refuses to start, because no description is provided for the rule. I...

How to copy a photo from gallery to dataDirectory?

javascript,cordova,plugins,ionic-framework
I'm trying to copy a file from photo gallery to dataDirectory on Android 5.0 device. Unfortunely Cordova camera plugin returns path in format like: content://media/external/images/media/8793 var options = { quality: 50, destinationType: Camera.DestinationType.FILE_URI, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, saveToPhotoAlbum: false }; return $cordovaCamera.getPicture(options).then(function (result) { return handlePictureResult(result); }) $cordovaFile.copyFile('content://media/external/images/media/8793', null,...

Oh My Zsh - how to use GitHub plugin?

plugins,github,zsh,zshrc,oh-my-zsh
Just enabled github plugin in .zshrc: plugins=(… guthub …) After this autocomplete works fine, when I press tab I see: But then, if, I try to run actual command, e.g. github create test-repo I'm getting zsh: command not found: github Until now I used simple plugins only with aliases and...

Console logger called twice on one mousedown

jquery,plugins,onmousedown
I am experiencing a strange problem with jQuery's onmousedown. I have a plugin, to which you can assign buttons and add some options, like so: $.lollipopbutton(".buttons button", { bubble_color: "rgba(0,0,0,1)" }); One thing that happens in this plugin is that when you click the buttons, an animation will trigger. However,...

Android Unity plugin

java,android,eclipse,plugins,unity3d
I want to use unity android plugin in my AR application. The app has an AR camera, an image target and a 3d object. ON ECLIPSE : I create a default android application on eclipse. I click build automatically and check project name -> proeprties -> isLibrary. I create a...

Jquery how clean formData object in my own upload plugin

javascript,jquery,ajax,plugins,jquery-plugins
I tried to create my own plugin for upload files via ajax. If the page where there is the input file is reloaded after upload It seems to work good. If the page where there is the input file is NOT reloaded after upload (because was reloaded only ajax content)...

npm error : 404 Not Found: cordova-plugin-whitelist

visual-studio,cordova,plugins
I have installed a cordova-plugin-whitelist in Visual Studio project with cordova from GitHub but when I recompile, I get this error: Calling plugman.fetch on plugin "[email protected]" Fetching plugin "[email protected]" via plugin registry MDAVSCLI : npm error : 404 Not Found: cordova-plugin-whitelist All files of plugin there are correctly under plugin...

How do I properly register a Rust compiler plugin?

plugins,compiler-construction,loading,rust
I've been pulling my hair out over trying to get a Rust compiler plugin to register properly. I have a separate crate called rust_to_glsl that is in a subdirectory of my main code. Inside the rust_to_glsl/src/lib.rs file I have the following #![feature(plugin_registrar)] #![feature(rustc_private)] #![crate_type="dylib"] extern crate rustc; extern crate syntax;...

How to use a widget plugin in qt 3?

plugins,designer,qt3
For some reasons, I must work with Qt3 under SLES 11 SP3. I have written the following plugin: // PixmapButtonPlugin.hpp #include <qwidgetplugin.h> class PixmapButtonPlugin : public QWidgetPlugin { public: QStringList keys () const; QWidget* create (const QString& key, QWidget* parent = 0, const char* name = 0); QString group (const...

Is there synthetic tracking data available in CustusX?

plugins
I'm developing a plugin for custusX. I prefer developing on my own PC which is not connected to a tracking system. For video, custusX uses a webcam to generate synthetic 'example data'. Is there also a tracking source with synthetic tracking data available that can be used for developing? (Preferable...

Cordova plugin development - adding aar

android,cordova,plugins,android-studio,aar
I am new to the cordova plugin development stuff. I want to write a plugin which is able to open a new android activty and showing some advertisement. So I followed a simple tutorial here. That works very well and as expected. Next step is to include this Android Studio...

How to inactivate an eclipse plug-in without uninstall it?

eclipse,plugins,eclipse-plugin,kepler
How to inactivate an plug-in in Eclipse Kepler SR2 without uninstalling it? I have a plug-in for Android, which is pretty big and causes eclipse starting slow. But I need the plug-in on some other projects. In Help -> About Eclipse > Installation Details -> Installed Software, there is only...

How to install JasperReports as an Eclipse plugin with no internet connection? [duplicate]

java,plugins,eclipse-plugin,jasper-reports
This question already has an answer here: Installing a plain plugin jar in Eclipse 3.5 3 answers I need to create a report in Java with Spring. So I need to install a plugin for Eclipse, more specifically JasperReports as a plugin. The problem is that I don't have...

Add conditions to a pagination

javascript,jquery,css,plugins,pagination
The following script pulls the data from my database and creates a pagination. The pagination works, but I would like to add a conditional statement which differentiates the level of the user. User level could be New, Current or Renewing client. I am not sure how or where to add...

Vimperator - reload plugin

firefox,plugins,vimperator
How can I reload vimperator plugin after I modify it? Now I restart browser each time I need reload but it is nightmare to develop plugins like this.

Magento realtime data integration

php,api,magento,plugins,e-commerce
this could possibly be answered somewhere allready, but unfortunately I could not find the answer that would suit me. The question is, can Magento be used only as a front end E-Commerce platform? That is read product nad customer data from external API, and also submit that data to external...

Cordova Build failed with exception

android,eclipse,cordova,plugins
Just faced some errors, after adding https://github.com/cowbell/cordova-plugin-geofence plugin to my project. Removed plugin, but the error with exception is still raising. :/ > $ cordova -d --stacktrace build android Generating config.xml from defaults for platform "android" Calling plugman.prepare for platform "android" Preparing android project Processing configuration changes for plugins. Iterating...

wordpress . com plugins?

wordpress,plugins
I am working on a app where I need to share the posts of a WordPress, it is not WP dot org, it is WP dot com, I need to install some plugin like the JSON API plugin, but I am unable to see the plugin link in the menu....

Using Sublime Text 2 with Python 3 under Windows 8.1

python,python-3.x,plugins,sublimetext2
I am developing a plugin for sublime text 2 using python. As default, sublime text 2 uses python 2, but I'd like to switch to python 3. There are some hints on how to do that (also here on stackoverflow), but none of them seem to work for me. Maybe...

CKEditor not working (grayed buttons)

javascript,jquery,plugins,ckeditor,ckeditor4.x
I'm testing a configuration for CKEditor, but I can't type and the buttons are like this: This is on Chrome 42.0.2311.152 m (64-bit), but the same happens on Firefox and IE. Here's how I'm loading CKEditor: <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="ckeditor.js"></script> </head> <body> <textarea id="teste"></textarea> <script> CKEDITOR.replace('teste'); </script> </body>...

How to call a function on click

javascript,php,jquery,plugins,wordpress-plugin
I'm having trouble re-initializing some code. I have a function from a plugin that I need to reinitialize on click. I started learning JS and PHP last month so I am still uncomfortable with manipulating code I have not written. Here's the code that I need to reload, It was...

How do I access general eclipse preferences in my own plugin

java,eclipse,plugins,eclipse-plugin,preferences
I want to get value of general console properties in my plugin. How can I do that? I think I should do something like this: IPreferenceStore store = ScriptUIActivator.getDefault().getPreferenceStore(); store.getDefaultInt(preferenceName); But what is "preferenseName"? And which one preference store do I have to use. http://i.stack.imgur.com/IqSuE.jpg...

How to make a discourse plugin available for public posts?

ruby-on-rails,plugins,discourse
I've developed a discourse plugin successfully. However, I need to be logged in into discourse in order to see the plugin working. Any ideas?...

Facebook Like Box (Page plugin) not working

html,facebook,plugins,twitter-bootstrap-3,facebook-javascript-sdk
I've tried adding a facebook plugin to my page but it doesn't appear correctly. What i've done so far was going to the Facebook Developpers for the new Page Plugin, included correctly (i hope) the SDK, included the script and pasted the html code the generator gave me. But my...

What s the difference between singleton and plugin?

javascript,jquery,plugins,singleton
I want to know: What is the difference between singleton and plugin?

How to analyze code from other class than currently analyzed in SonarQube?

java,plugins,sonarqube
Case: I'm writing SonarQube rule that needs to check if manually created object is being closed. When it's not, issue should be raised. Let's assume that part related to determining if object is created manually (or not) is easy and not relevant. For purpose of this example it'll be...

Why store the function on the element using data()?

javascript,jquery,plugins
I am trying to understand some code from the Swipebox plugin. There is a function declared. $.swipebox = function( elem, options ){ // plugin Jquery codes.. } Now this codes below I really do not understand. What is the main purpose of this code? Why does it save function to...

how can i use require(“”); in javascript

javascript,firefox,plugins,requirejs,mozilla
i want to use a plugin in Firefox that it is in this. in this plugin tutorial use require function, and it is: require("sdk/preferences/service"); but i get error that require is not defined. so i search and download requireJS. but when attach this i get error module name sdk/preference/service has...