PHP Classes

File: myphpforum.php

Recommend this page to a friend!
  Classes of christsi3d   phpforumPlus   myphpforum.php   Download  
File: myphpforum.php
Role: Configuration script
Content type: text/plain
Description: Configuration data
Class: phpforumPlus
Rapid discussion forums creation
Author: By
Last change:
Date: 21 years ago
Size: 1,866 bytes
 

Contents

Class file image Download
<?php
include("phpforum.php");
class
myphpforum extends phpforumPlus {
//----------------environment options--------------
   
var $member;
//----------------end environment options--------
//------------------page_options------------------
   
var $display_forum="displayforum.php";
    var
$view_thread_page="showmessage.php";
    var
$reply_page="reply.php";
    var
$post_new_thread_page="post.php";
    var
$search_page="search.php";
//-----------------end_page options---------------
//---------------database options------------------
   
var $threads_limit_per_page=42;
    var
$thread_length_limit=2000;
    var
$headline_length_limit=20;
    var
$database_type="yourdb";
    var
$db_host="yourdb_host";
    var
$db_user="yourdb_user";
    var
$db_passwd="yourdb_passwd";
    var
$forum_database="forums";
    var
$topic_tables=array("PHP"=>array("phpposts","phpreplies","General php forum.Here you can discuss about all-things php.Must be valid member to post new threads"));
    var
$table_struct=array("table_posts"=>array("id","member","headline","body","date_posted","views"),
                            
"table_replies"=>array("id","member","headline","body","date_posted"));
//-------------end_database options------------------
//-------------icon options-------------------------
   
var $forum_icon=array("PHP"=>"./php.gif");
    var
$thread_icon="your_thread_icon.gif";
    var
$hot_thread_icon="your_hot_thread_icon.gif";
    var
$hot_thread_limit=10;
//------------end_icon options---------------------
//------------stylesheet options---------------------
   
var $style_type="ocean";
//-------------end-stylesheet-options--------------
//------------site options----------------------------
       
var $welcome_msg="Welcome to our community";
        var
$site_administrator="webmaster@sth.somewhere";
//------------end_site options-----------------------
}
?>