hi all... question...can i add an image and add google adsense to a forum page? this is the forum... http://www.pdrforum.com/index.php is it possible and if so is it the index.php file that i would be editing? i was asked to add an image and google ads on there. thanks in advance... drew
yea...i see 3 different template folders and there all php files...wondering if anyone knew exactly which file i would have to edit...i'm not a php guru...i've tackled php as far as editing them for awhile now so it's not like i've never seen any of this stuff before...but this is quite the challenge being that it's a forum rather than just a website...
Just do one thing. Backup all the files you think you are going to edit. Just copy them to a safe location before monkeying around with them. Or better yet, make a local installation of the forum on your system. Test out the templates and edit them on your own system so nobody will see if you mess up Thomas
lol...good call...i usually do...i call it like index_backup or index1 or something of that nature...but the problem is..i have NO idea..none whatsoever one which file i should touch or even where...cuz i have no clue! lol!
I'd recommend running your own copy for testing purposes. A good place to start might be Themes/default/index.template.php
im trying to add an image above the forum section at the very top...where in the php file do i add the image? i don't know where...could you guys tell me where? www.pdrforum.com need help
does anyone know how to add an image to a forum page? all i'm trying to do is add a header image at the top...is this feasible? i've looked at almost every index.php file...and index.template.php file and i don't see anywhere where i can add one image header at the top...anyone know?
I don't use SMF but just see what file is your main template... If you were to view source on the page you should find similarities between the two... Then all you have to do is go down to the body portion and add the code to the top... php still is html at heart, so even though you can't code in php if you can read html you should be able to figure out which page is which. If worse comes to worse goto the SMF support forums and they'll be able to direct you to the exact file you need. They probably have a tutorial on how to incorporate adsense into your forums (in multiple places too) Good Luck