News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

ad managemet mod manuall instaliranje

Started by fff, July 03, 2009, 07:19:26 AM

Previous topic - Next topic

fff

Jas sum iz Makedonije.  Pokusavam da ga instaliram ad managemet mod manuelno na moj 1.1.9 forum 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
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?

Dzonny

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

Advertisement: