<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Rusnak PHP Scripts Support Forums - All Forums]]></title>
		<link>http://www.rusnakweb.com/forum/</link>
		<description><![CDATA[Rusnak PHP Scripts Support Forums - http://www.rusnakweb.com/forum]]></description>
		<pubDate>Thu, 02 Sep 2010 18:44:25 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[The only thing we have to fear is fear itself]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1971</link>
			<pubDate>Thu, 02 Sep 2010 01:24:58 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1971</guid>
			<description><![CDATA[We need to look at the dark side of leadership failure to gain insights into leaders that helped create the current economic maelstrom. Recent corporate bankruptcies reveal that some CEOs and government leaders fail on such a scale that they bring the company and the economy down with them. Why did AIG, Lehman Brothers and others fail? What are the patterns and warning signs? How can we detect the warning signs in organizations before it is too late? Bad Leadership Styles are a major cause of our current global economic crisis.<br />
<br />
1. Incompetent: The leader and some of his/her followers lack the skills of high performance.<br />
<br />
2. Inflexible: The leader is unwilling to adapt to new ideas, new information or changing times.<br />
<br />
3. Impulsive: The leader lacks self-control and is enabled by followers who do not intervene.<br />
<br />
4. Self-Absorbed: The leader is uncaring or unkind and narcissistic.<br />
<br />
5. Corrupt: These leaders put self interest above all else.<br />
<br />
6. Selfish: They disregard or minimize the health and welfare of others.<br />
<br />
7. Non-Apologetic: They do not take responsibility and blame others to avoid legal jeopardy.<br />
<br />
8. Evil: Some leaders and their followers are mean spirited and cause others great suffering.]]></description>
			<content:encoded><![CDATA[We need to look at the dark side of leadership failure to gain insights into leaders that helped create the current economic maelstrom. Recent corporate bankruptcies reveal that some CEOs and government leaders fail on such a scale that they bring the company and the economy down with them. Why did AIG, Lehman Brothers and others fail? What are the patterns and warning signs? How can we detect the warning signs in organizations before it is too late? Bad Leadership Styles are a major cause of our current global economic crisis.<br />
<br />
1. Incompetent: The leader and some of his/her followers lack the skills of high performance.<br />
<br />
2. Inflexible: The leader is unwilling to adapt to new ideas, new information or changing times.<br />
<br />
3. Impulsive: The leader lacks self-control and is enabled by followers who do not intervene.<br />
<br />
4. Self-Absorbed: The leader is uncaring or unkind and narcissistic.<br />
<br />
5. Corrupt: These leaders put self interest above all else.<br />
<br />
6. Selfish: They disregard or minimize the health and welfare of others.<br />
<br />
7. Non-Apologetic: They do not take responsibility and blame others to avoid legal jeopardy.<br />
<br />
8. Evil: Some leaders and their followers are mean spirited and cause others great suffering.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Siggymon]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1970</link>
			<pubDate>Wed, 01 Sep 2010 10:12:28 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1970</guid>
			<description><![CDATA[Hey guys I just started working on my adoptable site and wanted to get some feedback on how the site looks so far.<br />
<br />
Right now I have one adoptable available with 5 levels and it took me days to make.  How do you guys make your pets? Is there a faster/better way than doing them from scratch like i did?<br />
<br />
I've made a few edits to the theme, but nothing too major.  I plan to add a forum after I figure out how to bridge/integrate forum accounts with accounts created using this script. (Does anyone know how to do this??)<br />
<br />
Also, if anyone likes my site and wants to volunteer please let me know!  I could use some pet artists and forum staff.<br />
<br />
Here's the link to my site: <a href="http://www.siggymon.com" target="_blank">http://www.siggymon.com</a>]]></description>
			<content:encoded><![CDATA[Hey guys I just started working on my adoptable site and wanted to get some feedback on how the site looks so far.<br />
<br />
Right now I have one adoptable available with 5 levels and it took me days to make.  How do you guys make your pets? Is there a faster/better way than doing them from scratch like i did?<br />
<br />
I've made a few edits to the theme, but nothing too major.  I plan to add a forum after I figure out how to bridge/integrate forum accounts with accounts created using this script. (Does anyone know how to do this??)<br />
<br />
Also, if anyone likes my site and wants to volunteer please let me know!  I could use some pet artists and forum staff.<br />
<br />
Here's the link to my site: <a href="http://www.siggymon.com" target="_blank">http://www.siggymon.com</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MyBB forum integration]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1969</link>
			<pubDate>Wed, 01 Sep 2010 07:14:17 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1969</guid>
			<description><![CDATA[Hope I'm posting this in the right place..<br />
<br />
Is there anyway to bridge/integrate MyBB with this script so users only have to have one account and not two seperate ones?<br />
<br />
Please let me know this would be very helpful!!!]]></description>
			<content:encoded><![CDATA[Hope I'm posting this in the right place..<br />
<br />
Is there anyway to bridge/integrate MyBB with this script so users only have to have one account and not two seperate ones?<br />
<br />
Please let me know this would be very helpful!!!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[images aren't showing]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1967</link>
			<pubDate>Tue, 31 Aug 2010 11:13:41 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1967</guid>
			<description><![CDATA[Please help me...<br />
<br />
my .htaccess  file:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>RewriteEngine On<br />
<br />
<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^get/([0-9&#93;+).gif&#36; /siggy.php?id=&#36;1 [L&#93;</code></div></div>
<br />
my siggy.php file:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;?php<br />
<br />
// **********************************************************************<br />
// Rusnak PHP Adoptables Script<br />
// Copyright 2009 Brandon Rusnak<br />
// For help and support: http://www.rusnakweb.com/forum/<br />
//<br />
// Redistribution prohibited without written permission<br />
//<br />
// File ID: siggy.php<br />
// Purpose: Show signature images for adoptables<br />
// **********************************************************************<br />
<br />
// Wake the sleeping giant<br />
<br />
// **********************************************************************<br />
// Basic Configuration Info<br />
// **********************************************************************<br />
<br />
include("inc/functions.php");<br />
include("inc/config.php");<br />
include("lang/lang.php");<br />
<br />
&#36;themeurl = grabanysetting("themeurl");<br />
<br />
// **********************************************************************<br />
// Define our top links by calling getlinks()<br />
// **********************************************************************<br />
<br />
&#36;links = getlinks();<br />
<br />
// **********************************************************************<br />
// Define our ads by calling getads()<br />
// **********************************************************************<br />
<br />
&#36;ads = getads("any");<br />
<br />
// **********************************************************************<br />
// Grab any dynamic article content from the content table<br />
// **********************************************************************<br />
<br />
&#36;pagecontent = getsitecontent("index");<br />
&#36;article_title = &#36;pagecontent[title&#93;;<br />
&#36;article_content = &#36;pagecontent[content&#93;;<br />
&#36;article_content = nl2br(&#36;article_content);<br />
<br />
// **********************************************************************<br />
// Grab any settings that we will need for the current page from the DB<br />
// **********************************************************************<br />
<br />
&#36;browsertitle = grabanysetting("browsertitle");<br />
&#36;sitename = grabanysetting("sitename");<br />
&#36;slogan = grabanysetting("slogan");<br />
<br />
// **********************************************************************<br />
// Check and see if the user is logged in to the site<br />
// **********************************************************************<br />
<br />
&#36;loginstatus = logincheck();<br />
&#36;isloggedin = &#36;loginstatus[loginstatus&#93;;<br />
&#36;loggedinname = &#36;loginstatus[username&#93;;<br />
<br />
// **********************************************************************<br />
// End Prepwork - Output the page to the user<br />
// **********************************************************************<br />
<br />
// We need to grab an adoptable ID<br />
<br />
&#36;id = &#36;_GET["id"&#93;;<br />
&#36;id = preg_replace("/[^a-zA-Z0-9s&#93;/", "", &#36;id);<br />
&#36;id = secure(&#36;id);<br />
<br />
// Check that ID exists and is valid<br />
<br />
if(is_numeric(&#36;id)){<br />
<br />
// The ID appears to be valid, so double check...<br />
<br />
&#36;query = "SELECT * FROM ".&#36;prefix."owned_adoptables WHERE aid='&#36;id'";<br />
&#36;result = mysql_query(&#36;query);<br />
&#36;num = mysql_numrows(&#36;result);<br />
<br />
//Loop out code<br />
&#36;i=0;<br />
while (&#36;i &lt; 1) {<br />
<br />
&#36;aid=@mysql_result(&#36;result,&#36;i,"aid"); //The adoptable's ID<br />
&#36;currentlevel=@mysql_result(&#36;result,&#36;i,"currentlevel");<br />
&#36;type=@mysql_result(&#36;result,&#36;i,"type");<br />
&#36;name=@mysql_result(&#36;result,&#36;i,"name");<br />
&#36;totalclicks=@mysql_result(&#36;result,&#36;i,"totalclicks");<br />
&#36;isfrozen=@mysql_result(&#36;result,&#36;i,"isfrozen");<br />
&#36;owner=@mysql_result(&#36;result,&#36;i,"owner");<br />
<br />
&#36;i++;<br />
}<br />
<br />
if(&#36;aid == &#36;id){<br />
<br />
// The adoptable exists, so let's try and show the image<br />
<br />
&#36;usingimage = "no";<br />
<br />
&#36;image = getcurrentimage(&#36;id);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Let's see if the server has support for GD or not<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Also to use fancy images the image must be a gif and fancy images must be enabled...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;usegd = grabanysetting("gdimages");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;imageinfo = @getimagesize(&#36;image);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;imagemime = &#36;imageinfo["mime"&#93;; // Mime type of the image file, should be a .gif file...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(function_exists('imagegif') and &#36;usegd == "yes" and &#36;imagemime == "image/gif")<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;usingimage = "yes"; //Turn the template system off<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// BEGIN NEW CODE<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;list(&#36;width, &#36;height, &#36;type, &#36;attr) = getimagesize(&#36;image); // The size of the original adoptable image<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Begin the fancy outputs...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Lets create the new target image, with a size big enough for the text for the adoptable<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;newheight = &#36;height + 72;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(&#36;newwidth &lt; 250){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;newwidth = 250;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;else{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;newwidth = &#36;width;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;img_temp = imagecreatetruecolor(&#36;newwidth, &#36;newheight); <br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;alphablending = true;&nbsp;&nbsp;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Lets create the image and save its transparency&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;img_old = @imagecreatefromgif(&#36;image);&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;imagealphablending(&#36;img_old, true);&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;imagesavealpha(&#36;img_old, true);<br />
&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp; // Lets copy the old image into the new image with&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp; // the given size&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp; ImageCopyResampled(&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;img_temp,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;img_old,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0, 0, 0, 0,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;width,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;height,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;width,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;height&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp; );&nbsp;&nbsp;<br />
&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;textheight = &#36;width + 2;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;image = &#36;img_temp;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;bgi = imagecreatetruecolor(&#36;newwidth, &#36;newheight);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;color = imagecolorallocate(&#36;bgi, 51, 51, 51);<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str1 = "Name: ".&#36;name;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str2 = "Owner: ".&#36;owner;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str3 = "Click Here to Feed Me!";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str4 = "More Adopts at:";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str5 = "www.".&#36;domain;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight,&nbsp;&nbsp;&#36;str1, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 13,&nbsp;&nbsp;&#36;str2, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 26,&nbsp;&nbsp;&#36;str3, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 42,&nbsp;&nbsp;&#36;str4, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 55,&nbsp;&nbsp;&#36;str5, &#36;color);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;background = imagecolorallocate(&#36;image, 0, 0, 0);&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ImageColorTransparent(&#36;image, &#36;background);&nbsp;&nbsp;<br />
 <br />
&nbsp;&nbsp;&nbsp;&nbsp;header("Content-Type: image/GIF");<br />
&nbsp;&nbsp;&nbsp;&nbsp;ImageGif (&#36;image);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;image);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;img_temp);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;img_old);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;bgi);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;else{<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;// We are going to try and get this image the old fashioned way...<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Define a list of allowed file extentions...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList = array();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['gif'&#93; = 'image/gif';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['jpg'&#93; = 'image/jpe';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['jpeg'&#93; = 'image/jpeg';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['png'&#93; = 'image/png';<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//Define the output file type<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;contentType = 'Content-type: '.&#36;extList[ &#36;imageinfo['extension'&#93; &#93;;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(&#36;imageinfo['extension'&#93; =! "image/gif" and &#36;imageinfo['extension'&#93; =! "image/jpeg" and &#36;imageinfo['extension'&#93; =! "image/png"){<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// The file type is NOT ALLOWED<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("Hacking Attempt!");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;else{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// File type is allowed, so proceed<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Try and read the file in<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;status = "";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;header (&#36;contentType);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;status = readfile(&#36;image);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(&#36;status == "" or &#36;status == "false" or &#36;status == "FALSE"){<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Reading the file failed, so show an error...&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;header ("text/plain");<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("Readfile appears to be disabled on your host.");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;} <br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
<br />
}<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
}<br />
<br />
<br />
// **********************************************************************<br />
// Begin Template Definition<br />
// **********************************************************************<br />
<br />
//Define our current theme<br />
&#36;file = &#36;themeurl;<br />
<br />
// Do the template changes and echo the ready template<br />
&#36;template = file_get_contents(&#36;file);<br />
<br />
&#36;template = replace(':ARTICLETITLE:',&#36;article_title,&#36;template);<br />
&#36;template = replace(':ARTICLECONTENT:',&#36;article_content,&#36;template);<br />
&#36;template = replace(':ARTICLEDATE:',&#36;article_date,&#36;template);<br />
<br />
&#36;template = replace(':BROWSERTITLE:',&#36;browsertitle,&#36;template);<br />
&#36;template = replace(':SITENAME:',&#36;sitename,&#36;template);<br />
<br />
//Define our links<br />
&#36;template = replace(':LINKSBAR:',&#36;links,&#36;template);<br />
<br />
//Get the content for the side bar...<br />
<br />
&#36;sidebar = getsidebar();<br />
&#36;template = replace(':SIDEFEED:',&#36;sidebar,&#36;template);<br />
<br />
//Get the ad content...<br />
&#36;template = replace(':ADS:',&#36;ads,&#36;template);<br />
<br />
//Get the slogan info<br />
&#36;template = replace(':SLOGAN:',&#36;slogan,&#36;template);<br />
<br />
<br />
if(&#36;usingimage != "yes"){<br />
echo &#36;template; // Only echo the template if we are not showing an image... <br />
}<br />
<br />
// **********************************************************************<br />
// End Template Definition<br />
// **********************************************************************<br />
<br />
<br />
<br />
?&gt;</code></div></div>
<br />
and my config.php and inc/config.php files:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;?php<br />
//Rusnak PHP Adoptables Site Configuration File<br />
<br />
&#36;dbhost = 'mysql15.000webhost.com';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//DB Hostname<br />
&#36;dbuser = 'a8400506_dogz';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//DB User<br />
&#36;dbpass = '*********';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//DB Password<br />
&#36;dbname = 'a8400506_dogz';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Your database name<br />
&#36;domain = 'dogz.freeiz.com';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Your domain name (No http, www or . )<br />
&#36;scriptpath = '';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//The folder you installed this script in<br />
&#36;prefix = 'adopts_';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
<br />
?&gt;</code></div></div>
<br />
<br />
<a href="http://www.dogz.freeiz.com/siggy.php?id=3" target="_blank">http://www.dogz.freeiz.com/siggy.php?id=3</a><br />
<a href="http://www.dogz.freeiz.com/get/3.gif" target="_blank">http://www.dogz.freeiz.com/get/3.gif</a><br />
<br />
What's wrong?]]></description>
			<content:encoded><![CDATA[Please help me...<br />
<br />
my .htaccess  file:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>RewriteEngine On<br />
<br />
<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^get/([0-9]+).gif&#36; /siggy.php?id=&#36;1 [L]</code></div></div>
<br />
my siggy.php file:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;?php<br />
<br />
// **********************************************************************<br />
// Rusnak PHP Adoptables Script<br />
// Copyright 2009 Brandon Rusnak<br />
// For help and support: http://www.rusnakweb.com/forum/<br />
//<br />
// Redistribution prohibited without written permission<br />
//<br />
// File ID: siggy.php<br />
// Purpose: Show signature images for adoptables<br />
// **********************************************************************<br />
<br />
// Wake the sleeping giant<br />
<br />
// **********************************************************************<br />
// Basic Configuration Info<br />
// **********************************************************************<br />
<br />
include("inc/functions.php");<br />
include("inc/config.php");<br />
include("lang/lang.php");<br />
<br />
&#36;themeurl = grabanysetting("themeurl");<br />
<br />
// **********************************************************************<br />
// Define our top links by calling getlinks()<br />
// **********************************************************************<br />
<br />
&#36;links = getlinks();<br />
<br />
// **********************************************************************<br />
// Define our ads by calling getads()<br />
// **********************************************************************<br />
<br />
&#36;ads = getads("any");<br />
<br />
// **********************************************************************<br />
// Grab any dynamic article content from the content table<br />
// **********************************************************************<br />
<br />
&#36;pagecontent = getsitecontent("index");<br />
&#36;article_title = &#36;pagecontent[title];<br />
&#36;article_content = &#36;pagecontent[content];<br />
&#36;article_content = nl2br(&#36;article_content);<br />
<br />
// **********************************************************************<br />
// Grab any settings that we will need for the current page from the DB<br />
// **********************************************************************<br />
<br />
&#36;browsertitle = grabanysetting("browsertitle");<br />
&#36;sitename = grabanysetting("sitename");<br />
&#36;slogan = grabanysetting("slogan");<br />
<br />
// **********************************************************************<br />
// Check and see if the user is logged in to the site<br />
// **********************************************************************<br />
<br />
&#36;loginstatus = logincheck();<br />
&#36;isloggedin = &#36;loginstatus[loginstatus];<br />
&#36;loggedinname = &#36;loginstatus[username];<br />
<br />
// **********************************************************************<br />
// End Prepwork - Output the page to the user<br />
// **********************************************************************<br />
<br />
// We need to grab an adoptable ID<br />
<br />
&#36;id = &#36;_GET["id"];<br />
&#36;id = preg_replace("/[^a-zA-Z0-9s]/", "", &#36;id);<br />
&#36;id = secure(&#36;id);<br />
<br />
// Check that ID exists and is valid<br />
<br />
if(is_numeric(&#36;id)){<br />
<br />
// The ID appears to be valid, so double check...<br />
<br />
&#36;query = "SELECT * FROM ".&#36;prefix."owned_adoptables WHERE aid='&#36;id'";<br />
&#36;result = mysql_query(&#36;query);<br />
&#36;num = mysql_numrows(&#36;result);<br />
<br />
//Loop out code<br />
&#36;i=0;<br />
while (&#36;i &lt; 1) {<br />
<br />
&#36;aid=@mysql_result(&#36;result,&#36;i,"aid"); //The adoptable's ID<br />
&#36;currentlevel=@mysql_result(&#36;result,&#36;i,"currentlevel");<br />
&#36;type=@mysql_result(&#36;result,&#36;i,"type");<br />
&#36;name=@mysql_result(&#36;result,&#36;i,"name");<br />
&#36;totalclicks=@mysql_result(&#36;result,&#36;i,"totalclicks");<br />
&#36;isfrozen=@mysql_result(&#36;result,&#36;i,"isfrozen");<br />
&#36;owner=@mysql_result(&#36;result,&#36;i,"owner");<br />
<br />
&#36;i++;<br />
}<br />
<br />
if(&#36;aid == &#36;id){<br />
<br />
// The adoptable exists, so let's try and show the image<br />
<br />
&#36;usingimage = "no";<br />
<br />
&#36;image = getcurrentimage(&#36;id);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Let's see if the server has support for GD or not<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Also to use fancy images the image must be a gif and fancy images must be enabled...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;usegd = grabanysetting("gdimages");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;imageinfo = @getimagesize(&#36;image);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;imagemime = &#36;imageinfo["mime"]; // Mime type of the image file, should be a .gif file...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(function_exists('imagegif') and &#36;usegd == "yes" and &#36;imagemime == "image/gif")<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;usingimage = "yes"; //Turn the template system off<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// BEGIN NEW CODE<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;list(&#36;width, &#36;height, &#36;type, &#36;attr) = getimagesize(&#36;image); // The size of the original adoptable image<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Begin the fancy outputs...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Lets create the new target image, with a size big enough for the text for the adoptable<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;newheight = &#36;height + 72;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(&#36;newwidth &lt; 250){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;newwidth = 250;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;else{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;newwidth = &#36;width;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;img_temp = imagecreatetruecolor(&#36;newwidth, &#36;newheight); <br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;alphablending = true;&nbsp;&nbsp;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Lets create the image and save its transparency&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;img_old = @imagecreatefromgif(&#36;image);&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;imagealphablending(&#36;img_old, true);&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;imagesavealpha(&#36;img_old, true);<br />
&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp; // Lets copy the old image into the new image with&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp; // the given size&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp; ImageCopyResampled(&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;img_temp,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;img_old,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0, 0, 0, 0,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;width,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;height,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;width,&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;height&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp; );&nbsp;&nbsp;<br />
&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;textheight = &#36;width + 2;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;image = &#36;img_temp;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;bgi = imagecreatetruecolor(&#36;newwidth, &#36;newheight);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;color = imagecolorallocate(&#36;bgi, 51, 51, 51);<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str1 = "Name: ".&#36;name;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str2 = "Owner: ".&#36;owner;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str3 = "Click Here to Feed Me!";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str4 = "More Adopts at:";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;str5 = "www.".&#36;domain;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight,&nbsp;&nbsp;&#36;str1, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 13,&nbsp;&nbsp;&#36;str2, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 26,&nbsp;&nbsp;&#36;str3, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 42,&nbsp;&nbsp;&#36;str4, &#36;color);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagestring (&#36;image, 12, 0, &#36;textheight + 55,&nbsp;&nbsp;&#36;str5, &#36;color);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;background = imagecolorallocate(&#36;image, 0, 0, 0);&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ImageColorTransparent(&#36;image, &#36;background);&nbsp;&nbsp;<br />
 <br />
&nbsp;&nbsp;&nbsp;&nbsp;header("Content-Type: image/GIF");<br />
&nbsp;&nbsp;&nbsp;&nbsp;ImageGif (&#36;image);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;image);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;img_temp);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;img_old);<br />
&nbsp;&nbsp;&nbsp;&nbsp;imagedestroy(&#36;bgi);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;else{<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;// We are going to try and get this image the old fashioned way...<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Define a list of allowed file extentions...<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList = array();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['gif'] = 'image/gif';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['jpg'] = 'image/jpe';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['jpeg'] = 'image/jpeg';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;extList['png'] = 'image/png';<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//Define the output file type<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;contentType = 'Content-type: '.&#36;extList[ &#36;imageinfo['extension'] ];<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(&#36;imageinfo['extension'] =! "image/gif" and &#36;imageinfo['extension'] =! "image/jpeg" and &#36;imageinfo['extension'] =! "image/png"){<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// The file type is NOT ALLOWED<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("Hacking Attempt!");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;else{<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// File type is allowed, so proceed<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Try and read the file in<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;status = "";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;header (&#36;contentType);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;status = readfile(&#36;image);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(&#36;status == "" or &#36;status == "false" or &#36;status == "FALSE"){<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Reading the file failed, so show an error...&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;header ("text/plain");<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("Readfile appears to be disabled on your host.");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;} <br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
<br />
}<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
}<br />
<br />
<br />
// **********************************************************************<br />
// Begin Template Definition<br />
// **********************************************************************<br />
<br />
//Define our current theme<br />
&#36;file = &#36;themeurl;<br />
<br />
// Do the template changes and echo the ready template<br />
&#36;template = file_get_contents(&#36;file);<br />
<br />
&#36;template = replace(':ARTICLETITLE:',&#36;article_title,&#36;template);<br />
&#36;template = replace(':ARTICLECONTENT:',&#36;article_content,&#36;template);<br />
&#36;template = replace(':ARTICLEDATE:',&#36;article_date,&#36;template);<br />
<br />
&#36;template = replace(':BROWSERTITLE:',&#36;browsertitle,&#36;template);<br />
&#36;template = replace(':SITENAME:',&#36;sitename,&#36;template);<br />
<br />
//Define our links<br />
&#36;template = replace(':LINKSBAR:',&#36;links,&#36;template);<br />
<br />
//Get the content for the side bar...<br />
<br />
&#36;sidebar = getsidebar();<br />
&#36;template = replace(':SIDEFEED:',&#36;sidebar,&#36;template);<br />
<br />
//Get the ad content...<br />
&#36;template = replace(':ADS:',&#36;ads,&#36;template);<br />
<br />
//Get the slogan info<br />
&#36;template = replace(':SLOGAN:',&#36;slogan,&#36;template);<br />
<br />
<br />
if(&#36;usingimage != "yes"){<br />
echo &#36;template; // Only echo the template if we are not showing an image... <br />
}<br />
<br />
// **********************************************************************<br />
// End Template Definition<br />
// **********************************************************************<br />
<br />
<br />
<br />
?&gt;</code></div></div>
<br />
and my config.php and inc/config.php files:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;?php<br />
//Rusnak PHP Adoptables Site Configuration File<br />
<br />
&#36;dbhost = 'mysql15.000webhost.com';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//DB Hostname<br />
&#36;dbuser = 'a8400506_dogz';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//DB User<br />
&#36;dbpass = '*********';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//DB Password<br />
&#36;dbname = 'a8400506_dogz';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Your database name<br />
&#36;domain = 'dogz.freeiz.com';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Your domain name (No http, www or . )<br />
&#36;scriptpath = '';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//The folder you installed this script in<br />
&#36;prefix = 'adopts_';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
<br />
?&gt;</code></div></div>
<br />
<br />
<a href="http://www.dogz.freeiz.com/siggy.php?id=3" target="_blank">http://www.dogz.freeiz.com/siggy.php?id=3</a><br />
<a href="http://www.dogz.freeiz.com/get/3.gif" target="_blank">http://www.dogz.freeiz.com/get/3.gif</a><br />
<br />
What's wrong?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A few bugs with Rusnak]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1964</link>
			<pubDate>Tue, 31 Aug 2010 04:32:35 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1964</guid>
			<description><![CDATA[Hello, I'm a creator of a IPB multiforums script.<br />
I've noticed an error in my script and thought that Rusnak would have the answer to my amateur error, however it seems that Rusnak has this problem too.<br />
<br />
You see my subdomains do work when trying to associate the right forum, but if a user tries to register a forum called www, it would not work.<br />
<a href="http://www.www.thesite.com" target="_blank">http://www.www.thesite.com</a>.<br />
<br />
Also, this is just another harmless bug - that since you made a wildcard subdomain is that you're allowed to access say the create new forum page via someone else's subdomain, an example would be <a href="http://support.createbb.com/forum/create," target="_blank">http://support.createbb.com/forum/create,</a> I know I'm complaining &gt;.&gt; but, eww.<br />
<br />
Best Regards,<br />
James McIntosh.]]></description>
			<content:encoded><![CDATA[Hello, I'm a creator of a IPB multiforums script.<br />
I've noticed an error in my script and thought that Rusnak would have the answer to my amateur error, however it seems that Rusnak has this problem too.<br />
<br />
You see my subdomains do work when trying to associate the right forum, but if a user tries to register a forum called www, it would not work.<br />
<a href="http://www.www.thesite.com" target="_blank">http://www.www.thesite.com</a>.<br />
<br />
Also, this is just another harmless bug - that since you made a wildcard subdomain is that you're allowed to access say the create new forum page via someone else's subdomain, an example would be <a href="http://support.createbb.com/forum/create," target="_blank">http://support.createbb.com/forum/create,</a> I know I'm complaining &gt;.&gt; but, eww.<br />
<br />
Best Regards,<br />
James McIntosh.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Many bugs that i have found...]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1963</link>
			<pubDate>Mon, 30 Aug 2010 23:08:11 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1963</guid>
			<description><![CDATA[Hello,<br />
<br />
i have found many bugs in your multi-forums plugin and i would like to report few of them here :<br />
<br />
One bug in the file "backupdb3.php" :<br />
<br />
This loop section : <br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">while&nbsp;(</span><span style="color: #0000BB">&#36;i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">&#36;num</span><span style="color: #007700">)&nbsp;{<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"fname"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;email&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"email"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;actcheck&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"act"</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">&#36;fname&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">&#36;actkey&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;actcheck</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;flag&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">++;<br />}&nbsp;<br /></span></code></div></div></div>
<br />
Is needing a break when the proper credentials are found, because it will end up at the end of the loop with the wrong &#36;email variable...<br />
<br />
It should be like this :<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">while&nbsp;(</span><span style="color: #0000BB">&#36;i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">&#36;num</span><span style="color: #007700">)&nbsp;{<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"fname"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;email&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"email"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;actcheck&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"act"</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">&#36;fname&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">&#36;actkey&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;actcheck</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;flag&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;&nbsp;</span><span style="color: #FF8000">//added&nbsp;by&nbsp;Exdiogene<br />&nbsp;&nbsp;</span><span style="color: #007700">}<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">++;<br />}&nbsp;<br /></span></code></div></div></div>
<br />
Another bug is the fact that the regdate of a new forum admin is hard coded for "2008-05-07" instead of using the PHP time() function in this section of the "mkforum.php" file :<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;ActualTime&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">time</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//added&nbsp;by&nbsp;Exdiogene<br /></span><span style="color: #0000BB">&#36;mquery&nbsp;</span><span style="color: #007700">=&nbsp;(</span><span style="color: #DD0000">"INSERT&nbsp;INTO&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;table</span><span style="color: #007700">.</span><span style="color: #DD0000">"users&nbsp;<br />(uid,username,password,salt,loginkey,email,postnum,avatar,avatardimensions,<br />avatartype,usergroup,additionalgroups,displaygroup,usertitle,regdate,lastactive,&#8203;<br />lastvisit,lastpost,website,icq,aim,yahoo,msn,birthday,birthdayprivacy,signature,&#8203;<br />allownotices,hideemail,subscriptionmethod,invisible,receivepms,pmnotice,pmnotify&#8203;,<br />remember,threadmode,showsigs,showavatars,showquickreply,showredirect,ppp,<br />tpp,daysprune,dateformat,timeformat,timezone,dst,dstcorrection,buddylist,ignorel&#8203;ist,<br />style,away,awaydate,returndate,awayreason,pmfolders,notepad,referrer,reputation,&#8203;<br />regip,lastip,longregip,longlastip,language,timeonline,showcodebuttons,totalpms,<br />unreadpms,warningpoints,moderateposts,moderationtime,suspendposting,suspensionti&#8203;me,<br />coppauser,classicpostbit)&nbsp;VALUES&nbsp;<br />('1','&#36;uname','&#36;saltedpw','&#36;salt','&#36;loginkey','&#36;email','0','','','0','4','','0','','&#36;ActualTime',<br />'0','0','0','','','','','','','all','','1','0','0','0','1','1','1','1','','1','1&#8203;','1','1','0','0','0','','','0','0',<br />'0','','','0','0','0','','','','','0','0','127.0.0.1','127.0.0.1','403520761','403520761','',<br />'38','1','0','0','0','0','0','0','0','0','0');"</span><span style="color: #007700">);&nbsp;<br /></span></code></div></div></div>
<br />
Another set of bugs is the fact that many caches and stats are not cleaned up after a new forum creation, resulting with anniversary dates and other stats issues copied from the original tables...<br />
<br />
There are many other bugs that i have corrected, but i would prefer to see a working version of your multi-forums plugin adapted to MyBB V1.6.* instead of writing few pages here...<br />
<br />
Do you have any ETA for the version compatible with MyBB 1.6?<br />
<br />
Thank you!]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
i have found many bugs in your multi-forums plugin and i would like to report few of them here :<br />
<br />
One bug in the file "backupdb3.php" :<br />
<br />
This loop section : <br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">while&nbsp;(</span><span style="color: #0000BB">&#36;i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">&#36;num</span><span style="color: #007700">)&nbsp;{<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"fname"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;email&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"email"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;actcheck&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"act"</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">&#36;fname&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">&#36;actkey&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;actcheck</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;flag&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">++;<br />}&nbsp;<br /></span></code></div></div></div>
<br />
Is needing a break when the proper credentials are found, because it will end up at the end of the loop with the wrong &#36;email variable...<br />
<br />
It should be like this :<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">while&nbsp;(</span><span style="color: #0000BB">&#36;i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">&#36;num</span><span style="color: #007700">)&nbsp;{<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"fname"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;email&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"email"</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;actcheck&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_result</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">,</span><span style="color: #DD0000">"act"</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">&#36;fname&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;forum&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">&#36;actkey&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">&#36;actcheck</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;flag&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;&nbsp;</span><span style="color: #FF8000">//added&nbsp;by&nbsp;Exdiogene<br />&nbsp;&nbsp;</span><span style="color: #007700">}<br /><br />&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;i</span><span style="color: #007700">++;<br />}&nbsp;<br /></span></code></div></div></div>
<br />
Another bug is the fact that the regdate of a new forum admin is hard coded for "2008-05-07" instead of using the PHP time() function in this section of the "mkforum.php" file :<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;ActualTime&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">time</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//added&nbsp;by&nbsp;Exdiogene<br /></span><span style="color: #0000BB">&#36;mquery&nbsp;</span><span style="color: #007700">=&nbsp;(</span><span style="color: #DD0000">"INSERT&nbsp;INTO&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;table</span><span style="color: #007700">.</span><span style="color: #DD0000">"users&nbsp;<br />(uid,username,password,salt,loginkey,email,postnum,avatar,avatardimensions,<br />avatartype,usergroup,additionalgroups,displaygroup,usertitle,regdate,lastactive,&#8203;<br />lastvisit,lastpost,website,icq,aim,yahoo,msn,birthday,birthdayprivacy,signature,&#8203;<br />allownotices,hideemail,subscriptionmethod,invisible,receivepms,pmnotice,pmnotify&#8203;,<br />remember,threadmode,showsigs,showavatars,showquickreply,showredirect,ppp,<br />tpp,daysprune,dateformat,timeformat,timezone,dst,dstcorrection,buddylist,ignorel&#8203;ist,<br />style,away,awaydate,returndate,awayreason,pmfolders,notepad,referrer,reputation,&#8203;<br />regip,lastip,longregip,longlastip,language,timeonline,showcodebuttons,totalpms,<br />unreadpms,warningpoints,moderateposts,moderationtime,suspendposting,suspensionti&#8203;me,<br />coppauser,classicpostbit)&nbsp;VALUES&nbsp;<br />('1','&#36;uname','&#36;saltedpw','&#36;salt','&#36;loginkey','&#36;email','0','','','0','4','','0','','&#36;ActualTime',<br />'0','0','0','','','','','','','all','','1','0','0','0','1','1','1','1','','1','1&#8203;','1','1','0','0','0','','','0','0',<br />'0','','','0','0','0','','','','','0','0','127.0.0.1','127.0.0.1','403520761','403520761','',<br />'38','1','0','0','0','0','0','0','0','0','0');"</span><span style="color: #007700">);&nbsp;<br /></span></code></div></div></div>
<br />
Another set of bugs is the fact that many caches and stats are not cleaned up after a new forum creation, resulting with anniversary dates and other stats issues copied from the original tables...<br />
<br />
There are many other bugs that i have corrected, but i would prefer to see a working version of your multi-forums plugin adapted to MyBB V1.6.* instead of writing few pages here...<br />
<br />
Do you have any ETA for the version compatible with MyBB 1.6?<br />
<br />
Thank you!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Error, forum deleted?]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1962</link>
			<pubDate>Mon, 30 Aug 2010 15:04:07 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1962</guid>
			<description><![CDATA[Hi,<br />
I'm a new user of this multi forum host system, i install first mybb, then this script.<br />
After that, i create a forum. But i have this error:<br />
<blockquote><cite>Quote:</cite>The forum you are looking for cannot be found. It is possible that it was deleted, either due to a terms of service violation or due to inactivity.</blockquote>
And i chmod the user folder to 777 but the script doesn't create folders into the user folder.<br />
<br />
Do you know how i can fix it?<br />
<br />
Thanks,<br />
Robin]]></description>
			<content:encoded><![CDATA[Hi,<br />
I'm a new user of this multi forum host system, i install first mybb, then this script.<br />
After that, i create a forum. But i have this error:<br />
<blockquote><cite>Quote:</cite>The forum you are looking for cannot be found. It is possible that it was deleted, either due to a terms of service violation or due to inactivity.</blockquote>
And i chmod the user folder to 777 but the script doesn't create folders into the user folder.<br />
<br />
Do you know how i can fix it?<br />
<br />
Thanks,<br />
Robin]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Unable to move thread "Invalid Forum"]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1961</link>
			<pubDate>Mon, 30 Aug 2010 09:46:02 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1961</guid>
			<description><![CDATA[Hey I am duplicating this issue over here as it's really weird.<br />
<br />
<blockquote><cite>Quote:</cite>Hello,<br />
<br />
It has come to my attention that I am unable to move threads. When I do, I can select whether I want to move/copy and the forum. After that step, I get "Invalid Forum".<br />
<br />
Any ideas?<br />
<br />
Thanks! </blockquote>
<br />
<a href="http://community.mybb.com/thread-77237.html" target="_blank">http://community.mybb.com/thread-77237.html</a><hr />
I've tried messing with global.php and editing moderation.php. No luck.<hr />
I've tried messing with global.php and editing moderation.php. No luck.<hr />
I've tried messing with global.php and editing moderation.php. No luck.]]></description>
			<content:encoded><![CDATA[Hey I am duplicating this issue over here as it's really weird.<br />
<br />
<blockquote><cite>Quote:</cite>Hello,<br />
<br />
It has come to my attention that I am unable to move threads. When I do, I can select whether I want to move/copy and the forum. After that step, I get "Invalid Forum".<br />
<br />
Any ideas?<br />
<br />
Thanks! </blockquote>
<br />
<a href="http://community.mybb.com/thread-77237.html" target="_blank">http://community.mybb.com/thread-77237.html</a><hr />
I've tried messing with global.php and editing moderation.php. No luck.<hr />
I've tried messing with global.php and editing moderation.php. No luck.<hr />
I've tried messing with global.php and editing moderation.php. No luck.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Running Two Multiforums Installs]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1960</link>
			<pubDate>Sat, 28 Aug 2010 10:14:09 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1960</guid>
			<description><![CDATA[Hello!<br />
<br />
I was wondering if there was a way to modify the .htaccess file to allow more than one install of multiforums. For example: the main script is located in /mybb but I want to add a second, up-to-date installation in /mybb2 and upgrade users at their own will or just letting new users choose between this version and the other version.<br />
<br />
Is this possible? I'm not an htaccess guru so I don't know if it would flip out if I had multiple "RewriteRule (.*) /mybbX/&#36;1 [L&#93;" lines (X being a number such as mybb1, mybb2, etc.).]]></description>
			<content:encoded><![CDATA[Hello!<br />
<br />
I was wondering if there was a way to modify the .htaccess file to allow more than one install of multiforums. For example: the main script is located in /mybb but I want to add a second, up-to-date installation in /mybb2 and upgrade users at their own will or just letting new users choose between this version and the other version.<br />
<br />
Is this possible? I'm not an htaccess guru so I don't know if it would flip out if I had multiple "RewriteRule (.*) /mybbX/&#36;1 [L]" lines (X being a number such as mybb1, mybb2, etc.).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Enforce use of a plugin]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1958</link>
			<pubDate>Mon, 23 Aug 2010 12:22:15 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1958</guid>
			<description><![CDATA[Hi there,<br />
<br />
Is there a possibility for forced plugin use? Cause i like to use the adsense revenue mod so the forum-admin can earn some money just like me ;-P. <br />
<br />
My plan looks like this:<br />
<br />
If the forum-admin hasn't filled in his adsense pub-code, mine wil appear.<br />
If he does, he will get like 50% of the views using the plugin.<br />
<br />
But the only problem with this is that you can't order a plugin to be always used and forbidden to turn-off.]]></description>
			<content:encoded><![CDATA[Hi there,<br />
<br />
Is there a possibility for forced plugin use? Cause i like to use the adsense revenue mod so the forum-admin can earn some money just like me ;-P. <br />
<br />
My plan looks like this:<br />
<br />
If the forum-admin hasn't filled in his adsense pub-code, mine wil appear.<br />
If he does, he will get like 50% of the views using the plugin.<br />
<br />
But the only problem with this is that you can't order a plugin to be always used and forbidden to turn-off.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Kanti In India  (Nosepin In India)]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1954</link>
			<pubDate>Mon, 23 Aug 2010 00:12:04 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1954</guid>
			<description><![CDATA[We are Manufacturers &amp; Wholesalers of A.D nosepin, bali,fancy tops,soyadora,pendent sets, A.D. ramakada (loose material) and all types of Rajkot casting items(SARKARSS001507)]]></description>
			<content:encoded><![CDATA[We are Manufacturers &amp; Wholesalers of A.D nosepin, bali,fancy tops,soyadora,pendent sets, A.D. ramakada (loose material) and all types of Rajkot casting items(SARKARSS001507)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[problem  siggy.php]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1953</link>
			<pubDate>Sun, 22 Aug 2010 10:24:03 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1953</guid>
			<description><![CDATA[I have the script like pokemon .<br />
well, everything is set up well but the only thing that fails is the picture is, and leaves it in page:<br />
<br />
The specified ID is invalid.<br />
<br />
lvl up the link if it works , the url of the picture not ! if it works.<br />
<br />
<br />
Readfile appears to be disabled on your host.<br />
<br />
<blockquote><cite>Quote:</cite>mipagina.xx.xx/siggy.php?id=2</blockquote>
<br />
leaving this code:<br />
<br />
<blockquote><cite>Quote:</cite>&lt;a href="http://www.midomain.co.cc/levelup.php?id=2" target="_blank"&gt;<br />
&lt;img src="http://www.midomain.co.cc/siggy.php?id=2" border=0&gt;&lt;/a&gt;</blockquote>
<br />
I'm with the google translator <img src="http://www.rusnakweb.com/forum/images/smilies/sad.gif" style="vertical-align: middle;" border="0" alt="Sad" title="Sad" />.<br />
<br />
siggy.php :<br />
<br />
<blockquote><cite>Quote:</cite>&lt;?php<br />
<br />
// **********************************************************************<br />
// Rusnak PHP Adoptables Script<br />
// Copyright 2009 Brandon Rusnak<br />
// For help and support: <a href="http://www.rusnakweb.com/forum/" target="_blank">http://www.rusnakweb.com/forum/</a><br />
//<br />
// Redistribution prohibited without written permission<br />
//<br />
// File ID: siggy.php<br />
// Purpose: Show signature images for adoptables<br />
// **********************************************************************<br />
<br />
// Wake the sleeping giant<br />
<br />
// **********************************************************************<br />
// Basic Configuration Info<br />
// **********************************************************************<br />
<br />
include("inc/functions.php");<br />
include("inc/config.php");<br />
include("lang/lang.php");<br />
<br />
&#36;themeurl = grabanysetting("themeurl");<br />
<br />
// **********************************************************************<br />
// Define our top links by calling getlinks()<br />
// **********************************************************************<br />
<br />
&#36;links = getlinks();<br />
<br />
// **********************************************************************<br />
// Define our ads by calling getads()<br />
// **********************************************************************<br />
<br />
&#36;ads = getads("any");<br />
<br />
// **********************************************************************<br />
// Grab any dynamic article content from the content table<br />
// **********************************************************************<br />
<br />
&#36;pagecontent = getsitecontent("index");<br />
&#36;article_title = &#36;pagecontent[title&#93;;<br />
&#36;article_content = &#36;pagecontent[content&#93;;<br />
&#36;article_content = nl2br(&#36;article_content);<br />
<br />
// **********************************************************************<br />
// Grab any settings that we will need for the current page from the DB<br />
// **********************************************************************<br />
<br />
&#36;browsertitle = grabanysetting("browsertitle");<br />
&#36;sitename = grabanysetting("sitename");<br />
&#36;slogan = grabanysetting("slogan");<br />
<br />
// **********************************************************************<br />
// Check and see if the user is logged in to the site<br />
// **********************************************************************<br />
<br />
&#36;loginstatus = logincheck();<br />
&#36;isloggedin = &#36;loginstatus[loginstatus&#93;;<br />
&#36;loggedinname = &#36;loginstatus[username&#93;;<br />
<br />
// **********************************************************************<br />
// End Prepwork - Output the page to the user<br />
// **********************************************************************<br />
<br />
// We need to grab an adoptable ID<br />
<br />
&#36;id = &#36;_GET["id"&#93;;<br />
&#36;id = preg_replace("/[^a-zA-Z0-9s&#93;/", "", &#36;id);<br />
&#36;id = secure(&#36;id);<br />
<br />
// Check that ID exists and is valid<br />
<br />
if(is_numeric(&#36;id)){<br />
<br />
// The ID appears to be valid, so double check...<br />
<br />
&#36;query = "SELECT * FROM ".&#36;prefix."owned_adoptables WHERE aid='&#36;id'";<br />
&#36;result = mysql_query(&#36;query);<br />
&#36;num = mysql_numrows(&#36;result);<br />
<br />
//Loop out code<br />
&#36;i=0;<br />
while (&#36;i &lt; 1) {<br />
<br />
&#36;aid=@mysql_result(&#36;result,&#36;i,"aid"); //The adoptable's ID<br />
&#36;currentlevel=@mysql_result(&#36;result,&#36;i,"currentlevel");<br />
&#36;type=@mysql_result(&#36;result,&#36;i,"type");<br />
&#36;name=@mysql_result(&#36;result,&#36;i,"name");<br />
&#36;totalclicks=@mysql_result(&#36;result,&#36;i,"totalclicks");<br />
&#36;isfrozen=@mysql_result(&#36;result,&#36;i,"isfrozen");<br />
&#36;owner=@mysql_result(&#36;result,&#36;i,"owner");<br />
<br />
&#36;i++;<br />
}<br />
<br />
if(&#36;aid == &#36;id){<br />
<br />
// The adoptable exists, so let's try and show the image<br />
<br />
&#36;usingimage = "no";<br />
<br />
&#36;image = getcurrentimage(&#36;id);<br />
<br />
	// Let's see if the server has support for GD or not<br />
	// Also to use fancy images the image must be a gif and fancy images must be enabled...<br />
<br />
	&#36;usegd = grabanysetting("gdimages");<br />
	&#36;imageinfo = @getimagesize(&#36;image);<br />
	&#36;imagemime = &#36;imageinfo["mime"&#93;; // Mime type of the image file, should be a .gif file...<br />
<br />
	if(function_exists('imagegif') and &#36;usegd == "yes" and &#36;imagemime == "image/gif")<br />
	{<br />
<br />
	&#36;usingimage = "yes"; //Turn the template system off<br />
<br />
	// BEGIN NEW CODE<br />
<br />
	list(&#36;width, &#36;height, &#36;type, &#36;attr) = getimagesize(&#36;image); // The size of the original adoptable image<br />
<br />
	// Begin the fancy outputs...<br />
<br />
	// Lets create the new target image, with a size big enough for the text for the adoptable<br />
<br />
	&#36;newheight = &#36;height + 72;<br />
<br />
	if(&#36;newwidth &lt; 250){<br />
	&#36;newwidth = 250;<br />
	}<br />
	else{<br />
	&#36;newwidth = &#36;width;<br />
	}<br />
<br />
      &#36;img_temp = imagecreatetruecolor(&#36;newwidth, &#36;newheight); <br />
<br />
<br />
      &#36;alphablending = true;  <br />
<br />
<br />
    	// Lets create the image and save its transparency  <br />
      &#36;img_old = @imagecreatefromgif(&#36;image);  <br />
      imagealphablending(&#36;img_old, true);  <br />
      imagesavealpha(&#36;img_old, true);<br />
   <br />
     // Lets copy the old image into the new image with  <br />
     // the given size  <br />
     ImageCopyResampled(  <br />
         &#36;img_temp,  <br />
         &#36;img_old,  <br />
         0, 0, 0, 0,  <br />
         &#36;width,  <br />
         &#36;height,  <br />
         &#36;width,  <br />
         &#36;height  <br />
     );  <br />
   <br />
	<br />
	&#36;textheight = &#36;width + 2;<br />
<br />
	&#36;image = &#36;img_temp;<br />
<br />
	&#36;bgi = imagecreatetruecolor(&#36;newwidth, &#36;newheight);<br />
<br />
	&#36;color = imagecolorallocate(&#36;bgi, 51, 51, 51);<br />
<br />
<br />
	&#36;str1 = "Name: ".&#36;name;<br />
	&#36;str2 = "Owner: ".&#36;owner;<br />
	&#36;str3 = "Click Here to Feed Me!";<br />
	&#36;str4 = "More Adopts at:";<br />
	&#36;str5 = "www.".&#36;domain;<br />
<br />
<br />
	imagestring (&#36;image, 12, 0, &#36;textheight,  &#36;str1, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 13,  &#36;str2, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 26,  &#36;str3, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 42,  &#36;str4, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 55,  &#36;str5, &#36;color);<br />
<br />
	&#36;background = imagecolorallocate(&#36;image, 0, 0, 0);  <br />
      ImageColorTransparent(&#36;image, &#36;background);  <br />
 <br />
	header("Content-Type: image/GIF");<br />
	ImageGif (&#36;image);<br />
	imagedestroy(&#36;image);<br />
	imagedestroy(&#36;img_temp);<br />
	imagedestroy(&#36;img_old);<br />
	imagedestroy(&#36;bgi);<br />
<br />
	}<br />
	else{<br />
	<br />
	// We are going to try and get this image the old fashioned way...<br />
	// Define a list of allowed file extentions...<br />
<br />
	&#36;extList = array();<br />
	&#36;extList['gif'&#93; = 'image/gif';<br />
	&#36;extList['jpg'&#93; = 'image/jpeg';<br />
	&#36;extList['jpeg'&#93; = 'image/jpeg';<br />
	&#36;extList['png'&#93; = 'image/png';<br />
<br />
	//Define the output file type<br />
	&#36;contentType = 'Content-type: '.&#36;extList[ &#36;imageinfo['extension'&#93; &#93;;<br />
<br />
	if(&#36;imageinfo['extension'&#93; =! "image/gif" and &#36;imageinfo['extension'&#93; =! "image/jpeg" and &#36;imageinfo['extension'&#93; =! "image/png"){<br />
<br />
	// The file type is NOT ALLOWED<br />
	die("Hacking Attempt!");<br />
<br />
	}<br />
	else{<br />
<br />
	// File type is allowed, so proceed<br />
	// Try and read the file in<br />
<br />
	&#36;status = "";<br />
<br />
	header (&#36;contentType);<br />
	&#36;status = readfile(&#36;image);<br />
<br />
	if(&#36;status == "" or &#36;status == "false" or &#36;status == "FALSE"){<br />
<br />
	// Reading the file failed, so show an error...	<br />
	header ("text/plain");<br />
	die("Readfile appears to be disabled on your host.");<br />
<br />
	}<br />
	<br />
<br />
<br />
	} <br />
<br />
	}<br />
<br />
<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
<br />
}<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
}<br />
<br />
<br />
// **********************************************************************<br />
// Begin Template Definition<br />
// **********************************************************************<br />
<br />
//Define our current theme<br />
&#36;file = &#36;themeurl;<br />
<br />
// Do the template changes and echo the ready template<br />
&#36;template = file_get_contents(&#36;file);<br />
<br />
&#36;template = replace(':ARTICLETITLE:',&#36;article_title,&#36;template);<br />
&#36;template = replace(':ARTICLECONTENT:',&#36;article_content,&#36;template);<br />
&#36;template = replace(':ARTICLEDATE:',&#36;article_date,&#36;template);<br />
<br />
&#36;template = replace(':BROWSERTITLE:',&#36;browsertitle,&#36;template);<br />
&#36;template = replace(':SITENAME:',&#36;sitename,&#36;template);<br />
<br />
//Define our links<br />
&#36;template = replace(':LINKSBAR:',&#36;links,&#36;template);<br />
<br />
//Get the content for the side bar...<br />
<br />
&#36;sidebar = getsidebar();<br />
&#36;template = replace(':SIDEFEED:',&#36;sidebar,&#36;template);<br />
<br />
//Get the ad content...<br />
&#36;template = replace(':ADS:',&#36;ads,&#36;template);<br />
<br />
//Get the slogan info<br />
&#36;template = replace(':SLOGAN:',&#36;slogan,&#36;template);<br />
<br />
<br />
if(&#36;usingimage != "yes"){<br />
echo &#36;template; // Only echo the template if we are not showing an image... <br />
}<br />
<br />
// **********************************************************************<br />
// End Template Definition<br />
// **********************************************************************<br />
<br />
<br />
<br />
?&gt;</blockquote>
<br />
mmm    on .htaccess  and problem up...<br />
<br />
thanks !]]></description>
			<content:encoded><![CDATA[I have the script like pokemon .<br />
well, everything is set up well but the only thing that fails is the picture is, and leaves it in page:<br />
<br />
The specified ID is invalid.<br />
<br />
lvl up the link if it works , the url of the picture not ! if it works.<br />
<br />
<br />
Readfile appears to be disabled on your host.<br />
<br />
<blockquote><cite>Quote:</cite>mipagina.xx.xx/siggy.php?id=2</blockquote>
<br />
leaving this code:<br />
<br />
<blockquote><cite>Quote:</cite>&lt;a href="http://www.midomain.co.cc/levelup.php?id=2" target="_blank"&gt;<br />
&lt;img src="http://www.midomain.co.cc/siggy.php?id=2" border=0&gt;&lt;/a&gt;</blockquote>
<br />
I'm with the google translator <img src="http://www.rusnakweb.com/forum/images/smilies/sad.gif" style="vertical-align: middle;" border="0" alt="Sad" title="Sad" />.<br />
<br />
siggy.php :<br />
<br />
<blockquote><cite>Quote:</cite>&lt;?php<br />
<br />
// **********************************************************************<br />
// Rusnak PHP Adoptables Script<br />
// Copyright 2009 Brandon Rusnak<br />
// For help and support: <a href="http://www.rusnakweb.com/forum/" target="_blank">http://www.rusnakweb.com/forum/</a><br />
//<br />
// Redistribution prohibited without written permission<br />
//<br />
// File ID: siggy.php<br />
// Purpose: Show signature images for adoptables<br />
// **********************************************************************<br />
<br />
// Wake the sleeping giant<br />
<br />
// **********************************************************************<br />
// Basic Configuration Info<br />
// **********************************************************************<br />
<br />
include("inc/functions.php");<br />
include("inc/config.php");<br />
include("lang/lang.php");<br />
<br />
&#36;themeurl = grabanysetting("themeurl");<br />
<br />
// **********************************************************************<br />
// Define our top links by calling getlinks()<br />
// **********************************************************************<br />
<br />
&#36;links = getlinks();<br />
<br />
// **********************************************************************<br />
// Define our ads by calling getads()<br />
// **********************************************************************<br />
<br />
&#36;ads = getads("any");<br />
<br />
// **********************************************************************<br />
// Grab any dynamic article content from the content table<br />
// **********************************************************************<br />
<br />
&#36;pagecontent = getsitecontent("index");<br />
&#36;article_title = &#36;pagecontent[title];<br />
&#36;article_content = &#36;pagecontent[content];<br />
&#36;article_content = nl2br(&#36;article_content);<br />
<br />
// **********************************************************************<br />
// Grab any settings that we will need for the current page from the DB<br />
// **********************************************************************<br />
<br />
&#36;browsertitle = grabanysetting("browsertitle");<br />
&#36;sitename = grabanysetting("sitename");<br />
&#36;slogan = grabanysetting("slogan");<br />
<br />
// **********************************************************************<br />
// Check and see if the user is logged in to the site<br />
// **********************************************************************<br />
<br />
&#36;loginstatus = logincheck();<br />
&#36;isloggedin = &#36;loginstatus[loginstatus];<br />
&#36;loggedinname = &#36;loginstatus[username];<br />
<br />
// **********************************************************************<br />
// End Prepwork - Output the page to the user<br />
// **********************************************************************<br />
<br />
// We need to grab an adoptable ID<br />
<br />
&#36;id = &#36;_GET["id"];<br />
&#36;id = preg_replace("/[^a-zA-Z0-9s]/", "", &#36;id);<br />
&#36;id = secure(&#36;id);<br />
<br />
// Check that ID exists and is valid<br />
<br />
if(is_numeric(&#36;id)){<br />
<br />
// The ID appears to be valid, so double check...<br />
<br />
&#36;query = "SELECT * FROM ".&#36;prefix."owned_adoptables WHERE aid='&#36;id'";<br />
&#36;result = mysql_query(&#36;query);<br />
&#36;num = mysql_numrows(&#36;result);<br />
<br />
//Loop out code<br />
&#36;i=0;<br />
while (&#36;i &lt; 1) {<br />
<br />
&#36;aid=@mysql_result(&#36;result,&#36;i,"aid"); //The adoptable's ID<br />
&#36;currentlevel=@mysql_result(&#36;result,&#36;i,"currentlevel");<br />
&#36;type=@mysql_result(&#36;result,&#36;i,"type");<br />
&#36;name=@mysql_result(&#36;result,&#36;i,"name");<br />
&#36;totalclicks=@mysql_result(&#36;result,&#36;i,"totalclicks");<br />
&#36;isfrozen=@mysql_result(&#36;result,&#36;i,"isfrozen");<br />
&#36;owner=@mysql_result(&#36;result,&#36;i,"owner");<br />
<br />
&#36;i++;<br />
}<br />
<br />
if(&#36;aid == &#36;id){<br />
<br />
// The adoptable exists, so let's try and show the image<br />
<br />
&#36;usingimage = "no";<br />
<br />
&#36;image = getcurrentimage(&#36;id);<br />
<br />
	// Let's see if the server has support for GD or not<br />
	// Also to use fancy images the image must be a gif and fancy images must be enabled...<br />
<br />
	&#36;usegd = grabanysetting("gdimages");<br />
	&#36;imageinfo = @getimagesize(&#36;image);<br />
	&#36;imagemime = &#36;imageinfo["mime"]; // Mime type of the image file, should be a .gif file...<br />
<br />
	if(function_exists('imagegif') and &#36;usegd == "yes" and &#36;imagemime == "image/gif")<br />
	{<br />
<br />
	&#36;usingimage = "yes"; //Turn the template system off<br />
<br />
	// BEGIN NEW CODE<br />
<br />
	list(&#36;width, &#36;height, &#36;type, &#36;attr) = getimagesize(&#36;image); // The size of the original adoptable image<br />
<br />
	// Begin the fancy outputs...<br />
<br />
	// Lets create the new target image, with a size big enough for the text for the adoptable<br />
<br />
	&#36;newheight = &#36;height + 72;<br />
<br />
	if(&#36;newwidth &lt; 250){<br />
	&#36;newwidth = 250;<br />
	}<br />
	else{<br />
	&#36;newwidth = &#36;width;<br />
	}<br />
<br />
      &#36;img_temp = imagecreatetruecolor(&#36;newwidth, &#36;newheight); <br />
<br />
<br />
      &#36;alphablending = true;  <br />
<br />
<br />
    	// Lets create the image and save its transparency  <br />
      &#36;img_old = @imagecreatefromgif(&#36;image);  <br />
      imagealphablending(&#36;img_old, true);  <br />
      imagesavealpha(&#36;img_old, true);<br />
   <br />
     // Lets copy the old image into the new image with  <br />
     // the given size  <br />
     ImageCopyResampled(  <br />
         &#36;img_temp,  <br />
         &#36;img_old,  <br />
         0, 0, 0, 0,  <br />
         &#36;width,  <br />
         &#36;height,  <br />
         &#36;width,  <br />
         &#36;height  <br />
     );  <br />
   <br />
	<br />
	&#36;textheight = &#36;width + 2;<br />
<br />
	&#36;image = &#36;img_temp;<br />
<br />
	&#36;bgi = imagecreatetruecolor(&#36;newwidth, &#36;newheight);<br />
<br />
	&#36;color = imagecolorallocate(&#36;bgi, 51, 51, 51);<br />
<br />
<br />
	&#36;str1 = "Name: ".&#36;name;<br />
	&#36;str2 = "Owner: ".&#36;owner;<br />
	&#36;str3 = "Click Here to Feed Me!";<br />
	&#36;str4 = "More Adopts at:";<br />
	&#36;str5 = "www.".&#36;domain;<br />
<br />
<br />
	imagestring (&#36;image, 12, 0, &#36;textheight,  &#36;str1, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 13,  &#36;str2, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 26,  &#36;str3, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 42,  &#36;str4, &#36;color);<br />
	imagestring (&#36;image, 12, 0, &#36;textheight + 55,  &#36;str5, &#36;color);<br />
<br />
	&#36;background = imagecolorallocate(&#36;image, 0, 0, 0);  <br />
      ImageColorTransparent(&#36;image, &#36;background);  <br />
 <br />
	header("Content-Type: image/GIF");<br />
	ImageGif (&#36;image);<br />
	imagedestroy(&#36;image);<br />
	imagedestroy(&#36;img_temp);<br />
	imagedestroy(&#36;img_old);<br />
	imagedestroy(&#36;bgi);<br />
<br />
	}<br />
	else{<br />
	<br />
	// We are going to try and get this image the old fashioned way...<br />
	// Define a list of allowed file extentions...<br />
<br />
	&#36;extList = array();<br />
	&#36;extList['gif'] = 'image/gif';<br />
	&#36;extList['jpg'] = 'image/jpeg';<br />
	&#36;extList['jpeg'] = 'image/jpeg';<br />
	&#36;extList['png'] = 'image/png';<br />
<br />
	//Define the output file type<br />
	&#36;contentType = 'Content-type: '.&#36;extList[ &#36;imageinfo['extension'] ];<br />
<br />
	if(&#36;imageinfo['extension'] =! "image/gif" and &#36;imageinfo['extension'] =! "image/jpeg" and &#36;imageinfo['extension'] =! "image/png"){<br />
<br />
	// The file type is NOT ALLOWED<br />
	die("Hacking Attempt!");<br />
<br />
	}<br />
	else{<br />
<br />
	// File type is allowed, so proceed<br />
	// Try and read the file in<br />
<br />
	&#36;status = "";<br />
<br />
	header (&#36;contentType);<br />
	&#36;status = readfile(&#36;image);<br />
<br />
	if(&#36;status == "" or &#36;status == "false" or &#36;status == "FALSE"){<br />
<br />
	// Reading the file failed, so show an error...	<br />
	header ("text/plain");<br />
	die("Readfile appears to be disabled on your host.");<br />
<br />
	}<br />
	<br />
<br />
<br />
	} <br />
<br />
	}<br />
<br />
<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
<br />
}<br />
}<br />
else{<br />
<br />
// Bogus ID<br />
<br />
&#36;article_title = &#36;err_idnoexist;<br />
&#36;article_content = &#36;err_idnoexist_text;<br />
<br />
}<br />
<br />
<br />
// **********************************************************************<br />
// Begin Template Definition<br />
// **********************************************************************<br />
<br />
//Define our current theme<br />
&#36;file = &#36;themeurl;<br />
<br />
// Do the template changes and echo the ready template<br />
&#36;template = file_get_contents(&#36;file);<br />
<br />
&#36;template = replace(':ARTICLETITLE:',&#36;article_title,&#36;template);<br />
&#36;template = replace(':ARTICLECONTENT:',&#36;article_content,&#36;template);<br />
&#36;template = replace(':ARTICLEDATE:',&#36;article_date,&#36;template);<br />
<br />
&#36;template = replace(':BROWSERTITLE:',&#36;browsertitle,&#36;template);<br />
&#36;template = replace(':SITENAME:',&#36;sitename,&#36;template);<br />
<br />
//Define our links<br />
&#36;template = replace(':LINKSBAR:',&#36;links,&#36;template);<br />
<br />
//Get the content for the side bar...<br />
<br />
&#36;sidebar = getsidebar();<br />
&#36;template = replace(':SIDEFEED:',&#36;sidebar,&#36;template);<br />
<br />
//Get the ad content...<br />
&#36;template = replace(':ADS:',&#36;ads,&#36;template);<br />
<br />
//Get the slogan info<br />
&#36;template = replace(':SLOGAN:',&#36;slogan,&#36;template);<br />
<br />
<br />
if(&#36;usingimage != "yes"){<br />
echo &#36;template; // Only echo the template if we are not showing an image... <br />
}<br />
<br />
// **********************************************************************<br />
// End Template Definition<br />
// **********************************************************************<br />
<br />
<br />
<br />
?&gt;</blockquote>
<br />
mmm    on .htaccess  and problem up...<br />
<br />
thanks !]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help me please!!!]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1952</link>
			<pubDate>Fri, 20 Aug 2010 22:07:53 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1952</guid>
			<description><![CDATA[as I can do to have the images go in this way<br />
<a href="http://www.gamerzfox.com/wolfteam/picuploads/gif/GUARDIAN/1.gif" target="_blank">http://www.gamerzfox.com/wolfteam/picupl...http://www.gamerzfox.com/wolfteam/picuploads/gif/GUAR</a><br />
<br />
in my adoptable only leave the images I upload pictures without names and I only come out so<br />
<a href="http://www.gamerzfox.com/wolfteam/levelup.php?id=1509" target="_blank"><img src="http://www.gamerzfox.com/wolfteam/siggy.php?id=1509" border="0" alt="[Image: siggy.php?id=1509&#93;" /></a><br />
<br />
<br />
<br />
.................................................................................................<br />
<br />
bueno en mis adoptables cuando subo una imagen gif solo sale esa imagen sin nada de nombre ni que level va, pero en las imagenes de arriba si salen y en adopta pokemon tambien quisiera saber como hago esas cosas porfavor que modificaciones tengo que hacer]]></description>
			<content:encoded><![CDATA[as I can do to have the images go in this way<br />
<a href="http://www.gamerzfox.com/wolfteam/picuploads/gif/GUARDIAN/1.gif" target="_blank">http://www.gamerzfox.com/wolfteam/picupl...http://www.gamerzfox.com/wolfteam/picuploads/gif/GUAR</a><br />
<br />
in my adoptable only leave the images I upload pictures without names and I only come out so<br />
<a href="http://www.gamerzfox.com/wolfteam/levelup.php?id=1509" target="_blank"><img src="http://www.gamerzfox.com/wolfteam/siggy.php?id=1509" border="0" alt="[Image: siggy.php?id=1509]" /></a><br />
<br />
<br />
<br />
.................................................................................................<br />
<br />
bueno en mis adoptables cuando subo una imagen gif solo sale esa imagen sin nada de nombre ni que level va, pero en las imagenes de arriba si salen y en adopta pokemon tambien quisiera saber como hago esas cosas porfavor que modificaciones tengo que hacer]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Smilies]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1951</link>
			<pubDate>Thu, 19 Aug 2010 16:40:58 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1951</guid>
			<description><![CDATA[I've got a qeustion about the adding of smilies to the forums. <br />
<br />
If i add smilies to the standard forum aka /mybb/ will the smilies also be added to my hosted forums? Or do i need to do something in the admin menu, just like with the templates?<br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[I've got a qeustion about the adding of smilies to the forums. <br />
<br />
If i add smilies to the standard forum aka /mybb/ will the smilies also be added to my hosted forums? Or do i need to do something in the admin menu, just like with the templates?<br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Strange Error]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1950</link>
			<pubDate>Thu, 19 Aug 2010 01:22:49 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1950</guid>
			<description><![CDATA[Getting the following error when trying to access my added forums after they are activated. <br />
<br />
Fatal error: Call to undefined function my_ip2long() in /home/forums/public_html/mybb/inc/class_session.php on line 190<br />
<br />
I am thinking this might be connected to me installing on MyBB 1.6, while reading the installation instructions I noticed it was saying MyBB 1.4. Could this be the reason for this error? If so I can delete everything and start over with MyBB 1.4.]]></description>
			<content:encoded><![CDATA[Getting the following error when trying to access my added forums after they are activated. <br />
<br />
Fatal error: Call to undefined function my_ip2long() in /home/forums/public_html/mybb/inc/class_session.php on line 190<br />
<br />
I am thinking this might be connected to me installing on MyBB 1.6, while reading the installation instructions I noticed it was saying MyBB 1.4. Could this be the reason for this error? If so I can delete everything and start over with MyBB 1.4.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Dropped Table]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1949</link>
			<pubDate>Tue, 17 Aug 2010 08:42:03 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1949</guid>
			<description><![CDATA[Hello, I wanted to empty the table but I accidently dropped it and its removed and now im getting the error message in the adm section of the site <br />
<br />
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/forums/public_html/forum/create/adm/home.php on line 47<br />
<br />
Does anyone have the SQL so that I can put the table back?]]></description>
			<content:encoded><![CDATA[Hello, I wanted to empty the table but I accidently dropped it and its removed and now im getting the error message in the adm section of the site <br />
<br />
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/forums/public_html/forum/create/adm/home.php on line 47<br />
<br />
Does anyone have the SQL so that I can put the table back?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Hello friends]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1948</link>
			<pubDate>Tue, 17 Aug 2010 01:33:53 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1948</guid>
			<description><![CDATA[Hi All .... I am from india and bring you all a nice and hearty hello from the country known for its culture and colorfulness. i have joined here to learn and share views about life, philosophy and not to forget mentioning info related to my Job i.e networking and web (devp) and routers and modems. Hope i have landed at the correct place. Looking forward to a life long association with with forum members .]]></description>
			<content:encoded><![CDATA[Hi All .... I am from india and bring you all a nice and hearty hello from the country known for its culture and colorfulness. i have joined here to learn and share views about life, philosophy and not to forget mentioning info related to my Job i.e networking and web (devp) and routers and modems. Hope i have landed at the correct place. Looking forward to a life long association with with forum members .]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Few Suggestions]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1947</link>
			<pubDate>Mon, 16 Aug 2010 08:54:04 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1947</guid>
			<description><![CDATA[Here are a few suggestions:<br />
<br />
A way to add a feature if the baby is an egg and when it levels up it adds a crack image to the egg instead of making levels for the cracking.<br />
<br />
When you feed the pet it should show how many more clicks it needs to hatch.]]></description>
			<content:encoded><![CDATA[Here are a few suggestions:<br />
<br />
A way to add a feature if the baby is an egg and when it levels up it adds a crack image to the egg instead of making levels for the cracking.<br />
<br />
When you feed the pet it should show how many more clicks it needs to hatch.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to change the font of siggy.php ?]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1946</link>
			<pubDate>Sat, 14 Aug 2010 09:15:04 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1946</guid>
			<description><![CDATA[- How to change the font of your siggy images?<br />
- How to center the text on the siggy images?<br />
<br />
Thank you<img src="http://www.rusnakweb.com/forum/images/smilies/rolleyes.gif" style="vertical-align: middle;" border="0" alt="Rolleyes" title="Rolleyes" />]]></description>
			<content:encoded><![CDATA[- How to change the font of your siggy images?<br />
- How to center the text on the siggy images?<br />
<br />
Thank you<img src="http://www.rusnakweb.com/forum/images/smilies/rolleyes.gif" style="vertical-align: middle;" border="0" alt="Rolleyes" title="Rolleyes" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SIGGY with READFILE DISABLED]]></title>
			<link>http://www.rusnakweb.com/forum/showthread.php?tid=1944</link>
			<pubDate>Thu, 12 Aug 2010 13:28:49 -0500</pubDate>
			<guid isPermaLink="false">http://www.rusnakweb.com/forum/showthread.php?tid=1944</guid>
			<description><![CDATA[Look! It's work!!<br />
<br />
<br />
Go to your siggy.php file and find <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&nbsp;&nbsp;&nbsp;&nbsp;// Reading the file failed, so show an error...&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;header ("text/plain");<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("Readfile appears to be disabled on your host.");</code></div></div>
(It's about 226 lin ;-))<br />
<br />
And replace it with:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&nbsp;&nbsp;&nbsp;&nbsp;// Reading the file failed, so show an error...&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;header ("text/plain");<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("&lt;img src='".&#36;image."'&gt;");</code></div></div>
<br />
<br />
Ok it's the End ;-)<br />
<br />
BUT IT WORKS!]]></description>
			<content:encoded><![CDATA[Look! It's work!!<br />
<br />
<br />
Go to your siggy.php file and find <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&nbsp;&nbsp;&nbsp;&nbsp;// Reading the file failed, so show an error...&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;header ("text/plain");<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("Readfile appears to be disabled on your host.");</code></div></div>
(It's about 226 lin ;-))<br />
<br />
And replace it with:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&nbsp;&nbsp;&nbsp;&nbsp;// Reading the file failed, so show an error...&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;header ("text/plain");<br />
&nbsp;&nbsp;&nbsp;&nbsp;die("&lt;img src='".&#36;image."'&gt;");</code></div></div>
<br />
<br />
Ok it's the End ;-)<br />
<br />
BUT IT WORKS!]]></content:encoded>
		</item>
	</channel>
</rss>