<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>CMSB Acting Weirdly</title>
        <link>https://interactivetools.com/forum/forum-posts.php?CMSB-Acting-Weirdly-80662</link>
        <description></description>
        <pubDate>Wed, 11 Nov 2026 15:07:33 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;CMSB-Acting-Weirdly-80662" rel="self" type="application/rss+xml" />

                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239419#post2239419</link>
          <description><![CDATA[<p>Greg:  Works!</p>
<p>Thanks Greg</p>]]></description>
          <pubDate>Fri, 19 Aug 2016 15:07:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239419#post2239419</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239418#post2239418</link>
          <description><![CDATA[<p>I've found the problem, on line 146 you have the following code:</p>
<p><code>&lt;?php if ($CURRENT_USER['position'] == 'SiteAdmin' || $CURRENT_USER['position'] == 'SiteAdmin/Director' || $CURRENT_USER['position'] = 'Director' ): ?&gt;</code></p>
<p>This line needs needs another equal sign adding to validate the position:</p>
<p><code>&lt;?php if ($CURRENT_USER['position'] == 'SiteAdmin' || $CURRENT_USER['position'] == 'SiteAdmin/Director' || $CURRENT_USER['position'] =<span style="color:#ff0000;">=</span> 'Director' ): ?&gt;</code></p>
<p>At the moment the code is setting the position to Director, not checking if it matches the value. </p>
<p>Thanks!</p>
<p>Greg</p>]]></description>
          <pubDate>Fri, 19 Aug 2016 15:00:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239418#post2239418</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239417#post2239417</link>
          <description><![CDATA[<p>The $CURRECT_USER['position'] is defined per user in their specific account.  I have attached the file minutes.php</p>]]></description>
          <pubDate>Fri, 19 Aug 2016 14:49:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239417#post2239417</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239415#post2239415</link>
          <description><![CDATA[<p>This sounds like it's specific to the BOD Minutes page then. Is the $CURRENT_USER['position'] variable set in the users account, or is it set in a variable in the BOD minutes file? Would it be possible to add the code for the BOD Minutes page in a post for me?</p>]]></description>
          <pubDate>Fri, 19 Aug 2016 14:40:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239415#post2239415</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239412#post2239412</link>
          <description><![CDATA[<p>When I login as a user, and go to the minutes.php page, I see all the BOD Minutes.  When I logoff, nothing changes, however if I try to go to the profile.php page, I am told that I am not logged in.</p>
<p>If I display $CURRENT_USER['position"], the value is "Director".  It shouldn't be.</p>]]></description>
          <pubDate>Fri, 19 Aug 2016 14:33:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239412#post2239412</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239411#post2239411</link>
          <description><![CDATA[<p>Hi northern penguin,</p>
<p>I've also come across a similar issue before, in my case the server was using cloud flair for caching the pages. Cloud flair was caching the pages from when the user was logged in after they had logged out. Is your hosting running any type of caching service? </p>
<blockquote>
<p>For some reason Websitemembership plugin won't let me logoff this page (minutes).  It does actually logoff, but the value of $CURRENT_User['position'] is still "director", so it displays the BOD Minutes, which it shouldn't.</p>
</blockquote>
<p>How are you able to tell that the user is logged off? Is it because users are not able to access pages which require the them to be logged in?</p>
<p>Thanks!</p>
<p>Greg</p>]]></description>
          <pubDate>Fri, 19 Aug 2016 14:15:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239411#post2239411</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239404#post2239404</link>
          <description><![CDATA[<p>Steve:  It doesn't look like it.  The only .htaccess is the CMSB one (see below):</p>
<p><code># CMS PHP Config Files<br /># --------------------------------------------------------------------------------------------<br /># These config files attempt to reset PHP and Apache settings to standard values and turn off<br /># deprecated or problematic features that would otherwise cause errors or problems.<br />#<br /># NOTE: These files aren't supported on all servers, but on many they will prevent problems.<br /># However, they are OPTIONAL and you can safely remove these files if needed.<br /># --------------------------------------------------------------------------------------------<br /># .htaccess - For Apache, Apache PHP module and IIS with .htaccess emulator: <a href="http://php.net/configuration.changes" rel="nofollow">http://php.net/configuration.changes</a><br /># .user.ini - For servers running PHP in CGI/FastCGI mode: <a href="http://php.net/configuration.file.per-user" rel="nofollow">http://php.net/configuration.file.per-user</a><br /># php.ini   - For servers that support custom php.ini files: <a href="http://php.net/configuration.file" rel="nofollow">http://php.net/configuration.file</a><br /># --------------------------------------------------------------------------------------------<br /># *** IMPORTANT!!! If you make any changes to this file save a backup copy as &lt;filename&gt;.backup<br /># so you have a backup in case your changes get overwritten next time you upgrade.<br /><br /># .htaccess settings<br /># --------------------------------------------------------------------------------------------<br /># Docs: <a href="http://php.net/configuration.changes" rel="nofollow">http://php.net/configuration.changes</a><br /># Docs: <a href="http://php.net/manual/en/ini.php" rel="nofollow">http://php.net/manual/en/ini.php</a><br /><br /># Apache: disable directory browsing<br />Options -Indexes<br /><br /># Apache: disable mod_security (some of the admin menus allow you to define SQL which mod_security detects and then denied access to)<br />&lt;IfModule mod_security.c&gt;<br />  SecFilterEngine Off<br />  SecFilterScanPOST Off<br />&lt;/IfModule&gt;<br /><br /># Apache: disable mod_gzip for cms admin folder (tinymce gzips javascript and sometimes things get double encoded causing errors)<br />&lt;IfModule mod_gzip.c&gt;<br />  mod_gzip_on No<br />&lt;/IfModule&gt;<br /><br /># Apache: Fix issue where some servers send wrong content-type and FireFox won't load stylesheets<br />&lt;ifModule mod_mime.c&gt;<br />  AddType text/css .css<br />&lt;/ifModule&gt;<br /><br /># PHP: turn off deprecated PHP features and increase max upload size allowed<br />&lt;IfModule mod_php5.c&gt;<br />  php_value date.timezone UTC<br />  #php_value disable_functions none # Entry can only be set in php.ini or httpd.conf<br />  php_value max_input_vars 2000<br />  php_value open_basedir none<br />  php_value post_max_size 101M<br />  php_value upload_max_filesize 101M<br />  # php_flag zlib.output_compression Off<br />&lt;/IfModule&gt;<br /><br /># Identify loaded modules<br />&lt;IfModule mod_env.c&gt;<br />  SetEnv CMSB_APACHE_HTACCESS 1<br />  SetEnv CMSB_MOD_ENV 1<br />  &lt;IfModule mod_php5.c&gt;<br />    SetEnv CMSB_MOD_PHP5 1<br />  &lt;/IfModule&gt;<br />  &lt;IfModule mod_fcgid.c&gt;<br />    SetEnv CMSB_MOD_FCGID 1<br />  &lt;/IfModule&gt;  <br />  &lt;IfModule mod_suphp.c&gt;<br />    SetEnv CMSB_MOD_SUPHP 1<br />    #suPHP_Engine on<br />    #suPHP_ConfigPath /full/path/to/folder/with/php.ini/in/it<br />  &lt;/IfModule&gt;<br />  &lt;IfModule mod_security.c&gt;<br />    SetEnv CMSB_MOD_SECURITY1 1<br />  &lt;/IfModule&gt;<br />  &lt;IfModule mod_security2.c&gt;<br />    SetEnv CMSB_MOD_SECURITY2 1<br />  &lt;/IfModule&gt;<br />  &lt;IfModule mod_rewrite.c&gt;<br />    SetEnv CMSB_MOD_REWRITE 1<br />  &lt;/IfModule&gt;<br />&lt;/IfModule&gt;<br /><br /># SECURITY: Deny access to common configuration and data files, eg: .htaccess, php.ini, .user.ini, php_errors.log, backup.sql, etc<br />&lt;FilesMatch "\.(htaccess|ini|log|sql)$"&gt;<br />Order Deny,Allow<br />Deny from All<br />&lt;/FilesMatch&gt;<br /># SECURITY: Deny access to common configuration and data files with php extensions, eg: settings.dat.php, etc<br />&lt;FilesMatch "\.(dat|defaultSqlData|log|sql)\.php$"&gt;<br />Order Deny,Allow<br />Deny from All<br />&lt;/FilesMatch&gt;<br /><br /># Identify loaded config files - repurpose some lesser used php.ini directives to indicate which config files loaded<br />&lt;IfModule mod_php5.c&gt;<br />  php_value highlight.html '#000000; CMSB_CONFIG_HTACCESS'<br />  php_value date.default_latitude '11.1111 CMSB_CONFIG_HTACCESS'<br />&lt;/IfModule&gt;</code></p>
]]></description>
          <pubDate>Fri, 19 Aug 2016 09:49:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239404#post2239404</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239403#post2239403</link>
          <description><![CDATA[<p>Ragi,</p>
<p>Not sure if this applies to what you're experiencing, but it may...</p>
<p>By any chance are you using any htaccess rules to leverage browser cache? (we often use htaccess browser cache rules for page speed)</p>
<p>Reason I bring this up is I had experienced a "logoff" issue before, and it was due to "ExpiresByType text/html" and/or "ExpiresDefault" content type rules (to which we no longer place in htaccess files on sites using the membership module).</p>
<p>Anyway, just wanted to mention this in case it relates...</p>
<p>Cheers,<br />Steve</p>]]></description>
          <pubDate>Fri, 19 Aug 2016 09:44:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239403#post2239403</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239401#post2239401</link>
          <description><![CDATA[<p>Damon:  For some reason Websitemembership plugin won't let me logoff this page (minutes).  It does actually logoff, but the value of $CURRENT_User['position'] is still "director", so it displays the BOD Minutes, which it shouldn't.</p>
<p>The code I use to logoff is as follows:</p>
<p><code>&lt;?php if ($CURRENT_USER['position'] == 'Director'): ?&gt;<br />&lt;div style="border: 1px solid #000; background-color: #EEE; padding: 10px; width: 500px"&gt;<br />&lt;p&gt;&lt;a href='directors.php'&gt;Board of Directors&lt;/a&gt;&lt;br /&gt;<br />&lt;a href='motions.php'&gt;Motions &amp; Financial Statements&lt;/a&gt;&lt;br /&gt;<br />&lt;a href='minutes.php'&gt;Minutes &amp; Record of Proceedings&lt;/a&gt;&lt;br /&gt;<br />&lt;a href='profile.php?action=logoff'&gt;Logoff&lt;/a&gt;&lt;/p&gt;<br />&lt;/div&gt;</code></p>
<p>Any ideas how I can force the logoff and not display the BOD Minutes?</p>
<p>Ragi</p>]]></description>
          <pubDate>Thu, 18 Aug 2016 19:18:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239401#post2239401</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239400#post2239400</link>
          <description><![CDATA[<p>Damon:  Found it!  My client decided to change the catalog labels without telling me.  The code looked for "Board of Director Meetings".  The client changed it to "Board of Director Minutes" prior to publishing the 2016 minutes.</p>
<p>So, that is one problem solved.  The other issue is why I can't logout.  I thought it might be my cache, but I flushed it and still see everything when I go to this page.</p>]]></description>
          <pubDate>Thu, 18 Aug 2016 18:27:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239400#post2239400</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239397#post2239397</link>
          <description><![CDATA[<blockquote>
<p><span>Damon:  Is there anyway to write the output to a file instead of trying to scroll through a browser window</span></p>
</blockquote>
<p>Not something I have done. I usually output the contents in the footer and scroll through.</p>
<p>I'm guessing that you could possibly use the PHP functions fopen, fwrite, fclose.</p>]]></description>
          <pubDate>Thu, 18 Aug 2016 12:03:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239397#post2239397</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239389#post2239389</link>
          <description><![CDATA[<p>Damon:  Is there anyway to write the output to a file instead of trying to scroll through a browser window?</p>]]></description>
          <pubDate>Wed, 17 Aug 2016 13:55:55 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239389#post2239389</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239382#post2239382</link>
          <description><![CDATA[<p>Hi,</p>
<p>Can you use the CMS Builder showme function to display all the values for every variable.</p>
<p><code>&lt;?php showme($minutes_public_privateRecords); ?&gt;</code></p>
<p>Hopefully this will show what variables are displaying content and help narrow it down.</p>
<p>If not, the next step is to start with a new page with just the <span>BOD code and nothing else to see if that works, then add more and retest to determine what is causing the unexpected results.</span></p>
]]></description>
          <pubDate>Wed, 17 Aug 2016 11:13:54 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239382#post2239382</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239370#post2239370</link>
          <description><![CDATA[<p>Damon:  Something really weird is going on.  I tried your suggestion and now I am really mystified.</p>
<p>First, after implementing your suggestion, only the title "Board of Directors Meeting Minutes" showed up (without login).  Then I logged in, and go exactly the same thing (no minutes).</p>
<p>So, I logged out, logged into CMSB and changed the 2016 Minutes from "private" to "public" and went back to the website.  No difference (logged in or out).</p>
<p>I reset the "public" in line 149 back to "private" and everything went back to what it was before, except that I can't logout, but only for the minutes.php page.  All BOD minutes up to 2015 show, nothing after (original condition).  If I go to the BOD page, I don't see their addresses &amp; phone numbers unless I login again.</p>
<p>This is very confusing....!</p>
<p>Ragi</p>]]></description>
          <pubDate>Mon, 15 Aug 2016 15:35:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239370#post2239370</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239366#post2239366</link>
          <description><![CDATA[<p>Hi,</p>
<blockquote>
<p>The issue is this:  There is a private members area that only Directors can access (Website Membership).  Once in (see attached minutes.php), they will see additional documents not available to the general public.  Specifically the BOD Minutes.  For some reason, the 2016 Minutes don't show at all, and I don't understand why as they are identical to other year's Minutes</p>
</blockquote>
<p>When looking at your code, the only difference between the BOD minutes and the other minutes is this code in the IF statement (line 149):</p>
<p><code>$record['private']</code></p>
<p>instead of</p>
<p><code>$record['public']</code></p>
<p>Can you change the BOD if statement to use <span>$record['public'] and the see if the content appears. Hopefully this will help narrow it down.</span></p>]]></description>
          <pubDate>Mon, 15 Aug 2016 13:45:47 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239366#post2239366</guid>
        </item>
                <item>
          <title>CMSB Acting Weirdly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239357#post2239357</link>
          <description><![CDATA[<p>Hi Guys</p>
<p>Well, either CMSB is acting weirdly or my code is doing something it was not designed to do!</p>
<p>Environment: CMSB v3.05 with Website Membership v1.11/Geocoder 1.05/Newsletter Builder 3.04</p>
<p>Website:  <a href="http://uccvi.com" rel="nofollow">http://uccvi.com</a></p>
<p>The issue is this:  There is a private members area that only Directors can access (Website Membership).  Once in (see attached minutes.php), they will see additional documents not available to the general public.  Specifically the BOD Minutes.  For some reason, the 2016 Minutes don't show at all, and I don't understand why as they are identical to other year's Minutes.</p>
<p>I am very confused!</p>
<p>Ragi</p>
]]></description>
          <pubDate>Fri, 12 Aug 2016 16:21:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239357#post2239357</guid>
        </item>
              </channel>
    </rss>
  