2005-12-11, 06:03 PM
Pages: 1 2
2005-12-11, 06:05 PM
hey
you dont put the code in the php files!!
you have to put it in a template
regards
you dont put the code in the php files!!
you have to put it in a template
regards
2005-12-11, 06:41 PM
I'm new to mybb, can you give me more details?
thanks
thanks
2005-12-11, 06:45 PM
hey
well go to your Admin CP > Template > Edit /delete > Expand
here you will have to choose between the templates,
each represents a place in the forum
in case you wanna add it to you index page, go to index page templates > index, place the code in the place you want there.
regards
well go to your Admin CP > Template > Edit /delete > Expand
here you will have to choose between the templates,
each represents a place in the forum
in case you wanna add it to you index page, go to index page templates > index, place the code in the place you want there.
regards
2005-12-11, 08:09 PM
I tried to do so but i only got this error message.... even when i tried to submit the template without submitting any changes.
mySQL error: 1054
Unknown column 'version' in 'field list'
Query: INSERT INTO mybb1_templates (title, template, sid, version, status, dateline) VALUES ('index', ' $headerinclude $header $forums
$lang->boardstats
$whosonline $birthdays $forumstats
new_posts\" /> $lang->new_posts
no_new_posts\" /> $lang->no_new_posts
forum_locked\" /> $lang->forum_locked
$logoutlink$lang->markread | $lang->forumteam | $lang->forumstats
$loginform
$footer ', '2', '100.07', '', '1134331566');
mySQL error: 1054
Unknown column 'version' in 'field list'
Query: INSERT INTO mybb1_templates (title, template, sid, version, status, dateline) VALUES ('index', ' $headerinclude $header $forums
$lang->boardstats
$whosonline $birthdays $forumstats
new_posts\" /> $lang->new_posts
no_new_posts\" /> $lang->no_new_posts
forum_locked\" /> $lang->forum_locked
$logoutlink$lang->markread | $lang->forumteam | $lang->forumstats
$loginform
$footer ', '2', '100.07', '', '1134331566');
2005-12-11, 08:33 PM
Are you running MyBB 1.0? Did you upgrade or install?
2005-12-11, 08:34 PM
yes i'm running mybb 1 install
2005-12-12, 12:07 AM
if the problem doesnt occur without the ad code, then im suspecting youre placing it inside something you shouldnt.
ill add that 'header' and 'footer' templates are also a great place to stick your adsense advertisements.
ill add that 'header' and 'footer' templates are also a great place to stick your adsense advertisements.
2005-12-12, 12:27 AM
gusto5 Wrote:if the problem doesnt occur without the ad code, then im suspecting youre placing it inside something you shouldnt.No can do, placing adsense ads in the footer or header is against the TOS. This is because they will be showing up on non-content pages such as login and register.
ill add that 'header' and 'footer' templates are also a great place to stick your adsense advertisements.
2005-12-12, 01:32 AM
kodaks Wrote:gusto5 Wrote:if the problem doesnt occur without the ad code, then im suspecting youre placing it inside something you shouldnt.No can do, placing adsense ads in the footer or header is against the TOS. This is because they will be showing up on non-content pages such as login and register.
ill add that 'header' and 'footer' templates are also a great place to stick your adsense advertisements.
my appologies. Im not a adsense client, and consequently arent aware of a term in the TOS such as that. index it is
Pages: 1 2