WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

Goto page : 1, 2, 3, 4  Next

View previous topic View next topic Go down  Message [Page 1 of 4]

shamzblueworld


Registered Member
Registered Member

How to place Ads/Affiliates (Who's Online Page & New Topic Page)
Note: This will be possible only for Phpbb2 & Punbb



To add the Ads / Affiliate Space at the top of Who's online page.

Step 1: Get your Ads/Affiliate Code ready

ADs Code
Get the code by registering on google adsense, create the ads & get the code.

Affiliate Code

Code:
<a href="HERE TYPE THE ADDRESS WHERE YOU WANT TO LINK"><img src="HERE TYPE THE URL OF THE PICTURE YOU WANT TO BE SHOWN"></a>

Just go on adding the above code to add more affiliate images.


Step 2: Display>Templates>General
Hit the corresponding to veiwonline_body


Step 3: Above all other codes add the following code
Code:
<font size="2" color="#000000" face="Arial">
<div><table width="100%" border="1" cellpadding="2" cellspacing="2" bgcolor="#ffffff">
<tr valign="top">
<td><br />YOUR AD CODE or AFFILIATE CODE GOES HERE
</td></tr></table></div></font>

To remove the table, you can just make border = "0" in the above code, which will hide the border. Also, replace the text of YOUR AD CODE or AFFILIATE CODE GOES HERE with your affiliate or google adsense code.




To add the Ads / Affiliate Space at New Topic Page.
Step 1: Goto Display>Template>Post & Private Messages
Step 2: Hit the corresponding to Posting_body

Step 3: Add the code given below above all the existing codes.
Code:
<font><div><table width="100%" border="1" cellpadding="2" cellspacing="2" bgcolor="#ffffff">
<tr valign="top">
<td><br />YOUR AD CODE or AFFILIATE CODE GOES HERE
</td></tr></table></div></font>

To remove the table, you can just make border = "0" in the above code, which will hide the border. Also, replace the text of YOUR AD CODE or AFFILIATE CODE GOES HERE with your affiliate or google adsense code.
Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators.



Last edited by shamzblueworld on Mon Jan 11, 2010 2:08 pm; edited 1 time in total

Mario


Registered Member
Registered Member
You might want to add this is only for punbb & phpbb in the tutorial because its hard to read the small writing under the title. Like the tutorial. Smile

Sanket


Administrator
Administrator
Also, add the font code for step 3 in To add the Ads / Affiliate Space at New Topic Page.

http://www.webartzforum.com

shamzblueworld


Registered Member
Registered Member
Done both. thanx for pointing out guys.

Sanket


Administrator
Administrator
Tutorial Accepted.
Thank you for contributing to WebArtz Smile

http://www.webartzforum.com

shamzblueworld


Registered Member
Registered Member
Your Welcome.

netsniper


Registered Member
Registered Member
Ok here is my problem I have a member who wants to advertise but would like a small link/pic on all pages, and in return he will make a donation to a Children's Orphanage which I am happy with, but looking at the above I don't see how I can use this tutorial to help me achieve it? can anyone help me with this or advise on how to do it, I am useless when it comes to this sort of thing but I am trying to learn even at my age

Thank you , Oh by the way I am using phpBB2 Very Happy

http://www.mybulgariaportal.com

Sanket


Administrator
Administrator
To add the Ads / Affiliate Space at the top of Who's online page.


Just follow that one. Where are you stuck?

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
I have the banner and I need to upload a Pdf file somewhere? and then use the link, but looking at the above tutorial will this only show up Who's online page? or have I misunderstood it?

Thank you Very Happy

http://www.mybulgariaportal.com

Sanket


Administrator
Administrator
My bad. I am really sorry. Its almost 2.20 am so i forgot to explain more.
Display>Templates> General
Overall_footer

Find this bit of code.
Code:
<strong>{ADMIN_LINK}</strong>


After this code add the table code i had in the tutorial.
See if that works for you.

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Thank you Sanket I will give it a try as soon as I find a Pdf file host free

Thank you Very Happy

http://www.mybulgariaportal.com

netsniper


Registered Member
Registered Member
Hi Sanket this is what I have added but I get a message saying 404 - Not Found or sometimes it seems to go round in a loop? ie it comes back to my home page, so I have done something wrong somewhere but I can't see where? I have a Pdf file hosted at fileden and the image link with photo bucket.

Code:
<a href="www.fileden.com/files/2010/1/30/2743809/Link%20the%20banner%20is%20attached%20to..pdf"><img src="http://i377.photobucket.com/albums/oo217/minisniperthefirst/MEMBER%20LINKS/TBH2.jpg"></a>


Embarassed Embarassed Embarassed Embarassed

http://www.mybulgariaportal.com

Sanket


Administrator
Administrator
Code:
<a href="http://fileden.com/files/2010/1/30/2743809/Link%20the%20banner%20is%20attached%20to..pdf"><img src="http://i377.photobucket.com/albums/oo217/minisniperthefirst/MEMBER%20LINKS/TBH2.jpg"></a>

Use this code & see. You had not put http:// for the pdf location.

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Thank you Sanket that worked perfect I am learning but slowly




Very Happy

http://www.mybulgariaportal.com

Sanket


Administrator
Administrator
Glad it worked Very Happy

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
I need to know if its possible to place the add in a different position as shown? instead of to the left?



Very Happy

http://www.mybulgariaportal.com

Sanket


Administrator
Administrator
You mean the black thing?
Can you give the code that you added?

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Hi Sanket thank you for the reply I haven't yet added anything any different to what you gave me but when I do it put the add on the left, you can see it HERE the pic above is just something I made to show what I would like, here is the code you gave me

Code:
<a href="http://fileden.com/files/2010/1/30/2743809/Link%20the%20banner%20is%20attached%20to..pdf"><img src="http://i377.photobucket.com/albums/oo217/minisniperthefirst/MEMBER%20LINKS/TBH2.jpg"></a>


Very Happy

http://www.mybulgariaportal.com

Sanket


Administrator
Administrator
Code:
<a href="http://fileden.com/files/2010/1/30/2743809/Link%20the%20banner%20is%20attached%20to..pdf"><img src="http://i377.photobucket.com/albums/oo217/minisniperthefirst/MEMBER%20LINKS/TBH2.jpg"></a>
<br>


Try adding this code. That will make the Image at the center above the footer.

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Will give it ago cheers Sanket




Very Happy

http://www.mybulgariaportal.com

View previous topic View next topic Back to top  Message [Page 1 of 4]

Goto page : 1, 2, 3, 4  Next

Permissions in this forum:
You cannot reply to topics in this forum