Simple Machines Community Forum

SMF Support => Language Specific Support => Bosanski/Hrvatski/Srpski (Bosnian/Croatian/Serbian) => Topic started by: fff on July 03, 2009, 07:19:26 AM

Title: ad managemet mod manuall instaliranje
Post by: fff on July 03, 2009, 07:19:26 AM
Jas sum iz Makedonije.  Pokusavam da ga instaliram ad managemet mod manuelno na moj 1.1.9 forum http://trustedptc.ueuo.com/ (http://trustedptc.ueuo.com/) ali ne znam sta ovo znaci:
Code
install.php
This file should not be able to execute standalone. You may have to run the following queries manually.

Query: [Select]


CREATE TABLE IF NOT EXISTS {$db_prefix}ads (
ADS_ID mediumint(8) unsigned NOT NULL auto_increment,
NAME tinytext NOT NULL,
CONTENT text NOT NULL,
BOARDS tinytext,
POSTS tinytext,
HITS mediumint(8) NOT NULL default '0',
TYPE smallint(4) NOT NULL default '0',
show_index smallint(4) NOT NULL default '0',
show_board smallint(4) NOT NULL default '0',
show_threadindex smallint(4) NOT NULL default '0',
show_lastpost smallint(4) NOT NULL default '0',
show_thread smallint(4) NOT NULL default '0',
show_bottom smallint(4) NOT NULL default '0',
show_welcome smallint(4) NOT NULL default '0',
show_topofpage smallint(4) NOT NULL default '0',
show_towerright smallint(4) NOT NULL default '0',
show_towerleft smallint(4) NOT NULL default '0',
show_betweencategories smallint(4) NOT NULL default '0',
show_underchildren smallint(4) NOT NULL default '0',
PRIMARY KEY (ADS_ID)
)

Query: [Select]


CREATE TABLE IF NOT EXISTS {$db_prefix}ads_settings (
variable tinytext NOT NULL,
value text NOT NULL,
PRIMARY KEY (variable(30))
)

Query: [Select]


ALTER IGNORE TABLE {$db_prefix}ads
ADD   show_lastpost smallint(4) NOT NULL default '0' AFTER show_threadindex

Query: [Select]


ALTER IGNORE TABLE {$db_prefix}ads
ADD   CATEGORY tinytext AFTER POSTS

Query: [Select]


ALTER IGNORE TABLE {$db_prefix}ads
ADD   show_underchildren smallint(4) NOT NULL default '0'

Query: [Select]


INSERT IGNORE INTO {$db_prefix}settings
(variable, value)
VALUES ('ads_displayAdsAdmin', '0'),
('ads_updateReports', '0'),
('ads_quickDisable', '0'),
('ads_lookLikePosts', '1')


Ovo moze da ga nadzete ovde http://custom.simplemachines.org/mods/index.php?action=parse (http://custom.simplemachines.org/mods/index.php?action=parse)
Ja sam napravio sve ostalo osven to gore.
Sada kada otvorim moj forum vidim sledecu poruku: Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
Vo sta je problem?
Title: Re: ad managemet mod manuall instaliranje
Post by: Dzonny on July 03, 2009, 08:50:34 AM
Pozdrav!
kod koji si postavio treba uneti u bazu kako bi mod radio...
Ako razumesh engleski, procitaj upustvo za rucno instaliranje modova: Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)