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
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 exactly what this does ;)
Name: James Simpson
Websites: Swift Owners :: James Simpson
User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

Re: Advertisement Management

Post by zake black »

Traction wrote: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?
As already stated yes.

Also you have the option to set a preference to each add/banner

For example Banner 1 could have a preference off 1 and Banner 2 could be set to 3 meaning that banner 2 is more likely to appear 3times more than banner 1
Nightbox
Registered User
Posts: 64
Joined: Thu Jul 09, 2009 10:08 pm

Re: Advertisement Management

Post by Nightbox »

Sorry if it was posted before.

After i uploaded every file and did the edits, i go to modules and activate advertisement management but there is no new tab.

Image: http://i49.tinypic.com/i2r3pu.jpg
User avatar
raabis
Registered User
Posts: 5
Joined: Sat Jul 18, 2009 8:35 am
Location: Latvia

Re: Advertisement Management

Post by raabis »

Hoi!!! Everyone!!

Guys,

I was unable to find a list of changes, fixes, improvements from previous releases of AM ! I use 1.0.6 and consider to upgrade to a latest release as some minor problems are still present in 1.0.6.

As I did some changes to files in this mod, It might be good to first go through a changelist!! Thank you in advance!!! :)

In conclusion..I would say, one of my favorite mods!!! Thanks!!
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 »

Nightbox wrote:Sorry if it was posted before.

After i uploaded every file and did the edits, i go to modules and activate advertisement management but there is no new tab.

Image: http://i49.tinypic.com/i2r3pu.jpg
The advertisement Management is under General > Advertisement Management (on the left hand nav under Board Config)
Name: James Simpson
Websites: Swift Owners :: James Simpson
Nightbox
Registered User
Posts: 64
Joined: Thu Jul 09, 2009 10:08 pm

Re: Advertisement Management

Post by Nightbox »

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'm using Aeroblue style. One line says to find "<div id="wrapcentre">" and insert on a blank line "<!-- IF ADS_2 -->{ADS_2}<br /><!-- ENDIF -->".

Only problem is there is no "<div id="wrapcentre">" so where do I insert it? Here's what my overall_header looks like:

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="2000, 2002, 2005, 2007 phpBB Group" />
<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 -->

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
	function hide(id) { document.getElementById(id).style.display="none"; }
    function show(id) { document.getElementById(id).style.display="block"; }
    function layerTest(id) {
      if ( document.getElementById(id).style.display == 'none' ) {
          show(id);
          } else {
          hide(id);
        }
      }

<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 480, 180, '_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, 870, 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 -->

function selectCode(a)
{
   // Get ID of code block
   var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];

   // Not IE
   if (window.getSelection)
   {
      var s = window.getSelection();
      // Safari
      if (s.setBaseAndExtent)
      {
         s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
      }
      // Firefox and Opera
      else
      {
         var r = document.createRange();
         r.selectNodeContents(e);
         s.removeAllRanges();
         s.addRange(r);
      }
   }
   // Some older browsers
   else if (document.getSelection)
   {
      var s = document.getSelection();
      var r = document.createRange();
      r.selectNodeContents(e);
      s.removeAllRanges();
      s.addRange(r);
   }
   // IE
   else if (document.selection)
   {
      var r = document.body.createTextRange();
      r.moveToElementText(e);
      r.select();
   }
}

// ]]>
</script>
<!-- IF S_MCHAT_ENABLE -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_prosilver.css" type="text/css" />
<!-- ENDIF -->
<!-- IF S_IN_ARCADE -->
	<link href="{T_THEME_PATH}/arcade.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/tooltip.js"></script>
<script type="text/javascript" src="snowstorm.js"></script>
<!-- INCLUDE ads/ads.js -->
</head>
<body class="{S_CONTENT_DIRECTION}">

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

<table class="wrap" width="100%" cellpadding="0" cellspacing="0">
<tr><td>

<div id="wrapheader">
	<!-- IF ADS_1 -->{ADS_1}<br /><!-- ENDIF -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
<td height="120" align="left" style="background:url('{T_THEME_PATH}/images/midl.png');">&nbsp;</td>
<td align="center" width="650" height="120"><a href="http://www.zaponline.org"><img src="./styles/AeroBlue/theme/images/zapbanner2.png" width="650" height="120" border="0" alt="Zap!" /></a></td>
<td height="120" align="right" style="background:url('{T_THEME_PATH}/images/midr.png');">&nbsp;</td>

      </td>
  </tr>
  </table>
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
<td height="24" align="left" style="background:url('{T_THEME_PATH}/images/bottomm.png');">

<div class="buttonwrapper">
<div class="navspacel"></div>
<!-- IF S_USER_LOGGED_IN -->
<!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
<a class="squarebuttonl" href="{U_REGISTER}"><span>{L_REGISTER}</span></a><div class="navspacel"></div>
<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->
<a class="squarebuttonl" href="{U_PROFILE}"><span>{L_PROFILE}</span></a><div class="navspacel"></div>
<!-- IF S_DISPLAY_PM -->
<a class="squarebuttonl" href="{U_PRIVATEMSGS}"><span>{PRIVATE_MESSAGE_INFO}</span></a><div class="navspacel"></div>
<a class="squarebuttonl" href="{U_STATS}"><span>{L_STATISTICS}</span></a><div class="navspacel"></div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS -->
<a class="squarebuttonl" href="{U_RESTORE_PERMISSIONS}"><span>{L_RESTORE_PERMISSIONS}</span></a>
<!-- ENDIF -->
</div>

</td>
<td width="431" height="24" align="right" style="background:url('{T_THEME_PATH}/images/bottomr.png');">

<div class="buttonwrapper">
<div class="navspacer"></div>
<!-- IF not S_IS_BOT -->
<a class="squarebuttonr" href="{U_LOGIN_LOGOUT}"><span>{L_LOGIN_LOGOUT}</span></a><div class="navspacer"></div>
<!-- IF S_DISPLAY_MEMBERLIST -->
<a class="squarebuttonr" href="{U_MEMBERLIST}"><span>{L_MEMBERLIST}</span></a><div class="navspacer"></div>

<!-- ENDIF -->
<!-- ENDIF -->
<a class="squarebuttonr" href="{U_SEARCH}"><span>{L_SEARCH}</span></a>
<a class="squarebuttonr" href="{U_ARCADE}"><span>{L_ARCADE}</span></a>
<a class="squarebuttonr" href="http://www.zaponline.org/blogs/"><span>Blogs</span></a>
<a class="squarebuttonr" href="{U_FAQ}"><span>{L_FAQ}</span></a>
<a class="squarebuttonr" href="{U_MCHAT}"><span>{L_MCHAT}</span></a>

</div>

</td>
    </tr>
  </table>
</td>
    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
		<!-- INCLUDE arcade/arcade_info_body.html -->
</table>
</div>

	<div id="datebar">
		<table width="100%" cellspacing="0">
			<!-- IF S_BOARD_DISABLED -->
            <tr><td class="gensmall">
			<span class="error">{L_BOARD_DISABLED}</span>
            </td></tr>
            <!-- ENDIF -->
            <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>

	<!-- 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>
	<!-- ENDIF -->

	<br style="clear: both;" />
	
	<!-- INCLUDE breadcrumbs.html -->

	<br />
<center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="traction311@verizon.net">
<input type="hidden" name="item_name" value="Zap!">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/images/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
</center>
Failure is not an option.
Zap! Classic Video Game Forums
Lost_inside
Registered User
Posts: 160
Joined: Wed Dec 30, 2009 12:25 pm

Re: Advertisement Management

Post by Lost_inside »

Hello, I am having problems showing Advertisement management on general tab>Board configuration or anywhere also for a matter of fact.

Please tell me why? It come up in system>acp and I set it to general tab>Board configuration however it doesn't show.

Here are some screenshots of what I mean.. Please help./
Attachments
System&gt;Acp&gt;General&gt;
System>Acp>General>
board.GIF (23.3 KiB) Viewed 1346 times
Inside the advertising management
Inside the advertising management
general options.GIF (11.25 KiB) Viewed 1346 times
General tab where it should show
General tab where it should show
general.GIF (7.84 KiB) Viewed 1346 times
Visit http://www.codingtech.net for online coding support free with your account.
Image
Lost_inside
Registered User
Posts: 160
Joined: Wed Dec 30, 2009 12:25 pm

Re: Advertisement Management

Post by Lost_inside »

Ah waste of time doing that^^ just renamed the folder Ads instead of ads
Visit http://www.codingtech.net for online coding support free with your account.
Image
Nightbox
Registered User
Posts: 64
Joined: Thu Jul 09, 2009 10:08 pm

Re: Advertisement Management

Post by Nightbox »

fixed my problem, had to use automod
Nightbox
Registered User
Posts: 64
Joined: Thu Jul 09, 2009 10:08 pm

Re: Advertisement Management

Post by Nightbox »

User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

Re: Advertisement Management

Post by zake black »

Nightbox wrote:http://img706.imageshack.us/img706/6514/sadsdm.jpg
Adsense ads, any idea ?

Post the code you used for the add itself please..
Nightbox
Registered User
Posts: 64
Joined: Thu Jul 09, 2009 10:08 pm

Re: Advertisement Management

Post by Nightbox »

<script type="text/javascript">
<!--google_ad_client = "pub-4670546195522713";
/* 728x90, creat 10.01.2010 */
google_ad_slot = "2027462329";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Here you are
Andria
Registered User
Posts: 3
Joined: Tue May 26, 2009 7:23 am

Re: Advertisement Management

Post by Andria »

Ok, but what if you're not using subsilver or prosilver? I'm using a colorized version of AcidTech, but I still want to have advertisements.

Nevermind. I opened the xml in Firefox and figured it out. Maybe there should be a README1ST.TXT to just say "open the XML in Firefox".

However, there is one thing I still can't find or figure out, and there is absolutely no indication anywhere in the zip file -- where do I upload this? there is no dir called "mods" or "extensions" or anything like that, so where does it go, for me to run install.xml?


-Andria
Lamer4o
Registered User
Posts: 98
Joined: Tue Dec 22, 2009 9:29 pm

Re: Advertisement Management

Post by Lamer4o »

Hello I'm using a melankolia style for my forum and i have problems instaling Advertisement Management to it.Becoas I'm missing some stuff
Like this

Code: Select all

styles/melankolia/template/viewtopic_body.html
Find
<div class="topic-actions">
or these

Code: Select all

Open: styles/melankolia/template/overall_header.html

<div id="page-header">

<a name="start_here"></a>
And finaly these

Code: Select all

styles/melankolia/template/overall_footer.html
		<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
	</div>
I Mean i don't have those Line's in those folder's...I Need help...

P.S.
Everywhere where is "melankolia" it was originally "prosilver"
So i need a little help whit making this work for the theme melankolia
Locked

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