How i can disable the page views from my forum stats?
http://www.gaming-paradise.net/forum/index.php?action=stats
look down what i mean Page Views
no one?
No one can see anything on that page. Your forum is closed to guest viewing.
it was visible to guests yesterday, it is the normal stats page although i am not really sure why or what the edit would be. and i am pretty sure it is an edit of the theme, more an edit of the core smf code.
I'm not sure what edit that file would be in. Would be easy to take it out though.
i think it is in Sources/stats.php but i did not see exactly where the edit would be and I dont have a test install of 1.1.13 to play with it.
i attached my source/stats.php file
Lainaus käyttäjältä: Bigguy - huhtikuu 02, 2011, 11:40:21 AP
No one can see anything on that page. Your forum is closed to guest viewing.
i am taking a backup..it will be up in some minutes
sorry for double post
Forum is Up Again
In Stats.template.php file you can remove this:
if (!empty($modSettings['hitStats']))
echo '
</tr><tr>
<td nowrap="nowrap">', $txt['num_hits'], ':</td>
<td align="right">', $context['num_hits'], '</td>';
For total page views and this:
if (!empty($modSettings['hitStats']))
echo '
</tr><tr>
<td nowrap="nowrap">', $txt['average_hits'], ':</td>
<td align="right">', $context['average_hits'], '</td>';
For average page views. Does that help. ???
i want to remve page views and everything is related to this at forum stats
check : http://www.gaming-paradise.net/forum/index.php?action=stats
Those edits I posted should remove the page views.
Lainaus käyttäjältä: Bigguy - huhtikuu 02, 2011, 01:28:00 IP
Those edits I posted should remove the page views.
cause i have to go now i will test it after
http://www.gaming-paradise.net/forum/index.php?action=stats
at Forum History (using forum time offset) after Most Online i still can see page views
after these changes i did
There's no reason that should not have worked as far as I know. Unless there is a stats.template.php in your custom theme folder which I double. What does the default theme look like. ???
i changed that at default theme
my custom theme doesnt have stats.template
From the file you posted (Stats.php) Remove these two lines and see what happens:
$context['average_hits'] = round($row['hits'] / $total_days_up, 2);
$context['num_hits'] = $row['hits'];
still nothing
Well, if both edits I posted are out of both files and it's still not going away then I don't know what to tell you. Did you take both edits out at the same time from both files. ???
yes i did
wanna upload them here so you can do it?
Can you upload your Stats.template.php please.
sure
Try this
i still can see the damn page views after most online
Ok, try this
still nothing jesus
Well, that's just nuts. I made a mistake in that one as well and it didn't even effect anything. Here is another one but I don't think it will be any different. Are you using the edited Stats.php as well. ???
Just out of pure curiosity...can you go to Admin > Features and Settings and let us know if "Track daily page views (must have stats enabled)" is checked or not?
lol it was checked
i de-check it and now it works finee
thanks a lot man
Thank's, I wanted to do this to, but couldn't figure out how, but now I know how. :)
coming after a long time..
I hope I can post here or do I need to create anew topic?
can we disable stats viewing from public only admin can view stats is it possible?
gigashiga this thread belongs to someone else and is marked solved, please open a separate thread for your issues.