<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>glenscott.net &#187; website</title>
	<atom:link href="http://www.glenscott.net/category/website/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glenscott.net</link>
	<description>Reading, Writing, and Sysadmin.</description>
	<lastBuildDate>Mon, 12 Dec 2011 06:40:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress, the OpenID plugin and &#8220;Fatal error: Call to a member function needsSigning() &#8230; in Server.php on line 1495&#8243;</title>
		<link>http://www.glenscott.net/2009/06/19/wordpress-the-openid-plugin-and-fatal-error-call-to-a-member-function-needssigning-in-server-php-on-line-1495/</link>
		<comments>http://www.glenscott.net/2009/06/19/wordpress-the-openid-plugin-and-fatal-error-call-to-a-member-function-needssigning-in-server-php-on-line-1495/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 07:36:48 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.glenscott.net/?p=140</guid>
		<description><![CDATA[For many moons I&#8217;ve been attempting to get the server functionlity of the OpenID plugin working with my wordpress install and been stumped on the following two errors: First, any hit on the OpenID /openid/server url (I am using non-default permalinks) generated the following : Fatal error: Call to undefined function add_options_page() in /path/to/wp-content/plugins/wp-contact-form/wp-contactform.php on [...]]]></description>
			<content:encoded><![CDATA[<p>For many moons I&#8217;ve been attempting to get the server functionlity of the <a href="http://wordpress.org/extend/plugins/openid/">OpenID plugin</a> working with my wordpress install and been stumped on the following two errors:</p>
<p>First, any hit on the OpenID /openid/server url (I am using non-default permalinks) generated the following :</p>
<blockquote><p><pre>Fatal error: Call to undefined function add_options_page() in
/path/to/wp-content/plugins/wp-contact-form/wp-contactform.php on line 200
</pre>
</p>
</blockquote>
<p>
This was pretty obviously a conflict with <a href="http://wordpress.org/extend/plugins/wp-contactform/">WP-Contactform</a>. Disabling this plugin made the above error go away, so I&#8217;ll be looking for a <a href="http://wordpress.org/extend/plugins/search.php?q=contact+form">replacement</a> for it soon.
</p>
<p>Once the contactform error was worked around by disabling the plugin, the following appeared:</p>
<blockquote><p><pre>Fatal error: Call to a member function needsSigning() on a non-object in
/path/to/wp-content/plugins/openid/Auth/OpenID/Server.php
on line 1495</pre>
</p>
</blockquote>
<p>This would happen when I tried to specify my URL (whether main blog or wordpress author url) as an openid &#8211; it would seem to be working, go through the logon process then generate the error and the authentication process would abort.</p>
<p>After much googling (not much out there but <a href="http://code.google.com/p/diso/issues/detail?id=101">this was helpful</a>, sort of) and a good period of waiting and trying new versions of the OpenID plugin as they were released, the solution / workaround turned out to be extremely simple. It was a plugin conflict (doh) and a process of elimination identified the culprit and main show stopper: the <a href="http://wordpress.org/extend/plugins/cryptographp/">cryptographp plugin.</a></p>
<p>No idea why but once it was disabled things worked fine. I was using this plugin to generate protective captchas for my comment forms. I replaced it with <a href="http://wordpress.org/extend/plugins/simple-captcha/">Simple CAPTCHA</a>. (Its worth noting that in the 15 minutes or so I had no CAPTCHA active, I had already received a bot comment spam &#8211; and my site isn&#8217;t heavily trafficked by any means). I might choose another solution at some point from the <a title="a Plethora of PiÃ±atas" href="http://wordpress.org/extend/plugins/search.php?q=captcha">plethora</a> available, but for the time being, Simple Captcha gets the job done fine.</p>
<p>So thats about it. In a nutshell, some seemingly unrelated plugins were conflicting, disabling them and replacing with alternatives fixed it.</p>
<p>Now I can use glenscott.net as an OpenID, and my visitors have a nice simple OpenID login option on comments pages =)</p>
        <br><br><font size=1"><i><center>Visit <a href="http://www.glenscott.net">glenscott.net</a> for more content. Some rights reserved: Except where specified otherwise, the content of this feed is licensed under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License. <br><img width="44" height="15" src="http://www.glenscott.net/misc/creative_commons_by-nc-nd_88x31.png"></a></center></i></font>                              ]]></content:encoded>
			<wfw:commentRss>http://www.glenscott.net/2009/06/19/wordpress-the-openid-plugin-and-fatal-error-call-to-a-member-function-needssigning-in-server-php-on-line-1495/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating &#8216;hidden&#8217; pages in wordpress which don&#8217;t appear in the navigation menu</title>
		<link>http://www.glenscott.net/2008/04/15/creating-hidden-pages-in-wordpress-which-dont-appear-in-the-navigation-menu/</link>
		<comments>http://www.glenscott.net/2008/04/15/creating-hidden-pages-in-wordpress-which-dont-appear-in-the-navigation-menu/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 08:20:06 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.glenscott.net/?p=40</guid>
		<description><![CDATA[Yeah I know theres seventy thousand or so articles out there already talking about modifying wp_list_pages(); to include and exclude various pages from your wordpress site menus, but I&#8217;m going to talk about they way I did it anyway =) The deal is, I&#8217;m wanting to publish stories and other standalone type pieces of writing [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah I know theres seventy thousand or so articles out there already talking about modifying <code>wp_list_pages();</code> to include and exclude various pages from your wordpress site menus, but I&#8217;m going to talk about they way I did it anyway =)</p>
<p>The deal is, I&#8217;m wanting to publish stories and other standalone type pieces of writing on this site, and I want to create them as nice friendly text wordpress pages, but I don&#8217;t want each and every story to appear as a default pages link. The titles are long, there&#8217;ll be a few of them, and they&#8217;ll screw up my page layout if included in the pages menu(s), especially in the top nav bar where theres limited space.</p>
<p>To change this behavior, you just need to go into your theme template files and add some parameters to wp_list_pages(). The definitive list of parameters is over here and is worth a read:</p>
<p><a href="http://codex.wordpress.org/Template_Tags/wp_list_pages">http://codex.wordpress.org/Template_Tags/wp_list_pages</a></p>
<p>The most useful ones for this task are <strong>&#8216;include&#8217;</strong>, <strong>&#8216;exclude&#8217;</strong>, and <strong>&#8216;depth&#8217;</strong>. You can string multiple parameters together using the ampersand &amp; character like so: <code>wp_list_pages(foobar=1&amp;moobar=2);</code></p>
<p>Include and exclude will do as they suggest, given a comma delimited list of page numbers. If you use include it will only include the specified pages, if you use exclude it will include all except the specified pages.</p>
<p>I decided a better way to get it done, actually ideal for my purposes, is to create all my &#8216;hidden&#8217; pages in a subcategory, and set the depth parameter to &#8217;1&#8242;. This means any page created as a subcategory will not appear in the navigation menus, though it can be explicitly linked to, or appear in a list of links for that subcategory (exactly what I want).</p>
<p><strong>The Widgets file</strong></p>
<p>I managed to sort out the top nav bar page listing on my template pretty easily by making the change to the header.php file, but I couldn&#8217;t find anything immediately obvious generating the page listing in sidebar.php, or any of the other theme includes. After some bumbling around trying to figure this out, I discovered the sidebar listing was being handled by wordpress widgets . This was pretty easy to fix once I found out where the widgets file is (/wp-includes/widgets.php), although since it uses an array for the parameters its slightly different than the edit above.</p>
<p>You have a few options for changing how the pages display through the wordpress widgets control panel, but sadly no way to exclude sub-pages by default. This would be a cool thing to have available, and I&#8217;d write it into the widget file and make my version available, but my php is far too rusty at the moment for this even though its pretty simple.</p>
<p>Ok, how to do it manually. Open up the widgets file for editing and find the section which defines <strong>function wp_widget_pages</strong> and add to the line which starts as follows:</p>
<p><code>$out = wp_list_pages (array ('title_li' =&gt; '', </code> etc etc and add to it the parameter &#8216;depth&#8217; =&gt; 1, so it ends up looking something like this:</p>
<p><code>$out = wp_list_pages( array('title_li' =&gt; '', 'depth' =&gt; 1,'echo' =&gt; 0, 'sort_column' =&gt; $sortby, 'exclude' =&gt; $exclude) );</code></p>
<p>Thats it. save the file and your side menu should hide all pages in sub-categories.</p>
<p>Also, there is <a href="http://gmurphey.com/2006/10/05/wordpress-plugin-page-link-manager/">this plugin I found over here</a> which interferes somehow with <code>wp_list_pages();</code> to cause the change everywhere the function is called. Might save having to mess with multiple places in the template / widgets file depending how your theme is set up. (Mine has pages listed in a top nav bar as well as a side menu, for example).</p>
        <br><br><font size=1"><i><center>Visit <a href="http://www.glenscott.net">glenscott.net</a> for more content. Some rights reserved: Except where specified otherwise, the content of this feed is licensed under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License. <br><img width="44" height="15" src="http://www.glenscott.net/misc/creative_commons_by-nc-nd_88x31.png"></a></center></i></font>                              ]]></content:encoded>
			<wfw:commentRss>http://www.glenscott.net/2008/04/15/creating-hidden-pages-in-wordpress-which-dont-appear-in-the-navigation-menu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A couple of useful wordpress admin plugins</title>
		<link>http://www.glenscott.net/2007/10/09/a-couple-of-useful-wordpress-admin-plugins/</link>
		<comments>http://www.glenscott.net/2007/10/09/a-couple-of-useful-wordpress-admin-plugins/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 04:06:50 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.glenscott.net/2007/10/09/a-couple-of-useful-wordpress-admin-plugins/</guid>
		<description><![CDATA[I&#8217;ve set up a couple of wordpress blogs in recent months, and gone through the initial stage of trying out plugins like a kid with lots of small shiny presents to open, testing then removing most of the them after a short while: I think its worthwhile that I point out several of the smaller [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve set up a couple of wordpress blogs in recent months, and gone through the initial stage of trying out plugins like a kid with lots of small shiny presents to open, testing then removing most of the them after a short while: I think its worthwhile that I point out several of the smaller ones which I find very useful and have installed by default on each site.</p>
<p>These are the kind of enhancement which IMO improves the experience in general and you only notice when they are missing: I imagine they provide the kind of fucntionality which may find its way into the wordpress core package at some stage.</p>
<p>Anyway, here they are:</p>
<p><strong><a href="http://www.stuff.yellowswordfish.com/admin-drop-down-menus/">Admin Drop Down Menus</a></strong><br />
This plugin converts the menus in the admin panel to dhtml dropdowns. Once I&#8217;d used it I didnt want to go back.</p>
<p><strong><a href="http://lepslair.com/wp/leprakhauns-word-count-wordpress-plugin/">Leprakhauns Word Count </a></strong><br />
Provides a simple wordcount at the bottom of the edit box for a post/page.</p>
<p><strong><a href="http://imthi.com/wp-pda">WordPress PDA</a></strong><br />
Formats your wordpress blog nicely for mobile devices. Makes your site really accessible using clients such as pocket IE.</p>
        <br><br><font size=1"><i><center>Visit <a href="http://www.glenscott.net">glenscott.net</a> for more content. Some rights reserved: Except where specified otherwise, the content of this feed is licensed under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License. <br><img width="44" height="15" src="http://www.glenscott.net/misc/creative_commons_by-nc-nd_88x31.png"></a></center></i></font>                              ]]></content:encoded>
			<wfw:commentRss>http://www.glenscott.net/2007/10/09/a-couple-of-useful-wordpress-admin-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The dabbling mostly over</title>
		<link>http://www.glenscott.net/2007/06/30/the-dabbling-mostly-over/</link>
		<comments>http://www.glenscott.net/2007/06/30/the-dabbling-mostly-over/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 20:33:45 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.glenscott.net/?p=8</guid>
		<description><![CDATA[After a reasonable portion of hacking around a pre-rolled theme I have it looking more or less how I want: more tweaking may follow on small things to make posts look right, but the main bits have been slapped around until they fit. I think I went through 900 or so themes from wordpress, winding [...]]]></description>
			<content:encoded><![CDATA[<p>After a reasonable portion of hacking around a pre-rolled theme I have it looking more or less how I want: more tweaking may follow on small things to make posts look right, but the main bits have been slapped around until they fit.</p>
<p>I think I went through 900 or so <a href="http://themes.wordpress.net/">themes from wordpress</a>, winding up with a shortlist of 50 or so for testing. I had to pass on a few nice looking ones because they had &#8216;no deriv&#8217; licensing combined with built in links to the theme sponsors (marketing, stock trading etc sites), but the current mutation is working out pretty well. The sooner I stop faffing about with all the frill, the quicker the rest of it will get done.</p>
        <br><br><font size=1"><i><center>Visit <a href="http://www.glenscott.net">glenscott.net</a> for more content. Some rights reserved: Except where specified otherwise, the content of this feed is licensed under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License. <br><img width="44" height="15" src="http://www.glenscott.net/misc/creative_commons_by-nc-nd_88x31.png"></a></center></i></font>                              ]]></content:encoded>
			<wfw:commentRss>http://www.glenscott.net/2007/06/30/the-dabbling-mostly-over/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On the cusp of word pressage.</title>
		<link>http://www.glenscott.net/2007/06/28/on-the-cusp-of-word-pressage/</link>
		<comments>http://www.glenscott.net/2007/06/28/on-the-cusp-of-word-pressage/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 08:53:03 +0000</pubDate>
		<dc:creator>Glen</dc:creator>
				<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.glenscott.net/?p=5</guid>
		<description><![CDATA[Two evenings and a few too many hours in the daytime later, wordpress is setup skeleton-style and I have a pile of themes to sift through. I&#8217;ve traditionally shied away from any website effort involving other peoples engines or templates: my first series of websites were hand coded in php / html / css, used [...]]]></description>
			<content:encoded><![CDATA[<p>Two evenings and a few too many hours in the daytime later, wordpress is setup skeleton-style and I have a pile of themes to sift through.</p>
<p>I&#8217;ve traditionally shied away from any website effort involving other peoples engines or templates: my first series of websites were hand coded in php / html / css, used my own blog engine and eventually became themable when I realised that would temporarily sate my thirst for a new look to the site without the need to scrap an old design and start again.</p>
<p>However, practicality calls, I&#8217;m currently indisposed to wheel-reinvention, and with the plethora of themes, wordpress is looking to meet the needs of my new site nicely. A big element here is practicality &#8211; now I&#8217;m no longer particularly interested in getting my hands covered in HTML: I can have a nice clean site up, not have to run through testing and tweaking, and generally forget about everything that distracts from what I&#8217;d like to think about, in corporate drone-speak, the <em>core business</em> ;)</p>
<p>The core business is a whole other box of fun, which I&#8217;ll be getting to shortly.</p>
        <br><br><font size=1"><i><center>Visit <a href="http://www.glenscott.net">glenscott.net</a> for more content. Some rights reserved: Except where specified otherwise, the content of this feed is licensed under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License. <br><img width="44" height="15" src="http://www.glenscott.net/misc/creative_commons_by-nc-nd_88x31.png"></a></center></i></font>                              ]]></content:encoded>
			<wfw:commentRss>http://www.glenscott.net/2007/06/28/on-the-cusp-of-word-pressage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

