Acidmods

Acid Mods Community Area => Discussion Boards => Spam & Chat => Topic started by: Slim Hacker on May 05, 2009, 05:32:28 PM

Title: Help!
Post by: Slim Hacker on May 05, 2009, 05:32:28 PM
Well im trying to install some adds on my SMF i have it all the way until i hit the code for install.php

Quote
This file should not be able to execute standalone. You may have to run the following queries manually



Code: [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

Code: [Select]
INSERT IGNORE INTO {db_prefix}settings
(variable, value)
VALUES ('ads_displayAdsAdmin', '0'),
('ads_updateReports', '0'),
('ads_quickDisable', '0'),
('ads_lookLikePosts

can someone help me am i supposed to put this in the default smf installer or make a standealone or what im trying to install Add Sense in SMF 2.00 RC1.

thanx
Title: Re: Help!
Post by: robin1989 on May 06, 2009, 04:30:02 AM
you use it in phpmyadmin and run it in the smf sql database and it should create the tables needed
Title: Re: Help!
Post by: Slim Hacker on May 06, 2009, 09:11:29 PM
you use it in phpmyadmin and run it in the smf sql database and it should create the tables needed
thx i knew someone on here would know
Title: Re: Help!
Post by: Slim Hacker on May 08, 2009, 07:52:39 PM
you use it in phpmyadmin and run it in the smf sql database and it should create the tables needed
Hey im trying to istall it on a custom theme and im having some trouble can you help me via MSN?
Title: Re: Help!
Post by: robin1989 on May 09, 2009, 05:35:02 AM
what are you trying to install
SimplePortal 2.3.5 © 2008-2012, SimplePortal