installatie mod
Geplaatst: 03 jul 2006, 09:15
Ik ben bezig met een instalatie voor een mod die ik heb gedownload, mijn eerste
in deze code staat een sql, maar waar moet ik die toevoegen? in welk bestand? dit is de code met die sql erin:

Code: Selecteer alles
########################################################
## MOD Title: Lock topic by topic creator
## MOD Author: Luuk < luukweerens@home.nl > Luuk Weerens
## MOD Description: This mod creates a button like one from the mod cp for locking a topic.
## Members get the oppertunity to lock their own topics. The admin can choose
## in what forum.
## MOD Version: 1.0.0 to 1.0.1
##
## Installation Level: Easy
## Installation Time: 10 Minutes
##
## Files To Edit: 7
## admin/admin_forumauth.php
## admin/admin_forums.php
## admin/admin_ug_auth.php
## viewtopic.php
## includes/auth.php
## includes/constants.php
## includes/topic_review.php
##
## Included Files: None
##
##############################################################
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE `phpbb_auth_access` ADD `auth_lock` TINYINT( 1 ) DEFAULT '0' NOT NULL ;
ALTER TABLE `phpbb_forums` ADD `auth_lock` TINYINT( 2 ) DEFAULT '0' NOT NULL ;