Search for:
Welcome Guest [Login | Register| Register as Seller]
Categories
Shopping Downloads
Checkout Basket
0Items in cart:
$0.00Total:
Mailing List
Subscribe to our mailing list below:
Email:
Resources
DrizWare.com on Facebook
Location: /PHP Scripts





Top Sites 2000

Related Searches:
Top Sites 2000
topsites 2000.zip
Top
Free Top Sites
Top Sites Download
Top 2000
2000 Sites

topsites 2000.zip

Name: topsites 2000
Size: 66.2 KB
Type: Compressed (zipped) Folder
Date modified: 10/16/2002 6:51 PM
Date created: 8/19/2008 6:08 AM
Date accessed: 8/19/2008 6:08 AM

readme.txt


1. PREPARING FOR INSTALLATION

To run Top Site 2000 you need followng software installed on your Unix server:
- Perl 5
- mSQL/mySQL database ( http://www.drizware.com.au/ http://www.drizware.com/ )
- mSQL/mySQL perl interface ( http://www.drizware.com/CPAN/modules/by-module/Msql/ http://www.drizware.com/CPAN/modules/by-module/Mysql/ )
- GD library for graphic counter ( http://www.drizware.com/CPAN/modules/by-module/Filter/ )
We can't assist in installing this software on your server, please consult
your server administrator/support.
Usually Unix servers come with Perl installed and mSQL/mySQL database can
be created by request. Check your server manual to find how to create
mSQL/mySQL database. (It may be your personal control panel or members
upport form)


2. CUSTOMIZING SCRIPTS

sql.cgi
Choose sql.cgi from msql or mysql directory and edit it to put
your msql/mysql database details

common.cgi
edit 'Setup variables section'

html files
edit html(.shtml) files to set correct links and SSI instructions and
cutomize layout etc.


3. UPLOADING FILES

Upload all files in ASCII mode (except images)
Upload all .cgi files in your cgi-bin directory (except admin.cgi)
Upload admin.cgi in cgi-bin/admin directory and protect it using .htaccess
protection
Add executing permission to all .cgi files (chmod +x *.cgi)
Upload images in directory accessable for reading from http.
Upload files in data directory in any place, you may need to add public write
access for this directory and all files in this directory (chmod +w )


4. INSTALLING

All you need to install script on your server is run crt.cgi file.
This will create all neccesary tables in your database.
After successfull installation you can delete crt.cgi from your server.
If you are upgrading from previous version, please read upgrade.txt from
upgrade directory.


5. SETTING UPDATE METHOD

Top Site 2000 since version 2.7 provide three methods of top lists update,
depending on number of hits served and system resources available.
1) Dynamic site (immediately update). If you have not many sites/hits and/or
have huge amount of resources available you can choose this method to
provide always up-to-date statistic and top site placement.
To run your top site in this mode no any additional configuration required.
2) Query-caching. This method used to decrease load on msql/mysql server
by storing some query results in temporary files.
This method can be used if your host not allow to run cron jobs.
Query caching automaticaly starts then you specify query caching time
(in admin module) for standard, compact, weekly or last members list.
3) Cron-update. This is most resource-saving method of running top site, but
it requires some more configuration.
a) Determine of your server supports cron jobs. If it is, set 'emulate cron'
to 'No', setup $cgidir in cronrun.cgi and add cron job to run cronrun.cgi.
Otherwise, set 'emulate cron' to 'Yes', define 'Update Time' and put
SSI code to call cronrun.cgi somethere in your often visited web page.
b) Define output files for top lists, for 'browse categories' use {catname}
keyword to define different locations for different category toplists.
(See 'configuring browse/search for generation' for more details)
c) Now replace SSI calls (exec cgi) to scripts with appropriate calls
(include virtual) to generated output files.
Category list links to browse script anyway, you have to create category
list by yourself in this case.
Also see 'configuring browse/search for generation'.

5a. Configuring Browse/Search For Generation

There are three different ways of generation browse (by categories)
and search lists:

1) Generate full html. In this case you don't have to create any templates
and all customization can be only done by customizing browse/search in
admin script.
2) Generate from one template file. You can create template file with your
own design, layout etc. Insert followng codes in this html file:
{catname} - to show category name (will be empty then search)
{catlist} - to show table with sites list
3) Generate each category from it's template. This method allows you to have
different page for each category. Each category file should have following
structure:

page header
<!--CATLIST_BEGIN-->
sites table will be here
<!--CATLIST_END-->
page footer

Note: default template file will be used for search results.


6. DAILY RESET

Top site perform daily reset to clean 'today' statistic and change 'yesterday'
statistic and perform other daily operation. There are two ways of performing
daily reset: using topsite program and using cron.
1) If you do not use cron, you should set 'use cron for daily reset' to 'no'
in common settings of admin program and that's all. Stats will be reset
automatically then first user comes to your topsite through topsite.cgi
script after 0:00.
2) If you wish to use cron, set 'use cron for daily reset' to 'yes'
in common settings of admin program (this will prevent from performing
automatic reset as described above) and add daily cron job to crontab,
for example:
0 0 * * * /home/YOUR_SITE/www/cgi-bin/cronreset.cgi


data/blockip.txt


data/categories.txt

Arts & Humanities
Business & Economy
Computers & Internet
Education
Entertainment
Government
Health
News & Media
Recreation & Sports
Reference
Regional
Science
Social Science
Society & Culture

data/referme.txt

Hello
I found cool Toplist!
Visit http://www.drizware.com/topsite2000/

data/counter/private/images.txt

logo.gif - private counter logo

data/counter/public/images.txt

logo.gif - public counter logo
down.gif - down sign
up.gif - up sign
same.gif - same sign
d1_0..9 - digits set 1
d2_0..9 - digits set 2
d3_0..9 - digits set 3

upgrade/upgrade.txt


Upgrading from older versions
-----------------------------

If you already have previous version of TopSite 2000 installed on your system,
you have to do following before running crt.cgi:

1. Run sqlgrab.cgi
2. Check that generated sites.sql file is complete
3. Run sqldrop.cgi (Note: It will destroy all tables with all top site data!)
4. Run crt.cgi from new Top Site version
5. Run sqlput.cgi to import old database

Note: this is not warranted that all stats and clicks will be imported
completely but all membership information will be saved.

Files


add.cgi
browse.cgi
cgilib.cgi
click.cgi
common.cgi
conflict2k.com.URL
counter.cgi
counter_nogd.cgi
cronreset.cgi
cronrun.cgi
crt.cgi
custom.cgi
last10.cgi
lastnum.cgi
member.cgi
readme.txt
refer.cgi
reset.cgi
stats.cgi
tempdb.cgi
top50.cgi
top50c.cgi
topcat.cgi
topsite.cgi
weekly.cgi
admin/admin.cgi
data/added.htm
data/blockip.txt
data/categories.txt
data/catgen.tpl
data/cbrowse
data/ccommon
data/cgate
data/clast10
data/ctop50
data/ctop50c
data/cweekly
data/deleted.htm
data/error.htm
data/gateway.htm
data/login.htm
data/passent.htm
data/private.cnt
data/public.cnt
data/refered.htm
data/referme.htm
data/referme.txt
data/saved.htm
data/splogin.htm
data/useradd.htm
data/useredit.htm
data/welcome.email
data/counter/private/images.txt
data/counter/private/logo.gif
data/counter/public/d1_0.gif
data/counter/public/d1_1.gif
data/counter/public/d1_2.gif
data/counter/public/d1_3.gif
data/counter/public/d1_4.gif
data/counter/public/d1_5.gif
data/counter/public/d1_6.gif
data/counter/public/d1_7.gif
data/counter/public/d1_8.gif
data/counter/public/d1_9.gif
data/counter/public/d2_0.gif
data/counter/public/d2_1.gif
data/counter/public/d2_2.gif
data/counter/public/d2_3.gif
data/counter/public/d2_4.gif
data/counter/public/d2_5.gif
data/counter/public/d2_6.gif
data/counter/public/d2_7.gif
data/counter/public/d2_8.gif
data/counter/public/d2_9.gif
data/counter/public/d3_0.gif
data/counter/public/d3_1.gif
data/counter/public/d3_2.gif
data/counter/public/d3_3.gif
data/counter/public/d3_4.gif
data/counter/public/d3_5.gif
data/counter/public/d3_6.gif
data/counter/public/d3_7.gif
data/counter/public/d3_8.gif
data/counter/public/d3_9.gif
data/counter/public/down.gif
data/counter/public/images.txt
data/counter/public/logo.gif
data/counter/public/same.gif
data/counter/public/up.gif
html/index.shtml
html/standart.shtml
html/weekly.shtml
images/ball1.gif
images/ball2.gif
images/down_arrow.gif
images/gr1.gif
images/gr2.gif
images/gr3.gif
images/gr4.gif
images/same_arrow.gif
images/up_arrow.gif
msql/sql.cgi
mysql/sql.cgi
upgrade/sqldrop.cgi
upgrade/sqlgrab.cgi
upgrade/sqlput.cgi
upgrade/upgrade.txt

Price: $0.00


Product Code: TopSites2000
 
Quantity: Download!