MyBB Community Forums

Full Version: can this be with templates edit ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
can anyone tell me could this be with templates edit like this in vb
[Image: 2ilg7cx.png]
This involves a code of an external site. It is possible by editing templates (I think). Try putting the code in the header if you have one for this.
I learned this from Myspace... all the code-challenged members always have AD's placed on their pages from sites that offer graphics and all that stuff...

<div class='content' style='position: absolute; left:0px; top:0px; width:150px; height:150px; overflow:auto;'><a href="http://www.google.com"><img src="image.gif"</a></div>

You can adjust the postition to your liking.. simply add it to the header beneath div=header.

Not sure how to accomplish the bottom one though.
i want it to be moving like here
http://www.globalearntalk.com/forums/
in vb not sticked only
That would involve javascript..

Check out dynamicdrive...
Err... never mind.. was thinking about the wrong thing.. the mini-window... :/
View their page source.. it has all of the coding...
And it has nothing to do with it being vBulletin Wink
that what was written in the source when but it hows me stange
<div class="angular_advertisement angadver_top angadver_left" style="filter:alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; "><a target="_blank" href="https://perfectmoney.com/?ref=233990"><img border="0" alt="PM Ad" src="http://www.globalearntalk.com/forums/images/angularadvertisement/pmang3.png" /></a></div>
Look, this is their CSS. Add this to the bottom of your global.css

/* Angular Advertisement */

.angular_advertisement {
	position: fixed;
}
.angadver_left {
	left: 0;
}			
.angadver_right {
	right: 0;
}
.angadver_top {
	top: 0;
}
.angadver_bottom {
	bottom: 0;
}

And this is the html

<div class="angular_advertisement angadver_top angadver_left" style="filter:alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; "><a target="_blank" href="https://perfectmoney.com/?ref=233990"><img border="0" alt="PM Ad" src="http://www.globalearntalk.com/forums/images/angularadvertisement/pmang3.png" /></a></div>

<div class="angular_advertisement angadver_bottom angadver_left" style="filter:alpha(opacity=70); -moz-opacity: 0.7; opacity: 0.7; "><a target="_blank" href="http://www.evowallet.com/?ref=E200144"><img border="0" alt="GET is BEST" src="http://globalearntalk.com/images/evo1..png" /></a></div>

Just edit the above code and point it to the image you want...

Then just add the html to your header or footer... Won't matter as they are both shown on each page of your forum. If you're container in the global.css is set to 95% or something you'll want to probably use negative values in that CSS code above or it won't be snug to the left side of the page. (Atleast, I think you can use neg values)

Good luck
do u man with html index.php add the html tags to or to add to the templates
if you only want it visible on index page put it in between the <body>CODE HERE</body> tags in templates>index page templates>index

if you want it visible on every page of the site go to templates>header templates>header
Find <div id="header">
Put the code below it.
thanks great worked
Pages: 1 2