| add links | |
Posted: 05/13/2008 6:27 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 10:04 PM
Location: Sterling IL
|
|
|
|
|
|
I want to link my banner in my forum to my website and I want to add some ads from google and ix, I can't find any mods, is there any for this or how do I do it? I think nr did this for me on old forum banner so I'm not sure how. Thanks |
|
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/14/2008 3:21 PM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 10:04 AM
Location: St Pete, FL
|
|
|
|
|
|
If you want to link your banner to your website, all you need to do is embed the img HTML code between an anchor tag. For example, if you have the following banner code:
Code:
|
<img src="http://yourdomain.com/images/banner.gif">
|
Then you could embed it between the following anchor:
Code:
|
<a href="http://yourdomain.com/yourwebsite.html"><img src="http://yourdomain.com/images/banner.gif"></a>
|
If you want this to open in a new tab or window so that the forum page is still listed, you can add the target="_blank" to the anchor code:
Code:
|
<a href="http://yourdomain.com/yourwebsite.html" target="_blank"><img src="http://yourdomain.com/images/banner.gif"></a>
|
If you want to add Google Ads, you first need to sign up with Google Adsence and select the type of ad layout that you want to use. Most of the time, you can add the Google ads in your overall_header.tpl and/or overall_footer.tpl file(s) so that the adds appear on every page in your community. If you want to target specific phpBB pages like only the Index or Viewforum pages, you would add the Google code to the index_body.tpl or viewforum_body.tpl files...
|
|
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/15/2008 8:11 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 10:04 PM
Location: Sterling IL
|
|
|
|
|
|
ok thanks nr, I will try that this weekend. |
|
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/15/2008 10:07 PM |
|
|
|
|
Site Admin |
Posts |
49593 |
Word Cnt. |
2,756,445 |
BDay |
Apr 22 |
Sign |
Taurus |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 8:04 AM
Location: Texas
|
|
|
|
|
|
I may be getting the hang of this! Right clicking the banner at the forum I get the following info:
The location gives the path to the image, right? And if this is the page he wants to link to:
http://www.fisheadtackle.com/index.html
Is this the right code for the banner?
Code:
|
<a href="http://www.fisheadtackle.com/index.html" target="_blank"><img src="http://fisheadtackle.com/forum/phpBB2/templates/Iris/images/logo_ phpBB.gif"></a>
|
|
|
Last edited by rb2d2 on 05/16/2008 12:52 AM; edited 1 time in total |
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/15/2008 11:59 PM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 10:04 AM
Location: St Pete, FL
|
|
|
|
|
|
Yes, that would probably work except you forgot a quote in the target setting...
|
|
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/16/2008 12:36 AM |
|
|
|
|
Site Admin |
Posts |
49593 |
Word Cnt. |
2,756,445 |
BDay |
Apr 22 |
Sign |
Taurus |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 8:04 AM
Location: Texas
|
|
|
|
|
|
Right, after the word blank ... Otherwise I was right?
Yahooooooooooooo!!
|
|
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/16/2008 12:38 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 10:04 AM
Location: St Pete, FL
|
|
|
|
|
|
Yes, you might want to edit the message and fix it so that it doesn't confuse anyone...
|
|
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/16/2008 12:53 AM |
|
|
|
|
Site Admin |
Posts |
49593 |
Word Cnt. |
2,756,445 |
BDay |
Apr 22 |
Sign |
Taurus |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 8:04 AM
Location: Texas
|
|
|
|
|
|
Done!
|
|
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/16/2008 1:19 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 10:04 PM
Location: Sterling IL
|
|
|
|
|
|
well if I add google ads to
Quote:
|
overall_header.tpl and/or overall_footer.tpl file(s)
|
,
then where do I add the link to my banner?
I see a "index.htm" file.... remove
or is it "index.php"... /removed
-------------------
Quote:
|
overall_header.tpl and/or overall_footer.tpl file(s)
|
what is tpl? How do I edit that file? I can't find it in firstpage save drop down menu, I can open as notepad but can't save as tpl.
I need more basic info, maybe could you send me to where I can learn how to do this without guessing and messing things up? |
|
Last edited by fishead on 09/26/2011 5:21 PM; edited 1 time in total |
|
|
|
Back to Top |
|
|
| Re: add links | |
Posted: 05/16/2008 1:26 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 10:04 PM
Location: Sterling IL
|
|
|
|
|
|
.TPL File Extension common? No
Windows - Open with the original program that created the template .....? |
|
|
|
|
Back to Top |
|
|
| Information | |
|