The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to put objects and ads anywhere in your forum TUTORIAL!

3 posters

Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty How to put objects and ads anywhere in your forum TUTORIAL!

Post by zink77 February 15th 2008, 7:30 pm

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.

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.
avatar
zink77
Forumember

Posts : 240
Reputation : 0
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zink77 February 15th 2008, 8:15 pm

For adsense, just paste the ad adress. Click properties on it to find out.
avatar
zink77
Forumember

Posts : 240
Reputation : 0
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by hitesh February 16th 2008, 3:07 am

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.
hitesh
hitesh
Forumember

Male Posts : 988
Reputation : 0
Language : English, Indian Languages
Location : No Support by PM. I dont love that

http://forum.cricketgod.com

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zink77 February 16th 2008, 4:41 am

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..
avatar
zink77
Forumember

Posts : 240
Reputation : 0
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zakir321 February 16th 2008, 6:03 am

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. Smile

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>
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by hitesh February 16th 2008, 6:30 am

well i have made the code which can be appear at any place.
hitesh
hitesh
Forumember

Male Posts : 988
Reputation : 0
Language : English, Indian Languages
Location : No Support by PM. I dont love that

http://forum.cricketgod.com

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zink77 February 16th 2008, 2:51 pm

Thank you for the suggestion Sunny_D but when I put % , the objects move very far right. What am I doing wrong?
avatar
zink77
Forumember

Posts : 240
Reputation : 0
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by hitesh February 16th 2008, 2:53 pm

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.
hitesh
hitesh
Forumember

Male Posts : 988
Reputation : 0
Language : English, Indian Languages
Location : No Support by PM. I dont love that

http://forum.cricketgod.com

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zakir321 February 16th 2008, 3:22 pm

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. Smile
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by hitesh February 16th 2008, 3:25 pm

moreover you can have fix size also =>> admin=>>style=>>color=>> change size to pixcel. may be around 1000.
hitesh
hitesh
Forumember

Male Posts : 988
Reputation : 0
Language : English, Indian Languages
Location : No Support by PM. I dont love that

http://forum.cricketgod.com

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zink77 February 16th 2008, 10:55 pm

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.)
avatar
zink77
Forumember

Posts : 240
Reputation : 0
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zakir321 February 17th 2008, 2:36 am

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.
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zink77 February 17th 2008, 2:38 am

Sunny_D I made thE % thing but it still doesn't flow with the forum. It lags behind. http://cstest.forumotion.com/index.htm Sad
avatar
zink77
Forumember

Posts : 240
Reputation : 0
Language : english

Back to top Go down

How to put objects and ads anywhere in your forum TUTORIAL! Empty Re: How to put objects and ads anywhere in your forum TUTORIAL!

Post by zink77 February 17th 2008, 2:40 am

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.
avatar
zink77
Forumember

Posts : 240
Reputation : 0
Language : english

Back to top Go down

Back to top

- Similar topics

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