<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>WeBid Support - Modifications</title>
		<link>http://www.webidsupport.com/forums/</link>
		<description>Get support for and discuss modifications that have been created for WeBid here.</description>
		<language>en</language>
		<lastBuildDate>Thu, 09 Sep 2010 05:47:36 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.webidsupport.com/forums/images/misc/rss.png</url>
			<title>WeBid Support - Modifications</title>
			<link>http://www.webidsupport.com/forums/</link>
		</image>
		<item>
			<title>SSL Mod to get it working for 1.0.0 r.267 and possibly 1.0.0 release</title>
			<link>http://www.webidsupport.com/forums/showthread.php?2679-SSL-Mod-to-get-it-working-for-1.0.0-r.267-and-possibly-1.0.0-release&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 18:17:48 GMT</pubDate>
			<description>*Title*: SSL certificate Mod for making fully secure padlock 
*Version(s)*: 1.0.0 r.267 and prior 
*Credits*: Box Lot 
*Install Time*: 30-60 minutes...</description>
			<content:encoded><![CDATA[<div><b>Title</b>: SSL certificate Mod for making fully secure padlock<br />
<b>Version(s)</b>: 1.0.0 r.267 and prior<br />
<b>Credits</b>: Box Lot<br />
<b>Install Time</b>: 30-60 minutes<br />
<b>Install Difficulty</b>: medium (should be easy)<br />
<b>Description</b>:<br />
This one is a summary of me talking to myself here and solving my own issues.  As it stands with 1.0.0 r.267 the SSL support is a little more then flipping the Admin. switch.  Since there is enough to do currently for the 1.0.0 release this may still be the case with the 1.0.0 release so here are the summarized steps to get your SSL padlock without issues for Home page, register, login and Sell page.<br />
<br />
<br />
If you have done extensive editing prior to getting your certificate you may need to make further edits.<br />
<br />
Basically all http should be https on secure pages. Viewing your pages document source with your browser will help find the stragglers you may have hard coded yourself.  Here is how to take care of the WeBid created ones.<br />
<br />
<b>First</b> make this change (previously suggested by Renlok) to the header.php file:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Quote:</div>
	<div class="bbcode_quote printable">
		<hr />
		
			in <u>header.php</u> find<br />
<br />
PHP Code:<br />
'SITEURL' =&gt; $system-&gt;SETTINGS['siteurl'],<br />
<br />
<br />
and replace with<br />
<br />
PHP Code:<br />
'SITEURL' =&gt; ($_SERVER['HTTPS'] != 'on') ? $system-&gt;SETTINGS['siteurl'] : $sslurl,
			
		<hr />
	</div>
</div> <b>Second</b> check any edits in <u>index.php</u> that may include template variables with $system-&gt;SETTINGS['siteurl'] in them and change those to $system-&gt;SETTINGS['https_url']<br />
<br />
<b>Third</b> check your /themes/YOUR THEME/<u>home.tpl</u>, <u>global_header.tpl</u> and <u>global_footer.tpl </u>for any references that include http and change those to https. This includes simple things like a facebook link or other add-on you may have that utilizes an outside URL. Most/all sites should resolve things for clicks to a site without SSL but some add-ons with specific http and http only links will break.<br />
<br />
<b>Now if you're using Captcha</b> for your security you need to edit <u>/includes/secureimage.php</u>. <br />
Again, all occurances of $system-&gt;SETTINGS['siteurl'] should be changed to $system-&gt;SETTINGS['https_url']<br />
<br />
However, with the <b>CKeditor</b> currently your lock will show warnings about mixed (http &amp; https) information.  The quick fix to this one is to replace the CKeditor with the old FCKeditor (available at the Editor development site if you don't have an old WeBid package, it's in 0.8.5) and change the calls to the editor in Sell.php (search for &quot;editor&quot;, having an 0.8.5 sell.php for the edits will make it fast).<br />
<br />
<br />
<br />
<i><b>NOTE</b>: To date I have been unable to figure out why the CKeditor breaks and frankly right now I have little interest in &quot;learning&quot; the CKeditor.  It would be great if someone could look into this and why there is some connection to something non-SSL like &quot;http...&quot;.  Until then my plan is to keep my FCKeditor in place.<br />
<br />
</i><b>Demo</b>: Sorry, no demo</div>

 ]]></content:encoded>
			<category domain="http://www.webidsupport.com/forums/forumdisplay.php?19-Modifications">Modifications</category>
			<dc:creator>Box Lot</dc:creator>
			<guid isPermaLink="true">http://www.webidsupport.com/forums/showthread.php?2679-SSL-Mod-to-get-it-working-for-1.0.0-r.267-and-possibly-1.0.0-release</guid>
		</item>
	</channel>
</rss>
