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

Users Online Edit

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-25-2006, 06:23 PM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Users Online Edit

Is there a way to either delete or better still edit the Users online Box...instead of it reading true could the base number start from say 8 or 9 so it looked like the site was busy all the time ...
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #2  
Old 02-25-2006, 11:58 PM
  thundernugs's Avatar 
thundernugs thundernugs is offline
 

Senior Member
  
Join Date: May 2003
Location: Bend, OR
Posts: 117
 

Default

you can get rid of this feature under admin/modules and uncheck the box for users online.

personally, i like to have mine on the admin page only so i can see how many users there are but customers cannot

to do this, you can comment this line out of skin1/customer/home.tpl

change this:
Code:
{if $active_modules.Users_online ne "" and $users_online}{ include file="modules/Users_online/menu_users_online.tpl" } {/if}

to this:
Code:
{*{if $active_modules.Users_online ne "" and $users_online}{ include file="modules/Users_online/menu_users_online.tpl" } {/if}*}

not sure how to increase it artificially.
__________________
X-Cart Gold 4.0.17 & 4.0.18
Linux Server
Hands-On Hosting
http://www.CoreCases.com - Ipod Cases
http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need
Reply With Quote
  #3  
Old 02-26-2006, 07:46 AM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Users Online help

Thanks ...I used your code...works Great, I like having the admin view only...
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #4  
Old 02-26-2006, 01:47 PM
 
smartoption smartoption is offline
 

Advanced Member
  
Join Date: Feb 2006
Location: York UK
Posts: 87
 

Default Re: Users Online Edit

Quote:
Originally Posted by limey66
Is there a way to either delete or better still edit the Users online Box...instead of it reading true could the base number start from say 8 or 9 so it looked like the site was busy all the time ...

This is a good idea, i would also like to change the numbers of online users.
__________________
X-Cart Gold - Version 4.0.18
Reply With Quote
  #5  
Old 03-01-2006, 11:59 PM
 
zman9696 zman9696 is offline
 

Member
  
Join Date: Feb 2005
Location: Canada
Posts: 17
 

Default

i went into /customer/home.tpl and I tried to change this :

Code:
{if $active_modules.Users_online ne ""} { include file="modules/Users_online/menu_users_online.tpl" } {/if}

to this:

Code:
{*{if $active_modules.Users_online ne ""} { include file="modules/Users_online/menu_users_online.tpl" } {/if}*}

but i got an error saying ...File operation is failed.

Yes i am a newbie, but any help would be appreciated. i couldnt find the skin1 folder in the back end
__________________
X-Cart Gold v4.3
Reply With Quote
  #6  
Old 03-02-2006, 03:18 AM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Newbie to Newbie

Hello There...
When you click on edit templates you are taken to skin1. instantly...all other files branch of from there...( I didn't know that either till someone answered me )
I don't know why the code isn't working for you...it worked first time for me...just make sure you are inserting it in the exact right place and pasting the entire code ...every little dot and squiggle....

Good Luck...

Seeing as you are a Canadian too maybe you know the answer to one of my questions...I am trying to figure out if I can download the invoice files direct to New Quicken software...( preferably Quickbooks East start....I didn't get much help when I emailed Intuit)...Thanks
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #7  
Old 03-02-2006, 04:57 PM
  thundernugs's Avatar 
thundernugs thundernugs is offline
 

Senior Member
  
Join Date: May 2003
Location: Bend, OR
Posts: 117
 

Default

zman, looks like the code may be different from 4.0.11 to 4.0.17.

without seeing your entire home.tpl, it's hard to tell. you can also try commenting out just the include, something like this:


Code:
{if $active_modules.Users_online ne ""} { include file="modules/Users_online/menu_users_online.tpl" } {/if}

to this

Code:
{if $active_modules.Users_online ne ""} {*{ include file="modules/Users_online/menu_users_online.tpl" } *} {/if}

mike
__________________
X-Cart Gold 4.0.17 & 4.0.18
Linux Server
Hands-On Hosting
http://www.CoreCases.com - Ipod Cases
http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need
Reply With Quote
  #8  
Old 04-26-2006, 09:15 AM
  clik's Avatar 
clik clik is offline
 

Advanced Member
  
Join Date: Mar 2006
Location: Canada
Posts: 30
 

Default Re: Users Online Edit

Quote:
Originally Posted by limey66
Is there a way to either delete or better still edit the Users online Box...instead of it reading true could the base number start from say 8 or 9 so it looked like the site was busy all the time ...

I would like to have this feature on my web site. I don't mind about true statistics... Is it complicated to make?

[unregistered customer(s) = unregistered customer(s) x 2 + 12]

and lets say

[[registered customer(s) = unregistered customer(s) x 3 + 12]
__________________
__________________
XC5: 5.3.4.4
PHP: 7.0.26
MySQL server: 5.5.56-MariaDB
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:18 AM.

   

 
X-Cart forums © 2001-2020