How to put objects and ads anywhere in your forum TUTORIAL!
3 posters
Page 1 of 1
How to put objects and ads anywhere in your forum TUTORIAL!
I created this code to help you put ads or anything else anywhere on your forum.
Here is a demo http://cstest.forumotion.com/index.htm
Paste this code in any of your forum's description or homepage message.
The only thing I can't figure out is how to make teh objects move with the flow of teh forum.
Whether you minimize or maximize your forum's window the objects always stay in the same place.
Here is a demo http://cstest.forumotion.com/index.htm
Paste this code in any of your forum's description or homepage message.
- Code:
<div id="Oobj1" style="position:absolute;z-index:1;visibility:visible; left:600px;top:337px;width:200px;height:200px;"><iframe id="Igeo1" name="geo1" src="website_of_your_object" width="200" height="200" frameborder="0" scrolling="no" >
<ilayer id="Igeo1" name="geo1" src="website_of_your_object" width="200" height="200" clip="0,0,198,207"> </ilayer></iframe></div>
The only thing I can't figure out is how to make teh objects move with the flow of teh forum.
Whether you minimize or maximize your forum's window the objects always stay in the same place.
zink77- Forumember
- Posts : 240
Reputation : 0
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
For adsense, just paste the ad adress. Click properties on it to find out.
zink77- Forumember
- Posts : 240
Reputation : 0
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
but this will only work in first page and you are not sure how much lengthy our forum will be moreover different moniter has different size. It will create problems also.
Re: How to put objects and ads anywhere in your forum TUTORIAL!
Yu just change the left and top numbers and position the object wherever you want. Unfortunatley it won't move with the forum. And you can put it on any page. Just paste the code in your signature or label. I wish we could modufy templtaes in phbb3..
zink77- Forumember
- Posts : 240
Reputation : 0
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
with "moving with the forum" do you mean that it stays for example centered when you resize the browser? in that case use this code below (note that the "left" and "top" parts now have a % instead of px). the example with 50% would make it stay centered.
- Code:
<div id="Oobj1" style="position:absolute;z-index:1;visibility:visible; left:50%;top:50%;width:200px;height:200px;"><iframe id="Igeo1" name="geo1" src="website_of_your_object" width="200" height="200" frameborder="0" scrolling="no" >
<ilayer id="Igeo1" name="geo1" src="website_of_your_object" width="200" height="200" clip="0,0,198,207"> </ilayer></iframe></div>
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
well i have made the code which can be appear at any place.
Re: How to put objects and ads anywhere in your forum TUTORIAL!
Thank you for the suggestion Sunny_D but when I put % , the objects move very far right. What am I doing wrong?
zink77- Forumember
- Posts : 240
Reputation : 0
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
zink77 wrote:Thank you for the suggestion Sunny_D but when I put % , the objects move very far right. What am I doing wrong?
As i told it very hard. it is like pop-up script which do not open in new window remain silent at one place of page.
Re: How to put objects and ads anywhere in your forum TUTORIAL!
zink77 wrote:Thank you for the suggestion Sunny_D but when I put % , the objects move very far right. What am I doing wrong?
well, i hope you didnt remain the 600 and just exchanged the px to %. you should pick something between 0 and 100 to make it appear on the visible page. when you use top and left as attributes, 100% on both will place it at the very bottom right.
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
moreover you can have fix size also =>> admin=>>style=>>color=>> change size to pixcel. may be around 1000.
Re: How to put objects and ads anywhere in your forum TUTORIAL!
I think the objects will appear correctly only in teh index when you paste the code in teh homepage message. some peopel experienced problems on teh other pages. teh ads where all over teh place but they were good on my screen.
I'm testing to see if this works. I put an ad in teh top right corner. http://cstest.forumotion.com/index.htm
Please tell me if it's there or in another place. On my screen its in teh top right. Thank you!
(please maximise window too see it.)
I'm testing to see if this works. I put an ad in teh top right corner. http://cstest.forumotion.com/index.htm
Please tell me if it's there or in another place. On my screen its in teh top right. Thank you!
(please maximise window too see it.)
zink77- Forumember
- Posts : 240
Reputation : 0
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
i can see the google ad in the top right area, yes. exactly placed in the height of the banner. I'm using firefox if thats of interest to you.
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
Sunny_D I made thE % thing but it still doesn't flow with the forum. It lags behind. http://cstest.forumotion.com/index.htm
zink77- Forumember
- Posts : 240
Reputation : 0
Language : english
Re: How to put objects and ads anywhere in your forum TUTORIAL!
I have to make the title banner larger because the ad is bigger than it in firefox. It looks good on explorer. That's pretty much the only place you can put ads using this method.
zink77- Forumember
- Posts : 240
Reputation : 0
Language : english
Similar topics
» After going through the Category Toggle tutorial, no changes in my forum.
» Requesting Loading Screen Video tutorial or Tutorial
» HOw to make ranks on forum-detail tutorial
» how to add flash objects
» Posting Objects
» Requesting Loading Screen Video tutorial or Tutorial
» HOw to make ranks on forum-detail tutorial
» how to add flash objects
» Posting Objects
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum