<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Softinquiry &#187; tips and tricks</title>
	<atom:link href="http://softinquiry.com/category/tips-and-tricks/feed" rel="self" type="application/rss+xml" />
	<link>http://softinquiry.com</link>
	<description>A blog where I share my knowledge about software</description>
	<lastBuildDate>Wed, 11 Aug 2010 11:51:45 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
		<item>
		<title>USB Sound Blaster Live! 24-bit on Windows 7</title>
		<link>http://softinquiry.com/usb-sound-blaster-live-24-bit-on-windows-7.html</link>
		<comments>http://softinquiry.com/usb-sound-blaster-live-24-bit-on-windows-7.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 10:32:34 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[creative]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[live!]]></category>
		<category><![CDATA[sound blaster]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://softinquiry.com/?p=313</guid>
		<description><![CDATA[Poor software engineers just finished crafting the final touches on those Vista drivers and Microsoft slaps them in the face with Windows 7 &#8211; now they have to fill up this huge drivers pit left by it. Fortunately a lot of Vista drivers work out-of-the-box on Se7en; but some just don&#8217;t.
Microsoft saw this coming and [...]]]></description>
			<content:encoded><![CDATA[<p>Poor software engineers just finished crafting the final touches on those Vista drivers and Microsoft slaps them in the face with Windows 7 &#8211; now they have to fill up this huge drivers pit left by it. Fortunately a lot of Vista drivers work out-of-the-box on Se7en; but some just don&#8217;t.</p>
<p>Microsoft saw this coming and this built this great tool called &#8220;Program Compatibility&#8221; which helps you run applications that were meant to be run on different Windows versions &#8211; so this works nicely for all software including drivers.</p>
<p>A huge plus in my opinion was the fact that before I was on my desktop I already had the wireless drivers installed and pretty soon the video ones too. I have a 6720s laptop with pretty much basic stuff as far as chipsets and all that &#8211; nothing too complicated.</p>
<p>I will stop here because I will soon write a post about my Windows 7 experience &#8211; so let&#8217;s continue with how I managed to get a great sound out of my Creative USB Sound Blaster Live! 24-bit sound card on Windows 7.</p>
<p>So when I tried installing the Vista drivers from the CD that came with the sound card it told me that this drivers weren&#8217;t compatible with my version of Windows.</p>
<p>So I started the Program Compatibility wizard and pointed it to the setup.exe file from the CD. This also didn&#8217;t work because the initial installer launched a separate installer depending on what I wanted to install or leave out from the software package.
<p>So I headed back over to Program Compatibility and pointed the application to setup.exe &#8211; this time from \audio\setup folder on the CD. Installed the driver without any problems, restarted the computer. All seemed fine but when I tried to play a song in Winamp I realized the woofer was dead &#8211; more than that the system was running in 2 channel mode even though it said 5.1 in the Creative Audio Console.</p><p style="float: left;"><script type="text/javascript"><!--
google_ad_client = "pub-1748898260032517";
/* posts bottom */
google_ad_slot = "5672038516";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p></p>
<p>Next, I launched the Creative Software AutoUpdate application from the Start menu. I downloaded and installed the new drivers with Program Compatibility as indicated above &#8211; the path for the downloaded software is <em>c:\Users\All Users\Creative\Software Update\cache\</em> as the application states.</p>
<p>Same stuff, 2 channel mode but the difference was that this time the Audio Console said 2 channel instead of 5.1. Headed to Creative.com (won&#8217;t link to them) and after searching by the classical means you try to find a driver to download from a hardware producer I lost my hope.</p>
<p>In the end I ended up on SoundBlaster.com and there I saw a logo that said &#8220;Get the latest beta patch for Windows 7&#8243;. Clicked on it, got me to a page where only the header of the site was displayed and under it some VBScript runtime error. Thank god I am a guy that knows how to pull information from sites with such poor navigation and maintenance work.</p>
<p>I ended up clicking on a link which should have pointed me to the download page for that particular file. It pointed me to a page saying &#8220;Sorry, your search did not return any results.&#8221;. So I copied the file name and Googled it &#8211; what every decent minded person would do nowadays.  Found the file ready to be downloaded on a weird site written in Chinese &#8211; wouldn&#8217;t be surprised to be a warez site.</p>
<p>Downloaded the file, this time I didn&#8217;t use the Program Compatibility program because theoretically the software was meant to run on Windows 7. So it did as I am writing this post while listing to <a title="Crowded House - Don't Dream It's Over" href="http://www.last.fm/music/Crowded+House/_/Don%27t+Dream+It%27s+Over" target="_blank">Crowded House &#8211; Don&#8217;t Dream It&#8217;s Over</a> on my SB Live! powered audio system :)</p>
<p>Here is the troubled driver to download at your convenience.</p>
<a href="http://softinquiry.com/downloads/USB+Sound+Blaster+Live%21+24-bit+on+Windows+7+driver" title="Downloaded 3745 times"><img src="http://softinquiry.com/wp-content/plugins/download-monitor/img/download.gif" alt="USB Sound Blaster Live! 24-bit on Windows 7 driver" /></a>
<img src="http://softinquiry.com/?ak_action=api_record_view&id=313&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softinquiry.com/usb-sound-blaster-live-24-bit-on-windows-7.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Best way to inspect dead links using your 404 page</title>
		<link>http://softinquiry.com/best-way-to-inspect-dead-links-using-your-404-page.html</link>
		<comments>http://softinquiry.com/best-way-to-inspect-dead-links-using-your-404-page.html#comments</comments>
		<pubDate>Sat, 18 Apr 2009 07:43:08 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[dead links]]></category>
		<category><![CDATA[error]]></category>

		<guid isPermaLink="false">http://softinquiry.com/?p=271</guid>
		<description><![CDATA[I searched for some instructions on how to easily find dead links on my blog. I found some plugins that do just that but instead of using a plugin to do it why not use this cool method that can also provide you with a custom 404 page ?
The WordPress Codex directory is way cool [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-1748898260032517";
/* posts bottom */
google_ad_slot = "5672038516";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p><p><center><img class="aligncenter size-medium wp-image-272" title="404" src="http://softinquiry.com/wp-content/uploads/2009/04/404-300x123.jpg" alt="404" width="300" height="123" /></center><br />I searched for some instructions on how to easily find dead links on my blog. I found some plugins that do just that but instead of using a plugin to do it why not use this cool method that can also provide you with a custom 404 page ?</p>
<p>The WordPress Codex directory is way cool and it is maybe one of the best wordpress resources out there. Here&#8217;s the link that interests us in particular: <a title="Creating an error 404 page" href="http://codex.wordpress.org/Creating_an_Error_404_Page" target="_blank">Creating an Error 404 Page</a>. You just need to create a 404.php file in your theme directory (in case you don&#8217;t already have one). Put the following code in it and customize aiding yourself with the comments:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> get_header<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
   &lt;div id=&quot;post-entry&quot;&gt;
     &lt;h1&gt;Whoops !&lt;/h1&gt;
	     &lt;div class=&quot;post-content&quot;&gt;
	     	&lt;p&gt;You 
				<span style="color: #000000; font-weight: bold;">&lt;?php</span>
				<span style="color: #666666; font-style: italic;">#some variables for the script to use
</span>				<span style="color: #666666; font-style: italic;">#if you have some reason to change these, do.  but wordpress can handle it
</span>				<span style="color: #000088;">$adminemail</span> <span style="color: #339933;">=</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_email'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#the administrator email address, according to wordpress
</span>				<span style="color: #000088;">$website</span> <span style="color: #339933;">=</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#gets your blog's url from wordpress
</span>				<span style="color: #000088;">$websitename</span> <span style="color: #339933;">=</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#sets the blog's name, according to wordpress
</span>				
				  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				    <span style="color: #666666; font-style: italic;">#politely blames the user for all the problems they caused
</span>				        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;tried going to &quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#starts assembling an output paragraph
</span>					<span style="color: #000088;">$casemessage</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;All is not lost!&quot;</span><span style="color: #339933;">;</span>
				  <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				    <span style="color: #666666; font-style: italic;">#this will help the user find what they want, and email me of a bad link
</span>					<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;clicked a link to&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#now the message says You clicked a link to...
</span>				        <span style="color: #666666; font-style: italic;">#setup a message to be sent to me
</span>					<span style="color: #000088;">$failuremess</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;A user tried to go to <span style="color: #006699; font-weight: bold;">$website</span>&quot;</span>
				        <span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; and received a 404 (page not found) error. &quot;</span><span style="color: #339933;">;</span>
					<span style="color: #000088;">$failuremess</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;It wasn't their fault, so try fixing it.  
				        They came from &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
					<span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$adminemail</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Bad Link To &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
				        <span style="color: #000088;">$failuremess</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;From: <span style="color: #006699; font-weight: bold;">$websitename</span> &lt;noreply@<span style="color: #006699; font-weight: bold;">$website</span>&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#email you about problem
</span>					<span style="color: #000088;">$casemessage</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;An administrator has been emailed 
				        about this problem, too.&quot;</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">#set a friendly message
</span>				  <span style="color: #009900;">&#125;</span>
				  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$website</span><span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
				and it doesn't exist. <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$casemessage</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>  You can click back 
				and try again or try using the search box in the sidebar.
			&lt;/p&gt;
	     &lt;/div&gt;
	&lt;/div&gt;
&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> get_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Easy enough ? I think it is an awesome method. At least for testing if not for permanent use. Hope this helps. Oh, and by the way, if you have a large blog be ready to be bombarded with emails generated from this 404 page.</p>
<img src="http://softinquiry.com/?ak_action=api_record_view&id=271&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softinquiry.com/best-way-to-inspect-dead-links-using-your-404-page.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Ubuntu 8.04 (Hardy Heron) resolution workaround</title>
		<link>http://softinquiry.com/ubuntu-804-hardy-heron-resolution-workaround.html</link>
		<comments>http://softinquiry.com/ubuntu-804-hardy-heron-resolution-workaround.html#comments</comments>
		<pubDate>Sun, 27 Jul 2008 15:27:26 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://softinquiry.com/?p=176</guid>
		<description><![CDATA[I don&#8217;t know if this is a general problem or it affects only some particular video cards but I know that my old FX5500 didn&#8217;t had a chance.
After the installation process of Ubuntu itself (all went ok) when the login box appeard for the first time I noticed that the resolution was 640&#215;480. That was [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know if this is a general problem or it affects only some particular video cards but I know that my old FX5500 didn&#8217;t had a chance.</p>
<p>After the installation process of Ubuntu itself (all went ok) when the login box appeard for the first time I noticed that the resolution was 640&#215;480. That was very weird because all the distros I&#8217;ve ever tried on this PC were setting up by default a 1204&#215;768 resolution.</p>
<p>Normally, the first thing I went to do was to change the resolution as it was very annoying. I was very surprised to see that only 640&#215;480 mode was available. I said to myself that after I will install the nVIDIA driver everything would be ok. I installed the driver through the native hardware driver window (something like Device Manager from Windows). Rebooted the system and all was the same. Checked the available resolutions nothing was there to choose from. I was clearly seeing that the nVIDIA driver was succesfully installed because even Compiz was using it at full throthle but only on 640&#215;480.</p>
<p>I tried to solve things with <a title="envyng" href="https://wiki.ubuntu.com/EnvyNG" target="_blank">EnvyNG</a>, by editing xorg.conf, installing the nVIDIA drivers the hard way, typing in a lot of commands that were related to video settings but nothing seemed to work. I did a little bit of research but nothing relevant came up. People had the same problems but their solutions were not working for me.</p>
<p>I was on the point of installing Ubuntu 7.10 again but the following command saved me:</p>
<pre lang="">gksudo displayconfig-gtk</pre>
<p>All you have to do is to type that command in a terminal (root access is required) and from there just choose your display model and the corresponding resolution and frequency. The settings will be applied after you log in again.</p>
<p>This is a very easy and effective way of correcting this problem.</p>
<img src="http://softinquiry.com/?ak_action=api_record_view&id=176&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softinquiry.com/ubuntu-804-hardy-heron-resolution-workaround.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Tips on how to integrate ads between and into your Wordpress posts</title>
		<link>http://softinquiry.com/tips-on-how-to-integrate-ads-between-and-into-your-wordpress-posts.html</link>
		<comments>http://softinquiry.com/tips-on-how-to-integrate-ads-between-and-into-your-wordpress-posts.html#comments</comments>
		<pubDate>Sun, 02 Mar 2008 14:57:11 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[adbrite]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[bidvertiser]]></category>
		<category><![CDATA[chitika]]></category>
		<category><![CDATA[widgetbucks]]></category>

		<guid isPermaLink="false">http://softinquiry.com/tips-on-how-to-integrate-ads-between-and-into-your-wordpress-posts.html</guid>
		<description><![CDATA[Have you ever wondered how is it possible to integrate AdSense or any other ads into or between your Wordpress posts ? Of course you have. This method does not require any third-party plugins whatsoever. For example, we all know that on a single page only three AdSense ads will appear. I&#8217;ve seen people that [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how is it possible to integrate AdSense or any other ads into or between your Wordpress posts ? Of course you have. This method does not require any third-party plugins whatsoever. For example, we all know that on a single page only three AdSense ads will appear. I&#8217;ve seen people that added the ad code between their posts on the index page. Guess what ? The first ads showed up alright but the other ones not and this resulted in the loss of precious space as the spots where the ads should have been were left blank. You can implement this method very fast as it&#8217;s very simple and you don&#8217;t need to be an advanced coder to get it done !</p>
<p>If you want to integrate ads into your posts here&#8217;s what you need to do. First of all let&#8217;s begin with defining the CSS class we&#8217;ll be using.<br />
The following code is for right-orientated ads (like the ones i use on my blog).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.ad-right</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">5px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The next code is for left-orientated ads.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.ad-left</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #933;">10px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>As you can see, the differences between the two classes are not so big. Feel free to play with them until you get the desired effect or if you don&#8217;t have any CSS knowledge at all you can use them as given. After you decide which class you will use, copy the code into your <strong>style.css</strong>. Thats it for the CSS part.</p>
<p>Let&#8217;s move along and edit our theme files. Whether you want to show your ads on the index page or the page containing just the article you will need to look for the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #339933;">...</span></pre></div></div>

<p>By default any wordpress theme will have that code in it&#8217;s template file and it doesn&#8217;t matter what&#8217;s after it because many themes use custom and different code. After you located the code be sure to add the following lines exactly before it:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;ad-right&quot;&gt;
////Replace me with your ad code////
&lt;/div&gt;</pre></td></tr></table></div>

<p>Replace the line that says so with your ad code. Notice the class that is used. You might want to change that with <strong>ad-left</strong> as i told you before.<br />
Ok, so now you have in-content ads.</p>
<p>Now lets move forward and add some ads between your posts on the index page.<br />
In your index page template find the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Again bare in mind that you may not find the exact code. If you don&#8217;t have that exact code just make sure you find the <strong>have_posts()</strong> function. Add the following code exactly before it:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$post</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ad1</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ad2</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ad3</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>The above code uses the $ad1, $ad2, $ad3 variables to define after which posts the ads will be shown. The variable $post stores the post number and will be incremented later.<br />
Now before the closing of the div that marks the ending of the post content (something like this <strong>< / div > < ! -- End of Post -- ></strong>) add the following lines:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$ad1</span> <span style="color: #339933;">||</span> <span style="color: #000088;">$post</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$ad2</span> <span style="color: #339933;">||</span> <span style="color: #000088;">$post</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$ad3</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;p&gt;&lt;center&gt;
////Replace me with your ad code////
&lt;/center&gt;&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$post</span><span style="color: #339933;">++;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>As you can see at the end of the code we incremented the <strong>post</strong> variable.</p>
<p>If you want to know how to display ads from multiple advertising companies using the same code just drop me a comment and i will explain how to achieve that.</p>
<p>I&#8217;ve tested this method with ads from AdSense, BidVertiser, WidgetBucks, BlgAds, Chitika and AdBrite. The reason i&#8217;m not writing a tutorial for each of them is because all you need to do is to paste your ad code in the upper mentioned spot.</p>
<img src="http://softinquiry.com/?ak_action=api_record_view&id=47&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softinquiry.com/tips-on-how-to-integrate-ads-between-and-into-your-wordpress-posts.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Style your RSS feed with SimplePie</title>
		<link>http://softinquiry.com/style-your-rss-feed-with-simplepie.html</link>
		<comments>http://softinquiry.com/style-your-rss-feed-with-simplepie.html#comments</comments>
		<pubDate>Mon, 25 Feb 2008 18:01:46 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[scripts]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[feedburner]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[simplepie]]></category>
		<category><![CDATA[syndication]]></category>

		<guid isPermaLink="false">http://softinquiry.com/style-your-rss-feed-with-simplepie.html</guid>
		<description><![CDATA[This php class seems to do the trick if you&#8217;re after styling a RSS feed. It&#8217;s said that it brings the syndication back to it&#8217;s routs: simple, easy to use yet helpful. After spending like 10 minutes reading the documentation available i must say i couldn&#8217;t wait any longer to implement this neat script, so [...]]]></description>
			<content:encoded><![CDATA[<p>This php class seems to do the trick if you&#8217;re after styling a RSS feed. It&#8217;s said that it brings the syndication back to it&#8217;s routs: simple, easy to use yet helpful. After spending like 10 minutes reading the documentation available i must say i couldn&#8217;t wait any longer to implement this neat script, so there i was on the <em>plugins</em> page reading information about its possibilities of integrating into different CMSs, blog engines, etc.</p>
<p>SimplePie can be integrated within the following platforms:</p>
<ul class="toc">
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#bitweaver" class="toc">BitWeaver</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#cakephp" class="toc">CakePHP</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#codeigniter" class="toc">CodeIgniter</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#dokuwiki" class="toc">DokuWiki</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#drupal" class="toc">Drupal</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#facebook" class="toc">Facebook</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#joomla" class="toc">Joomla!</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#modx" class="toc">MODx</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#mediawiki" class="toc">Mediawiki</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#nucleus" class="toc">Nucleus</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#php-nuke" class="toc">PHP-Nuke</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#plume_cms" class="toc">Plume CMS</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#punbb" class="toc">PunBB</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#silverstripe" class="toc">SilverStripe</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#textpattern" class="toc">Textpattern</a></span></p>
</li>
<li class="level2">
<p class="li"><span class="li"><a href="http://simplepie.org/wiki/plugins/start#wordpress" class="toc">WordPress</a></span></p>
</li>
</ul>
<p>That&#8217;s an evidence of the fact that SimplePie really gets the job done as it can be integrated with a lot of CMSs. I am particularly interested in the possibility of integrating SimplePie into WordPress. Of course there&#8217;s a plugin that does all the hard work for us. Unfortunately the <a href="http://simplepie.org/wiki/plugins/wordpress/simplepie_plugin_for_wordpress" title="download link" target="_blank">download link</a> seems to be outdated but there&#8217;s no need to worry as there is another <a href="http://wordpress.org/extend/plugins/simplepie-plugin-for-wordpress/" title="official download location" target="_blank">official download location</a> for SimplePie.</p>
<p>I&#8217;m sure that you agree with me when i say that there&#8217;s no better explanation than a <a href="http://simplepie.org/demo/" title="demo" target="_blank">demo</a> which demonstrates the potential of SimplePie. All you have to do is to enter your feeds address (if you don&#8217;t have any just choose one from the list) and feast your eyes on a simple, fast, easy to use feed.</p>
<p>A nice feature of SimplePie is that it supports templates so now you can create your own custom made layouts using the available <a href="http://simplepie.org/wiki/plugins/wordpress/simplepie_plugin_for_wordpress#template_tags" title="template tags" target="_blank">template tags</a>.</p>
<p>If you ran into problems or just want to find an answer to a simple question you can consult the  <a href="http://simplepie.org/wiki/faq/start" title="online documentation" target="_blank">online documentation</a> or <a href="http://simplepie.org/wiki/faq/start" title="faq" target="_blank">FAQ</a>. If you don&#8217;t find what you need be sure to check the <a href="http://simplepie.org/support/" title="community forums" target="_blank">community forums</a> (which are a proof of the great support that SimplePie has) though bare in mind that they are moving their support over at <a href="http://tech.groups.yahoo.com/group/simplepie-support/" title="yahoo! groups" target="_blank">Yahoo! Groups</a>.</p>
<p>Also you can <a href="http://simplepie.org/demo/easy_access/" title="integrate simplepie into firefox" target="_blank">integrate SimplePie into Firefox</a> browser and use it as a feed handler.</p>
<p>A <em>good-to-know</em> tip is that SimplePie works perfectly with <a href="http://www.feedburner.com/fb/a/help/wordpress_quickstart" title="FeedSmith" target="_blank">FeedBurner FeedSmith</a> plugin.</p>
<p>Check out SimplePies Wordpress plugin options:</p>
<p><a href="http://softinquiry.com/wp-content/gallery/simplepie/01-feb-25.png" class="thickbox" title="01-feb-25.png"><img src="http://softinquiry.com/wp-content/gallery/simplepie/thumbs/thumbs_01-feb-25.png" alt="01-feb-25.png" title="01-feb-25.png" /></a></p>
<img src="http://softinquiry.com/?ak_action=api_record_view&id=40&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softinquiry.com/style-your-rss-feed-with-simplepie.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>phpbb3 should have native support for quick edit and quick reply</title>
		<link>http://softinquiry.com/phpbb3-should-have-native-support-for-quick-edit-and-quick-reply.html</link>
		<comments>http://softinquiry.com/phpbb3-should-have-native-support-for-quick-edit-and-quick-reply.html#comments</comments>
		<pubDate>Sat, 23 Feb 2008 21:11:10 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[firefox addons]]></category>
		<category><![CDATA[phpbb3]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[forums]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[mods]]></category>
		<category><![CDATA[quick edit]]></category>
		<category><![CDATA[quick reply]]></category>

		<guid isPermaLink="false">http://softinquiry.com/phpbb3-should-have-native-support-for-quick-edit-and-quick-reply.html</guid>
		<description><![CDATA[I don&#8217;t know why they haven&#8217;t implemented quick reply and quick edit functions to phpbb 3.0.0.  I personally find them very useful and as i have seen they are highly appreciated by phpbb fans. It would have been a great thing to have native support for that. As expected, some good folks coded a [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know why they haven&#8217;t implemented quick reply and quick edit functions to phpbb 3.0.0.  I personally find them very useful and as i have seen they are highly appreciated by phpbb fans. It would have been a great thing to have native support for that. As expected, some good folks coded a few lines to help phpbb have that extra feeling it lacks.</p>
<p class="redbox">Don&#8217;t forget to backup your files before you proceed and to refresh your template files from ACP after you are done.</p>
<p><em>&#8220;<a href="http://www.phpbb.com/community/viewtopic.php?f=69&amp;t=595969" title="evil quick reply" target="_blank">Evil Quick Reply</a>&#8220;</em> is the name of the MOD which adds a button next to &#8220;Post Reply&#8221; that says &#8220;Quick Reply&#8221; and when pressed toggles a textbox (without refreshing the page) in which you can type a fast reply and submit it right away without going through the &#8220;advanced reply form&#8221;. This MOD is extremly easy to install, it doesn&#8217;t require any database adjusting and you can get it up and running in like 2 minutes. It has been successfully tested on the latest phpbb3 version (3.0.0). Also it supports prosilver and subsilver2 styles engines. Optionally you can choose to add the BBcodes and the smilies to the quick reply form.</p>
<p><a href="http://softinquiry.com/wp-content/gallery/phpbb/01-feb-23.png" class="thickbox" title="01-feb-23.png"></a></p>
<p style="text-align: center"><a href="http://softinquiry.com/wp-content/gallery/phpbb/01-feb-23.png" class="thickbox" title="01-feb-23.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_01-feb-23.png" alt="01-feb-23.png" title="01-feb-23.png" /></a></p>
<p>Unfortunately not even to this day there isn&#8217;t an official MOD designed to quick edit posts on both prosilver and subsilver2 styles. However if you use a subsilver2 based style you can consider yourself lucky because in spite of the fact that it&#8217;s just in its DEV state there is a MOD that provides the quick edit function. <em>&#8220;<a href="http://www.phpbb.com/community/viewtopic.php?f=70&amp;t=597644&amp;st=0&amp;sk=t&amp;sd=a" title="Ajax quick edit" target="_blank">Ajax Quick Edit</a>&#8220;</em> is also a great MOD that&#8217;s easy to install, supports phpbb 3.0.0 and it doesn&#8217;t require any database adjusting. The single disadvantage for the moment is that it currently supports only subsilver2 style engine but as the developer promised, support for prosilver will soon be available (i might post a <em>quick notice article</em> when prosilver will be supported just to give the ones that are interested a heads up).</p>
<p align="center"><a href="http://softinquiry.com/wp-content/gallery/phpbb/filephp-png-image-772x267-pixels_1203797604078.png" class="thickbox" title="filephp-png-image-772x267-pixels_1203797604078.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_filephp-png-image-772x267-pixels_1203797604078.png" alt="filephp-png-image-772x267-pixels_1203797604078.png" title="filephp-png-image-772x267-pixels_1203797604078.png" /></a><a href="http://softinquiry.com/wp-content/gallery/phpbb/filephp-png-image-259x199-pixels_1203797623140.png" class="thickbox" title="filephp-png-image-259x199-pixels_1203797623140.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_filephp-png-image-259x199-pixels_1203797623140.png" alt="filephp-png-image-259x199-pixels_1203797623140.png" title="filephp-png-image-259x199-pixels_1203797623140.png" /></a></p>
<p>These being written all that remains now is to inform you on the alternatives you have in case of you&#8217;re not the admin on the forum but still want to use this great functions as the forum administrator didn&#8217;t implemented the above MODs. As some of you already know, <a href="https://addons.mozilla.org/en-US/firefox/addon/748" title="GreaseMonkey" target="_blank">GreaseMonkey</a> is an awesome Firefox addon that supports user scripts. I bet most of you already know what i&#8217;m about to write because of the terms association <em>firefox-greasemonkey-userscript-phpbb</em>. You got that right ! There are two user scripts available that will enhance your experience with phpbb3 based forums.</p>
<p><em>&#8220;<a href="http://userscripts.org/scripts/show/11064" title="phpBBv3 Quick Edit" target="_blank">phpBBv3 Quick Edit</a>&#8220;</em> for GreaseMonkey is just another breathtaking, must have script (with a little AJAX) that&#8217;s more than useful because it offers you the chance of editing an article without refreshing the entire page EVEN when no such MOD has been implemented to that forum !</p>
<p align="center"> <a href="http://softinquiry.com/wp-content/gallery/phpbb/02-feb-23.png" class="thickbox" title="02-feb-23.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_02-feb-23.png" alt="02-feb-23.png" title="02-feb-23.png" /></a><a href="http://softinquiry.com/wp-content/gallery/phpbb/03-feb-23.png" class="thickbox" title="03-feb-23.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_03-feb-23.png" alt="03-feb-23.png" title="03-feb-23.png" /></a><a href="http://softinquiry.com/wp-content/gallery/phpbb/04-feb-23.png" class="thickbox" title="04-feb-23.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_04-feb-23.png" alt="04-feb-23.png" title="04-feb-23.png" /></a></p>
<p>&#8220;<em><a href="http://userscripts.org/scripts/show/10948" title="phpBBv3 Quick Reply" target="_blank">phpBBv3 Quick Reply</a></em>&#8221; script offers the much needed quick reply function to phpbb3 forums users. Remember that this is possible even if the forums don&#8217;t have MODs implemented !</p>
<p align="center"><a href="http://softinquiry.com/wp-content/gallery/phpbb/05-feb-23.png" class="thickbox" title="05-feb-23.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_05-feb-23.png" alt="05-feb-23.png" title="05-feb-23.png" /></a><a href="http://softinquiry.com/wp-content/gallery/phpbb/06-feb-23.png" class="thickbox" title="06-feb-23.png"><img src="http://softinquiry.com/wp-content/gallery/phpbb/thumbs/thumbs_06-feb-23.png" alt="06-feb-23.png" title="06-feb-23.png" /></a></p>
<p>The above two user scripts for GreaseMonkey represent a kind of consolation yet a very viable alternative !<br />
*<em>to download/install the MODs or scripts mentioned in the above article please refer to the links given.</em></p>
<img src="http://softinquiry.com/?ak_action=api_record_view&id=39&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softinquiry.com/phpbb3-should-have-native-support-for-quick-edit-and-quick-reply.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Gtalk multiple instances</title>
		<link>http://softinquiry.com/gtalk-multiple-instances.html</link>
		<comments>http://softinquiry.com/gtalk-multiple-instances.html#comments</comments>
		<pubDate>Thu, 07 Feb 2008 15:25:44 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[gtalk]]></category>

		<guid isPermaLink="false">http://softinquiry.com/gtalk-multiple-instances.html</guid>
		<description><![CDATA[Nowadays it&#8217;s almost a necessity, more than common to have multiple mail accounts, therefore the need of having more than one instance of your instant messaging program, in our case Gtalk is fairly onest.
All you need to do is to edit the target path of the original shortcut created by the install wizzard and to [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays it&#8217;s almost a necessity, more than common to have multiple mail accounts, therefore the need of having more than one instance of your instant messaging program, in our case Gtalk is fairly onest.</p>
<p>All you need to do is to edit the target path of the original shortcut created by the install wizzard and to add the following launch parameter at the end of the line: <strong>/nomutex</strong></p>
<p>There you have it ! Now you can have more than one instance of Google&#8217;s native instant messaging program, Gtalk.</p>
<p>Here is a picture for the ones that didn&#8217;t really understood the lines above:</p>
<p><a href="http://softinquiry.com/wp-content/gallery/gtalk/gtalk.jpg" class="thickbox" title="gtalk.jpg"><img src="http://softinquiry.com/wp-content/gallery/gtalk/thumbs/thumbs_gtalk.jpg" alt="gtalk.jpg" title="gtalk.jpg" /></a></p>
<img src="http://softinquiry.com/?ak_action=api_record_view&id=8&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softinquiry.com/gtalk-multiple-instances.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>
