![]() |
Users on line field
Sorry to ask a same question a million first time how to remove "users on line" from main page and see it on admin page only but the answer I found on this forum seams doesn't match to 4.4.2 version.
Open up rectangle_bottom.tpl and replace this: {if $active_modules.Users_online ne ""} with this: {if $active_modules.Users_online ne "" and $usertype ne "C"} I couldn't find these lines in directory rectangle_bottom.tpl Can some one help me please? |
Re: Users on line field
Looks like it's in customer/home.tpl and just slightly different so you should be able to find it. :)
|
Re: Users on line field
Thank you Cherie. I found the file and proper line, I replaced it as saying the instruction but happen nothing. User online still shown on the main page. I'm sorry I just a newbie :)
Thanks |
Re: Users on line field
Please make sure the "Do not check if templates are changed (Smarty compile_check)." option is disabled on the "Settings" -> "General settings" page.
|
Re: Users on line field
(Smart compile_check) is unchecked but customer online still showing on home page
Thanks in advance fore your help. |
Re: Users on line field
X-cart is up their old tricks.. if you use a custom template, for instance "Vivid Dreams - Aquamarine", users online is also in the skin/vivid_dreams_aquamarine/customer/content.tpl template near the bottom.
|
Re: Users on line field
Thanks JWait, it works. I could remove User on line from home page but I would like to see how many customers on line on admin page. Could you help me with this?
Regards |
Re: Users on line field
I just commented out the "user online" part in content.tpl using {* and *}
Like this... {* {if $active_modules.Users_online} {include file="modules/Users_online/menu_users_online.tpl"} {/if} *} |
Re: Users on line field
I just noticed there is a template in skin/common_files/modules/menu_users_online.tpl that you can modify using the "if" statements like the beginning of this thread. If you modify it that way, in that .tpl it shouldn't matter what custom template you use.
|
Re: Users on line field
It doesn't work. Perhaps I'm doing something wrong. Could you be so kind to indicate more specific what I have to change and in which template. I didn't understand about {*and*} and in file skin/common_files/modules/menu_users_online.tpl I didn't find which line I have to replace.
Will appreciate your assistance. |
All times are GMT -8. The time now is 03:48 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.