Posts by CodeBrewery

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

Hey Mel!

If I have understood you correctly, you are looking for this, which is powered by jQuery BBQ.

Have a read here to see how Isotope is combined with BBQ for a filterable portfolio.

Alternatively, this shows integration with tabs.

Let me know if this was any help!

Cheers,
Ivelin

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

Hey,

I can’t say much about your first question (saving plugin settings) because I haven’t had to do this anywhere yet.

Re: admin panel and WordPress settings, I don’t know if this is the correct/best way to handle these things but here’s what I do:

1. Check user capabilities. You can look at this Codex page for each user role’s capabilities. Then you do if ( !current_user_can('update_core') ) (for example) inside a function hooked on admin_menu and call remove_menu_page($menu_slug) where $menu_slug can be “tools.php” or “upload.php” or any top-level page slug.

Here’s how it would look:

add_action('admin_menu', 'some_function');
    function some_function() {
        if( !current_user_can('update_core') ) {
            remove_menu_page('upload.php');
            remove_menu_page('edit-comments.php');
            remove_menu_page('profile.php');
            remove_menu_page('tools.php');
        }
    }

2. The problem with the above is that even though the links are removed, the pages can still be accessed by typing the respective URL. So the page doesn’t exist in the menu but can be accessed at http://something.com/wp-admin/menu-slug.php To counter that I hook a function on admin_init which works with the global $pagenow; it trims the .php ending and compares what’s left with a set of page names like “uploads”, “profile”, “edit-comments”, etc. If they are equal, I do a simple redirect like this – wp_redirect(home_url());. Here’s the whole code:

add_action('admin_init', 'another_function');
    function another_function() {
        global $pagenow;
        $shrt = str_replace('.php', '', $pagenow);
        if ($shrt == 'upload' || $shrt == 'edit-comments' || $shrt == 'profile' || $shrt == 'tools') {
            wp_redirect(home_url());
        }
    };

Once again – this is how I personally do it and seeing how I s*ck at WP compared to the many amazing developers here, there may be a better way.

Hope I’ve given you some basic direction to solve your problem.

Cheers,
Ivelin

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

Hi Dawid,

You might want to do a search for “vertical navigation” or a similar term in the HTML category on ThemeForest. Great templates can be found there, though you may not find a 100% copy of the website you linked.

If you are decided on a custom coding job, be sure to drop me an e-mail from my profile page and we can discuss.

Cheers,
Ivelin

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

That would be Sonnet by ThemeBucket. This link takes you to the HTML version, but there is also a WP version which can be seen here.

Cheers!

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

Thanks Ruben! I was asking about staff announcing this change, but yeah, why am I even surprised that we had to find it for ourselves… ^^

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

Yeah, I can confirm about the missing stars, but there’s something else I just noticed. When viewing an author’s portfolio, just below their items you can now see a Microlancer ad. Have I missed an announcement on the forums, or was this kind of a rogue “update”? Seems to be present on all marketplaces, too.

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

Can confirm the bug spotted by @uziiuzair and also found one myself. On my author dashboard it says there are 13 comments on my item when in fact there are 15, so it’s not registering the last two buyer comments despite the fact that one of them is already 2 weeks old. Anybody else experiencing such a thing?

Oh, and did I mention that this “visual refresh” is plain ugly? Seriously guys, I feel like you are sewing patches to a piece of clothing which doesn’t have holes in it; or to put it another way, you are fixing something which isn’t broken. I appreciate your desire to visually refresh the site(s), but please listen to your community. After all, you have established strict design requirements for the items being sold on the Marketplaces, whereas at the same time you are rolling out visual changes which 1. violate most principles of UX (starting from the very top, 7 rows of stuff for a logged in author, including the bundle banner), and 2. to say are ugly will be an understatement. Sorry to be so blunt, but I enjoy seeing quality typographic decisions; as it stands now, the changes you’ve made are nowhere near to the “high quality standards” you are constantly referring to when speaking about the Marketplaces/Envato.

Just my 2 cents.

Edit: typo.

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

What @abstract-labs said. A huge +1.

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

You can either use http://codex.wordpress.org/Function_Reference/get_previous_post and/or http://codex.wordpress.org/Function_Reference/get_next_post or you can jump straight to http://codex.wordpress.org/Function_Reference/get_adjacent_post which is what the previous two functions actually use.

This will return a post object and I’m sure there is no need to tell you what to do from there in order to grab whatever information you need for the post. :)

Edit: Ah, OriginalEXE beat me to it! ^^

28 posts
  • Has been a member for 3-4 years
  • Bulgaria
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
CodeBrewery says

I’m not sure if this has been mentioned before, because I didn’t read all pages of this thread, but would reviews be required for re-rating an item too?

Don’t get me wrong, initially I was a very happy panda when I saw this thread. However, tonight (I guess, because it wasn’t there before I went to bed) one of my buyers has changed their 5-star rating to a 3-star, without any comment, support request, e-mail, or anything. So this got me thinking, will reviews be required from buyers in such cases too? Not that I’d be happy to receive something pointless like “Because it stopped working.” or just a dot ”.” as the review message, but still. In that regard – Stewart and team, please make sure the reviews can’t be shorter than X/Y/Z chars.

Oh, and what about reporting a review/rating? Sure, we (authors) all want a flawless rating, or as near as possible for that matter, but we are aware that pleasing everyone isn’t realistic. Without doubt, however, there are buyers who have a wrong perception of what an item does, or a wrong expectation of what the author’s job is (free customizations, I’m looking at you!). I do think we’d need some form of “protection” in such cases.

Finally, will authors be able to contact a buyer who has left them a review? For example, receiving a review like “Fix your goddamn item” won’t tell me much about the problem the buyer has had; so even if I genuinely want to help him/her, I can’t because 1. they didn’t mention what was wrong with my item, and 2. I can’t contact them to see if it isn’t something on their end (which most often it is). On the other hand, I’m sure buyers who leave a message in their anger will ALWAYS choose the option which gives them the highest anonymity. I am also aware of the fact that allowing authors to contact reviewing users can give a weapon in the hands of authors who can start blackmailing them, for example. Punishing such authors in a certain way is one way of dealing with this, but I say why give them this power at all if this is the expected result.

Not sure if this has been discussed here before, but can’t we have a reviews moderator (not sure who would that be, tbh) who will contact buyers who have left pointless “reviews” and inform them that if they didn’t provide a serious explanation of why they are unhappy with the item, their rating would be removed/ignored? I guess this would be too much of a hassle for something which isn’t worth it, but then again, it may inspire somebody to give a better suggestion. Hopefully!

Cheers,
Ivelin

P.S. If any of these questions have been answered in some previous pages, I’d appreciate a link to the post which does so. Thanks!

by
by
by
by
by
by