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

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

Go to page : Previous  1, 2, 3  Next

View previous topic View next topic Go down  Message [Page 2 of 3]

shamzblueworld

shamzblueworld
Registered Member
Registered Member
First topic message reminder :


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 How to place Ads/Affiliates (Who's Online Page & New Topic Page) - Page 2 Editer 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 How to place Ads/Affiliates (Who's Online Page & New Topic Page) - Page 2 Editer 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 3:38 pm; edited 1 time in total


netsniper


Registered Member
Registered Member
Thank you Sanket for your quick reply I will have to have a rethink? because one of the sponsors of the children's Orphanage wants to place adds in certain places ie 2 forums? so its back the the drawing board I think?

Cheers

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
Drawing board..err?

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Sanket wrote:Drawing board..err?

It means to rethink ?


Cheers

http://www.mybulgariaportal.com

netsniper


Registered Member
Registered Member
Hi Sanket I've had a re-think and decided if its possible to add it to my header below the forum buttons or below the flags? can you tell me do I just add it to the overall header template ? and if so where?

here is the code

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>

LINK to my forum if you want to look at where the buttons are

Cheers Very Happy

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
Below the flags, is it the homepage message?



Last edited by Sanket on Fri Feb 26, 2010 8:38 pm; edited 1 time in total

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Yes Sanket that's where I would like it to go and maybe if possible to the right?

Cheers
Very Happy

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
Can you give me a screenshot of where you want it please?

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Somewhere below these button if possible

How to place Ads/Affiliates (Who's Online Page & New Topic Page) - Page 2 Capture-3

Cheers Very Happy

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
For some weird reason, none of the templates i publish on my test forum are working. I will let you know once i get to try it.

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Ok Sanket I will wait

Thanks for all your help Very Happy

http://www.mybulgariaportal.com

netsniper


Registered Member
Registered Member
I tried to do it myself but messed things up Shocked but I got it back to normal now, so when you have sorted it I will have another go

Cheers Very Happy

http://www.mybulgariaportal.com

netsniper


Registered Member
Registered Member
Hi Sanket just wondered if you had any luck yet ?

Cheers

Very Happy

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
Well, there is something really wrong with my phpbb2 test forum. It just doesn't publish any changes. Upset

I will try it again tomorrow.

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Ok Cheers Sanket Very Happy

http://www.mybulgariaportal.com

netsniper


Registered Member
Registered Member
Hi Sanket I've managed to get like the pic below without using any code, but still can't find away of getting it below the buttons

How to place Ads/Affiliates (Who's Online Page & New Topic Page) - Page 2 Capture3


Cheers Very Happy

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
Where did you add it? In the navigation button?

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Yes but that's not where I want it

Cheers Very Happy

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
netsniper wrote:Yes but that's not where I want it

Cheers Very Happy

Okay, i will try to get ani's attention to this topic.

http://www.webartzforum.com

netsniper


Registered Member
Registered Member
Ok Thank you Sanket it's been doing my head in Beaten up for the last few days I've tried the code in all sorts of places but I just don't have the skill

Cheers
Very Happy

http://www.mybulgariaportal.com

ankillien

ankillien
Administrator
Administrator
Hi netsniper,

So, you want the ads to show below the nav bar right?
Please navigate to Admin CP > Display > Templates > General > overall_header_new.

Find out this part...

Code:
   <tr>
                  <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
               </tr>
            </table>

Paste your ads code right after that, but before...

Code:
            <div style="clear: both;"></div>


Save and see if it works.

netsniper


Registered Member
Registered Member
Thank you ankillien, it worked fine but it's on the left instead of the right? but I can live with that thank you all very much and thank you Sanket for you patients

Very Happy Very Happy Very Happy

http://www.mybulgariaportal.com

ankillien

ankillien
Administrator
Administrator
Glad I could help Very Happy

To center align the ads, you can either wrap the ads code between <center></center> tags or <div align="center"></div> tags.

netsniper


Registered Member
Registered Member
Ok Cheers I'll give it ago

Cheers
Very Happy

http://www.mybulgariaportal.com

netsniper


Registered Member
Registered Member
Ok I'm all sorted now thank you all for all the help

Enjoy

http://www.mybulgariaportal.com

netsniper


Registered Member
Registered Member
Would this also work with phpbb 3

Very Happy

http://www.mybulgariaportal.com

Sanket

Sanket
Administrator
Administrator
Nopes, not until phpbb3 offers template editing.

http://www.webartzforum.com

Sponsored content


View previous topic View next topic Back to top  Message [Page 2 of 3]

Go to page : Previous  1, 2, 3  Next

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