markpea
Forum Replies Created
-
Your enquiry is best directed to Stack Overflow.
Forum: Plugins
In reply to: [Simple LDAP Login] LDAP Authentication for all but AdminsI am planning to do exactly the same thing. Here’s how I plan to configure :
In Simple LDAP Login plugin: [Advanced tab]
- LDAP only — uncheck
- User creations — check
This allows users to authenticate and user accounts in LDAP who are new to WP to have accounts automatically created.
Allow Admin direct access :
In WordPress : Network Admin- You must already have an Admin account
- in Network Admin > Settings > Registration setting > Allow new registrations : Disabled
-
Now the existing Admin account can login but new users cannot create local accounts — they are defaulted to authenticate via LDAP.
I think this should work if your LDAP connection is working.
@aaronkeith, may I make a suggestion?
In practice, you are not going to find a wordpress theme that is designed with square aspect ratio featured images in mind (unless you create it yourself). But you can fit your square CD images into the required format by some fairly easy manipulation in Photoshop or other favourite graphics app. Here’s how :
- open the CD image up in P’shop and resize to 450 px square.
- in a new window create a new image with canvas size 930px x 450px, and transparent background.
- copy the resized image and paste into the new window, aligning in the centre (this is easy on the screen).
- now save as web image in png format (if you want to retain transparency) or jpg (if you don’t care).
Now all your featured images will appear complete in square format with 240px of margin on either side. This should look better than auto cropping the top & bottom from a square.
Hope this helps.
Cheers
MarkForum: Everything else WordPress
In reply to: need Key and Secret to configure WordPress to Canvas LMSThe WordPress entry in the Edu App Center tells you what to do.
Basically, you download and install the WordPress LTI plugin (from the link above). You’ll have to do this manually and then install into
wp-content/mu-plugin
(not wp-content/plugins). Then in the Network Settings you’ll see the LTI Consumer keys which you use to configure the Canvas course.Note also that this only works with WordPress Multisite (see the #1 requirement on the WP page link above) so if you are using the single site option you’ll need to reconfigure as multisite if you want this to work.
I have not tried this out yet but plan to do so next week.
Cheers
MarkForum: Plugins
In reply to: [Awesome Flickr Gallery] Custom Image size not functioningI haven’t fooled around with this recently but if my experience with other plugins using Flash to do things is anything to go by, the regular updates from Adobe have killed certain aspects of plugin functionality.
I’m going to test this theory in a PC Lab that has an older version of Flash installed into Firefox. Will get back.Forum: Reviews
In reply to: [Shashin] One of the most comprehensive & flexible Gallery pluginsThanks for the links Mike. I thought I was going nuts with Featured Images but it turns out that I’m not alone!
I’m still working on my ideal photo workflow when on an overseas trip. Currently I have:
- Take a days worth of photos (100 – 200 on holiday)
- In Picasa app, select keepers and delete the rest
- Create an album for the day and select the best photos of that day
- Synchronize with Picasaweb / Google+
- Write blog post illustrating with images from current album
- Place whole album into separate blog post
- Later — return to enhance RAW images in Lightroom / Photoshop
Forum: Fixing WordPress
In reply to: Link Videos@liammrk You need to do a number of things before you upload the mp4 file with the Media uploader.
- Check that your blog can upload MP4 files. SOmething like Network Admin : Settings -> Network Settings : Upload File Types — mp4
- Check that you have sufficiently large max upload file size set. In the Network Settings above ‘Max upload file size: 131,072’ = 128Mb.
- Open the raw video with a compressor such as VideoMonkey (Mac only) to compress the video to mp4/mv4. I compressed a 256Mb capture down to 18Mb at 1280 x 720.
- Upload the compressed mp4 with the media uploader
- To display in a blog post or page you’ll need to use a video display plugin. The link above gives you a list. I use MediaElemnts.js but I have to type in the shortcode manually — there’s no editor icon to auto create the shortcode
FFMPEG is an open source system for converting and crunching videos. You won’t be able to run this on a normal web site that you’d get from a provider. Use VideoMonkey or similar on your home machine. I believe Videomonkey uses the FFMpeg code.
There’s a lot involved in massaging and displaying video — maybe you should upload to Youtube ?
Forum: Plugins
In reply to: [Shashin] Add Album does not function on production wordpressThis topic is now resolved.
Forum: Plugins
In reply to: [Shashin] Add Album does not function on production wordpressSORTED!
The sys admin installed Curl and then restarted and now all is hunky dory. Albums load from both picasweb and google+.
Interestingly, the php setting “allow_url_fopen: On” does not in and of itself enable Shashin to operate.I’ve also been messing with the Youtube feeds. This has to be the easiest way to incorporate a bunch of Youtube clips from a given channel. Exactly what I need to do in the coming semester!
Thanks for this very professional plugin.Forum: Plugins
In reply to: [Shashin] Add Album does not function on production wordpressThanks Mike — I’m nagging my sysadmin right now and will report back when the issue is fixed.
Forum: Plugins
In reply to: [Shashin] Add Album does not function on production wordpressBTW, that is repeatable and I get the same error when attempting to access a Youtube feed:
Shashin Error: Failed to retrieve album feed at https://gdata.youtube.com/feeds/api/users/OrthodoxMusicOnline/uploads?alt=json&max-results=50 WP_Http Error: There are no HTTP transports available which can complete the requested request.
Forum: Plugins
In reply to: [Shashin] Add Album does not function on production wordpressSo, this is interesting.
Whereas, when I paste in a URL from a picasaweb location I just get a blank area returned — the WP menus are still there though. When I use a URL from Google+ to the exact same picasa album I get the following Shashin error:Failed to retrieve album feed at https://picasaweb.google.com/data/feed/api/user/102421082769897486589/albumid/5826812969491360817?alt=json&kind=photo WP_Http Error: There are no HTTP transports available which can complete the requested request.
Thanks for suggesting this — I think it may help us pinpoint the problem at the server end.
Forum: Plugins
In reply to: [Shashin] Album Auto updateGo to: Settings : Shashin -> Sync all albums daily * yes
Then save
This will sync all the current ablums you’ve created but won’t auto create new ones that you have made on Picasaweb. To do that just go to Tools : Shashin and add the new album URLForum: Themes and Templates
In reply to: [Suffusion] Where is Suffusion trying to write to?Many thanks for your help @sayontan and @gcaleval.
So, I commented out the single@import
line inson-of-suffusion/style.css
. Now there is no active content in style.css.
The result was that the skin only half works as before — light green background, skin colours. Moreover, switching to the Suffusion parent theme resolves the skinning issue and the selected skin is displayed correctly.it needs to ensure that the files are written by your user account, and not by the web server account,
So, as a consequence of the necessity of writing file via the user account the directory
wp-content/blogs.dir
needs to have world write access, correct? Currently it has group write access where the webserver is part of the group, and world read access (ie chmod 775).Thanks for all the help with this. I just want to ensure that when one user selects a Suffusion skin and then customizes it, this won’t be overwritten by another user (or a different blog site owned by the same user) in the system.
Cheers
MarkForum: Themes and Templates
In reply to: [Suffusion] Where is Suffusion trying to write to?Wow the response to this forum is fantastic. My situation is a wee bit complex because I’m not in control of the whole process from test to production. I install, configure and test things out on a sandbox server (on which I have sudo privs) and the System Admin copies the code to the production server and update the database there. The production server has a fierce firewall and security.
So, with that in mind, here’s what I’m finding:- A directory called
suffusion
is not created inwp-content/blogs.dir/<id>/files/uploads/
(neither is ‘uploads’ created for that matter) with the default Site Optimization settings even though permissions for files/uploads is set to write access for the web server (nginx not Apache). I think that this is why no CSS settings are saved by default. - However, configuring the Site Optimization as suggested by @sayontan above does work and some settings get saved. I use
- Under ‘Skinning’ I can choose a different skin — I really like these options and I chose the orange/dark theme. The settings save (at least it seems to) but the skinning only half works — the orange highlights are there but the background is the default. Strange. Take a look at https://epress.earlham.edu/balkanicons/
I have been using @gcaleval ‘s suggestion of a child theme for suffusion. The contents of the son-of-suffusion directory is a single file, style.css, which has a single line
@import url("../suffusion/style.css");
. Also following his suggestion I network disable ‘suffusion’ and network enable ‘son-of-suffusion’, the child theme.Now, here’s a funny thing. I’m still trying to figure out why the CSS for the skin I desire doesn’t get fully implemented. So, on a hunch, I network enable the main Suffusion theme and activate that. Two things happen:
- the skinning now both saves and executes correctly. So I can chose the dark background and it works!
- on another hunch, returning to Back end -> Site Optimization I reset the Auto generate CSS file to the default setting (include as a linked file), and lo and behold it does not give the same behaviour as before (ie no prompt to FTP) and the settings seem to be saved.
So, it looks like my implementation of the child theme is at fault here, though I’m not what to do to fix it.
Thank you for your patience guys!
Mark