tomk-m
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Forms] Stripped JavaScript breaks Single Sign On pageHi Mike,
I’ve had a quick hack around but you’re right, as it’s the web server interacting instead of the browser it won’t work.
I’ll just have to let our users know that if they want to restrict the Google form then they will need to have Single Sign On set up for their blog.
Thanks,
Tom
Forum: Plugins
In reply to: [Google Forms] Stripped JavaScript breaks Single Sign On pageIf I don’t restrict the Google Form to only members of our organisation the plugin works as expected, although there will be times when this is not possible.
Forum: Plugins
In reply to: [wpDirAuth] Multisite with different settings on some sitesI did deactivate the plugin before upgrading, so maybe something else was going on.
Thanks for the updated script, I’ve modified it so that it uses WPDIRAUTH_MULTISITE to determine whether to get/set blog-specifc or network-wide settings. The diff is here http://pastebin.com/H8ChJvdJ and the full file is here http://pastebin.com/ieLCETAA.
I could see how this could cause issues but it fits my use case exactly.
Thanks,
Tom
Forum: Plugins
In reply to: [wpDirAuth] Multisite with different settings on some sitesI’ve tested network deactivating the Dir Auth plugin and activating it on all blogs, but this still doesn’t work as changing the settings for one blog changes them for all blogs, i.e. it’s reading writing to wp_sitemeta. I think something must be a bit screwed up with my setup, I’ll have a dig through the code/data to see if I can get to the bottom of it.
Forum: Plugins
In reply to: [wpDirAuth] Multisite with different settings on some sitesI upgraded from 1.6.1 to 1.7.6, the plugin has always been network activated (as far as I know, I inherited this a few years ago). Last time I tested it I did get the behaviour you mention, with the settings in the Network Admin area. But this time the settings are showing up for each blog, as it did in 1.6.1.
I didn’t think about the complication of the users.
The situation is that I have various blogs are restricted to registered users of the network (using the Network Privacy plugin). This allows on those with a WP user to see the site, which on our setup is restricted to those users with an LDAP/AD account, i.e. staff and students. On some blogs we have restricted access to staff only, to do this we’ve selected the “restricted to registered users” option and changed the base DN in the Dir Auth settings to just the staff container, this prevents students from being able to see the blog.
I do have a workaround which I’m going to test which could resolve the issue. When I upgraded I also installed the Multisite Plugin Manager which lets me install a plugin on all blogs at once, this would let me network disable the Dir Auth plugin and install it on all blogs with one click. I’ll test this tomorrow and see if it resolves the issue.
Thanks,
Tom
Forum: Plugins
In reply to: [wpDirAuth] Multisite with different settings on some sitesThe behaviour has changed since I last tried this above. Back then (I’m guessing it was 1.7.5) when you network enabled the plugin on a multisite install it would give you one Dir Auth settings page in the Network Admin dashboard settings.
Now in 1.7.6 when you network enable the plugin on a multisite install you get the Dir Auth settings page on each blog. When you first do this you get a blank settings page as it is trying to retrieve the values from wp_sitemeta. The wpDirAuth_activation function doesn’t help as the settings are in the per-blog options table wp_xx_options.
Now if I change the settings on the Dir Auth settings page of any blog it updates the settings for all blogs as it is reading/writing them to wp_sitemeta. The previous settings are still in the per-blog options table but it is not using these.
Ideally I’d like to be able to set the Dir Auth options globally, with the option to override the settings on a per-blog basis. i.e. if the settings are set in wp_xx_options use those otherwise default to the settings from wp_sitemeta.
Is this doable?
Thanks,
Tom
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Twitter TimelineThe problem is as described by Parham above. If I change the wp_enqueue_script not not use a protocol-agnostic URL for Twitter’s widget.js in modules/widgets/twitter-timeline.php then the widget works as expected.