Tim Nash
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: .svg filesThis article probably help
http://css-tricks.com/snippets/wordpress/allow-svg-through-wordpress-media-uploader/
Might need to read a few of the comments to get image icons showing in 4.1Also Chris has a great general article on SVG worth a read as they are not always a drop in replacement for other file types. http://css-tricks.com/using-svg/
Forum: Fixing WordPress
In reply to: Too many pages – menu scrmbledIs your question there are no experts? In which case the answer is no there are plenty of experts here.
However I really don’t see a question, other then saying the technical support clerk was wrong, there are numerous very large WordPress sites that are media rich.
The issue is most likely less to do with WordPress performance then that of your host it is on.
If you have a specific question, we will be happy to help
Forum: Fixing WordPress
In reply to: Questions about wordpressThat’s a lot of questions, and a bit how long is a piece of string in terms of answers.
I’m assuming you are using WordPress.com so a good starting place is https://en.support.wordpress.com/com-vs-org/
The .com has some functionality a lot of which is replicated using the Jetpack plugin, so if you are a .com user that is probably your first place to look at.
As for plugins there 36k+ plugins available on .org and hundreds if not thousands more elsewhere on the web, most provide functionality not found on the .com version.
As for costs that really is not a discussion best for here, and you will here quotes from a few dollars a month to tends of thousands. It depends on your need and your budget.
Forum: Everything else WordPress
In reply to: WP REST API – when to use it?The REST API offers a lot of possibilities 🙂 so I think for a lot of cases I would probably end up using the REST-API though obviously its very much on a case by case basis. So not sure if I would mainly use it, but I certainly would use it, where I thought it was a good fit.
To give you an idea of a couple of places where I’m currently using it, one for Mobile apps, combined with PhoneGap, Admin interface for internal plugins, with extended API for plugin data and using Backbone for the interface. I’ve also played around with Backbone “onepage” app front end which was interesting experiment, though I really am only just getting use to backbone so was a bit hacky.
Forum: Plugins
In reply to: [Sharexy - Powerful Social Sharing Buttons] Security problemSo I didn’t do a plugin audit, I simply grep’d for a couple of functions and compared checksums for a few files. Hopefully though this has stirred you to do your own code audit or get someone in to do one.
Also it’s worth remembering both this thread and the code repository are publicly accessible including code revisions. If you feel perhaps you want to expand any more or perhaps put in a couple of corrections now would be a good time.
Forum: Everything else WordPress
In reply to: WP REST API – when to use it?So the REST API is coming to core the version that is available on the plugin is more a preview then the finished product.
The REST API has been coming to core for a long time, however there is perhaps more momentum around it now then there has been historically.
It is easy to use an to expand, but any expansions, at the moment will rely on the user having the API plugin installed. Which leaves an uncomfortable dependency especially for themes.
For my own take, I use the REST API as is currently and expansions, I have several internal plugins that make use of it and extend it as well as using it within themes. However I while I would be happy to add end points to WP-API in a plugin today, in the same way I would do so for WP-CLI I would not personally use it as a core of a product which I intended to distribute.
So for me it’s stable, it’s useable and it’s helpful perfect for internal projects, client projects etc and certainly something you could put at the core. It’s worth providing options for extracting data but you can’t rely on it being on an install.
So for distributing unless you fancy the fun of dependency hell it may be worth waiting.
This is just my 2p worth though, and a counter to this, the more its used, tested, and issues raised the quicker it will get into core, so if people start to use and depend on it large scale, which can only happen really with public distribution the quicker it will come.
Forum: Fixing WordPress
In reply to: Create electronic form for WordPressNot really sure, making something look like a Word or PDF is what you want, you mean you wish the form to generate the contract with prefilled data into the PDF?
Some of the form plugins like Ninja Forms or Gravity forms have PDF generator available as addons. Tracking down an entirely free option might prove more difficult but there are PDF generating plugins in the plugins directory.
Alternatively you will be looking at custom work.
Forum: Plugins
In reply to: [Sharexy - Powerful Social Sharing Buttons] Security problemTo put folks mind at ease, I’m a bit confused why the file was there, I can see in the latest release it was removed, but it would appear no other files were changed. So either it wasn’t being called or somewhere your code is breaking?
Also you might want to make it clear in your change logs, that this was a security release .
Forum: Fixing WordPress
In reply to: WordPress reverse proxy and wp-admin login issuesok let’s start with the simple part should I edit WordPress core….
No.
Editing core is not the answer to problems and in this case is certainly not the answer, would commenting out the check the to make sure we are on an admin page be a bad idea? Think about that for a few seconds, yep I agree that sounds like a terrible idea.
So why is this not working properly?
I’m guessing cookies are not being set or passed over correctly while you didn’t explicitly say so I’m guessing you are doing SSL offloading, where HAProxy is acting as the SSL end point and is then communicating to NGINX over http?
Rather then the whole route being over https, if so you need to configure cookies on HAProxy http://blog.haproxy.com/2014/01/30/how-to-protect-application-cookies-while-offloading-ssl/
Assuming that’s not the case the second place to look is to make sure you are passing over HTTP_X_FORWARDED_PROTO so in your configuration for HAProxy you should be seeing something like:
reqadd X-Forwarded-Proto:\ httpsDigital Ocean have a pretty good how to https://www.digitalocean.com/community/tutorials/how-to-implement-ssl-termination-with-haproxy-on-ubuntu-14-04
Finally did you clear your cookies out entirely in your local browser, if you have been testing you might have a mix of http and https cookies.
So do not edit the core, fix the issue which lies between, either with your HAProxy setup, NGINX or your WordPress config.
The paths and domain would need to be changed regardless when hosted on your server, your files are not actually being stored in the servers root directory (if they are you have a seriously broken server) more likely it’s either the user root, or a dedicated folder like htdocs.
Either way when migrating you will need to make a few changes to the db for domain names etc so hosting it in your sub-directory will not cause issues.
Forum: Fixing WordPress
In reply to: Form management pluginVery much a piece of string of question, their are plenty of form plugins out there, for free the biggies include Contact Form 7 and Ninja Forms. There is also paid for solutions like Gravity Forms and plenty of others.
So worth looking at https://wordpress.org/plugins/
Forum: Fixing WordPress
In reply to: Raspberry Pi ProblemsThis sounds like an issue with either your DNS provider or your setup of Apache on your PI both of which are outside of the remit of these forums, but very cool to hear folks running WordPress in unusual setups.
Might be worth asking on one of the Pi forums.
Forum: Fixing WordPress
In reply to: Hide Code From Page Source?The video itself is not hidden, or even obfuscated it’s just that the JWPlayer has a pile of javascript incldued with it. You could do the same thing, by installing the JWPlayer plugin if you wanted.
However doing so won’t hide the video any more then on the putlocker page.
Forum: Fixing WordPress
In reply to: Changing bullet point to imagesPlease make sure you put any code in between code tags, by hitting the code button adding code and hitting code button again, otherwise you might accidentally break the forums.
Forum: Plugins
In reply to: [Sharexy - Powerful Social Sharing Buttons] Security problemNote reset this to not resolved, as the issue remains, and simply saying “fixed” doesn’t sadly fix issues.
For anyone watching this thread, anyone who knows the location of that file on your server, will be able to send an email message to well anyone.
If that’s not bad enough creating effectively an open relay, it’s really badly coded to suppress errors that might occur.