Welcome to Geeklog, Anonymous Monday, June 17 2024 @ 10:40 am EDT

Geeklog Forums

How to delete the number of visits in links


Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
How can i do that, i do not want people to know how many times each link was visited

Thank you
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
If you want to "delete" them, so actually place them to 0 in the database, you can do that in the admin control panel.

If you don´t want people to see the number of hits, just adapt your template file and remove the {link_hits}

If you still want to see the {link_hits} yourself as admin, but not as a normal user, you would have to build in some logic on when to display the hits.




Vanrillaer.com - our Family Portal
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
yes i want to see them but not the visitors, how to do that and which file to open precisely

thank you
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by garfy: yes i want to see them but not the visitors

Remove the {link_hits} variable from the template files. As the Admin, you can still see the number of hits when you edit the link.

Anything else is not supported and would require code changes ...

bye, Dirk
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
Quote by Dirk:
Quote by garfy: yes i want to see them but not the visitors

Remove the {link_hits} variable from the template files. As the Admin, you can still see the number of hits when you edit the link.

Anything else is not supported and would require code changes ...

bye, Dirk


please dirk which template file is that in what folder

is it links.php or omething else

thx
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by garfy: please dirk which template file is that in what folder

Do yourself a favor and get a tool that can search files for their content ...

grep -r link_hits /path/to/geeklog/public_html/layout/professional on Linux.

bye, Dirk

P.S. links/linkdetails.thtml
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
i have win xp

so what to do

thank you

Leaves me speechless
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I'm sure there are tools for that on Windows (most likely also with a nice GUI).

Until you find one, try reading my previous post again ...

bye, Dirk
 Quote

All times are EDT. The time is now 10:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content