<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3Adepdesign</link>
        <description></description>
        <pubDate>Sat, 02 May 2026 04:13:42 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Adepdesign&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>CreatePDF not working</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245969#post2245969</link>
          <description><![CDATA[<p>That did the trick.  Strange how it was working until recently, not sure how the permissions were changed.</p>]]></description>
          <pubDate>Mon, 06 Jun 2022 06:38:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245969#post2245969</guid>
        </item>
                <item>
          <title>CreatePDF not working</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245964#post2245964</link>
          <description><![CDATA[<p>Hi All,</p>
<p>Recently the CreatePDF plugin is now giving the following error on two different sites using the same plugin and setup.</p>
<p><span style="color:#008080;"><strong>Site 1:</strong></span></p>
<p>sh: /home/XXXXXX/public_html/cmsb/plugins/createPDF/wkhtmltopdf/wkhtmltopdf-0.12.5-1.centos7.x86_64: Permission denied<br />Error executing wkhtmltopdf! (Exit code: 126)</p>
<p><span style="color:#008080;"><strong>Site 2:</strong></span></p>
<pre>/home/XXXXXX/public_html/cmsb/plugins/createPDF/wkhtmltopdf/wkhtmltopdf-0.12.5-1.centos6.x86_64: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Error executing wkhtmltopdf! (Exit code: 127)</pre>
<p>I'm not sure if it's an ini issue on the server, a server update that caused this, or if the plugin requires an update.</p>
<p>Any help would greatly be appreciated.</p>
<p>Dan</p>]]></description>
          <pubDate>Fri, 03 Jun 2022 08:33:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245964#post2245964</guid>
        </item>
                <item>
          <title>CMS Security Settings Code</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245952#post2245952</link>
          <description><![CDATA[<p>That works perfectly! Thanks again for the fast response!</p>]]></description>
          <pubDate>Mon, 09 May 2022 12:04:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245952#post2245952</guid>
        </item>
                <item>
          <title>CMS Security Settings Code</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245949#post2245949</link>
          <description><![CDATA[<p>Hi all,</p>
<p>I need help to display content only to IPs that match an IP in the "<span>restrictByIP</span>" array from the CMS Security Settings.</p>
<p>The code below gets a site visitor IP and then checks to see if that IP is listed in the "<span>restrictByIP</span>" array from the CMS Security Settings.</p>
<p>This line, from the code below, is where I need help modifying  <strong><span style="color:#ff0000;">$safeips = array($SETTINGS['restrictByIP']);</span></strong></p>
<p>Here is the code I have:</p>
<p>if (!empty($_SERVER['HTTP_CLIENT_IP'])) {<br />$ip = $_SERVER['HTTP_CLIENT_IP'];<br />} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {<br />$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];<br />} else {<br />$ip = $_SERVER['REMOTE_ADDR'];<br />}</p>
<p><strong><span style="color:#ff0000;">$safeips = array($SETTINGS['restrictByIP']);</span></strong></p>
<p>if (in_array($ip, $safeips) !== FALSE)<br />{<br />echo "Match found display content"; <br />} else {<br />echo "Match not found do not display content";<br />}</p>]]></description>
          <pubDate>Mon, 09 May 2022 09:28:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245949#post2245949</guid>
        </item>
                <item>
          <title>Is it safe to empy the cmsb__accesslist and/or cmsb__outgoing_mail table</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245945#post2245945</link>
          <description><![CDATA[<p>Thanks for the prompt response!</p>]]></description>
          <pubDate>Fri, 29 Apr 2022 11:03:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245945#post2245945</guid>
        </item>
                <item>
          <title>Is it safe to empy the cmsb__accesslist and/or cmsb__outgoing_mail table</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245943#post2245943</link>
          <description><![CDATA[<p>Doing a bit of spring cleaning I noticed a client  cmsb__accesslist table and the cmsb__outgoing_mail had a very large number of Rows.  Is it OK to empty either of these tables? </p>

<p>- Dan</p>]]></description>
          <pubDate>Fri, 29 Apr 2022 09:26:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245943#post2245943</guid>
        </item>
                <item>
          <title>Forum Email</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245806#post2245806</link>
          <description><![CDATA[<p>Hi All,</p>
<p>I'm looking to add more "Placeholders" to a "Forum Notification Post" email.</p>
<p>For example, the client would like the full post message to appear in the email. However, I only see #post.message_snippet# only available.  Is there an area in the CMS where I can create my own placeholders, in the CMS, so I can display the entire post?</p>
<p>Another example placeholder I would need is a link to access the #forum# in the email. Currently I'm only able to show the forum name via the #forum# placeholder.</p>
<p>Any help would be greatly appreciated.</p>
<p>Dan</p>]]></description>
          <pubDate>Mon, 31 Jan 2022 08:19:11 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245806#post2245806</guid>
        </item>
                <item>
          <title>PHP 7.4 Errors</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244637#post2244637</link>
          <description><![CDATA[<p>Hi Greg,</p>
<p>Thanks for the rapid response!  The update worked!</p>
<p>Dan</p>
]]></description>
          <pubDate>Wed, 15 Apr 2020 11:09:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244637#post2244637</guid>
        </item>
                <item>
          <title>PHP 7.4 Errors</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244634#post2244634</link>
          <description><![CDATA[<p>Hi Greg,</p>
<p>This solution also help me within the cms to remove the errors, but, I also see a similar error on the "Simple Forum" now.</p>
<p>This is what I see on the forum:</p>
<p>Deprecated: Array and string offset access syntax with curly braces is deprecated in /cms/cmsAdmin/3rdParty/HTMLPurifier/HTMLPurifier.standalone.php on line 3941 Deprecated: Array and string offset access syntax with curly braces is deprecated in /cms/cmsAdmin/3rdParty/HTMLPurifier/HTMLPurifier.standalone.php on line 14584 Deprecated: Array and string offset access syntax with curly braces is deprecated in /cms/cmsAdmin/3rdParty/HTMLPurifier/HTMLPurifier.standalone.php on line 21109 Deprecated: Array and string offset access syntax with curly braces is deprecated in /cms/cmsAdmin/3rdParty/HTMLPurifier/HTMLPurifier.standalone.php on line 21109</p>

<p>- Dan</p>

]]></description>
          <pubDate>Wed, 15 Apr 2020 07:12:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244634#post2244634</guid>
        </item>
                <item>
          <title>Accounts Section Access by Author</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244327#post2244327</link>
          <description><![CDATA[<p>In the user accounts area I would like to give author access to the "user accounts" area to four users.  The reason is my clients website is based on four regions and the 4 users accounts will be assigned to manage the content within the assigned region.  The site has a membership for new users that get assigned to a region.  The thought is if members "createdby" can be updated to be from one of the four user accounts assigned to the region, that region user account can update only those members without having access to the other members.</p>
<p>The site require all members to have a unapproved checkbox to be unchecked for members to have access to members only areas.  Having one admin doing that makes it difficult for this client as they have many members that will be assigned to regions.</p>
<p>This is why if there was a way I can have a display of users in the user accounts based by author (createdby) the user would see only accounts associated to them.</p>
<p>Regarding how we would auto apply the createdby - One way we would set the "Created By" would be in the create a login form to add a radio selection for one of the four regions and the value would be the createdby user account. </p>
<p>Any thoughts?</p>





]]></description>
          <pubDate>Wed, 04 Dec 2019 11:41:33 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244327#post2244327</guid>
        </item>
                <item>
          <title>Accounts Section Access by Author</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244308#post2244308</link>
          <description><![CDATA[<p>I would like to give access to a user in the backend to the "Accounts" area and only display records that were createdBy that user using the "Author" access.  Currently if I select Section Access &gt; All Sections &gt; Access Author for the user I receive the following message in the "admin.php?menu=accounts" for the user <span style="color:#8a6d3b;">You don't have permissions to access this menu. <span style="color:#000000;">when logging in with the user account.</span></span></p>
]]></description>
          <pubDate>Fri, 29 Nov 2019 07:59:04 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244308#post2244308</guid>
        </item>
                <item>
          <title>Update for Create PDF to Create Image?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242891#post2242891</link>
          <description><![CDATA[<p>Is there a code that can be applied to the current Create PDF plugin which utilizes wkhtmltopdf to Create a JPG image from HTML using wkhtmltoimage?  Any thoughts?</p>]]></description>
          <pubDate>Fri, 11 Jan 2019 14:00:35 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242891#post2242891</guid>
        </item>
                <item>
          <title>Error Log - Table crash with cmsb__error_log table with over 13 gigs of info</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242566#post2242566</link>
          <description><![CDATA[<p>Hi all,</p>
<p>Today i had a major issue, still trying to resolve, where the cmsb__error_log table encountered over 13 gigs of info.  It first caused the site to receive a "Hello, Website Visitors! error page. and then finally crashed the server.</p>
<p>I believe this may have happened today as both bing and google bots were on the sites gathering their info.</p>
<p>The iT guys at hostgator said the permalinks dispatch php was  causing an issue too.</p>
<p>Here is my thought</p>
<p>Could the bing bots have caused to many permalinks to get loaded at once which then increased the amount of server errors per permalink causing the cmsb_error_log to get too large which then crashed the DB eventually the server?</p>
<p>If so, can the Error Log be turned off?</p>
<p>Is there something that can be done to optimize the permalink plugin?</p>
<p>My server and sql db are being checked as I write this message.  If anyone has encountered anything similar or if you have a solution please reply.</p>
<p>Thanks</p>
<p>Dan</p>]]></description>
          <pubDate>Thu, 18 Oct 2018 09:02:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242566#post2242566</guid>
        </item>
                <item>
          <title>Sign Up Form Spam</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242159#post2242159</link>
          <description><![CDATA[<p>We are using the <b>Website Membership</b> signup form which requires an email and fullname, but, somehow spam is able to bypass and not enter an email or fullname and still able to signup.  Is there anything that can be added to block that in the error checking?</p>
<p>This is what we use:</p>
<p><code>// error checking<br />    $errorsAndAlerts = "";<br />    if (!@$_REQUEST['fullname'])                { $errorsAndAlerts .= "You must enter your full name!&lt;br/&gt;\n"; }<br />    if (!@$_REQUEST['email'])                   { $errorsAndAlerts .= "You must enter your Email!&lt;br/&gt;\n"; }<br />    else if(!isValidEmail(@$_REQUEST['email'])) { $errorsAndAlerts .= "Please enter a valid Email (example: user@example.com)&lt;br/&gt;\n"; }<br />    if (!@$_REQUEST['username'])                { $errorsAndAlerts .= "You must choose a username!&lt;br/&gt;\n"; }<br /></code></p>
<p>Any help greatly appreciated.</p>
<p>- Dan</p>
]]></description>
          <pubDate>Tue, 05 Jun 2018 13:02:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242159#post2242159</guid>
        </item>
                <item>
          <title>Populate Dropdown by Selected Dropdown</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242055#post2242055</link>
          <description><![CDATA[<p>I have code, using ajax, that was created by Interactive Tools that would populate a secondary dropdown if it related to a selection in the first dropdown, similar to a select country &gt; state &gt; city etc.</p>
<p>The code works great until now where I need a third dropdown to appear if it relates to the secondary dropdown. For example section &gt; category &gt; subcategory</p>
<p>I'm pretty close to accomplishing this but I can't get the third dropdown to appear after selecting the secondary populated dropdown based on the first selected dropdown.  Below is the code I have modified. </p>
<p>I would greatly appreciate it If you could take a look at the code below and let me know what am I missing to make the ajax reload the page to show the third related dropdown. </p>

<p><code>&lt;?php<br /> //Get the viewer functions.<br /> include_once 'cmsb/lib/viewer_functions.php';<br /> if($CURRENT_USER){<br /> $sections = mysql_select('sections', mysql_escapef("`createdByUserNum` = ? AND mail = ? AND contact = ? AND hide_in_tab = ? AND hide = ?", $CURRENT_USER['num'],0,0,0,0));<br /> $where = "TRUE ";<br /> if(isset($_REQUEST['sections'])){<br /> $categories = mysql_select('categories', mysql_escapef("`section` = ? AND hide = ?", $_REQUEST['sections'],0));<br /> if(isset($_REQUEST['get_section_ajax'])) { //If we're loading the system via AJAX, <br /> displayCategories($categories);<br /> exit;<br /> }<br /> }<br /> if(isset($_REQUEST['categories'])){<br /> $subcategories = mysql_select('subcategories', mysql_escapef("`category` = ? ", $_REQUEST['categories']));<br /> if(isset($_REQUEST['get_section_sub_ajax'])) { //If we're loading the system via AJAX, <br /> displaySubCategories($subcategories);<br /> exit;<br /> }<br /> }<br /> }<br /><br /> //This function contains the code that displays the category menu.<br /> function displayCategories($categories) {<br /> ?&gt;<br /> &lt;?php if($categories): ?&gt;<br /> &lt;label for="categories"&gt;Categories&lt;/label&gt;<br /> &lt;select id="categoriesselect" name="categories"&gt;<br /> &lt;option value="" &gt;Please Select&lt;/option&gt;<br /> &lt;?php foreach($categories as $category): ?&gt;<br /> &lt;option &lt;?php selectedIf(@$_REQUEST['categories'], $category['num']); ?&gt; value="&lt;?php echo htmlEncode($category['num']); ?&gt;" &gt;&lt;?php echo htmlEncode($category['title']); ?&gt;&lt;/option&gt;<br /> &lt;?php endforeach; ?&gt;<br /> &lt;/select&gt;&lt;br&gt;<br /> &lt;?php endif; ?&gt;<br /> &lt;?php<br /> }<br /> //This function contains the code that displays the subcategory menu.<br /> function displaySubCategories($subcategories) {<br /> ?&gt;<br /> &lt;?php if($subcategories): ?&gt;<br /> &lt;label for="subcategories"&gt;SubCategories&lt;/label&gt;<br /> &lt;select id="subcategoriesselect" name="subcategories"&gt;<br /> &lt;option value="" &gt;Please Select&lt;/option&gt;<br /> &lt;?php foreach($subcategories as $subcategory): ?&gt;<br /> &lt;option &lt;?php selectedIf(@$_REQUEST['subcategories'], $subcategory['num']); ?&gt; value="&lt;?php echo htmlEncode($subcategory['num']); ?&gt;" &gt;&lt;?php echo htmlEncode($subcategory['title']); ?&gt;&lt;/option&gt;<br /> &lt;?php endforeach; ?&gt;<br /> &lt;/select&gt;&lt;br&gt;<br /> &lt;?php endif; ?&gt;<br /> &lt;?php<br /> }<br /><br /><br /> ?&gt;<br /> &lt;!DOCTYPE html&gt;<br /> &lt;html&gt;<br /> &lt;head&gt;<br /> &lt;title&gt;Example Page&lt;/title&gt;<br /> &lt;script src="<a href="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js</a>"&gt;&lt;/script&gt;<br /> &lt;/head&gt;<br /> &lt;body&gt;<br /> &lt;form method="post" action=""&gt;<br /> &lt;?php if($CURRENT_USER): ?&gt;<br /> &lt;label for="sections"&gt;Sections&lt;/label&gt;<br /> &lt;?php if($sections): ?&gt;<br /> &lt;select id="sectionsselect" name="sections"&gt;<br /> &lt;option value="" &gt;Please Select&lt;/option&gt;<br /> &lt;?php foreach($sections as $section): ?&gt;<br /> &lt;option &lt;?php selectedIf(@$_REQUEST['sections'], $section['num']); ?&gt; value="&lt;?php echo htmlEncode($section['num']); ?&gt;" &gt;&lt;?php echo htmlEncode($section['title']); ?&gt;&lt;/option&gt;<br /> &lt;?php endforeach; ?&gt;<br /> &lt;/select&gt;&lt;br&gt;<br /> &lt;?php else: ?&gt;<br /> &lt;p&gt;There aren't any sections for this account.&lt;/p&gt;<br /> &lt;?php endif; ?&gt;<br /><br /> &lt;!-- This div will load the content of the category drop down via ajax --&gt;<br /> &lt;div id="category_containerselect"&gt; <br /> &lt;?php if(isset($_REQUEST['sections'])) { displayCategories($categories); } ?&gt;<br /> &lt;/div&gt;<br /> &lt;div id="subcategory_containerselect"&gt; <br /> &lt;?php if(isset($_REQUEST['categories'])) { displaySubCategories($subcategories); } ?&gt;<br /> &lt;/div&gt;<br /> &lt;input type="submit" name="go" value="Go" /&gt;<br /> &lt;?php else: ?&gt;<br /> &lt;p&gt;You must be logged in to use this dropdown.&lt;/p&gt;<br /> &lt;?php endif; ?&gt;<br /> &lt;/form&gt;<br /> &lt;/body&gt;<br /> &lt;script type="text/javascript"&gt;<br /> $(document).ready(function() {<br /> $('#sectionsselect').change(function(){<br /> var sections = $(this).val();<br /> var categories = $('#categoriesselect').val();<br /> $.get( "?get_section_ajax=1&amp;sections=" + sections + "&amp;categories=" + categories, function( data ) {<br /> $( "#category_containerselect" ).html( data );<br /> });<br /> });<br /> });<br /> $(document).ready(function() {<br /> $('#categoriesselect').change(function(){<br /> var categories = $(this).val();<br /> var subcategories = $('#subcategoriesselect').val();<br /> $.get( "?get_section_sub_ajax=1&amp;categories=" + categories + "&amp;subcategories=" + subcategories, function( data ) {<br /> $( "#subcategory_containerselect" ).html( data );<br /> });<br /> });<br /> });<br /> &lt;/script&gt;<br /> &lt;/html&gt;</code></p>
]]></description>
          <pubDate>Mon, 14 May 2018 10:32:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242055#post2242055</guid>
        </item>
                <item>
          <title>Email Form - Adding a name to the &quot;From&quot; email</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241163#post2241163</link>
          <description><![CDATA[<p>Just figured out how to do incase anyone else would like to do here is the code:</p>
<p><code>$mailErrors = sendMessage(array(<br />      'to'       =&gt;  $_REQUEST['email'],<br />      'from'     =&gt;  'Website Admin &lt;admin@website.com&gt;',<br />      'subject'  =&gt;  $_REQUEST['reply_subject'],<br />      'html'     =&gt;  $message,<br />    ));</code></p>
]]></description>
          <pubDate>Thu, 14 Sep 2017 13:20:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241163#post2241163</guid>
        </item>
                <item>
          <title>Email Form - Adding a name to the &quot;From&quot; email</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241162#post2241162</link>
          <description><![CDATA[<p>I am using the below snippet in code for sending automated emails.   Is there a way I can modify the 'from' area to also include a name?  For example when a user receives an email with the below code the 'from' is admin@website.com.  I would like to give the email a name so that the 'from' would appear as "Website Admin &lt;admin@website.com&gt;".   Is that possible?</p>
<p><code>   $mailErrors = sendMessage(array(<br />      'to'       =&gt;  $_REQUEST['email'],<br />      'from'     =&gt;  'admin@website.com',<br />      'subject'  =&gt;  $_REQUEST['reply_subject'],<br />      'html'     =&gt;  $message,<br />    ));</code></p>
<p>Any help would be greatly appreciated.</p>
<p>Dan</p>]]></description>
          <pubDate>Thu, 14 Sep 2017 12:53:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241162#post2241162</guid>
        </item>
                <item>
          <title>Creating a Dynamic Menu</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239859#post2239859</link>
          <description><![CDATA[<p>Hi Ross,</p>
<p>Thanks for the reply. I have attached a sample php of how I would like it to appear with some code and also attaching the schema for both sections and categories. </p>]]></description>
          <pubDate>Tue, 29 Nov 2016 12:00:18 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239859#post2239859</guid>
        </item>
                <item>
          <title>Creating a Dynamic Menu</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239848#post2239848</link>
          <description><![CDATA[<p>I would like to create a dynamic menu where "Categories" that relate to "Sections" change an &lt;li&gt; class and list the categories. If anyone has a snippet code for this I would greatly appreciate it.<br /><br />Here is what I have:<br />&lt;?php<br />    list($sectionsRecords, $sectionsMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'sections',<br />    'loadUploads' =&gt; true,<br />    'allowSearch' =&gt; false,<br />    'where'     =&gt; "createdByUserNum = '" . $accountsRecord['num'] . "'",<br />  ));<br />    list($categoryRecords,$categoryMetaData) = getrecords(array(<br />    'tableName'     =&gt; 'categories',<br />    'allowSearch'   =&gt; false,<br />    'loadCreatedBy' =&gt; false,<br />    'where'     =&gt; "createdByUserNum = '" . $accountsRecord['num'] . "'",<br />  ));<br />?&gt;<br /><br />The Category table has a "section" field that list related sections.<br /><br />I would like to have any Category that the "section" field matches the record num of a Section to appear like this:<br />&lt;li class="dropdown"&gt;<br />    &lt;a href="#" class="dropdown-toggle" href="#"&gt; Section Title &lt;/a&gt;<br />        &lt;ul class="dropdown-menu"&gt; <br />        &lt;li&gt;&lt;a href="#"&gt;Related Category Title&lt;/a&gt;&lt;/li&gt; <br />        &lt;li&gt;&lt;a href="#"&gt;Related Category Title&lt;/a&gt;&lt;/li&gt;  <br />        &lt;/ul&gt;<br />&lt;/li&gt;<br /><br />If a Category "section" field does not match the record num of a Section it should appear like this:<br />&lt;li&gt;<br />    &lt;a href="login" class="dropdown-toggle" href="#"&gt; Section Title &lt;/a&gt;<br />&lt;/li&gt;</p>]]></description>
          <pubDate>Sun, 27 Nov 2016 12:35:51 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239848#post2239848</guid>
        </item>
                <item>
          <title>Email Templates: Adding php includes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238524#post2238524</link>
          <description><![CDATA[<p>In case anyone else wants to do something similar I was able to find a solution. </p>
<p>I needed to add a php header and footer using the Email Templates and was able to do with two custom placeholders.</p>
<p>I first added a header and footer  to the placeholder array:</p>
<p><code> $emailHeaders = emailTemplate_loadFromDB(array(<br />          'template_id'  =&gt; 'USER-PASSWORD-RESET',<br />          'placeholders' =&gt; array(<br /><span style="color:#008080;"><strong>          'header'  =&gt;  file_get_contents('header.php',TRUE),</strong></span><br /><span style="color:#008080;"><strong>          'footer'  =&gt;  file_get_contents('footer.php',TRUE),</strong></span><br />          'user.username' =&gt; $user['username'],<br />            'user.email'    =&gt; $user['email'],<br />            'loginUrl'      =&gt; realUrl($GLOBALS['WEBSITE_LOGIN_LOGIN_FORM_URL']),<br />            'resetUrl'      =&gt; realUrl($GLOBALS['WEBSITE_LOGIN_RESET_URL'] . "?userNum={$user['num']}&amp;resetCode=" . _generatePasswordResetCode( $user['num'] )),<br />        )));</code></p>
<p>Then in the email template I added #header# in the top of the Message HTML code and added #footer# at the bottom.</p>
<p>This setup was extremely helpful as I wanted to run db generated content in the email without having to copy and paste html code everytime I send an email.  It also helps clean your coding as having a header and footer include doesnt require that code in the Message HTML area.</p>
<p>Hope this helps! </p>]]></description>
          <pubDate>Fri, 18 Mar 2016 10:57:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238524#post2238524</guid>
        </item>
                <item>
          <title>Email Templates: Adding php includes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238488#post2238488</link>
          <description><![CDATA[<p>Is there a way to add php includes to the email templates?  I only see the Message HTML area via the cms.  Is there a template file that I can modify to add a permanent include?   </p>]]></description>
          <pubDate>Mon, 14 Mar 2016 07:11:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238488#post2238488</guid>
        </item>
                <item>
          <title>Forum Upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238459#post2238459</link>
          <description><![CDATA[<p>Any ETA for the forum to be available?  I would like to begin offering it to my clients ASAP.</p>]]></description>
          <pubDate>Tue, 08 Mar 2016 13:37:45 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238459#post2238459</guid>
        </item>
                <item>
          <title>htaccess Question</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238338#post2238338</link>
          <description><![CDATA[<p>I have a webpage that I would like to point a new domain name to but eliminate the url string in the browser on the initial landing. </p>
<p>For example I have a Sports section here: www.newspaper.com/sports/</p>
<p>I would like to buy the domain name NewspaperSports.com and point it to: www.newspaper.com/sports/</p>
<p>The domain should remain as NewspaperSports.com at least for the initial landing page.</p>
<p>I don't want the url to be seen as www.newspapersports.com/sports/</p>
<p>Is there a way to do this via .htaccess?</p>
<p>My current code creates a redirect:</p>
<p>RewriteCond %{HTTP_HOST} ^NewspaperSports.com$ [OR]<br />RewriteCond %{HTTP_HOST} ^www.NewspaperSports.com$<br />RewriteRule ^/?$ "http\:\/\/NewspaperSports\.com\/sports\/" [R=301,L]</p>
<p>Any help or suggestion would be greatly appreciated.</p>
<p>Dan</p>]]></description>
          <pubDate>Thu, 18 Feb 2016 12:28:34 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238338#post2238338</guid>
        </item>
                <item>
          <title>Help with if then statement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238254#post2238254</link>
          <description><![CDATA[<p>Saw this and thought i could help. Here is what I usual do in this case by using an if statement checking image size. So if the size is zero that indicates there is no image and goes to the next if statement:</p>
<p><span style="color:#339966;">&lt;?php if (sizeof($record['quickship_image']) &gt;= 1): ?&gt;   </span></p>
<p>&lt;?php foreach ($record['quickship_image'] as $upload): ?&gt;<br /> &lt;?php if ($upload['isImage']): ?&gt;<br /> &lt;a href="&lt;?php echo $record['link'] ?&gt;"&gt;&lt;img src="&lt;?php echo $upload['urlPath'] ?&gt;" alt="" class="img-bord" width="150" height="150" border="0" /&gt;&lt;/a&gt; &lt;?php endif ?&gt;<br /> &lt;?php break; ?&gt;<br />&lt;?php endforeach ?&gt;</p>
<p><span style="color:#339966;">&lt;?php elseif (sizeof($record['main_image']) &gt;= 1): ?&gt; </span></p>
<p>&lt;?php foreach ($record['main_image'] as $upload): ?&gt;<br />&lt;?php if ($upload['isImage']): ?&gt;<br />&lt;a href="&lt;?php echo $record['link'] ?&gt;"&gt;&lt;img src="&lt;?php echo $upload['urlPath'] ?&gt;" alt="" class="img-bord" width="150" height="150" border="0" /&gt;&lt;/a&gt; &lt;?php endif ?&gt;<br />&lt;?php break; ?&gt;<br />&lt;?php endforeach ?&gt;</p>
<p><span style="color:#339966;">&lt;?php endif ?&gt;</span></p>
]]></description>
          <pubDate>Wed, 10 Feb 2016 10:19:14 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238254#post2238254</guid>
        </item>
                <item>
          <title>Receiving Error after Install of 3.02</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238251#post2238251</link>
          <description><![CDATA[<p>Not sure if its a bug, but, I was able to resolve the issue by adding _all_ to the section "Searching" area.  The issue seemed to be that the <strong>Search Fields</strong> field was blank.</p>
<p>In case anyone else is experiencing this here is how to resolve:</p>
<ol><li>Open the section in the <strong>Admin Section Editor</strong></li>
<li>Select the "<strong>Searching</strong>" tab of the section</li>
<li>Add <span style="color:#339966;">_all_</span> to the <strong>Search Fields</strong> field then save</li>
</ol>]]></description>
          <pubDate>Wed, 10 Feb 2016 08:44:46 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238251#post2238251</guid>
        </item>
              </channel>
    </rss>
  