Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 04:55 pm EST
Geeklog Forums
Hide "Views: XX" from everyone except Admin?
Status: offline
inspiremin
Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
Yes. . . sort of!
In featuredstorytext.thtml and storytext.thtml, you can comment out the views and hits like this:
Then, you can view a list of stories and hits (only of your top ten stories) on your statistics page.
On all of my themes, I have removed the menu from the header. I have a 'Statistics' menu item (from the menu plugin) that only I can see.
Hope it helps!
Blessings!
inSPIREmin
www.Scripturetoolkit.com www.inSPIREministries.com
In featuredstorytext.thtml and storytext.thtml, you can comment out the views and hits like this:
Text Formatted Code
<!-- {lang_views}:{story_hits} -->Then, you can view a list of stories and hits (only of your top ten stories) on your statistics page.
On all of my themes, I have removed the menu from the header. I have a 'Statistics' menu item (from the menu plugin) that only I can see.
Hope it helps!
Blessings!
inSPIREmin
www.Scripturetoolkit.com www.inSPIREministries.com
9
11
Quote
Status: offline
eyecravedvd
Forum User
Full Member
Registered: 06/09/03
Posts: 152
You can see the hits when you edit the story. They're listed there as well. That's what I do.
Shane | www.EyeCraveDVD.com
Shane | www.EyeCraveDVD.com
11
7
Quote
Status: offline
inspiremin
Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
Even Better!!!
Blessings!
inSPIREmin
www.Scripturetoolkit.com www.inSPIREministries.com
Blessings!
inSPIREmin
www.Scripturetoolkit.com www.inSPIREministries.com
11
11
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by inspiremin:
In featuredstorytext.thtml and storytext.thtml, you can comment out the views and hits
In featuredstorytext.thtml and storytext.thtml, you can comment out the views and hits
commenting out variables in the template files won't actually work to stop the function's output. the output is just commented out. if you view source you'll still see the hits/views.
10
8
Quote
All times are EST. The time is now 04:55 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