Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Users on line field

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-14-2011, 12:49 PM
 
yunitor1 yunitor1 is offline
 

Member
  
Join Date: Mar 2011
Location: Singapore
Posts: 28
 

Default 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?
__________________
4.4.2-gold
Reply With Quote
  #2  
Old 04-14-2011, 01:15 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default 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.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
yunitor1 (04-18-2011)
  #3  
Old 04-18-2011, 09:49 PM
 
yunitor1 yunitor1 is offline
 

Member
  
Join Date: Mar 2011
Location: Singapore
Posts: 28
 

Default 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
__________________
4.4.2-gold
Reply With Quote
  #4  
Old 04-25-2011, 05:54 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 04-26-2011, 07:47 AM
 
yunitor1 yunitor1 is offline
 

Member
  
Join Date: Mar 2011
Location: Singapore
Posts: 28
 

Default Re: Users on line field

(Smart compile_check) is unchecked but customer online still showing on home page
Thanks in advance fore your help.
__________________
4.4.2-gold
Reply With Quote
  #6  
Old 04-26-2011, 08:31 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default 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.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #7  
Old 04-26-2011, 08:51 AM
 
yunitor1 yunitor1 is offline
 

Member
  
Join Date: Mar 2011
Location: Singapore
Posts: 28
 

Default 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
__________________
4.4.2-gold
Reply With Quote
  #8  
Old 04-26-2011, 09:07 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default 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} *}
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote

The following user thanks JWait for this useful post:
aol (04-27-2011)
  #9  
Old 04-26-2011, 09:27 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default 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.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #10  
Old 04-27-2011, 07:25 AM
 
yunitor1 yunitor1 is offline
 

Member
  
Join Date: Mar 2011
Location: Singapore
Posts: 28
 

Default 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.
__________________
4.4.2-gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:49 AM.

   

 
X-Cart forums © 2001-2020