likewise, anyway?cuneytc wrote:Hi, I tried it and it works like a charm.
But I have a question, I would be so appreciate if you answer.
Is there a way to show only a complete blank screen with login box instead of header and footer?
Thanks a lot by now
I find a way to make it work.
STEP 1:
Find
STEP 2:
Add these code in the next line right after the code above.
Result: when you go http://www.yourdomain.com it will display your frontpage. if you click on any product to see details it will force customer to login.
STEP 1:
Find
Code: Select all
foreach ($skip as $s) {
if (strpos($this->request->get['route'], $s) !== false) {
$match = true;
break;
}
}
}
Add these code in the next line right after the code above.
Code: Select all
if (empty($this->request->get['route'])){
$match = true;
}
zennit wrote:i've added common and information to the skip arrayWhich lets users view non shop pages. The problem is if I got the the root address http://www.domain.com it redirects to http://www.domain.com/index.php?route=account/login&SSL but when I click on home in the menu it goes to http://www.domain.com/index.php?route=common/home and shows the homepage ok. Is there a way to make the root http://www.domain.com address show the homepage and not redirect to the login?Code: Select all
$skip = array( 'payment', 'feed', 'forgotten', 'login', 'register', 'common', 'information', );
Cheers, great script btw
Works great!
Is there any way there can be a notifcation just letting the user know why they keep being directed to the login/register page..?
Thanks!
Is there any way there can be a notifcation just letting the user know why they keep being directed to the login/register page..?
Thanks!
i think this add-on will now have effect on your main page. have you test it ?jerdna wrote:Hi there,
It vorks grat 1.5.4.1 but i have one question.
Is it possible that this vqmod run only on sub domain page wich in my case is B2B and the main page wich is for custumers it dont?
Thanx for answers!
Yes i ve tested it and it works on both pages main and sub domain. I looked at xml and ther is nothing that is adressing the spacific url of the page so i gues it can not be done for working just on sub domain? Or is ther?
Thanx for any idea. Othervice great vqmode!
Thanx for any idea. Othervice great vqmode!
Hi I have a problem-
When I enter the username I see that he logged on at the top but is I click on anything (even refresh the page) the user is logged out and the site ask again for username and password -all the time what could be the problem?
Thanks.
When I enter the username I see that he logged on at the top but is I click on anything (even refresh the page) the user is logged out and the site ask again for username and password -all the time what could be the problem?
Thanks.
Hi,cuneytc wrote:Hi, I tried it and it works like a charm.
But I have a question, I would be so appreciate if you answer.
Is there a way to show only a complete blank screen with login box instead of header and footer?
Thanks a lot by now
There is no solution to remove the header?
For the footer, I have removed the last line "<?php echo $footer; ?>" on the file login.tpl ... It's good?
thanks a lot
jimmy
- Opencart Version 1.5.5.1
- LocalHost
- PHP version 5.4.1
I am looking for a blank page with only the log-in box as well. Maybe there is a way to cancel the header styles on account/login only? If anyone comes up with this let me know please!
My Extensions
OpenCart Developer (OCD) Tools
Donate - If I ever helped you.
Hi,
if you need language switcher just add a line:
if you need language switcher just add a line:
Code: Select all
$skip = array(
'payment',
'feed',
'forgotten',
'login',
'register',
'success',
'language'
);
Hi...would there be anyway to have the login so that no one can actually 'see the site' at all until they login? In other words the URL would take them first to an external 'blank index page' with a login panel before they can enter the site? We're still testing the site which is accessible if you have the URL, also a link shows up in google. We have several folks who need to be viewing and testing but we do not want the public to access at this point (I realize we can select the 'maintenance' setting but that only disables all links on the home page but does not prevent anyone from seeing the basic layout). Any ideas?
a6bains wrote:Hi, I tried this and it works great! Thanks!
Just one question. I wanted to change the "common/home" link in the XML file to link to a particular Information Page. What would I change it to in order to do so?
Thanks in advance!
I am also interested in this change. I would like members to be directed to the product page after login. A BIG THANK YOU! to all the experts here!
One more thing to add...
This is a great mod, only one thing is missing. A simple email notification that someone requested access to the site. It seems you have to login to the admin/sales/customers area to see who has sent a request.
Also the login page has this text:
"Register Account
By creating an account you will be able to shop faster, be up to date on an order's status, and keep track of the orders you have previously made."
My question here is, where is this text found. I cannot find it ANYWHERE in the script?!? I would like to change it.
This is a great mod, only one thing is missing. A simple email notification that someone requested access to the site. It seems you have to login to the admin/sales/customers area to see who has sent a request.
Also the login page has this text:
"Register Account
By creating an account you will be able to shop faster, be up to date on an order's status, and keep track of the orders you have previously made."
My question here is, where is this text found. I cannot find it ANYWHERE in the script?!? I would like to change it.
Thank you for this mod.
I've added 'success', to the $skip array. Just so customers know that they've registered and are awaiting approval.
Could you tell me, how do I redirect users to the home page once they do log-in, rather than the account page? I would still like them to be able to access the My Account page, but I would prefer they see the home page when they log in.
I've added 'success', to the $skip array. Just so customers know that they've registered and are awaiting approval.
Could you tell me, how do I redirect users to the home page once they do log-in, rather than the account page? I would still like them to be able to access the My Account page, but I would prefer they see the home page when they log in.
I'm a little late to this party, having only just now updated from 1.5.x to 2.x, but for this vQmod to work with opencart 2.x, you need to change line 36 from
to
Many thanks to qphoria for the years we've been using this mod successfully, and here's a toast to many more!
Code: Select all
$this->redirect($this->url->link('account/login', 'SSL'));
Code: Select all
$this->response->redirect($this->url->link('account/login', 'SSL'));
Who is online
Users browsing this forum: No registered users and 82 guests