Posts by Smartik

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

... (excluding images)...
And that would be an easy task to replace the images with autogenerated placeholders. It can be done on export, but also on import. The question is which one is better and why. :)
1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

I’m not interested anymore to get any badges. I wish to have an option to disable them all. The old ones were perfect.

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

Ehh, mate, it’s gone :P You had it for only two days, Anyways congrats. ;)

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says
1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

There is a bug when I try to see all badges of a user in the forums pages. If I click the link “+XX more” it works as expected, but if I click somewhere close to this link all badges disapear. I think developers should look into this and fix it.

Here is a video:
https://www.dropbox.com/s/2ovz6m29uqspzm4/scr-00088-005.wmv

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

@tinyamasisurum0, I made the extension because I know, Envato will not change the homepage, that’s for sure. From start I made it just for me, but I think it is nice to share with the community.

@greenline, I must agree, some users may find the search form handy, but not me. I occasionally use the search and when I do, it is not from homepage but from top. That’s why I decided to remove it. Also I prefer to see the new items when I go to homepage and just after this to see other info. Now I feel better with this extension. :)

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

Hey.

If you are tired and don’t like how the homepage of each EnvatoMarket is designed and also you want the new items to be on top of anything else then this Google Chrome extension is for you.
It works with all marketplaces!

I’ve made it because I want to see the new items when I access the homepage, not that big(and unfortunatelly useless) search form and the same items from featured and following sections. Ohh, man…

Here is how it looks like after the installation: https://www.dropbox.com/s/3oqzu77893olb61/scr-00087-004.png

Get the extension here:
https://chrome.google.com/webstore/detail/envmakeup/ilepjeegbnlckeebabjeklcgagnhkmmm

Check the source code on Github:
https://github.com/Smartik89/envMakeup

I hope you’ll find usefull this small piece of code. Thank you. :)

Andrei.

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

The color of menu links are blue, but they should be white. That’s the problem.

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says
When working with arrays, most of the time you don’t know what they contain, that’s why using foreach solves this problem. Here is an example:
$available_cars = array(
    'BMW'   => array( 'X1', 'X3', 'X5', '520 d' ),
    'Audi'  => array( 'A1', 'A3', 'A4', 'A6' ),
    'Honda' => array( 'CR-V' ),
);

foreach ($available_cars as $make => $models) {
    echo '<h1>'. $make .'</h1>' . PHP_EOL;
    echo '<div class="models">' . join(', ', $models) . '</div>' . PHP_EOL;
}
This code will return the following:
<h1>BMW</h1>
<div class="models">X1, X3, X5, 520 d</div>
<h1>Audi</h1>
<div class="models">A1, A3, A4, A6</div>
<h1>Honda</h1>
<div class="models">CR-V</div>

Suppose that $available_cars is from database and we don’t know how many cars it contains and how many models each make has, without foreach there is no way to output them to the end user.

Hope you got the idea. ;)

1119 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
Smartik says

To iterate an array. Pretty simple and obvious, not?

by
by
by
by
by
by