Status
Not open for further replies.
7 comments
Use:Advertisement Management
Code:
http://www.phpbb.com/customise/db/mod/advertisement_management/

Allows you to:

  • Create new advertisement positions for on the forum (and even off the forum).
  • Full HTML for advertisements (Google Adsense will work).
  • Count the number of times an advertisement is viewed and how many times it is clicked.
  • Set limits to the number of views, clicks, or time before the advertisement will be disabled automatically
  • Set a priority to let you decide how often an advertisement should be displayed compared to others in the same position.
  • Disable specific groups from seeing advertisements
  • Select specific forums to display advertisements in
 
You need to go to styles/*your-style*/template/overall_header.html

Go to the end of the file and add a table with your link exchange...
 
Seen people requesting this thing often.. i created that table on dhi-forumerz and then on uploaderw...

So here is how its done...


Paste this into notepad++ and save as a .html and upload into styles/yourstyle/templates/ (eg: link_block.html)

PHP:
<center><div style="align:center";>
 <div id="link_block" >
             <ul>
                   <li><a href="http://www./"  onclick="window.open(this.href);return false;" title=""><strong><font  color="#FF0099"><blink></blink></strong></font></a></li>
                                  <li><a  href="http://www." onclick="window.open(this.href);return  false;" title=""><strong></strong></a></li>
                        <li><a  href="http://www."  onclick="window.open(this.href);return false;" title=""><strong><font color="#0000BF"></strong></font></a></li>
                        <li><a href="http://"  onclick="window.open(this.href);return false;" title=""><strong></strong></a></li>
                 <li><a href="http://www."  onclick="window.open(this.href);return false;" title=""><strong></strong></a></li>
             </ul>
 </div><div></center>
You need to edit the a href, title and text etc as you please...


Paste this into notepad++ and save it as a .css file and upload into styles/yourstyle/theme/.. (Eg: link_block.css)
PHP:
#link_block {
margin : 0 auto;
display : block;
width : 100%;
text-align : center;
font-size : small;
padding : 0;
background-color : #99ccff;
}
#link_block ul {
list-style : none;
display : block;
width : 100%;
margin : 0;
padding : 0;
}
#link_block li {
margin : 0;
padding : 0;
display : block;
border-right : 1px solid #fff;
border-left : 1px solid #fff;
border-top : 1px solid #fff;
border-bottom : 1px solid #fff;
width : 19.6%;
float : left;
}
#link_block a {
margin : 0;
padding : 4px 0 4px 0;
display : block;
width : 100%;
}
#link_block a:link {
color : #fff;
text-decoration : none;
background-color : #99ccff;
}
#link_block a:visited {
color : #fff;
text-decoration : none;
background-color : #99ccff;
}
#link_block a:hover {
color : #000;
text-decoration : none;
background-color : #fff;
padding : 3px 0 3px 0;
border : 1px solid #99ccff;
}


Now Open styles/yourstyles/theme/stylesheet.css
Find
PHP:
    Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

Add After
PHP:
@import url("link_block.css");


Now Open Styles/yourstyles/templates/overall_header.html
Include the following code anywhere you want in side it...
PHP:
<!-- INCLUDE link_block.html -->



You can edit the colors of it in link_block.css


Enjoy it guys ;)
 
Status
Not open for further replies.
Back
Top