Advertisement Management

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
jrvisconti
Registered User
Posts: 16
Joined: Mon Dec 14, 2009 3:06 am

Re: Advertisement Management

Post by jrvisconti »

Derky wrote:
newbyphp wrote:็Great Mod and I have little question?

[img]

How to remove Frame (red line in picture)? Please tell me.

thank you.
Open: ./styles/prosilver/template/overall_header.html

Find:

Code: Select all

	<!-- IF ADS_2 -->
	<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_2}
			</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- ENDIF -->
Replace with:

Code: Select all

	<!-- IF ADS_2 -->
	<br />
	<div style="padding: 5px 5px 2px 5px; font-size: 1.1em; background-color: #ECF1F3; margin: 0px auto; text-align: center;">
		{ADS_2}
	</div>
	<!-- ENDIF -->
If you also want to change the light-blue background color, you can remove the part:
background-color: #ECF1F3;

Refresh the prosilver template from the ACP > Styles > Templates.
Hi, this was very useful.

I was able to do this, however how do I do this for every place a advertisement is placed?

footer, etc
lnorton
Registered User
Posts: 2
Joined: Wed Dec 30, 2009 5:47 pm

Re: Advertisement Management

Post by lnorton »

This mod is great for displaying banners at the top of our forum. However, I am wanting to display random banners at the top, and then a full list of them down the sidebar. The small ones on the sidebar would all come up on each page, and they would also need to come up in a random order.

Is there a way to do this?
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Advertisement Management

Post by EXreaction »

It already does pick a random one of the ones available for the position, just add the ones you want to it. For a sidebar, it depends on the style and can be somewhat of a pain.
bartezas16
Registered User
Posts: 59
Joined: Tue Mar 28, 2006 4:06 pm

Re: Advertisement Management

Post by bartezas16 »

Hi there.I wonder how to make ads inside the header?Like this http://i50.tinypic.com/a1pyfk.png (see link).Some my overal_header code:

Code: Select all

<!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}">
<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="2007 phpBBservice.nl" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF S_ENABLE_FEEDS -->
<link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<!-- INCLUDE reimg_content.html -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<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(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

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

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}
}

/**
* 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>
<!-- INCLUDE ads/ads.js -->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
	    <td style="padding: 0px;">
		
<div id="wrapheader">
	<!-- IF ADS_1 -->{ADS_1}<br /><!-- ENDIF -->
    <div id="logodesc">
		<table class="topbkg" width="100%" cellspacing="0">
		    <tr>
			    <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
			    <td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
			</tr>
		</table>
	</div>

	<div id="menubar">
	    <table width="100%" cellspacing="0">
		    <tr>
			    <td align="center" class="topnav">
			        &nbsp;<a href="{U_FAQ}">{L_FAQ}</a>
				    <!-- IF S_DISPLAY_SEARCH -->&nbsp; &#8226; &nbsp; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
				    <!-- IF not S_IS_BOT -->
					    <!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &#8226; &nbsp; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
					    <!-- IF S_USER_LOGGED_IN -->&nbsp; &#8226; &nbsp; <a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
					    <!-- IF S_USER_LOGGED_IN -->
						    <!-- IF S_DISPLAY_PM --> &nbsp; &#8226; &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					    <!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> &#8226; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
					    <!-- ENDIF -->
					    &nbsp; &#8226; &nbsp; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS --> &nbsp; &#8226; &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
					<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp; &#8226; &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
				</td>
			</tr>
		</table>
	</div>

	<div id="datebar">
	    <table width="100%" cellspacing="0">
		    <tr>
			    <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
			    <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
			</tr>
		</table>
	</div>
</div>

<!-- IF ADS_2 -->{ADS_2}<br /><!-- ENDIF -->
<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_UNREAD}">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		    <!-- ENDIF -->
	    </p>
		<br />
	<!-- ENDIF -->
    <br style="clear: both;" />
    <!-- INCLUDE breadcrumbs.html -->
    <br />
thx in advance
King-Nothing
Registered User
Posts: 458
Joined: Sat Oct 06, 2007 6:14 pm

Re: Advertisement Management

Post by King-Nothing »

I`ve been using this for a while, and I love it, but I`m wondering if you are planning on including the option to trace clicks made on flashbanners?
lnorton
Registered User
Posts: 2
Joined: Wed Dec 30, 2009 5:47 pm

Re: Advertisement Management

Post by lnorton »

EXreaction wrote:It already does pick a random one of the ones available for the position, just add the ones you want to it. For a sidebar, it depends on the style and can be somewhat of a pain.
What I am looking to do is list ALL of the banners that are for one location down the side of the page. Not just one.
bleudaman
Registered User
Posts: 17
Joined: Tue Jan 05, 2010 5:23 pm

Re: Advertisement Management

Post by bleudaman »

Why I cant get it under my acp but its under my automod section and it says installed.
automod.png
automod.png (30.89 KiB) Viewed 1076 times
but when I when i go back to general I dont see it or any of the mods I added
automod002.png
automod002.png (59.07 KiB) Viewed 1076 times
how can i fix this to show up...even though im asking here I would like all my mods to show up but ads is more important to me right now
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Advertisement Management

Post by EXreaction »

Run the ads/uninstall.php file once.
bleudaman
Registered User
Posts: 17
Joined: Tue Jan 05, 2010 5:23 pm

Re: Advertisement Management

Post by bleudaman »

EXreaction wrote:Run the ads/uninstall.php file once.
thanks but what do you mean by this? If it help I have a custom template named IDLaunch_Black
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Advertisement Management

Post by EXreaction »

Run that file on your site with a web browser.
bleudaman
Registered User
Posts: 17
Joined: Tue Jan 05, 2010 5:23 pm

Re: Advertisement Management

Post by bleudaman »

Ok there are no ads showing on my page

http://besthomegrownsex.com/

but i installed everything correctly
z.png
z.png (31.66 KiB) Viewed 1049 times
zz.png
zz.png (24.78 KiB) Viewed 1049 times
what am i doing wrong?
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17314
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Advertisement Management

Post by DavidIQ »

MOD Updated to version 1.0.9
See first post for Download Link
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
Ahri89
Registered User
Posts: 524
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Advertisement Management

Post by Ahri89 »

this version 1.0.9 is the same of this site? http://www.lithiumstudios.org/forum/vie ... =31&t=1132
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD
User avatar
Techit
Registered User
Posts: 174
Joined: Sun Jun 08, 2003 7:54 pm
Location: Durham - England
Contact:

Re: Advertisement Management

Post by Techit »

This is a great mod, have installed it perfect, but was disappointed with the way some of the adverts came out, especially the way the adverts came out under the posts.

I have just finished a little tweek to make the advert look as if its been posted:
Image

If you want to do this, I have written a tutorial here (note install the mod first):
http://www.jamessimpson.co.uk/phpbb3-ad ... t-ad-stlye
Name: James Simpson
Websites: Swift Owners :: James Simpson
User avatar
Traction
Registered User
Posts: 288
Joined: Fri Jun 06, 2003 8:42 pm
Location: Staten Island, New York
Contact:

Re: Advertisement Management

Post by Traction »

I have people asking me about advertising their sites on my forum. Let's say five people give me their banners. I want it to sometimes display this guy's banner, sometimes display that guy's, etc. I guess at the bottom. Is that what this mod does?
Failure is not an option.
Zap! Classic Video Game Forums
Locked

Return to “[3.0.x] MOD Database Releases”