Craig Lambie
Forum Replies Created
-
Forum: Plugins
In reply to: [WebFinger] Webfinger plugin does not workI am having a similar struggle with this webfinger appearing/ being missing.
I just worked with the dev’s at WPMU to test it out. We tested with the ActivityPub plugin, without it. With security plugins, without them. With XML on/off. Changing pretty print permalinks from one to another. Adding .well-known directory in file system.
All same result of “403 – Forbidden access”
Forum: Reviews
In reply to: [WPSSO Core - Complete Schema Markup and Meta Tags] waste of timeyet 5 stars?
Forum: Fixing WordPress
In reply to: Viduze Thumbnails for videosThanks Sutherland 🙂
I tried that, then installed in a test environment, got it working there fine.
Went back to the server, and it auto-detected a different field, then tried a new post, no result, then auto-detected, got the first field it picked up, and started working again.
The in-post box doesn’t seem to work, but the bulk one does, so that will do the trick for now 🙂
Thanks for a great plugin. Will def buy the pro version in the near future.Forum: Fixing WordPress
In reply to: Viduze Thumbnails for videosI could write some code to do this myself, using a hint I got from the Video Thumbnails plugin, ie, input the Vimeo ID into this URL and parse for the URL of the thumbnail…. etc… but Sunderland has already done it, so doesn’t seem sensible to re-do.
Thoughts?
https://vimeo.com/api/oembed.json?url=http%3A//vimeo.com/[ID]Hey Thomas,
Excellent, that is great. I think that is totally the reason.
When you remove the lesson level thing, then some Db clean up to remove the lesson protection would be great too (as I have hundreds of lessons)I went through and removed all the lesson level stuff already (sorry I didn’t get updated on this forum post in time to react 🙁 )
It is now working as expected.But glad of the patch too, I will wait for the official update if you like.
FYI Benjamin has a login for our site, if you need to take a look around any time 🙂
Thanks for your help, very useful.
Hi Thomas,
That is exactly what I have set up.
There is some weird issue on my system where a lesson needs the permissions, just like the course itself, or a student gets “membership A or B needed to access this content” messages, I just worked around it by always adding permissions to lessons. (I worked out how to do it in the Db to save time)Anyway, I have emailed you my system report.
Thanks
Hey Thomas,
Thanks for the reply.
Actually I don’t have that setting no. I do have that page restricted to the 2 memberships.
Are you suggesting I remove the “restrict this content” tick, but leave the 2 memberships ticked.
THEN
1. Someone in that membership will be able to access
2. Someone that buys the course will be able to access???
Forum: Reviews
In reply to: [Shatner - Name your Own Price Integration for WooCommerce] MessEspiacongreso I have had a similar experience when I activated on a testing site I have setup. It works well on my production site, but I have this happen when I try to activate on my test site.
Forum: Plugins
In reply to: [Woocommerce Custom Tabs] Trouble with front-end View of tabs@1020vogue – sorry to post in this forum, cannot reply to your post at https://wordpress.org/support/topic/get-woocommerce-scheduled-sale-end-date#post-5146233
I was wondering if you have seen http://ignitewoo.com/woocommerce-extensions-plugins-themes/woocommerce-scheduled-sales/ or http://codecanyon.net/item/woocommerce-sales-countdown/7906953/comments?filter=all&site=codecanyon.net&term=time&utf8=%E2%9C%93
Thoughts?
Forum: Themes and Templates
In reply to: Massive headersJust want to add another method to this post, and others if looking:
1.
In Appearance>Header
Select “Remove Header”
2.
In Appearance>Editor
Select template Header (header.php)
3.
Add something like this:
<div class="site-add-header"><img class="header-img" src="wp-content/uploads/2013/10/Logo_header1.png" alt="muesli 101 logo"></div>
Click “Update File”
4.
Now select to Edit Stylesheet (style.css)
Do a CTRL-F (Find) “site-header”
5.
Remove.site-header { background-image: .....; }Add
.site-add-header { text-align:center; } .header-img { width:80%; }You now have a scalable image based site-header for the theme Twenty Thirteen.
I just removed this js file reference from the plugin, doesn’t seem to affect it …
File: facebook-twitter-google-plus-one-social-share-buttons-for-wordpress/social_facebook_ftgssbfw.php
+1
+1
Forum: Hacks
In reply to: Send array as shortcode argument for a pluginThanks for the tips.
I ended up using var_dump, and will in future to work this out.I simple couldn’t convert it to an associative array at all, only ever a string.
So I dumped the idea, and made it into a explode function using just commas… will be simpler anyway I think.
function ChaptersArrayRet($chapters) { $chaparray[] = explode(",",$chapters); $ret = ""; $comma = ""; $chapNo = 1; var_dump($chaparray); $i = 0; while($i < count($chaparray[0]) ) { $ret .= $comma."ch_". $chapNo ."_title: \"".$chaparray[0][$i]."\","; $ret .= "ch_". $chapNo ."_time: \"".$chaparray[0][$i+1]."\""; echo1($ret); $comma = ","; $chapNo++; $i++; $i++; } return $ret; }Thanks for your advice.
Forum: Hacks
In reply to: Send array as shortcode argument for a pluginHmmm, I see where you are coming from, but no cigar 🙁
I have changed the code a little, and I think the issue is related to this:
function ChaptersArrayRet($chapters) { $chaparray[] = array($chapters); $ret = ""; $chapNo = 1; $comma = ""; print_r1($chaparray); foreach($chaparray as $chap) { print_r1($chap[0]); $ret .= "ch_".$chapNo."_title: \"".$chap[0][3]."\","; $ret .= "ch_".$chapNo."_time: \"".$chap[0]->tme."\"".$comma; $chapNo ++; $comma = ","; } return $ret; }This actually outputs title: t
Which suggests to me that the “array” is each individual letter, instead of an associative array, that I was hoping for.
Any suggestions?