Posts by pixelentity

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

We just had a very nasty issue in a recent theme: some buyers complained about “Headers already sent” warning upon theme activation which caused massive boos like getting blank pages, being unable to login or create new pages and so on.

The issue was caused by a single extra (damn) newline char placed after a closing ”?>” in one of the theme classes file but the real question for us was “how the f**k this didn’t happen with any of the multiple wp installations running on different servers/platforms where we had tested theme ?”

So today, after a bit of research, we figure out that when php outbut_buffering option is enabled, you most likely never get a “Headers already sent” warning. We had it enabled in all our php installations like any other buyer not experiencing the issue.

Our friendly advice would be to turn that option off for your testing machine, i don’t know if theme/plugin installation is part of the review process but if it’s the case, reviewers should also disable output buffering.

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Elite money is not free money. It requires 24/7 work
it looks like somebody missed last “Elites” magazine “Grow your own money tree” article ….

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

payoneer: instant money, has private load and free (no fees) card-to-card transfer up to 5k per month.

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

care to share the full code. did you add it in a filter function?
yeah, same as quoted example, inside a “the_content” filter

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Wow, does this really resolve all cases? That’d be cool :)
    add_filter('the_content', 'shortcode_empty_paragraph_fix');
    function shortcode_empty_paragraph_fix($content)
    {   
        $array = array (
            '<p>[' => '[', 
            ']</p>' => ']', 
            ']<br />' => ']'
        );

        $content = strtr($content, $array);

        return $content;
    }

yes but still there’s a major issue: it gets applied to all shortcodes, including those defined in 3rd party plugins (which is bad).

just spent some time on this, and replaced the above with some regexps:

https://gist.github.com/3776987

It basically works the same way but only on your blocklevel shortcodes defined in the array (“col” in the example)

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

there are 3-4 topics about that every day.
not to mention the ones posted in items comments, sent by author profile form or posted to dedicated support forums.

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Our intention is not having buyers to sign a life contract with us when selling them our theme and we’re defo not against a clear separation of functions/presentation in plugins/themes.

What we think it will never work here is each author shipping his own custom plugins to handle shortcodes and cpts, meaning plugin from author A not being compatible with ones from author B because of different names/parameters and so on. How the hell this is supposed to make buyers life simple is beyond me.

Now this thread kinda evolved since the original opener posted his question and the above situation is very different from all (or most) authors using the same plugins. Which do not exists yet or, at the very least, there’s not a general agreement between authors on which ones should be used.

I can see this happening on TF only if Envato release such plugins on wp.org itself, providing support and keeping them updated with authors being able to give feedback on bugs and request missing features.

Then a “Compatible with Envato $coolname” option would be added to item page, allowing users to filter the set and only show compatible themes. When buyers know they can switch between any of them with minimal (if any) pain, they will most likely pick one of those instead of a “franken-theme” and you’d slowly create a trend.

More and more authors will join the club, not because a rule forces them to but only because not doing it may cost them sales.

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Nonsense. TF theme authors could easily code a plugin for use with their themes in which the CSS and JS necessary to power the functionality could be overridden by including specific files in the theme directory itself. It actually makes it easier for TF theme authors this way since authors can offer a consistent operational experience across all of their themes from a single plugin codebase, and yet still offer each theme a specialized look for that functionality.
sure thing, i can tell by the number of top TF theme sellers posting in this thread, there’s a serious interest in building a common framework.

which would also be pointless since, by the look of things, only a couple of authors here know how to code themes.

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Im guess the better question is what dont you think could be done? the only thing I could really think of is if the plugin used A script for a slider shortcode and you wanted to use b script instead , it could be filtered(but wed still be at the same issue as the start it would break on theme change)
Which is why it will never work: complex shortcodes like gallery, slider, filterable portfolio requiring all kind of custom css/js.

btw, since this common shortcode component doesn’t exist (hardly believe it ever will), the original question still remain unanswered.

By moving theme features in custom plugins, who’s going to support the buyer when nothing works out of the box ?

BF

493 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

have you heard of filters? a properly developed plugin this wouldn’t be an issue, as long as authors use those filters(and modifying the styling) real question how many buyers actually use shortcodes?
yes and ? a bunch of filters in this collective shortcode plugin will cover every author needs so it could be used into each TF theme ?

can we assume whoever posts in this thread actually knows what he’s talking about ? because a certain wordpress evangelist tone assumed more than once in this thread starts to get really annoying.


real question how many buyers actually use shortcodes?
a lot. They even asks for more and somebody pay for custom ones also.

BF

by
by
by
by
by
by