Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 07:18 pm EDT
Geeklog Forums
How to delete the number of visits in links
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
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
3
3
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
5
6
Quote
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
Quote by Dirk:
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 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
3
3
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
2
3
Quote
All times are EDT. The time is now 07:18 pm.
- 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