Double Log In showing in Tab
Permalink Browser Info Environment
PROBLEM SOLVED: steps i took: 1) from system & settings to "Log In Destination" and set the it to "custom page" with no page listed. 2) "Public Registration" set to "off". Then created a new page for the Reg Pro block. I think it needed to have the cache cleared... now it is working perfect :(
W2f wrote......."Hi again :) because we have 3 different group sections on our website, i installed the Reg Pro add-on so that we can provide signup/log on from different group pages. It seems that i am having a problem using this add-on with this theme because the Venture Registration/Log On stays in the navigation bar at the same time the Reg Pro is displaying Log-On info. I tried turning off the "registration" option completely in the system settings, but then i just see the "log on" or "out". can i turn off the Reg/Log-In somehow in Venture? (I'd like to leave the matching "page not found" option active. (I'd like to keep the Venture theme matching Registration/Log-On as well). Is this possible without too much coding? thanks for your recommendation in this situation".
W2f wrote......."Hi again :) because we have 3 different group sections on our website, i installed the Reg Pro add-on so that we can provide signup/log on from different group pages. It seems that i am having a problem using this add-on with this theme because the Venture Registration/Log On stays in the navigation bar at the same time the Reg Pro is displaying Log-On info. I tried turning off the "registration" option completely in the system settings, but then i just see the "log on" or "out". can i turn off the Reg/Log-In somehow in Venture? (I'd like to leave the matching "page not found" option active. (I'd like to keep the Venture theme matching Registration/Log-On as well). Is this possible without too much coding? thanks for your recommendation in this situation".
Type: | Discussion |
---|---|
Status: | In Progress |
hi formigo,
I am back to working on this part of the site and l looked at the directory that you showed in your answer here, but when I get to that file I only find 2 folders:
1. venture.php
2) venture_sub_nav_.php
I looked in both folders and did not find the code that you posted here in either... could it be somewhere else?
ps- while have both the Reg Pro block AND the log in navigation, the Reg Pro is not displaying the log out option like it is set to do.... so I will ask over there about it, but wondering if there might be an over-writing issues using both at the same time?
thanks for your continued support!
I am back to working on this part of the site and l looked at the directory that you showed in your answer here, but when I get to that file I only find 2 folders:
1. venture.php
2) venture_sub_nav_.php
I looked in both folders and did not find the code that you posted here in either... could it be somewhere else?
ps- while have both the Reg Pro block AND the log in navigation, the Reg Pro is not displaying the log out option like it is set to do.... so I will ask over there about it, but wondering if there might be an over-writing issues using both at the same time?
thanks for your continued support!
You need to look in the venture.php file:
As for the third party block - you would need to contact the relevant developer here.
Thanks
//Log in & Sign Up echo '<section class="top-bar-section">'; echo '<ul class="right">'; $u = new User(); if ($u->isRegistered()) { if (Config::get("ENABLE_USER_PROFILES")) { echo '<li><a class="profile-link" href="' . $this->url('/profile') . '"><i class="icon-user"></i> ' . $u->getUserName() . '</a></li><li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out').'</a></li>'; } else { echo '<li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out: ').'<span class="username">'.$u->getUserName().'</span></a></li>'; } } else { echo '<li><a class="sign-in-link" href="'.$this->url('/login').'"><i class="icon-lock"></i> '.t('Log In').'</a></li>'; //Enable Registration
Viewing 15 lines of 22 lines. View entire code block.
As for the third party block - you would need to contact the relevant developer here.
Thanks
Just remove all this:
==================================================================================================
//Log in & Sign Up
echo '<section class="top-bar-section">';
echo '<ul class="right">';
$u = new User();
if ($u->isRegistered()) {
if (Config::get("ENABLE_USER_PROFILES")) {
echo '<li><a class="profile-link" href="' . $this->url('/profile') . '"><i class="icon-user"></i> ' . $u->getUserName() . '</a></li><li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out').'</a></li>';
}
else {
echo '<li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out: ').'<span class="username">'.$u->getUserName().'</span></a></li>';
}
}
else {
echo '<li><a class="sign-in-link" href="'.$this->url('/login').'"><i class="icon-lock"></i> '.t('Log In').'</a></li>';
//Enable Registration
if (Config::get("ENABLE_REGISTRATION")) {
echo '<li><a class="sign-up-link" href="'.$this->url('/register').'"><i class="icon-user"></i> '.t('Sign-up').'</a></li>';
} else {
}
}
echo '</ul>';
echo '</section>';
==================================================================================================