Posts by nathanrice

3 posts
  • Has been part of the Envato Community for over 1 year
nathanrice says
I’ve been using recaptcha in contact form. If you have better idea how to prevent spam I would like to hear it.

Perhaps try not including a contact form with a theme.

The person who mentioned the arms race above is 100% correct here. Theme developers, especially on Theme Forrest (for some reason) think the best way to attract customers is to pack in “features” like their life depended on it. OMG , my theme comes with a contact form, 100 shortcodes, ecommerce, caching, facebook integration, and faux forum capability! It must be the best theme!

3 posts
  • Has been part of the Envato Community for over 1 year
nathanrice says

Outputting into JSON file still require file writing, it’s no simpler than XML export/import.

And that’s less preferable how? The “copy and paste this seemingly random code from one site to another” is extremely inflexible, from the user’s perspective. Generating an export file is better for the user in almost every single way.

But yes … it is harder for you. So there’s that.

Coming from someone who has built a theme that gets used on millions of sites (yep), your customers will appreciate you putting their experience first, rather than selling them a product that was easiest for you to build.

3 posts
  • Has been part of the Envato Community for over 1 year
nathanrice says
if you have a better alternative then I’d like to hear it here.

Better than base64 encoding? For exporting an array of data? Seriously?

PHP serialization. JSON Encoding

Either one of these works perfectly well. I prefer JSON , myself. Easy, turns an array into a JSON string that can be spit out to a .json file, the data is EASILY read by the json_decode() function … straight back into an array.

by
by
by
by
by
by