Author |
Message |
txchaser
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 02, 2006
Posts: 8
|
Posted:
Sat Sep 09, 2006 2:57 pm |
|
I am wanting to know if there is a way to keep my admin account from increasing the ammount of page hits as to keep from having false # of actual page hits. I myself am adding way too many page hits scince it is counting everytime I refresh a page when modifying the site ect. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Sat Sep 09, 2006 4:08 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
floppydrivez
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/d861f25a45009755975f0.gif)
Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi
|
Posted:
Sat Sep 09, 2006 4:24 pm |
|
I was going to post the same thing but it doesn't work anymore so I scripted up something new.
In includes/counter.php add $admin to your globals
Code:global $admin, $prefix, $db;
|
Find
Code: /* Get the Browser data */
|
Before Add
Code://Stop Admin Count//
if (is_admin($admin)) {
} else {
|
Find
Before Add
As far as I can tell it works fine if your logged in as admin. I will continue to test the theory and time will tell. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 09, 2006 4:37 pm |
|
or change it in the header something like this.
if (is_admin($admin)) {
include("includes/counter.php");
}
there are 4 or 5 ways to do this... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
floppydrivez
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 09, 2006 4:49 pm |
|
I tried that way with no luck. Could of been a user error!
Anyway let us know if that helps. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
txchaser
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 09, 2006 5:25 pm |
|
Thanks hitwalker did as you stated and worked fine for me by doing it this way
or change it in the header something like this.
if (is_admin($admin)) {
include("includes/counter.php");
} |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 09, 2006 5:26 pm |
|
nice to hear... ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
txchaser
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 09, 2006 5:27 pm |
|
maybe you can help me with this other question I posted I only got one response and couldnt find it. I am wanting to know if there is an up grade or suggest an upgrade to RavenNuke76 Version 2.02.02 for the banner admin area. I am wanting / needing some way to set the banners to show only for non-registered visitors or for non-paying members. If you have any clue as where to get this or if you know if it is in the works maybe or how I can get something like this done I would really appreciate it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
floppydrivez
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 09, 2006 5:32 pm |
|
txchaser wrote: | Thanks hitwalker did as you stated and worked fine for me by doing it this way
or change it in the header something like this.
if (is_admin($admin)) {
include("includes/counter.php");
} |
So odd it doesn't work for me. No big deal, but if anyone has the answer. |
Last edited by floppydrivez on Sat Sep 09, 2006 5:33 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 09, 2006 5:33 pm |
|
hi,
im not realy sure what you mean....but if possible start another topic on this so others (and search results) benefit from it... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Sep 10, 2006 10:16 pm |
|
Make sure $admin is in the global |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|