Advertisement Management

Misc MOD Downloads for phpBB3 -- Any MOD that does not fit into any other category
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

Advertisement Management

Postby EXreaction » 23 Aug 2008, 22:14

Classification: Add-on
MOD Name: Advertisement Management
MOD Version: 1.0.3
Author: EXreaction
MOD Description: Adds a very flexible and powerful Advertisement Manager to your phpBB3 forum.

Allows you to add/edit/delete/enable/disable Ads, Add/Edit/Delete Ad Positions on a phpBB3 forum.
You can set some rules up for the advertisements, like the priority, the position (or positions), what group (or groups) not to show the Advertisements to, and what forum (or forums) to show the Advertisements in.

License: GNU General Public License v2

Screenshots: http://www.lithiumstudios.org/mods/Adve ... anagement/

Installation Level: Easy
Installation Time: 5 Minutes


Download: http://www.lithiumstudios.org/mods/Adve ... anagement/
My phpBB3 Mods: Advertisement Management | Anti-Spam ACP | Auto Database Backup | Enable HTML | Advanced Subscriptions | Custom Profile Groups | From Author PM List | FAQ Manager | Forum Anniversary List | One Click Ban | Forum Sponsors | Smilies Categories | Drag 'n Drop Forum List | Soft Delete

Interested in becoming a Jr MOD Validator and helping out validation of mods @phpBB.com? Apply here
User avatar
EXreaction    
Supporter
Supporter
 
Posts: 1316
Joined: 03 Jun 2006, 09:10
Location: Plymouth, WI
Gender: Male


Re: Advertisement Management

Postby Chris From Cali » 26 Aug 2008, 20:17

First let me say this is a great mod! I got tired of having to do everything long hand evertime an Ad needed updated. Plus my Staff love not having to see the ads. A perk for their hardwork!

I notice on your forum your ads have a border around them and in the corner it says "donate" how where you able to do that?
Chris From Cali    
Crewman
Crewman
 
Posts: 4
Joined: 26 Aug 2008, 20:14
Gender: Male
phpBB Knowledge: 5

Re: Advertisement Management

Postby EXreaction » 26 Aug 2008, 20:48

I have an altered version for my board, but you can put any code around it you would like.

What I use is written here:
http://www.lithiumstudios.org/forum/vie ... 6511#p6511
My phpBB3 Mods: Advertisement Management | Anti-Spam ACP | Auto Database Backup | Enable HTML | Advanced Subscriptions | Custom Profile Groups | From Author PM List | FAQ Manager | Forum Anniversary List | One Click Ban | Forum Sponsors | Smilies Categories | Drag 'n Drop Forum List | Soft Delete

Interested in becoming a Jr MOD Validator and helping out validation of mods @phpBB.com? Apply here
User avatar
EXreaction    
Supporter
Supporter
 
Posts: 1316
Joined: 03 Jun 2006, 09:10
Location: Plymouth, WI
Gender: Male

Re: Advertisement Management

Postby Chris From Cali » 29 Aug 2008, 17:33

Good Looking EXreaction that was just what I needed
Chris From Cali    
Crewman
Crewman
 
Posts: 4
Joined: 26 Aug 2008, 20:14
Gender: Male
phpBB Knowledge: 5

Re: Advertisement Management

Postby woody2k4 » 06 Nov 2008, 11:32

if i add this to my style which is not prosilver and a custom made one will this work?
woody2k4    
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 137
Joined: 28 Jul 2008, 15:07
Location: England
Favorite Team: West Ham
Gender: Male
phpBB Knowledge: 2

Re: Advertisement Management

Postby EXreaction » 06 Nov 2008, 12:36

It will work for any style.
My phpBB3 Mods: Advertisement Management | Anti-Spam ACP | Auto Database Backup | Enable HTML | Advanced Subscriptions | Custom Profile Groups | From Author PM List | FAQ Manager | Forum Anniversary List | One Click Ban | Forum Sponsors | Smilies Categories | Drag 'n Drop Forum List | Soft Delete

Interested in becoming a Jr MOD Validator and helping out validation of mods @phpBB.com? Apply here
User avatar
EXreaction    
Supporter
Supporter
 
Posts: 1316
Joined: 03 Jun 2006, 09:10
Location: Plymouth, WI
Gender: Male

Re: Advertisement Management

Postby woody2k4 » 07 Nov 2008, 08:23

havinf probs with the edit in overall header <a name="start_here"></a> i cant find it, here is my code
Spoiler:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">

<!-- INCLUDE ads/ads.js -->

<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<link rel="stylesheet" media="all" type="text/css" href="{T_THEME_PATH}/menu2.css" />
<script src="{T_THEME_PATH}/menu2.js" type="text/javascript"></script>
<link rel="stylesheet" media="all" type="text/css" href="{T_THEME_PATH}/menuheader.css" />
<script src="{T_THEME_PATH}/menuheader.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->

function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}

window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}

function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';

if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
}
}

/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}

if (!parent)
{
return;
}

var rb = parent.getElementsByTagName('input');

for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}

<!-- IF ._file -->

/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();

if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);

var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}

obj.width = width;
obj.height = height + 16;

obj.SetControllerVisible(true);

obj.Play();
}
<!-- ENDIF -->

// ]]>
</script>
</head>
<body onload="clickMenu('menu')">
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<center>
<div id="wrap">
<div id="outerleft">
<div id="outerright">
<div id="inner_bdr">
</div>
<div id="hdr">

{ADS_1}

<center><div id="logo"></div></center>
</div>
<div id="nav_back">
<div id="nav">
<center>

<ul class="select"><li><a href="index.php"><b>Home</b></a></li>
<li><a href="{U_LOGIN_LOGOUT}"><b><!-- IF not S_IS_BOT -->{L_LOGIN_LOGOUT}<!-- ENDIF --></b></a>
<ul class="sub">
<li><!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF --></a></li>
</ul>
</li>

<li><!-- IF S_USER_LOGGED_IN --> <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}"><b> {L_REGISTER} <!-- ENDIF --></b></a>
<ul class="sub">
<li><!-- IF S_USER_LOGGED_IN --> <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}"> {L_REGISTER} <!-- ENDIF --></a></li>
</ul>
<li><a href="{U_FAQ}"><b> {L_FAQ}</b></a>
<ul class="sub">
<li><a href="{U_FAQ}"> {L_FAQ}</a></li>
</ul>
<li> <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}"><b>{L_PROFILE}</b></a><!-- ENDIF -->
<ul class="sub">
<li> <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}"><b>{L_PROFILE}</b></a><!-- ENDIF --></li>
</ul>
</li>
<li> <!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}"><b> {L_MEMBERLIST}</b></a><!-- ENDIF -->
<ul class="sub">
<li> <!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}"> {L_MEMBERLIST}</a><!-- ENDIF --></li>
</ul>
</li>
<li> <!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}"><b> {L_SEARCH}</b></a><!-- ENDIF -->
<ul class="sub">
<li> <!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}"> {L_SEARCH}</a><!-- ENDIF --></li>
</ul>
</li>
<li> <a href="{U_CHAT}"> {L_CHAT}</a></li>
<ul class="sub">
<li> <a href="{U_CHAT}"><b>{L_CHAT}</b></a></li>
</ul>
</center>
</div>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">

</table>
<div id="innerwrap">

<div id="menubar">
<table width="100%" cellspacing="0">
<tr>
<td class="genmed">
<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->

<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->

<!-- ELSE --> &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
<!-- ENDIF -->
<!-- ENDIF -->
</td>
<td class="genmed" align="right"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF -->
<br />{CURRENT_TIME}
</td>
</tr>

</table>

<div id="wrapcentre">

<!-- IF S_DISPLAY_SEARCH -->
<p class="searchbar">
<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>

<!-- IF S_USER_LOGGED_IN -->
<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
<!-- ENDIF -->
</p>
<!-- ENDIF -->

<br style="clear: both;" />

<!-- INCLUDEPHP ../../../../quickselect.php -->

<!-- INCLUDE breadcrumbs.html -->

<br />


Also in the view topic body i could not find the topic actions edit here is my code again
Spoiler:
<!-- INCLUDE overall_header.html -->

<!-- IF S_FORUM_RULES -->
<div class="forumrules">
<!-- IF U_FORUM_RULES -->
<h3>{L_FORUM_RULES}</h3><br />
<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
<!-- ELSE -->
<h3>{L_FORUM_RULES}</h3><br />

{FORUM_RULES}
<!-- ENDIF -->
</div>

<br clear="all" />
<!-- ENDIF -->

<div id="pageheader">

<!-- IF MODERATORS -->
<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>

<!-- ENDIF -->
<!-- IF U_MCP -->
<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
<!-- ENDIF -->
</div>

<br clear="all" /><br />

<div id="pagecontent">

<table width="100%" cellspacing="1">

<tr>
<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
<!-- IF TOTAL_POSTS -->

<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
<!-- ENDIF -->
</tr>
</table>

<table class="tablebg" width="100%" cellspacing="1">

<tr>
<td class="row1">
<table width="100%" cellspacing="0">
<tr>
<td nowrap="nowrap">&nbsp;
<!-- IF not S_IS_BOT -->
<!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->

<!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->

<!-- ENDIF -->
</td>
<td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;</td>
</tr>
</table>

</td>
</tr>
<!-- IF S_HAS_POLL -->
<tr>
<td class="row2" colspan="2" align="center"><br clear="all" />

<form method="post" action="{S_POLL_ACTION}">

<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr>

<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
</tr>
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}">
<table cellspacing="0" cellpadding="2" border="0">
<!-- BEGIN poll_option -->
<tr>
<!-- IF S_CAN_VOTE -->

<td>
<!-- IF S_IS_MULTI_CHOICE -->
<input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
<!-- ELSE -->
<input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
<!-- ENDIF -->
</td>

<!-- ENDIF -->
<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
<!-- IF S_DISPLAY_RESULTS -->
<td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
<td class="gen" align="{S_CONTENT_FLOW_END}"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
<td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
<!-- IF poll_option.POLL_OPTION_VOTED -->

<td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
<!-- ENDIF -->
<!-- ENDIF -->
</tr>
<!-- END poll_option -->
</table>
</td>
</tr>

<!-- IF S_CAN_VOTE -->
<tr>
<td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
</tr>
<!-- ENDIF -->
<!-- IF S_DISPLAY_RESULTS -->
<tr>
<td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td>

</tr>
<!-- ELSE -->
<tr>
<td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
</tr>
<!-- ENDIF -->
</table>
{S_HIDDEN_FIELDS}

</form>


</td>
</tr>
<!-- ENDIF -->
</table>

<br />

<!-- BEGIN postrow -->
<div class="catmain">
<div class="cat_left"></div>
<div class="cat_text">
<!-- IF postrow.POST_ICON_IMG -->
<img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" align="left" style="margin-right:10px" alt="" title="" />

<!-- ENDIF -->
{postrow.POST_SUBJECT}
</div>
<div class="cat_right"></div>
</div>

<table class="tablebg" width="100%" cellspacing="1">
<!-- IF postrow.S_FIRST_ROW -->
<tr>
<th>{L_AUTHOR}</th>

<th>{L_MESSAGE}</th>
</tr>
<!-- ENDIF -->
<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

<!-- IF postrow.S_IGNORE_POST -->
<td class="gensmall" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
<!-- ELSE -->

<td align="center" valign="middle">
<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
</td>
<td width="100%" height="25">
<table width="100%" cellspacing="0">
<tr>

<td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE}&nbsp;</div></td>
</tr>
</table>
</td>
</tr>

<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

<td valign="top" class="profile">
<table cellspacing="4" align="center" width="150">
<!-- IF postrow.RANK_TITLE -->

<tr>
<td class="postdetails">{postrow.RANK_TITLE}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.RANK_IMG -->
<tr>
<td>{postrow.RANK_IMG}</td>
</tr>

<!-- ENDIF -->
<!-- IF postrow.POSTER_AVATAR -->
<tr>
<td>{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.ONLINE_IMG -->
<tr>
<td>{postrow.ONLINE_IMG}</td>
</tr>
<!-- ENDIF -->
</table>

<span class="postdetails">

<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->

<!-- IF postrow.S_PROFILE_FIELD1 -->

<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
<!-- ENDIF -->

<!-- BEGIN custom_fields -->
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
<!-- END custom_fields -->
</span>

</td>
<td valign="top">
<table width="100%" cellspacing="5">
<tr>
<td>
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
<table width="100%" cellspacing="0">
<tr>

<td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
</tr>
</table>

<br clear="all" />
<!-- ENDIF -->

<div class="postbody">{postrow.MESSAGE}</div>

<!-- IF postrow.S_HAS_ATTACHMENTS -->
<br clear="all" /><br />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>

</tr>
<!-- BEGIN attachment -->
<tr>
<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
</tr>
<!-- END attachment -->
</table>
<!-- ENDIF -->

<!-- IF postrow.S_DISPLAY_NOTICE -->
<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
<!-- ENDIF -->
<!-- IF postrow.SIGNATURE -->
<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
<!-- ENDIF -->

<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
<!-- IF postrow.EDIT_REASON -->
<br /><br />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
<tr>

<td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td>
</tr>
</table>
<!-- ELSE -->
<br /><br />
<span class="gensmall">{postrow.EDITED_MESSAGE}</span>
<!-- ENDIF -->
<!-- ENDIF -->

<!-- IF postrow.BUMPED_MESSAGE -->
<span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
<!-- ENDIF -->

<!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->

<table width="100%" cellspacing="0">
<tr valign="middle">
<td class="gensmall" align="{S_CONTENT_FLOW_END}">

<!-- IF not S_IS_BOT -->
<!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF -->
<!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF -->
<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF -->
<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
<!-- ENDIF -->

</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

<td class="profile row1"><strong><a href="#wrapheader">{L_BACK_TO_TOP}</a></strong></td>
<td class="row1"><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF -->&nbsp;</div></td>

<!-- ENDIF -->
</tr>
</table>
<!-- bottom table setup -->
<div class="catbtm"><img src="{T_THEME_PATH}/images/clear.gif" width="1" height="5" alt="" /></div>
<!-- End bottom table setup -->
<br />
<!-- END postrow -->

<!-- IF (ADS_5 and postrow.S_FIRST_ROW) or (ADS_6 and not postrow.S_FIRST_ROW) -->
<div class="post bg3">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody" style="width: 100%;">
<h3>{L_ADVERTISEMENT}</h3>

<div style="font-size: 1.1em; margin: 0px auto; text-align: center;">
<!-- IF postrow.S_FIRST_ROW -->{ADS_5}<!-- ELSE -->{ADS_6}<!-- ENDIF -->
</div>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->

<table width="100%" cellspacing="1" class="tablebg">
<tr align="center">

<td class="row2"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td>
</tr>
</table>

<table width="100%" cellspacing="1">
<tr>

<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
<!-- IF TOTAL_POSTS -->
<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>

<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
<!-- ENDIF -->
</tr>
</table>

</div>

<div id="pagefooter"></div>

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
<br clear="all" />

<div class="catmain">
<div class="cat_left"></div>
<div class="cat_text">{L_WHO_IS_ONLINE}</div>
<div class="cat_right"></div>
</div>
<table class="tablebg" width="100%" cellspacing="1">
<tr>

<td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
</tr>
</table>
<!-- ENDIF -->

<br clear="all" />

<table width="100%" cellspacing="1">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td>

<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
</tr>
</table>

<br clear="all" />

<table width="100%" cellspacing="0">
<tr>
<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html -->

<!-- IF ADS_4 -->
<br />
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_ADVERTISEMENT}</dt>
</dl>
</li>
</ul>
<div style="padding: 5px 5px 2px 5px; font-size: 1.1em; background-color: #ECF1F3; margin: 0px auto; text-align: center;">
{ADS_4}
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<br />
<!-- ENDIF --></td>
</tr>




if anyone can help please do, scared im gna screw this all up,

Thank you Dean
woody2k4    
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 137
Joined: 28 Jul 2008, 15:07
Location: England
Favorite Team: West Ham
Gender: Male
phpBB Knowledge: 2

Re: Advertisement Management

Postby Daku » 08 Dec 2008, 14:51

I have installed this mod and quite happy with it.

Just one question, how can I put the space under users like we have here (phpBB Academy at StarTrekGuide
Click the Image to support STG using PayPal Donate)

Also how can I call google adsense banner as as Ads rather than ads by Google?

Thanks
Daku    
Supporter
Supporter
 
Posts: 6
Joined: 03 Dec 2008, 13:06
Gender: Male
phpBB Knowledge: 2

Re: Advertisement Management

Postby whitels1 » 15 Dec 2008, 17:53

Excellent Mod, works great!
Dave
whitels1    
Cadet I
Cadet I
 
Posts: 13
Joined: 21 Feb 2008, 16:53
Location: Vegas
Favorite Team: Cardinals
Gender: Male
phpBB Knowledge: 4

Re: Advertisement Management

Postby abcx » 28 Dec 2008, 12:42

Anyone know whether this mod work with phpBB that is installed using autoinstallers like Fantastico & Installatron?
abcx
Crewman
Crewman
 
Posts: 3
Joined: 12 Dec 2008, 12:35
Gender: Male
phpBB Knowledge: 1

Next

Return to Miscellaneous MODs, Hacks and Downloads

Who is online

Users browsing this forum: EasouSpider, Googlebot and 9 guests