tddewey / tdd-progress Goto Github PK
View Code? Open in Web Editor NEWA progress bar plugin solution for WordPress
A progress bar plugin solution for WordPress
If you don't have the php short tags active the line 459 from admin.php script will trigger an error (last line before closing } from setting_animate function). Plugin version 0.5.2
"How can I change the order of my progress bars? I have 5 bars and I want them to show up in the order of the events which they relate to and right now they are showing up in the reverse order. I tried changing the order of the ids in the widget but it did not make a difference." - Pamw WordPress Forums
Creating a widget specifically for this plugin is natural and not difficult. It will be the key feature in 0.3
Originally reported here:
http://wordpress.org/support/topic/tdd-progress-bar-issue-with-wp-persian?replies=1
The OP in that thread was asking to make the bar fill left to right like it does in the English version, even in an RTL environment. This is as simple as specifying dir="ltr"
on the outermost container.
If however, it is neecessary to make it fully RTL supported, there's a bit more work to be done. It also needs translations.
get_posts is a little bit leaner and faster, but each progress bar display has to query the database so those little upgrades should help quite a bit. I want to do a "before and after" profile to see exactly how much speed/resource savings we get...
Upgraded from .4 to .5. Went to see what options changed. Saved bar after noticing can no longer use decimals (only ints) in calculation. Now shortcode listed on Progress Bars page is the same for all bars. Highest bar id used on site no longer appears ("No progress bars were set, so there is nothing to display"). Created 'junk' progress bar to set id higher for unused bar, but previously higher bar still gives error.
WordPress 3.6 completely breaks tdd-progress. No animation at all. It shows correct space taken, but doesn't animate.
Chrome console shows the following error:
Uncaught TypeError: Cannot read property 'backgroundPosition' of undefined
This is for the animate.js file.
On the next update, create a cover image for the plugin repository.
OP wants a way to display all of the progress bars at once. Suggested via WP forums
Implement chosen.js or some other UI for making bars easier to find/select in the widget. Also a Shortcode generator thingum for the visual editor.
This could play well with custom colors, but the opportunity to define custom height was requested. Maybe an easier way to do height + widths? Global setting, plus override for individual bars?
Look into the possibility of using a transparent .png to allow for custom colored bars while still maintaining that fun gloss and sparkly-ish animation and look.
TDD Progress number styling from display.css is being applied outside of TDD Progress bars, even on posts/pages with no progress bar. Any span class="numbers" is effected.
Request via @MirawenDMF
Allow input via percentage -- as it is now -- as well as an arbitrary unit " x of y " which would then get calculated into a percentage. Display the relevant text on the progress bar.
Hi.. I love the progress bars, but I'm trying to find a way to add text on the left side of the bar! The percentage is fine but I need to label each bar for different things. I always wondered why I could name the bar, but the name never appeared anywere. :) Help!
Utilize the HTML5 tag with appropriate styling changes. Details:
http://www.useragentman.com/blog/2012/01/03/cross-browser-html5-progress-bars-in-depth/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.