Posts by themegasm

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

anyone?

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

It’s been a month now since I submitted this wp theme, and it got soft rejected multiple times each time they come up with new reasons which is kind of weird for me. Anyways, after I fixed everything, I got this: ‘The main menu looks generic and flat’, I did a lot of improvements to it, and I ended up with the one you see currently, The file got held temporary by the review team and I finally got this:

The theme has indeed a good start but the Review Team decided that this item is not ready for release yet.

- The sidebar/menu/sub-nav still looks empty-ish, flat and generic. I understand you might want to go with this approach but the design is not up to par with our standards.

- The inner pages (including forum and shop) need a lot of improvements in terms of aesthetics, typography and visual hierarchy.

Please take your time to improve this theme and do not resubmit without significant improvements.

Now I don’t really know what to do with that menu, it’s just a menu :) also I can understand that in the shop and forum pages maybe the title of products is smaller than the price and the title of the forums is a bit small as well right? but what about the other pages? any suggestions about the menu and the other pages would be great :) thank you

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

Is there a way to add custom post types archives to nav menus instead of grabbing the link, for example I have an archive-portfolio.php page and its link for example is http://localhost/wordpress/?post_type=portfolio, so I grab this link and add it to the menu manually, Is there a way to have those links automatically available on the list? Thank you,

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says
38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

I’ve got my HTML/CSS template rejected for the following reason:

Unfortunately your submission Djoser – Responsive Multipurpose Template isn’t ready for ThemeForest and cannot be resubmitted as it did not meet our minimum requirements for quality and/or marketplace policies. In order for submissions to be considered for sale they must be of high aesthetic and technical quality, unique to our library and cannot be in violation of Envato’s policies. Please see our Knowledgebase for more information: http://support.envato.com/index.php?/Knowledgebase/Article/View/399/57/

Our Review team also provided these comments:

We have reached a point where we have enough of these minimalistic designs. If your design doesn’t bring anything new to the table, unfortunately it can’t be accepted.

If you want to submit any more files that falls into the similar-items category they not only have to be up to our standards, but really outperform any existing ones.

My question is, is there something I can improve to get accepted or should i forget about this one? here is the link

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

Strange… Something like this for the plugin call/initialization:

$(’.myElements’).plugin({ ‘setting1’:’value1, value2, value3’, ‘setting2’: ‘value1,value2,value3’});

Then in your JS, your defaults will look like any standard jQuery plugin (key/value), except your values are strings that can quickly be converted to arrays for use in loops/other situations. Inside your plugin JS file you’ll initially be dealing with 2 objects, the defaults object and the options object. (sorry if some of this is a already a big duh, but hopefully others can benefit from this as well). The defaults object contains the static settings set inside plugin. The options object contains the settings (not necessarily all of the plugin settings) passed in from the user. At the beginning of your plugin, both objects are merged together ($.extend). This uses the settings from the options object to overwrite those in the defaults object. We’ll save this into a new object called “settings”.

At this point, the user has passed in $(’.myElements’).plugin({ ‘setting1’:’value1, value2, value3’, ‘setting2’: ‘value1,value2,value3’});

So, settings.setting1 will be a string of ‘value1,value2,value3’

After settings are merged in the plugin, I like to call a quick method that cycles through the new merged settings object and does unit/type checks on all of the options. This is very handy since it keeps code down to a minimum (you don’t have to worry about writing parseInt, parseFloat, to string, etc a billion times in your code, and it makes the important code a lot leaner and easier to read. Setup all of your setting values at the beginning is a logical way for you to work with throughout the rest of the code. Just call a quick method/function to handle this, or if you only have a few settings, do it right in beginning.

This is the place to use .split on your settings :)

var mySetting1Array = settings.setting1.split(’,’);

That command will update that setting and convert it into an array, splitting at the comma. Then you can just use alert(mySetting1Array[i]).

That way, users can enter something like this:

.plugin({ ‘x’: ‘10,20,30’, ‘y’: ‘20,40,60’ });

Which is very easy and straight forward to read. The plugin merges the user’s X and Y settings over the plugin’s default X and Y settings – saving to a new object called settings. Then, a function/method is called to cycle through, update all of the setting values – which is where they are split into arrays. It takes the load off of the user and places it in your plugin. :)

You’re alerting the options object (which is the object the user is passing in, so the value would still be a string – if you’re using this approach). After you split the string by comma (or any other character you want), you’ll be able to alert the ArrayName2

Hopefully this helps :)

Thanks for your time, I’ll read this long post and try to get the most out of it. Thank you :)

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

Absolutely possible, but just keep in mind the end user. Simple key, value pairs can be confusing to some customers so keep it simple. I’ve found that something as simple as {‘x’:’20,40,60,80’ , ‘y’:’25,45,65,85’} is a simple format that many users are already familiar with and is still fast and flexible. For example, this could allow users to animate an element through an infinite set of x/y coordinates. All you need to do in your plugin code is SPLIT the value by comma, which creates an array. The number of items on the array is the number of points the user wants to animate through. You could then setup a delay, and a time setting in a similar, comma-separated and very straight forward fashion, allowing the user to control the speed and delay at each point. Then just setup a loop (where i is the length of the array) and use the xArray[i] or yArray[i] to grab each specific coordinate point for a .animate or animation FOR loop. This format is easy for users to understand, provides a ton of flexibility as far as scaling to what the user wants, can be used in a ton of different situations from switching through elements, animating through colors, coordinates, etc, and is fast. Make sure to do all of your unit checks and array length checks and this will allow users to pass in a simple string like they are used to and keep things simple on the user end. :)
The problem is that when I test getting a value from the array like so: alert(options.array[2]) it gets weird and wrong values :(
38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

Depends on whether or not the plugin accepts that. It has nothing to do with jQuery. What you posted looks like valid javascript code, though.

I’m developing a jQuery plugin and I want to make that option but it’s not working :)

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says

Is there a way to pass an array to a jQuery plugin options like that:

defaults = { x: 300, y: ['32%','33%','34%','36%','37%','32%'] }

it’s not working with me.

38 posts
  • Referred between 1 and 9 users
  • Egypt
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
themegasm says
by
by
by
by
by
by