Author Topic: Help!  (Read 898 times)

Offline Slim Hacker

  • Mr PS3
  • Millennium Poster
  • *
  • Posts: 1140
  • Post quality +0/-0
  • Gender: Male
Help!
« 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

Quote from: Jumbo
I herd you like stealing quotes ey?

Offline robin1989

  • Site Owner - Site Maintenance & development
  • Administrator
  • Mad Bomber
  • *
  • Posts: 6272
  • Post quality +21/-0
  • Gender: Male
  • Site owner
    • Acidmods
Re: Help!
« Reply #1 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

i am not responsible for what i do or my advice


Get the iPhone 4s from Three using Quidco and recieve £109 cashback

Offline Slim Hacker

  • Mr PS3
  • Millennium Poster
  • *
  • Posts: 1140
  • Post quality +0/-0
  • Gender: Male
Re: Help!
« Reply #2 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

Quote from: Jumbo
I herd you like stealing quotes ey?

Offline Slim Hacker

  • Mr PS3
  • Millennium Poster
  • *
  • Posts: 1140
  • Post quality +0/-0
  • Gender: Male
Re: Help!
« Reply #3 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?

Quote from: Jumbo
I herd you like stealing quotes ey?

Offline robin1989

  • Site Owner - Site Maintenance & development
  • Administrator
  • Mad Bomber
  • *
  • Posts: 6272
  • Post quality +21/-0
  • Gender: Male
  • Site owner
    • Acidmods
Re: Help!
« Reply #4 on: May 09, 2009, 05:35:02 AM »
what are you trying to install

i am not responsible for what i do or my advice


Get the iPhone 4s from Three using Quidco and recieve £109 cashback

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal