kingstonrichard
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Asking for FTP details when removing themesSo, the final result was to effectively reset all directory and file permissions back to the WordPress defaults as part of the Vagrant provisioning script.
codex.wordpress.org/changing_file_permissions contains more detail but I used these 2 commands:
chmod 755 $(find /DIR -type d)
chmod 644 $(find /DIR -type f)Hope it helps someone else out.
Cheers
Forum: Localhost Installs
In reply to: Asking for FTP details when removing themesOK, so an update for anyone else struggling with this problem, I’ve launched clean versions of the vagrant box on both my Windows host and my Ubuntu host. So to recap, this is the same Ubuntu box running virtually on 2 different hosts.
Using vagrant ssh I’ve connected into each box and with cmd/terminal I’ve traversed to the themes directory and run ls -alh and to my surprise noted different permission levels:
From the Windows host (which doesn’t ask for FTP permissions):
drwxrwxrwx 1 vagrant vagrant 0 Jul 22 09:47 .
drwxrwxrwx 1 vagrant vagrant 0 Jul 22 09:47 ..
-rwxrwxrwx 1 vagrant vagrant 30 Jul 22 08:19 index.php
drwxrwxrwx 1 vagrant vagrant 0 May 8 17:45 twentyfourtee
drwxrwxrwx 1 vagrant vagrant 0 May 8 17:45 twentytwelveFrom the Mac host (which does ask for FTP permissions):
drwxr-xr-x 1 vagrant vagrant 0 Jul 22 09:47 .
drwxr-xr-x 1 vagrant vagrant 0 Jul 22 09:47 ..
-rw-r–r– 1 vagrant vagrant 30 Jul 22 08:19 index.php
drwxr-xr-x 1 vagrant vagrant 0 May 8 17:45 twentyfourtee
drwxr-xr-x 1 vagrant vagrant 0 May 8 17:45 twentytwelveSo, it looks like the Mac instance of the box is missing some write permissions on files (and folders?) – actually this goes all the way up the tree structure to the WordPress root.
Forum: Localhost Installs
In reply to: Is localhost what I'm looking for?Hi Maggie,
If all you’re wanting to do is search through photos with info on them, have you considered registering an account on something like Flickr?
I work for a large organisation and we have a Flickr account that contains thousands of photos, grouped into albums and ‘sets’. We can search them, upload new ones, delete them, etc.
Only people with the username and password can get in and access them, and best of all, Flickr give you loads of storage space for free so to date, it hasn’t cost us a penny.
Appreciate it may not be a perfect solution, but I hope it helps.
Forum: Plugins
In reply to: [Press] Default select news categories?I wasn’t suggesting specific categories Matt, more a feature that everyone could use with whatever categories they add.
Imagine landing on the Press settings page and seeing a list of all the categories currently in use. Besides each one, an option to tick “Selected by default”.
When we then hit the Add New button in the plugin, any categories we’ve defaulted will have a tick in them already.
Do you see what I mean?
I can add it into the JS for now, but thought it might make for a nice feature.
Forum: Plugins
In reply to: [Press] Additional RSS categoryOk Matt, no worries.
RE the news fix, it looks like the plugin is outputting // at the beginning of the links when the $slug is empty.
I’ll rectify that now – sorry I thought you’d sorted it.
Forum: Plugins
In reply to: [Occasion] Date formats on renderAdditionally, would it be possible to have a setting to hide minutes on times if they are 00?
Our time formats are 12:50pm or 1pm if the minutes are 00.
Perhaps a checkbox on the settings page?
Thanks
Rich
Forum: Plugins
In reply to: [Press] Additional RSS categoryThanks Matt,
Bug fixed – by you 🙂
As an extra ask on this, is it also possible to be able to pass in a date range to further customise the feed?
Specifically for a MailChimp campaign, I’d like to be able to get a feed of all the items published in the last 7 days that are tagged with a certain news category.
Cheers
Rich