jcnetsys
Forum Replies Created
-
It is for users who want do give access to different groups of people but might want to revoke one groups access without having to reset password for everyone. I am currently working on a new version and will consider adding the functionality you want.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Google storage compatibilityA test was carried out here: https://blog.cloudharmony.com/2010/06/google-storage-cdnstorage-hybrid.html
and https://cloudharmony.com/speedtest
As you can see from results (seconds link is better) it is extremely fast and reliable – with high content replication.
It is possible to get that error without doing anything wrong (i’ve had that before) after a refresh it usually disappears though.
Forum: Plugins
In reply to: Registering Class methods as hook callbacksI was correct. You can pass $this as a parameter.
Forum: Hacks
In reply to: Multisite global settingsNot normally but it is possible.
Forum: Hacks
In reply to: Multisite global settingsFound it. get_site_option, update_site_option. On a network site that is global settings.
Forum: Hacks
In reply to: Multisite global settingsGlobal tables? As far as I can see each site gets its own options table. I cannot see an option table that isn’t associated with a site. I was going to just use the site with id 1 to store global settings (under a different key) so that all sites could just reference that to fetch the global settings. However what if the user deleted the original site? Then there wouldn’t be a site with ID 1 and that would fail.
Forum: Plugins
In reply to: Registering Class methods as hook callbacksI’ve taken a look at the source – WordPress doesn’t do anything special with the variable. It just calls ‘call_user_func_array’ with the function name as a parameter.
So basically I now need a way of getting the variable that the instance has been assigned to from within the class like:
class bob() { public function getInstance() { return object name//THIS IS WHAT I DON'T KNOW } } $gary = new bob(); $gary->getInstance();//returns 'gary'
That plugin doesn’t have a username. Why would you want a username? If you want multiple users then you should use wordpress’ built in users system.
Forum: Hacks
In reply to: Lots of questions about plugin developmentThanks Helen
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Google storage compatibilityHi,
That is correct yes. Are you having issues?
Regards,
Daniel ChatfieldThanks for that cliffseal. It will be fixed in next update.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Google storage compatibilityForum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Google storage compatibilityAlso note that you may have to wait for a few minutes after activating the plugin for all theme files and uploads to be transferred to google storage. The upload happens silently all the time that a user is logged in to the admin panel or alternatively you can go to the google storage page to see what is being uploaded.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Google storage compatibilityHi ijaas,
Very much WIP at the moment but I’ve uploaded my plugin (link below).
You’ll need to have a google storage account (signup is free) and have created a bucket.Open index.php and set the bucket and site name on lines 16 and 17 and then fill in your access keys on line 47 which you can find out from here: https://sandbox.google.com/storage/m/manage
The site name allows you to have multiple sites delivered from the same bucket.
https://sandbox.google.com/storage/development_trunk/google-storage-cdn.zip
If you require some assistance or have any questions / feedback. Then please email me webmaster [at] spiders-design.co.uk.
Regards,
Daniel Chatfield