Автор Тема: Вопрос  (Прочитано 6027 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн kyb

  • Заглянувший
  • Новичок
  • *
  • Сообщений: 2
  • +0/-0
  • 0
    • Просмотр профиля
    • http://kbweb.dax.ru
Вопрос
« : 14 Июня 2005, 17:52:28 »
У меня в папке cgi-bin файлы \'view.cgi\' \'comments.cgi\' и папка \'admin\' \'img\'
в папке scripts есть файл \'stat.php\'
но почему-то форум не работает
и еще как подключить к файлу \'stat.php\' эту систему,
чтобы открываешь \'stat.php\' отображалась ваша система
----------
#...................................................................#
# Sanitarium WebLoG: web publish system.............................#
# Author: Green Kakadu (WebScript.Ru Network) ......................#
# Email: gnezdo@webscript.ru .......................................#
# WWW: http://webscript.ru .........................................#
# Copyright 2002 WebScript.Ru Network ( http://webscript.ru ).......#
# All Rights Reserved. .............................................#
#...................................................................#


#_____________________
#_____ABOUT YOUR SITE:

#Site name, eq $site_title=\'Каталог сайтов Рунета. Информационно-развлекательный портал. Ваш старт в интернетe! Огромная библиотека ссылок, много разделов и тематических рубрик. Работает форум и чат.  Вебмастер - подними посещаемость! Добавь свой сайт в новый каталог Web-навигатор - KBWeb. Игры и обои.\';
$site_title=\'Каталог сайтов Рунета. Информационно-развлекательный портал. Ваш старт в интернетe! Огромная библиотека ссылок, много разделов и тематических рубрик. Работает форум и чат.  Вебмастер - подними посещаемость! Добавь свой сайт в новый каталог Web-навигатор - KBWeb. Игры и обои.\';

#Not Found Page - visitors view this page if required page not found
#Example: $not_found=\'http://kbweb.dax.ru/404.php\';
#You must create this page - script only redirect to it, not create!
$not_found=\'http://kbweb.dax.ru/404.php\';

#URL Your WebLoG Main Index Page
#Example: $index_url=\'http://kbweb.dax.ru/scripts\';
$index_url=\'http://kbweb.dax.ru/scripts\';

#Sendmail - ask your hosting-provider
#Most popular sendmail paths: /usr/lib/sendmail, /usr/sbin/sendmail
$SEND_MAIL=\'/usr/sbin/sendmail\';

#Administrator E-mail address
#Example: $admin_mail=\'mymail@site.com\';
$admin_mail=\'kyb@bk.ru\';#! Change this!

#______________________________________________
#____SANITARIUM BUILD/POSTING/COMMENTS OPTIONS:

# The extension to use for your pages:
# html, htm, shtml, php - only small letters!
#Example: $ext=\'htm\';
$ext=\'php\';

# The name of an index file (with extention!)
# Tip: using small letters!
#Example: $index_page=\'index.html\'; (or: \'index.shtml\', \'main.html\', \'index.php\')
$index_page=\'stat.php\';

#Generate Static pages or generate dynamically
#Our recommendations  Static Pages, it minimizes your server busy
# Use static pages: $static_pages=1;
# Use dynamic generate pages: $static_pages=0;
$static_pages=1;

#Using emoticons?
# On: $use_emoticons=1;
# If On, emoticons like :) :-) :-( replacing to special images - very pretty!
$use_emoticons=1;

#AutoLink Option?
# If On ($autolink=1;) then text http://webscript.ru in article text
# will be replaced by href: http://webscript.ru" target=_blank>webscript.ru
#WARNING: you must cerefull with this option!
$autolink=0;

#Using Quick HTML Tools?
#Our recomendations: On ($qhtml=1;)
#Adding HTML in articles more simple now!
$qhtml=1;

#Using Fozzy Code Snippets? (add-on from Fozzy the Bear)
# JavaScript Tables Generator (for article content) and image inserpt with caption
#Our recomendations: As you Like (Green Kakadu: Fozzy - CoooL Bear!)
$fozzy=0;

#Number of article\'s previews per index pages
#Our recommendations: 10-15
#Example: $entry_per_page=10;
$entry_per_page=8;

#Number of comments per page
#Our recommendations: 15-20
#Example: $coms_per_page=15;
$coms_per_page=10;

#Premoderate comments?
#If On, all new comments publish after admin validation
#If Off, new comments publish immediately
#Our recommendations: On
# On: $premoderate=1;
# Off: $premoderate=0;
$premoderate=1;
#Emailing about new comments post?
$send_new_comments=1;

# You  need to use flock(). If your system doesn\'t support it, Win95/Win98,
# then off this at your own risk!
#Our recommendations: On !!!!
# On: $use_flock=1; Use it!
# Off: $use_flock=0;
$use_flock=1;

#Allow Public searching?
#Size special index database ~20% of your all entires!
#Our recommendations: as you like
#Example: $use_search=1;
$use_search=1;

#_____________________
#____TIME OPTIONS:

#Time localization:
# Example:
# $GMT=\'+3\'; Moscow
# $GMT=\'-9\'; New York
# and so...
# $GMT=\'\'; GMT
$GMT=\'+3\';

#Time format:
#$time_view=1; time format: dd/mm/yyyy (by default)
#$time_view=2; time format: dd MON yyyy
#$time_view=3; time format: WEEKDAY DAY MON yyyy
#$time_view=4; time format: WDAY DAY NON yyyy hour:min:sec
#$time_view=5; time format: dd.mm.yyyy
#$time_view=6; time format: mm.dd.yyyy
$time_view=1;

#______________________________
#_______RSS - Rich Summary Site

#Our recommendations: 5-10
#Example: $how_news=7;
$how_news=7;

#Build in .txt files?
#In this case news will be print into *.js (JavaScript) files, and
# *.txt (for SSI or PHP include) files
#Our recomendations: on, if you like SSI or PHP
$txt_news=0;
#_______________________________
#____SANITARIUM PATHs AND URLs:


# Public PATH and URL of Pages (and weblog index page) to be built. No Trailing Slash.
#Example:
# $public_dir=\'/HTTP/www/public_html/ezine\';
# $public_url=\'http://webscript.ru/ezine\';

$public_dir=\'/home/dax/k/b/w/kbweb/public_html/scripts\';
$public_url=\'http://kbweb.dax.ru/scripts\';

# PATH and URL of Admin CGI directory. No Trailing Slash.
#Store there: admin.cgi, Sanitarium_WL.pm, cfg.cfg, Comment_WL, upload.cgi, lang.pl
# com_admin.cgi and script data.
#Example:
#$dir=\'/HTTP/www/cgi-bin/sanitarium/admin\';
# Other Files: view.cgi, comments.cgi input in top dir or something else (eq into: /HTTP/www/cgi-bin/sanitarium)
$dir=\'/home/dax/k/b/w/kbweb/public_html/cgi-bin/admin\';

#view.cgi url
#Example: $view_cgi_url=\'http://webscript.ru/cgi-bin/2log/view.cgi\';
$view_cgi_url=\'http://kbweb.dax.ru/cgi-bin/view.cgi\';

#admin.cgi URL
#Example: $script_admin=\'http://webscript.ru/cgi-bin/sanitarium/admin/admin.cgi\';
$script_admin=\'http://kbweb.dax.ru/cgi-bin/admin/admin.cgi\';

#com_admin.cgi URL:
#Example: $comadmin_cgi_url=\'http://webscript.ru/cgi-bin/sanitarium/admin/com_admin.cgi\';
$comadmin_cgi_url=\'http://kbweb.dax.ru/cgi-bin/admin/com_admin.cgi\';

#comments.cgi URL:
#Example: $comment_url=\'http://webscript.ru/cgi-bin/sanitarium/comments.cgi\';
$comment_url=\'http://kbweb.dax.ru/cgi-bin/comments.cgi\';

#upload.cgi URL:
#Example:
$upload_url=\'http://kbweb.dax.ru/cgi-bin/admin/upload.cgi\';



###########################################################
# OTHER Non-interesting (or interesting?) for you options:
$data=$dir.\'/data\';#path to dir with script BDs
$tmpl_dir=$dir.\'/template\';   #path to dir with templates
$img_url=$public_url.\'/img\'; #Url to dir with uploaded images
$img_dir=$public_dir.\'/img\'; #Path to dir for file uploading
$foto_url=$public_url.\'/foto\';#Url to authors foto\'s dir
$foto_dir=$public_dir.\'/foto\';#Path to author\'s foto dir
$mail_cgi_url=$view_cgi_url;#Script Url for email articles
#END CONFIG

1;

Оффлайн Green Kakadu

  • Координатор
  • Глобальный модератор
  • Ветеран
  • *****
  • Сообщений: 2757
  • +1/-0
  • 0
    • Просмотр профиля
    • http://gnezdo.webscript.ru
Вопрос
« Ответ #1 : 15 Июня 2005, 03:47:57 »
а причем тут stat.php которого я и в глаза не видел? И что не работает?
 в исканиях.

Оффлайн kyb

  • Заглянувший
  • Новичок
  • *
  • Сообщений: 2
  • +0/-0
  • 0
    • Просмотр профиля
    • http://kbweb.dax.ru
Вопрос
« Ответ #2 : 15 Июня 2005, 08:56:47 »
stat.php это файл в котором должна отображатся система веб публикаций
и я не понял вообще как это использовать, можите обьяснить?

Оффлайн Evg

  • Заглянувший
  • Новичок
  • *
  • Сообщений: 13
  • +0/-0
  • 0
    • Просмотр профиля
    • http://2net.info/
Вопрос
« Ответ #3 : 15 Июня 2005, 12:40:38 »
Путем "расследования" :) нашел:

h**p://kbweb.dax.ru/scripts/stat.php
Вы хотите тут вывести заголовки и т.д из санитарума?

Если да то вроде про это написано тут:
http://webscript.ru/sanitarium/doc/9.html

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28