<?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>scriptygoddess &#187; pMachine</title>
	<atom:link href="http://www.scriptygoddess.com/archives/category/pmachine-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com</link>
	<description></description>
	<lastBuildDate>Tue, 24 Aug 2010 13:58:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Moods in your posts</title>
		<link>http://www.scriptygoddess.com/archives/2004/01/01/moods-in-your-posts/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/01/01/moods-in-your-posts/#comments</comments>
		<pubDate>Thu, 01 Jan 2004 13:47:28 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[pMachine]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/01/01/moods-in-your-posts/</guid>
		<description><![CDATA[Guest authored by<br />
kitykity - <a href="http://www.kitykity.com/journal">kitykity.com</a>


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/09/10/anchor-links-in-wordpress-posts-another-shortcode-solution/' rel='bookmark' title='Permanent Link: Anchor Links in WordPress Posts &#8211; another shortcode solution'>Anchor Links in WordPress Posts &#8211; another shortcode solution</a> <small>I was recently asked by a client how they could...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>So for a while now I&#039;ve wanted to be able to use &#034;current mood&#034; with my posts, kind of like LiveJournal has. Then I noticed that I wasn&#039;t using my categories, well, not for anything really worthwhile. So my solution? I&#039;ve made up a way for your categories to be used for your moods.<br />
<span id="more-1169"></span><br />
1.  These instructions are assuming you&#039;re using Pmachine, but I assume you could adapt them for whatever type of blog&#8230;</p>
<p>2.  Make yourself a moods directory on your web server; this is where you will put your moods.js file, and all your mood .gif icons.</p>
<p>3.  Go to your main index.php template page, or whatever page you will be showing moods (index.php, comments.php, etc.), and put the following line in your -head-:</p>
<h3>&lt;script language=&#034;javascript&#034; type=&#034;text/javascript&#034; src=&#034;http://www.mypage.com/journal/moods/moods.js&#034;&gt;&lt;/script&gt;</h3>
<p>4.  Go to the entry template in Pmachine, and in the place where you want the mood to show up, (I have mine right below the entry title) add this line:</p>
<h3>&lt;p&gt;&lt;script language=&#034;javascript&#034;&gt;PrintMood(&#034;%%category%%&#034;);&lt;/script&gt;&lt;p&gt;</h3>
<p>5.  Create a moods.js file with your editor of choice, and add these lines:</p>
<h3>function PrintMood(ThisCat) {<br />
  function Fix(CatVal, PicVal, NumVal) { // Allows you to use variables for the array instead of numbers.<br />
     this.CatVal = CatVal<br />
     this.PicVal = PicVal<br />
     this.NumVal = NumVal<br />
  }<br />
  MoodFolder=&#034;http://www.mypage.com/journal/moods&#034;;<br />
  JournalIndex=&#034;http://www.mypage.com/journal/index.php&#034;;<br />
  MainVar = 0; // Sets up the variable that counts the array.<br />
  var MainArray = new Array() // Sets up the main array.<br />
  // MainArray[MainVar++] = new Fix(&#034;category&#034;, &#034;picname.jpg&#034;, &#034;category number&#034;)<br />
  MainArray[MainVar++] = new Fix(&#034;accomplished&#034;, &#034;kity-accomplished.gif&#034;, &#034;61&#034;)<br />
  MainArray[MainVar++] = new Fix(&#034;aggravated&#034;, &#034;kity-aggravated.gif&#034;, &#034;39&#034;)<br />
  MainArray[MainVar++] = new Fix(&#034;amused&#034;, &#034;kity-amused.gif&#034;, &#034;34&#034;)<br />
  for (loop=0; loop &lt; MainVar ; loop++) {<br />
    Keyword = ThisCat;<br />
    PicName = MainArray[loop].PicVal;<br />
    CatNum = MainArray[loop].NumVal;<br />
    SearchResult = Keyword.indexOf(MainArray[loop].CatVal);<br />
    if (SearchResult != &#034;-1&#034;) {<br />
      document.write(&#039;current mood:  &lt;img src=&#034;&#039; + MoodFolder + &#039;/&#039; + PicName + &#039;&#034; style=&#034;vertical-align:middle&#034;&gt; &#039;<br />
	  + &#039;&lt;a href=&#034;&#039; + JournalIndex + &#039;?id=C0_&#039; + CatNum + &#039;_3&#034;&gt;&#039; + Keyword + &#039;&lt;/a&gt;&#039;);<br />
    }<br />
  }<br />
}</h3>
<p>6.  Change the MoodFolder and the JournalIndex so they are set up the way your page is.</p>
<p>7.  Go into the Pmachine control panel and create your categories.  For each category, keep track of what the created category ID number is.</p>
<p>8.  You&#039;ll see I only have three categories listed here; you can add additional lines, for as many categories as you want.  I think I have about thirty set up right now.  Within the quotes, add the category name (try not to create category names with spaces), the .gif name of the mood icon you want for that mood, and the category ID number for that mood.</p>
<p>That&#039;s about it, you should be ready to go!  If you need additional help, feel free to drop me an email&#8230; and your paypal donations to kitykity(AT)hotmail.com for this tip are welcome.  <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/09/10/anchor-links-in-wordpress-posts-another-shortcode-solution/' rel='bookmark' title='Permanent Link: Anchor Links in WordPress Posts &#8211; another shortcode solution'>Anchor Links in WordPress Posts &#8211; another shortcode solution</a> <small>I was recently asked by a client how they could...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/01/01/moods-in-your-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSS 2.0 for pMachine</title>
		<link>http://www.scriptygoddess.com/archives/2003/04/12/rss-20-for-pmachine/</link>
		<comments>http://www.scriptygoddess.com/archives/2003/04/12/rss-20-for-pmachine/#comments</comments>
		<pubDate>Sat, 12 Apr 2003 18:12:38 +0000</pubDate>
		<dc:creator>Lynda</dc:creator>
				<category><![CDATA[pMachine]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/04/12/rss-20-for-pmachine/</guid>
		<description><![CDATA[This is a very simple hack that will allow you to output your index.xml into RSS 2.0 instead of .91. All you have to do is download this file and replace the rss.cp.php with the same file in your pmachine directory cp/rss.cp.php Please note that according to Rick this hack will become obsolete in pMachine [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This is a very simple hack that will allow you to output your index.xml into RSS 2.0 instead of .91.</p>
<p>All you have to do is download <a href="http://www.digitalwoe.com/extra/rss2.zip">this file</a> and replace the rss.cp.php with the same file in your pmachine directory cp/rss.cp.php</p>
<p>Please note that <a href="http://www.pmachine.com/forum/threads.php?id=6016_0_5_0_C">according to Rick</a> this hack will become obsolete in pMachine version 2.3 as that version will have MANY more options allowing you to create one or many RSS feeds.</p>
<p>If you just can&#039;t wait that long (like me) then this hack is for you.</p>
<p>I don&#039;t think RSS feeds are available with the free version of pMachine, so you might want to check that out.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2003/04/12/rss-20-for-pmachine/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>On This Date in History</title>
		<link>http://www.scriptygoddess.com/archives/2003/04/11/on-this-date-in-history/</link>
		<comments>http://www.scriptygoddess.com/archives/2003/04/11/on-this-date-in-history/#comments</comments>
		<pubDate>Sat, 12 Apr 2003 03:01:35 +0000</pubDate>
		<dc:creator>Christine</dc:creator>
				<category><![CDATA[pMachine]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/04/11/on-this-date-in-history/</guid>
		<description><![CDATA[Just a week or two ago, my friend Kathy was commenting on how she can find MT plug-ins, but she&#039;s a pMachine user and she is often on the lookout for more pMachine Add-Ons. I noticed that Lynda has released a pMachine Add-Ons to display &#034;Today in History&#034; and I thought it would be great [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Just a week or two ago, my friend <a href="http://www.waterlily.nu">Kathy</a> was commenting on how she can find MT plug-ins, but she&#039;s a pMachine user and she is often on the lookout for more pMachine Add-Ons.  I noticed that <a href="http://www.digitalwoe.com/posh.php">Lynda</a> has released a <a title="pMachine Hacks and Add-Ons Forum - pMachine Add-Ons - Today in History" href="http://www.digitalwoe.com/pmachine/threads.php?id=2128_0_17_0_C">pMachine Add-Ons to display &#034;Today in History&#034;</a> and I thought it would be great to share here too!</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2003/04/11/on-this-date-in-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pMachine Hacks Resource</title>
		<link>http://www.scriptygoddess.com/archives/2003/03/28/pmachine-hacks-resource/</link>
		<comments>http://www.scriptygoddess.com/archives/2003/03/28/pmachine-hacks-resource/#comments</comments>
		<pubDate>Sat, 29 Mar 2003 01:18:37 +0000</pubDate>
		<dc:creator>Lynda</dc:creator>
				<category><![CDATA[pMachine]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/03/28/pmachine-hacks-resource/</guid>
		<description><![CDATA[Hey all! I know I haven&#039;t been around much, however most of my PHP hacking as of late has gone into pMachine and vBulletin, two programs which people don&#039;t seem to use a lot around here. If you&#039;re interested in pMachine Hacks and help, I have developed a forum where you can track your installs, [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Hey all!  I know I haven&#039;t been around much, however most of my PHP hacking as of late has gone into pMachine and vBulletin, two programs which people don&#039;t seem to use a lot around here.</p>
<p>If you&#039;re interested in pMachine Hacks and help, I have developed a forum where you can track your installs, post requests and ask for help, etc.</p>
<p>Here&#039;s the link to the <a href="http://www.digitalwoe.com/pmachine/index.php">pMachine Hacks Resource Forum</a></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2003/03/28/pmachine-hacks-resource/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.380 seconds -->
