You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 133 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - The Complete Statistics Tap [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Fri Oct 03, 2003 12:03 am Reply with quoteBack to top

OK folks, here is what you need to do for a fully tapped Statistics module.
You can see the results here http://test.audioslaved.com

Here we go:
We will use 3 files:
header.php
.htaccess
modules/Statistics/index.php (one little change for uniformity)

Open header.php
Find:
Code:

"'(?<!/)modules.php\?name=Sections'",


After Add:
Code:

"'(?<!/)modules.php\?name=Statistics&amp;op=DailyStats&amp;year=([0-9]*)&amp;month=([0-9]*)&amp;date=([0-9]*)'",
"'(?<!/)modules.php\?name=Statistics&amp;op=MonthlyStats&amp;year=([0-9]*)&amp;month=([0-9]*)'",
"'(?<!/)modules.php\?name=Statistics&amp;op=YearlyStats&amp;year=([0-9]*)'",
"'(?<!/)modules.php\?name=Statistics&amp;op=Stats'",
"'(?<!/)modules.php\?name=Statistics'",


Also in header.php Find:
Code:

"sections.html",


After Add:
Code:

"stats-\\1-\\2-\\3.html",
"stats-\\1-\\2.html",
"stats-\\1.html",
"advstats.html",
"stats.html",


Open .htaccess
Find:
Code:

RewriteRule ^sections.html sections.html


After Add:
Code:

RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=DailyStats&year=$1&month=$2&date=$3
RewriteRule ^stats-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=MonthlyStats&year=$1&month=$2
RewriteRule ^stats-([0-9]*).html modules.php?name=Statistics&op=YearlyStats&year=$1
RewriteRule ^advstats.html modules.php?name=Statistics&op=Stats
RewriteRule ^stats.html modules.php?name=Statistics


Open modules/Statistics/index.php
Find:
Code:

."[ <a href=\"modules.php?name=$module_name&op=Stats\">"._VIEWDETAILED."</a> ]</center>";


Replace With:
Code:

."[ <a href=\"modules.php?name=$module_name&amp;op=Stats\">"._VIEWDETAILED."</a> ]</center>";


If you have any problems please let me know.

-Bill (Audioslaved)

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
luchtzak
Support Mod
Support Mod


Joined: Mar 19, 2003
Posts: 308


PostPosted: Fri Oct 03, 2003 1:54 pm Reply with quoteBack to top

Wow, works great! Thanks Bill!!

_________________
Luchtzak Aviation - Snookerforum Belgium
Find all posts by luchtzakView user's profileSend private messageVisit poster's website
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Fri Oct 03, 2003 8:02 pm Reply with quoteBack to top

Cool, thanks dude...

Greg

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
migueis
Sergeant
Sergeant


Joined: Apr 16, 2003
Posts: 123


PostPosted: Wed Oct 08, 2003 10:48 am Reply with quoteBack to top

Audioslaved wrote:
OK folks, here is what you need to do for a fully tapped Statistics module.


what is a fully tapped statistics?!?!

_________________
Life would be so much easier if we just had the source code...
Find all posts by migueisView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
luchtzak
Support Mod
Support Mod


Joined: Mar 19, 2003
Posts: 308


PostPosted: Wed Oct 08, 2003 4:12 pm Reply with quoteBack to top

migueis wrote:


what is a fully tapped statistics?!?!


Inserted the GoogleTap

_________________
Luchtzak Aviation - Snookerforum Belgium
Find all posts by luchtzakView user's profileSend private messageVisit poster's website
migueis
Sergeant
Sergeant


Joined: Apr 16, 2003
Posts: 123


PostPosted: Wed Oct 08, 2003 5:12 pm Reply with quoteBack to top

sorry my ignoration, but i don't understand. Can u explain what you mean?

_________________
Life would be so much easier if we just had the source code...
Find all posts by migueisView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 09, 2003 1:25 am Reply with quoteBack to top

fully tapped statistics is referring to the Statistics module. Go to the main menu and click on Statistics, this is the statistics module I am referring to. If you wish to view the tapped statistics module. Please go visit my test site above. Thanks for your time.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Oct 09, 2003 6:00 am Reply with quoteBack to top

Wow Audioslaved! You are making wonderful strides! I will start adding in the code to the official GT distro.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Sat Oct 11, 2003 7:41 pm Reply with quoteBack to top

not intending this to be a smart Rainbow Brite questions but what is the purpose to have your Statistics module Google Tapped??? Smile

_________________
Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News
Find all posts by dirtbagView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sun Oct 12, 2003 1:26 am Reply with quoteBack to top

I am starting to realize that mod_rewrite is the equivalent of smoking crack, I cant stop rewriting, j/k. Once I started seeing short and sweet URL's for most items, I wanted it for as many URL's as I could get. Plus someone had a GT problem, and it sounded like they needed the Stats module rewritten so I did it. The rewrites have not reached a point where the time to do them is noticeable on my site, so I would prefer to have short and sweet URL's that help increase the spider size of my site, rather than a cross-breed of php URL's and .html URL's. Correct me if I'm wrong but the more content and links it spiders helps to increase your pagerank. (OR is it just Links, can't remember)

So I guess to answer your question with a question, why not Google Tap the Stats module? Very Happy

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
luchtzak
Support Mod
Support Mod


Joined: Mar 19, 2003
Posts: 308


PostPosted: Sun Oct 12, 2003 10:30 am Reply with quoteBack to top

That's well said Audioslaved !! Couldn't done it better Wink

_________________
Luchtzak Aviation - Snookerforum Belgium
Find all posts by luchtzakView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.751 Seconds - 67 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::