<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Membership Feature?</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Membership-Feature-73658</link>
        <description></description>
        <pubDate>Tue, 13 Oct 2026 06:21:07 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Membership-Feature-73658" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [Jason] Membership Feature?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216964#post2216964</link>
          <description><![CDATA[Hi Jason<br /><br />thanks you that all works 100% cheers<br /><br />Mark<br />]]></description>
          <pubDate>Thu, 12 Jul 2012 16:01:24 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216964#post2216964</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Membership Feature?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216951#post2216951</link>
          <description><![CDATA[Hi Mark,<br /><br />Try this:<br /><br /><code>&lt;span class=&quot;email&quot;&gt;<br /><br />&lt;?php if ($CURRENT_USER): ?&gt;<br />  &lt;a href=&quot;mailto:&lt;?php echo htmlencode($investment_teamRecord['email']) ?&gt;&quot;&gt;&lt;strong&gt;email me&lt;/strong&gt;&lt;/a&gt;<br />&lt;?php else: ?&gt;<br />  &lt;a href=&quot;login.php&quot;&gt;&lt;span style=&quot;cursor::Pointer;&quot; title=&quot;You need to login to email this person&quot;&gt;login to view&lt;/a&gt;<br />&lt;?php endif ?&gt;<br /><br /><br />&lt;/span&gt;</code><br /><br />As for keeping them on the same page, in the website membership plugin, try changing <br />$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL']<br />to blank<br /><br />ie<br />$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = &quot;&quot;;<br /><br />Hope this helps<br />]]></description>
          <pubDate>Thu, 12 Jul 2012 13:53:54 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216951#post2216951</guid>
        </item>
                <item>
          <title>Re: [Jason] Membership Feature?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216945#post2216945</link>
          <description><![CDATA[Hi Jason<br /><br />also as per above, is there any way of when someone is not logged in it say one thing and then when they are logged in it will say another<br /><br />here is the code i have at the moment<br /><br />&lt;span class=&quot;email&quot;&gt;&lt;?php if ($CURRENT_USER): ?&gt;&lt;a href=&quot;mailto:&lt;?php echo htmlencode($investment_teamRecord['email']) ?&gt;&quot;&gt;&lt;?php else: ?&gt;&lt;a href=&quot;login.php&quot;&gt;&lt;span style=&quot;cursor::Pointer;&quot; title=&quot;You need to login to email this person&quot;&gt;&lt;?php endif ?&gt;&lt;strong&gt;email me&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;<br /><br />and what i want to do is where is says email me i want to replace that with &quot;login to view&quot; and when they login it will say the real email address.<br /><br />hope this make sence<br /><br />Thanks<br /><br />Mark<br />]]></description>
          <pubDate>Wed, 11 Jul 2012 23:45:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216945#post2216945</guid>
        </item>
                <item>
          <title>Re: [Jason] Membership Feature?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216937#post2216937</link>
          <description><![CDATA[Hi Jason<br /><br />thank you very much that is great works 100%.<br /><br />I have one other question because there is a login box on each page when every someone logs in it takes them back to the home page is there a way of taking them back to the page that they where logging into so they dont have to go back and find the page they where on.<br /><br />for example if they where on the downloads page when they login it takes them to the index page which is set in the members plugin but we want to take them back to the download page and the same goes for the peoples page and so on.<br /><br />hope that makes sense.<br /><br />Mark<br />]]></description>
          <pubDate>Wed, 11 Jul 2012 17:32:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216937#post2216937</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Membership Feature?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216932#post2216932</link>
          <description><![CDATA[Hi Mark,<br /><br />Normally what you would do is redirect them as soon as they come to the page if they are not logged in.  In your example, they can still access all the information, it just won't give them the convenience of the mailto: link.<br /><br />To do what you're looking for, you can check to see if they're logged in and then use a different link in the url.<br /><br />EXAMPLE:<br /><br /><br /><code>  &lt;?php if ($CURRENT_USER): ?&gt;<br />      &lt;a href = &quot;mailto:&lt;?php echo $record['email'];?&gt;&quot;&gt;<br />  &lt;?php else: ?&gt;<br />     &lt;a href = &quot;loginRequired.php&quot;&gt;<br />  &lt;?php endif ?&gt;<br /><br />   &lt;?php echo $record['email'];?&gt;<br />   &lt;/a&gt;</code><br /><br />Hope this gets you started<br />]]></description>
          <pubDate>Wed, 11 Jul 2012 16:58:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216932#post2216932</guid>
        </item>
                <item>
          <title>Membership Feature?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216914#post2216914</link>
          <description><![CDATA[Hi<br /><br />I have a website that has the login box on every page and people can get access to each page without having to login but. What i want to do is limit what they can do on the page for example.<br /><br />On the contact page there is a list of staff members and their email address, what we want to do say someone isnt logged into the site and they click on the link it should take them to a page that says you need to be logged in to access this feature, but if they are logged in they can click on the link and it will access to the mailto function.<br /><br />Also the same will be for pdf documents that they have. So how do i go about making this work.<br /><br />thanks<br /><br />Mark<br />]]></description>
          <pubDate>Mon, 09 Jul 2012 21:20:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216914#post2216914</guid>
        </item>
              </channel>
    </rss>
  