X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Users Online Edit (https://forum.x-cart.com/showthread.php?t=20155)

limey66 02-25-2006 06:23 PM

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 ... :wink:

thundernugs 02-25-2006 11:58 PM

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.

limey66 02-26-2006 07:46 AM

Users Online help
 
Thanks ...I used your code...works Great, I like having the admin view only...
:D

smartoption 02-26-2006 01:47 PM

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 ... :wink:


This is a good idea, i would also like to change the numbers of online users.

zman9696 03-01-2006 11:59 PM

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

limey66 03-02-2006 03:18 AM

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 :wink: )
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

thundernugs 03-02-2006 04:57 PM

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

clik 04-26-2006 09:15 AM

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]


All times are GMT -8. The time now is 09:04 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.