remove all the login

Post your Click counter digestion problems here
Post Reply
BaBa2002
Posts: 1
Joined: Wed Apr 16, 2008 7:29 pm

remove all the login

Post by BaBa2002 »

Hello there,
i want to integrate the ccount script in ti my cms
but i want to remove the login area, so how can i remove this?

greets
BaBa2002
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You can add this code to line 43 of index.php:

Code: Select all

$_SESSION['logged'] = 'Y';
But I don't recommend removing admin password and do so at your own risk.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ktkruok
Posts: 1
Joined: Wed Aug 15, 2012 7:40 pm

Re: remove all the login

Post by ktkruok »

I was wondering if this still applied to version 1.2. I need to not have a login on my version. I tried adding this code to the line you specified but I still couldn't get it to work. Thanks advance for your help.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: remove all the login

Post by Klemen »

That should work with the latest CCount version, double-check the line. That code should be just ABOVE of

Code: Select all

/* If no action parameter is set let's force visitor to login */
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply