Title: Craig Lambie's Replies | WordPress.org

---

# Craig Lambie

  [  ](https://wordpress.org/support/users/cclambie/)

 *   [Profile](https://wordpress.org/support/users/cclambie/)
 *   [Topics Started](https://wordpress.org/support/users/cclambie/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cclambie/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cclambie/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cclambie/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cclambie/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cclambie/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/users/cclambie/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/cclambie/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebFinger] Webfinger plugin does not work](https://wordpress.org/support/topic/webfinger-plugin-does-not-work/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/webfinger-plugin-does-not-work/#post-18861780)
 * I 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”
 * > [View post on imgur.com](https://imgur.com/a/gT7N93A)
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WPSSO Core - Complete Schema Markup and Meta Tags] waste of time](https://wordpress.org/support/topic/waste-of-time-93/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/waste-of-time-93/#post-8098154)
 * yet 5 stars?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Viduze Thumbnails for videos](https://wordpress.org/support/topic/viduze-thumbnails-for-videos/)
 *  Thread Starter [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/viduze-thumbnails-for-videos/#post-7524168)
 * Thanks 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Viduze Thumbnails for videos](https://wordpress.org/support/topic/viduze-thumbnails-for-videos/)
 *  Thread Starter [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/viduze-thumbnails-for-videos/#post-7523967)
 * I 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]`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Membership restriction stopping single course purchase from access?](https://wordpress.org/support/topic/membership-restriction-stopping-single-course-purchase-from-access/)
 *  Thread Starter [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/membership-restriction-stopping-single-course-purchase-from-access/#post-7137189)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Membership restriction stopping single course purchase from access?](https://wordpress.org/support/topic/membership-restriction-stopping-single-course-purchase-from-access/)
 *  Thread Starter [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/membership-restriction-stopping-single-course-purchase-from-access/#post-7137182)
 * 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Membership restriction stopping single course purchase from access?](https://wordpress.org/support/topic/membership-restriction-stopping-single-course-purchase-from-access/)
 *  Thread Starter [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/membership-restriction-stopping-single-course-purchase-from-access/#post-7137140)
 * 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](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Shatner - Name your Own Price Integration for WooCommerce] Mess](https://wordpress.org/support/topic/mess-2/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/mess-2/#post-7972610)
 * Espiacongreso 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woocommerce Custom Tabs] Trouble with front-end View of tabs](https://wordpress.org/support/topic/trouble-with-front-end-view-of-tabs-1/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/trouble-with-front-end-view-of-tabs-1/#post-5494411)
 * [@1020vogue](https://wordpress.org/support/users/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](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/](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](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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Massive headers](https://wordpress.org/support/topic/massive-headers/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/massive-headers/page/2/#post-4077423)
 * Just 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook, Twitter, Google Plus One social share buttons for Wordpress] Facebook, Twitter, Google Plus One social share buttons for WordPress — buttons](https://wordpress.org/support/topic/facebook-twitter-google-plus-one-social-share-buttons-for-wordpress-buttons/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/facebook-twitter-google-plus-one-social-share-buttons-for-wordpress-buttons/#post-3070543)
 * 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook, Twitter, Google Plus One social share buttons for Wordpress] Facebook, Twitter, Google Plus One social share buttons for WordPress — buttons](https://wordpress.org/support/topic/facebook-twitter-google-plus-one-social-share-buttons-for-wordpress-buttons/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/facebook-twitter-google-plus-one-social-share-buttons-for-wordpress-buttons/#post-3070542)
 * +1
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Members - Membership & User Role Editor Plugin] [Plugin: Members] Let users edit only certain pages](https://wordpress.org/support/topic/plugin-members-let-users-edit-only-certain-pages/)
 *  [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-members-let-users-edit-only-certain-pages/#post-2939656)
 * +1
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Send array as shortcode argument for a plugin](https://wordpress.org/support/topic/send-array-as-shortcode-argument-for-a-plugin/)
 *  Thread Starter [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/send-array-as-shortcode-argument-for-a-plugin/#post-3797759)
 * Thanks 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](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Send array as shortcode argument for a plugin](https://wordpress.org/support/topic/send-array-as-shortcode-argument-for-a-plugin/)
 *  Thread Starter [Craig Lambie](https://wordpress.org/support/users/cclambie/)
 * (@cclambie)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/send-array-as-shortcode-argument-for-a-plugin/#post-3797702)
 * Hmmm, 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?

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/users/cclambie/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/cclambie/replies/page/2/?output_format=md)