Posts by UXbarn

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

@PrimaThemes

Hmm. Actually that is the point that I’m confused as well because Visual Composer is a plugin that provides page builder feature. Regarding the requirement phase one, it said:

Bundled plugins must be included via the TGM Plugin Activation class, which manages plugin dependency and plugins can be installed from WordPress.org or a bundled ZIP file (more options coming soon).

Especially on the phrase “or a bundled ZIP file”. So I think authors need to use TGM for that then I posted this thread questioning about the plugin’s extended license.

For the phase two about page builder, in my opinion, I think Envato is talking about the page builder feature that theme authors don’t need to make it as a plugin.

But … Visual Composer is both plugin and page builder in itself. Then? :S

Was there any statement from Envato about this kind of situation?

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

Hi everyone,

I’m wondering that do I need to use TGM for activating the Visual Composer plugin to pass the submission? I currently integrated the plugin using the official instruction from the plugin author.

I know that the new submission requirement said that we need to use TGM for incluing any plugin. This is fine for any plugins from WP.org repository but what about a premium plugin like Visual Composer with extended license? Wouldn’t packing the plugin zip file and using TGM to load that package be against the term of the license? Or that’s fine, and I need to use TGM in all the cases?

Just want to make sure on this question. Do you know a clear-cut answer to this?

Thanks.

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

I just got 2 sales reversal in a row. That’s annoying I’d say. Not sure whether their purchase codes are still valid after the reversal?

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

Really great. Thanks for sharing!

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

Happy birthday to both of you guys! :bigsmile:

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

Congratulations! You would surely achieve the Power Elite very soon! ;)

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

Congrats! :)

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

Yes, I’ve been using it like that. The function is called in header.php.

After I did var_dump the output like:
..
$attachment = get_post($attachment_id);
echo var_dump($attachment);
..

The object was fetched properly but the outputs were printed out multiple times. The first output is displayed correctly but the second is NULL (in fact there should be only the first one here). :/

I noticed that the problem happened only when I opened the archive page that uses “taxonomy-portfolio-category.php” file and there’s no item to display (no item in the category). If there are some items, the error notices won’t show up.

What I’m curious the most is actually nothing’s wrong with the page result but the error notices showed up. Not sure what I’ve done wrong. Do you have any ideas? :stress:

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

Hi everyone,

I really have no idea when using a custom function to get the attachment object and it throws error. Here is the code:

function get_attachment($attachment_id) {
        $attachment = get_post($attachment_id);

        return array(
            'alt' => get_post_meta($attachment ->ID, '_wp_attachment_image_alt', true),
            'caption' => $attachment ->post_excerpt,
            'description' => $attachment ->post_content,
            'href' => get_permalink($attachment ->ID),
            'src' => $attachment ->guid,
            'title' => $attachment ->post_title
        );
    }

The function is placed in functions.php file. When I call this function in header.php, it returns the error of “Trying to get property of non-object” for all array values. But when I do var_dump the ”$attachment” object, it is there and its attributes are all available as usual.

Not sure what’s wrong with that. Any idea? :/

Thanks.

449 posts Keep Walking
  • Has been part of the Envato Community for over 4 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn
says

@Jaynesh – I think using any shortcodes from Visual Composer should be fine because it is a plugin.

For the latter point, I used to ask Japh previously about extending some code from the plugin and he said the extension or overriding stuff should be in the theme.

Note that the discussion is on page 15. :)

Edited: Hmm. Perhaps I misunderstood your latter point. If what you mean is about where should any “new” custom shortcodes reside (not just the overriding code for existing ones), I’m not sure about it either. Maybe in our own plugin I guess. :/

by
by
by
by
by
by