News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Google adsense in Various positions

Started by ne-yola, September 08, 2009, 08:24:31 PM

Previous topic - Next topic

ne-yola

Hello all,

I am using smf1.1.10 and babylonian theme and i have been using simple portal to manage my ads but haven't been satisfied because of the browser views and other screen resolution issues.

I would love to install adsense manually if i could be guided to the exact locations in the codes where they should be installed

(1) The first location is on top( horizontally).. Just below the Navigation buttons such as "home", forum", help" e.t.c and i want this to appear on all pages

(2) The 2nd position is at the bottom , just above the smf signature and i want this to appear horizontally on all pages.

(3) I want the third position to appear only on the front page and it would be vertical to the right "somewhere were recent items are posted, to the right of it

(4) lastly, I want adsense to be installed at the bottom of every 1st post in a board.

Thans and expecting ur help


ne-yola


sAce

use this ad_mod_v2-3-1_SMF_v1-1-x.zip package from the mod site, it is compatible

ne-yola

it gives an error before installation ..on default display and default index....

i am using babylonaina theme

i need help on this one

TheListener

Are you familiar with manuaaly editing a file?

ne-yola

yup, i have done that couple of times, all i need is just direction on where exaclty to place the codes.

sAce

#7
select the correct package ( radio button ) and then press parse, this will show you all the necessary edits

ne-yola

so ur saying i should follow the parse instruction for ad_mod_v2-3-1_SMF_v1-1-x.zip  and follow the directions..

replacing the Default theme with my "babylonian Theme".


ne-yola

could you help me with this "Code
install.php
This file should not be able to execute standalone. You may have to run the following queries manually."

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,
CATEGORY 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)
)


e.t.c

Advertisement: