Posts by RubenBristian

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says


I think that i’ll settle with adding a message like “if this is a new install, dismiss this message” :)
Sometimes the most simple option is also the most effective :)

:D

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

^ Yeah, i know.. I never needed to do this until now, so i never though to register the theme version as an option in the db. I think that i’ll settle with adding a message like “if this is a new install, dismiss this message” :)

Thanks for your input!

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

From what i know, Vimeo videos can be embedded without any consent of the author. But to take cuts from the video and host them you should contact the author.

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

Hi

Is there a way how i can check if a user is updating the theme vs a new installation? I want to show a basic information message to users who update, but not to users who install the theme. This is the code i’m currently using:

add_action( 'admin_notices', 'krown_update_notice' );
function krown_update_notice() {
    if ( get_option( 'krown_updated_20' ) != 'yes' ) {
            echo 'MESSAGE HERE';
            printf(__('<a class="button button-primary" href="%1$s">Update Content'), '?krown_update_done_do=0');
    }
}

add_action( 'admin_init', 'krown_update_done_do' );
function krown_update_done_do() {
   global $current_user;
    $user_id = $current_user->ID;
    if ( isset( $_GET['krown_update_done_do'] ) && '0' == $_GET['krown_update_done_do'] ) {
        add_option( 'krown_updated_20', 'yes' );
        krown_update_setup();
    }
}

The code above shows a message with a button, and after the user clicks the button, a function runs and the message will no longer appear. However, this message also shows for users who install the theme from scratch. Is there any easy method to prevent this?

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says


How you do you know that they purchased a single license? Do you see this somehow or are you asking them? How do you ask them?
What I ask then is that they paste both license codes into the ticket for me to verify (Revaxarts dashboard plus), usually this is met by confusion over the license terms from the buyer.

Cool! I should start doing this! :)

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

How you do you know that they purchased a single license? Do you see this somehow or are you asking them? How do you ask them?

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

but it’s broken in the latest 3.9 version of WordPress, due to the TinyMCE update.

Can’t you fix the plugin? It’s not that hard to write a quick fix for shortcodes in order to make them work with TinyMCE 4.x.. In a few hours you can easily fix the plugin. Here’s a good starting point: http://www.derby-web-design-agency.co.uk/blog-post/how-to-create-a-dropdown-box-in-wordpress-3-9-and-tinymce-4/28/

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

Use global $wp_version; instead..

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

Do I have to sign in to another account, purchase my own theme and then test the API key from that account? Is that the only way?

Yes. And while you’re at it, give yourself a five star rating. You deserve it! :)

3255 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

If you have downloaded the HTML template there’s no chance. Otherwise you might get a refund.

by
by
by
by
by
by