<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Login into CMSB from a webpage</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Login-into-CMSB-from-a-webpage-81608</link>
        <description></description>
        <pubDate>Mon, 20 Apr 2026 11:15:01 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Login-into-CMSB-from-a-webpage-81608" rel="self" type="application/rss+xml" />

                <item>
          <title>Login into CMSB from a webpage</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243429#post2243429</link>
          <description><![CDATA[<p>The solution seems to be the following:</p>
<p>change</p>
<pre class="language-php"><code>$CURRENT_USER</code></pre>
<p>to</p>
<pre class="language-php"><code>@$CURRENT_USER</code></pre>


<p>Check also this: </p>
<p><a href="https://www.interactivetools.com/forum/forum-posts.php?postNum=2238440#post2238440" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?postNum=2238440#post2238440</a></p>]]></description>
          <pubDate>Sun, 02 Jun 2019 14:08:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243429#post2243429</guid>
        </item>
                <item>
          <title>Login into CMSB from a webpage</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243239#post2243239</link>
          <description><![CDATA[<p>Hey Andreas,</p>
<p>Would it be possible to post the code that's causing that error in a forum post so I can take a closer look? I suspect the issue is that the page doesn't have the CMS builder viewer functions included on it. This the code that's at the top of every page when you use the code generator and will look something similar to this:</p>
<pre class="language-php"><code>&lt;?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */
  
  // load viewer library
  $libraryPath = 'cmsb/lib/viewer_functions.php';
  $dirsToCheck = array('C:/wamp64/www/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }</code></pre>

<p>Thanks,</p>
<p>Greg</p>]]></description>
          <pubDate>Mon, 01 Apr 2019 12:50:37 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243239#post2243239</guid>
        </item>
                <item>
          <title>Login into CMSB from a webpage</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243237#post2243237</link>
          <description><![CDATA[<p>Hi again.</p>

<p>Well, I did something and it partially worked. I am sure that there must be other more orthodox ways to do it. </p>
<p>In particular: I copied the user-login.php file on the area of the webpage I wanted the login pair (username / password) to appear. Then, in the Websitemembership.php file, I changed the "yourRedirectAfterLoginPageHere.php" with the url of the initial page of the CMSB where I wanted to direct the login page. Finally I made some html changes on the user-login.php file.</p>
<p>It almost works fine. Although, it redirects exactly on the first page of the CMSB, there is appeared the following notice just above the input text boxes:</p>
<pre class="language-php"><code>Notice: Undefined variable: CURRENT_USER in /var/www/vhosts/vascularregistry.gr/httpdocs/wp-content/plugins/insert-php-code-snippet/shortcode-handler.php(65) : eval()'d code on line 13</code></pre>
<p>Are there any ideas how to dissapear this notice?</p>

<p>Regards</p>
<p>Andreas</p>
]]></description>
          <pubDate>Fri, 29 Mar 2019 14:59:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243237#post2243237</guid>
        </item>
                <item>
          <title>Login into CMSB from a webpage</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243235#post2243235</link>
          <description><![CDATA[<p>Hi</p>
<p>I am trying to insert a login pair (username/password) in a webpage, other than the Login page of the CMSB. </p>
<p>Just to make it clear. I have a website and I would like users to login into the CMSB through a login pair (Username / password) that will exist on a notification bar on the top of each page. Currently, I have added a link to the CMSB in the menu of the website, but it is a bit awkward for the user as he needs to navigate on the menu, to get into the CMSB. Just to mention, I have activated the Website Membership plugin.</p>
<p>Regards,</p>
<p>Andreas Lazaris</p>]]></description>
          <pubDate>Fri, 29 Mar 2019 11:08:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243235#post2243235</guid>
        </item>
              </channel>
    </rss>
  