Posts by CodingJack

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

I wasn’t familiar with the plugin you’re using, but after looking at the plugin’s API, it looks like this:

jQuery(this).edSingleSlider('getValue').value;

should be this instead:

jQuery(this).edSingleSlider('getValue');

Then this is how the value can be written:

$("#valueSlider5").edSingleSlider('value', value);

Here’s the updated code:

<script type="text/javascript">

    jQuery(document).ready(function() {

        // initialize all input elements with the "value-slider" class name
        var valueSliders = jQuery('.value-slider').edSingleSlider({minimum: 0, maximum: 10, step: .1, "noLabels": true, width: 600});

        jQuery('body').on('click', '#btnData', function () {

            // total value starts at 0
            var totalValue = 0;

            // loop through all valueSliders
            valueSliders.each(function() {

                var $this = jQuery(this);

                // skip over fifth slider
                if($this.attr('id') !== 'valueSlider5') {

                    // increment the totalValue for each valueSlider value
                    totalValue += $this.edSingleSlider('getValue');

                }

            });

            var average = (totalValue / (valueSliders.length - 1)).toFixed(1);

            // write the average value to the 5th slider
            jQuery('#valueSlider5').edSingleSlider('value', average);

        });

    });

</script>
5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

As the code is currently written, every time an element with the ID “btnData” is clicked, 5 different functions are going to fire at the same time, so it would be best to use a single ”$(document).ready” function for everything. You can also probably assign a class name to each input element, which will allow you to instantiate all “valueSliders” at the same time. Example HTML:

<input type="text" class="value-slider" id="valueSlider1" value="0" />
<input type="text" class="value-slider" id="valueSlider2" value="0" />
<input type="text" class="value-slider" id="valueSlider3" value="0" />
<input type="text" class="value-slider" id="valueSlider4" value="0" />
<input type="text" class="value-slider" id="valueSlider5" value="0" />

Example JS:

<script type="text/javascript">

    jQuery(document).ready(function() {

        // initialize all input elements with the "value-slider" class name
        var valueSliders = jQuery('.value-slider').edSingleSlider({minimum: 0, maximum: 10, step: .1, "noLabels": true, width: 600});

        jQuery('body').on('click', '#btnData', function () {

            // total value starts at 0
            var totalValue = 0;

            // loop through all valueSliders
            valueSliders.each(function() {

                // increment the totalValue for each valueSlider value
                totalValue += jQuery(this).edSingleSlider('getValue').value;

            });

            // print final value
            alert(totalValue);

            // print average
            alert((totalValue / valueSliders.length).toFixed(1));

        });

    });

</script>
5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

thanks for your reply , I want to by a codecanyon product and use it just for my site , but as I use wordpress and that component is not a wordpress plugin I dont know how to use it :)

You have two options:

1) Convert the item into a WP plugin.
2) Manually add the jQuery item to your site.

Both options will require some advanced WP skills. If you need some help, you could probably hire someone over at Microlancer.com.

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

It’s probably just a coincidence. Some items make the “populars” and sell consistently for a long period of time, but most tend to drop off gradually after a few months which is probably the case for your item. But uploading new items will drive traffic to your older items, and that’s always the best medicine for giving your portfolio a boost :)

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

Congratulations AudioPizza! :)

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

Congrats FinalDestiny! :) There should totally be a badge for the 10k mark!

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

It looks like there are lots of people rating who never try and get support. I imagine these people are rating because they got a “reminder to rate” email from Envato, and just had no idea that support was available. But in the grand scheme of things, what’s more important in these situations – getting a rating from an unhappy buyer? Or turning the unhappy buyer into a happy one by helping them get support? Maybe our follow up emails should lead with support info and end with a reminder to rate. Here’s an example:

“Howdy, we noticed you purchased “abc” product recently. We hope you’re happy with the product. If you have any questions or concerns, the author of the product provides customer support which can be accessed here (link to item’s “Support” tab). We’d also appreciate if you could rate the item.”

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

The way to make this work for both authors and Envato is to link to the author’s Microlancer services directly in the ads. And then if the author doesn’t have a Microlancer account, just show a generic ad instead.

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

One of the great things about support is we have the ability to turn unhappy customers into happy ones. But this doesn’t seem to be the case for customers who rate poorly without every asking for support. Maybe we should think about contacting all unhappy customers with some type of follow up email. Something like:

Hi (user name), We noticed you weren’t satisfied with (item name) your purchased recently. We’re sorry to hear about your experience, and want to let you know we’re thankful for your feedback. The author of the item you rated offers direct customer support for this item via (support method hyperlink), and we also encourage you to visit our General Support Knowledgebase. Thanks again for taking the time to rate the item. Sincerely, (marketplace).
by
by
by
by
by
by