Posts by Webbu

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

+1 from me.

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Mixed feelings about this one.

It sounds good that something is going to happen to address the unlimited free support we authors provide, but I think it is a poorly implemented solution. Some notes:

Authors are bound to the support pricing that Envato will decide

As an author, I need to have the freedom to set the pricing rules for the support I am offering. I already sell at extremely low prices, now having to adapt to a support pricing model sounds a bit too much.

Having to answer within 72 hours sounds like I am an Envato Employee

Clearly this is not (or it should not be) the case. I am running a business and the terms of the provided services should be decided by me. Do I want to go for vacation for 3 weeks? Do I wish to update my infrastructure and decide that I will postpone Support for 1 week? It should be my right to choose the terms of my supported Services. Support is a service, not a product. The game rules are changing. What if an author is not a team but a sole person? What if he needs to get hospitalized for 1 week? What if he has a family issue and he has no partner to handle support?

30% for what exactly?

So, we are paying for our own support platform, and we are paying for support staff. For what exactly should we pay Envato 30%. Unless you provide an integrated support solution, this demand is irrelevant. What if as an author I already provide free support for 6 months and then I already bill my customers for extented support? Then I will need to adjust the pricing, and continue to do what I already do, but this time giving Envato 30%

How are authors protected?

We all know the following scenario is going to happen, sooner or later:
  • Buyer purchases “premium support”
  • Posts at the support desk demanding a customization
  • You kindly refuse
  • Buyer goes mad cause he already has purchased “premium support”. Threatens for 1 star rating.
  • You still refuse
  • Buyer becomes angry, rude, and rates 1 star.

In this case, how exactly is the author protected?

  • There should be an option to report a Buyer (of course this will will not happen)
  • There should be an option to ban the buyer from the support (of course this will not happen without refunding)
  • There should be an option to report a rating.

Honestly, I believe that the 30% that Envato will take, will go straight to paying extra staff to handle all the confusion and problems that will arise.

I do not think this is the way to go, really. Eventually all the descent authors who respect their work and time will leave ThemeForest one by one. And the marketplace will be left only with authors that would do anything to satisfy the buyer, even if this means going against their business values. Sorry, no.

+1

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

I will be there if I get visa.

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Hi Good article but there was a wrong code. I already send a comment from your page but I think you didn’t see it. below code at the end of the page:

function ubl_add_tinymce() {

    global $typenow;
    if(!in_array($typenow, array('post', 'page'))) return ;

    add_filter( 'mce_external_plugins', 'ubl_add_tinymce_plugin' );
    add_filter( 'mce_buttons', ubl_add_tinymce_plugin );

}

// inlcude the js for tinymce
function ubl_add_tinymce_plugin( $plugin_array ) {

    $plugin_array['ubl_location'] = get_template_directory_uri() . '/js/Shortcodes_js.js';
    return $plugin_array;

}

// Add the button key for address via JS
function ubl_add_tinymce_button( $buttons ) {

    array_push( $buttons, shortcodes );
    return $buttons;

}

add_action( 'admin_head', ubl_add_tinymce );

has to be like this

add_filter( 'mce_buttons', ubl_add_tinymce_plugin );

change to
add_filter( 'mce_buttons', ubl_add_tinymce_button );

If I didn’t remember wrong this will fix the problem.

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Happy to help you guys… :)

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Thanks a lot for this tutorial Webbu

If anyone need shortcode to be inserted directly into the editor without popup can use this code inside plugin.js:

{text: 'Subtitle',onclick:function(){
    editor.execCommand("mceInsertContent", false, '[subtitle]Put Your Tittle Here.[/subtitle]')
}},

Did anybody who tried this fix experienced this bug – when switching between the Visual and Text editor a couple of times in TinyMCE, both toolbars become visible and I can’t access the Text editor, as if the tab button is dead. When I disable the Zilla plugin it goes back to normal…

Any ideas what might be causing this?

I tried the Zilla Shortcodes plugin fix on a fresh install and with Twentyfourteen theme…

Other than this, everything works as it should…
I’m getting the same bug switching between visual and the text editor
The problem is below code:
  tinymce.init({
        selector: ".wp-editor-area",
        toolbar: "shortcodes",
        setup: function(editor) {

            }
)};

check this new plugin.js https://github.com/webbudesign/ZillaShortcodeWP3.9/blob/master/plugin.js

Hope this will solve the problem.

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Yeah, got it now, works like a charm. Many thanks Webbu, you’re a life saver!

Good.. :) You’re welcome.

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says


Hey Webbu thanks for the tut, much appreciated ;)

I went through all the steps with a fresh download of Zilla Shortcodes, and while the button does appear, I only get two shortcodes listed in the dropdown menu – Alerts and Buttons, and when clicking on Buttons shortcode I get this warning:

Warning: Invalid argument supplied for foreach() in zilla-shortcodes-1.2\tinymce\shortcodes.class.php on line 65

You have to use exact “value” words in identifier… for example “alert” and “button”

Old

a.addWithPopup( b, "Alerts", "alert" );
a.addWithPopup( b, "Buttons", "button" );

New ( identifier: ‘alert’, identifier: ‘button’ )

{text: 'Alerts',onclick:function(){
editor.execCommand("zillaPopup", false, {title: 'Alerts',identifier: 'alert'})
}},
{text: 'Buttons',onclick:function(){
editor.execCommand("zillaPopup", false, {title: 'Buttons',identifier: 'button'})
}},
Thank you Webbu for the perfect solution for Zilla Shortcodes plugin :)

+1 right.

You’re welcome. :)

One more small tip: (For put button image icon)

Open tinymce / css / popup.css and add below line:

.mce-i-zilla_button{background-image:url(../images/icon.png)!important; background-repeat:no-repeat; background-color:transparent; background-position:center center}

Then you can change images / icon.png with your logo.

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Hi,

I want to write this tutorial for help authors which using Zilla Shortcodes;

Step1: Open zilla-shortcodes.php and change codes below;

A – ) Code Block 1;
function add_rich_plugins( $plugin_array )
{
$plugin_array['zillaShortcodes'] = ZILLA_TINYMCE_URI . '/plugin.js';
return $plugin_array;
}

change to

function add_rich_plugins( $plugin_array )
{
if ( floatval(get_bloginfo('version')) >= 3.9){
$plugin_array['zillaShortcodes'] = ZILLA_TINYMCE_URI . '/plugin.js';
}else{
$plugin_array['zillaShortcodes'] = ZILLA_TINYMCE_URI . '/plugin.old.js'; // For old versions of WP
}
return $plugin_array;
}

B – ) Code Block 2; on line 89

wp_enqueue_script( 'zilla-popup', ZILLA_TINYMCE_URI . '/js/popup.js', false, '1.0', false );

change to

if ( floatval(get_bloginfo('version')) >= 3.9){
wp_enqueue_script( 'zilla-popup', ZILLA_TINYMCE_URI . '/js/popup.js', false, '1.0', false );
}else{
wp_enqueue_script( 'zilla-popup', ZILLA_TINYMCE_URI . '/js/popup.old.js', false, '1.0', false );
//For older versions of WP
}

Step 2: Rename these to files below;
1-) tinymce > js > popup.js to popup.old.js (keep original one for change)
2-) tinymce > plugin.js to plugin.old.js (keep original one for change)

Step 3: Change tinymce > plugin.js like sample below for new Tinymce; https://github.com/webbudesign/ZillaShortcodeWP3.9/blob/master/plugin.js

Step 4: Find and change tinymce > js > popup.js code below (line146-150);

if(window.tinyMCE)
{
window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, $('#_zilla_ushortcode', form).html());
tb_remove();
}

change to

if(parent.tinymce)
{                parent.tinymce.activeEditor.execCommand('mceInsertContent',false,$('#_zilla_ushortcode', form).html());
tb_remove();
}

That is it. Now this shortcodes will work with old WP and new v3.9 . Hope this helps..

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Try this one;

if ( floatval(get_bloginfo('version')) >= 3.9){
//new codes
}else{
//old codes
}
by
by
by
by
by
by