[2.0.17] Inline Banner Ad

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

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
86
60%
Very Good
26
18%
Good
18
13%
Fair
4
3%
Poor
9
6%
 
Total votes: 143

User avatar
phoenixdynasty
Registered User
Posts: 68
Joined: Sun May 07, 2006 5:32 pm
Location: Philippines
Contact:

Post by phoenixdynasty »

Got it. thanks for the patience.

hotmale
Registered User
Posts: 70
Joined: Fri Dec 31, 2004 8:18 pm
Contact:

Post by hotmale »

Quick question. Does this work well with latest phpBB and Google AdSense?

groundfighter
Registered User
Posts: 1909
Joined: Sat Nov 08, 2003 2:15 am
Location: Las Vegas, NV
Contact:

Post by groundfighter »

hotmale wrote: Quick question. Does this work well with latest phpBB and Google AdSense?


Yes excellent together.

hotmale
Registered User
Posts: 70
Joined: Fri Dec 31, 2004 8:18 pm
Contact:

Post by hotmale »

Thanks
Tech news, software updates and computer help forums
http://www.techjunkeez.com/

go99live
Registered User
Posts: 206
Joined: Mon May 01, 2006 7:18 pm
Contact:

Post by go99live »

does any one know how to change the background color of the inline ad mod.i changed the skin of my template and for over 3 days ive been tryn to change the color it but cant correctly find the code to edit can some one please help.if u dont understand what i am saying please check this link

http://pcpartner.us/viewtopic.php?t=225

thanks

groundfighter
Registered User
Posts: 1909
Joined: Sat Nov 08, 2003 2:15 am
Location: Las Vegas, NV
Contact:

Post by groundfighter »

The actual ad colors are determined by the settings you select from google. I use a graphics editor to change the ads hex codes to my own hex codes that more closely match my forum vs the ones google supplies.

wideawake
Registered User
Posts: 124
Joined: Thu May 04, 2006 10:35 am

HELP!

Post by wideawake »

ok so I have read through the threads on this topic. I read that there is probelms with this mod in some themes. And this is why Im writing. I am having this probelm in the theme Cobalt 2.0, the mods I already have installed are the changestyle mod, attachment mod, flash mod, and this one. When looking at the ads in the cobalt theme it screws up format and poll format. I get the ads just no seperation lines. Heres a screen shot of what its supposed to look like. Image and heres a screenshot of what it looks like Image I edited the viewtopic_body.tpl but didnt edit the overall_header.tpl because I couldnt find the

Code: Select all

.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
in my Cobalt 2.0 overall_header.tpl. The overall_header.tpl for Cobalt 2.0 with my mods besides the inline ad mod looks like this

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>

<!--

  NOTICE

  Cobalt template by Jakob Persson.	  
  
  This template is publicly available for use with the phpBB forum software (http://www.phpbb.com).
  
  This template is copyright (c) 2002-2004 Jakob Persson
  
  Template ID: KhtkAeytMupoUmTL8RpDVnhddWDnq3AmeW5c  				  
  
  Removal or alteration of this notice is strongly prohibited.

-->

<link rel="stylesheet" href="templates/Cobalt/{T_HEAD_STYLESHEET}" type="text/css">

<!-- BEGIN switch_enable_pm_popup -->

<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>

<!-- END switch_enable_pm_popup -->

</head>
<body bgcolor="#0071AE" text="#FFFFFF" link="#FFFFFF" vlink="#9CCEFF">

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

<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
	<tr>
		<td width="0%" class="mainboxLefttop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
		<td width="100%" class="mainboxTop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
		<td width="0%" class="mainboxRighttop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>		  	
	</tr>
	<tr> 
		<td width="0%" class="mainboxLeft"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
		<td width="100%" class="mainbox">
	
			<table width="100%" cellpadding="16" border="0">
				<tr>
					<td>	
		
						<table width="100%" cellspacing="0" cellpadding="0" border="0">
							<tr> 
								<td valign="top"><a href="{U_INDEX}"><img src="templates/Cobalt/images/logo_phpbb.jpg" border="0" alt="{L_INDEX}" vspace="1" width="224" height="96" /></a></td>
								<td align="center" width="100%" valign="top">
								
									<span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}</span><br /><br>
				
									<table border="0" cellpadding="0">
										<tr> 
											<td align="center" valign="middle" nowrap class="mainmenu">
												<table border="0" cellspacing="0"><tr><td><a href="{U_FAQ}"><img src="templates/Cobalt/images/icon_mini_faq.gif" width="22" height="22" border="0" alt="{L_FAQ}" /></a></td><td style="padding-right: 7px" class="mainmenu"><a href="{U_FAQ}">{L_FAQ}</a></td></tr></table>							
											</td>
											<td align="center" valign="middle" nowrap class="mainmenu">
												<table border="0" cellspacing="0"><tr><td><a href="{U_SEARCH}"><img src="templates/Cobalt/images/icon_mini_search.gif" width="22" height="22" border="0" alt="{L_SEARCH}" /></a></td><td style="padding-right: 7px" class="mainmenu"><a href="{U_SEARCH}">{L_SEARCH}</a></td></tr></table></a>
											</td>
											<td align="center" valign="middle" nowrap class="mainmenu">
												<table border="0" cellspacing="0"><tr><td><a href="{U_MEMBERLIST}"><img src="templates/Cobalt/images/icon_mini_members.gif" width="22" height="22" border="0" alt="{L_MEMBERLIST}" /></a></td><td style="padding-right: 7px" class="mainmenu"><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></td></tr></table></a>
											</td>
											<td align="center" valign="middle" nowrap class="mainmenu">							
												<table border="0" cellspacing="0"><tr><td><a href="{U_GROUP_CP}"><img src="templates/Cobalt/images/icon_mini_groups.gif" width="22" height="22" border="0" alt="{L_USERGROUPS}" /></a></td><td style="padding-right: 7px" class="mainmenu"><a href="{U_GROUP_CP}">{L_USERGROUPS}</a></td></tr></table></a>
											</td>
											<!-- BEGIN switch_user_logged_out -->
											<td align="center" valign="middle" nowrap class="mainmenu">
												<table border="0" cellspacing="0"><tr><td><a href="{U_REGISTER}"><img src="templates/Cobalt/images/icon_mini_register.gif" width="22" height="22" border="0" alt="{L_REGISTER}" /></a></td><td tyle="padding-right: 7px" class="mainmenu"><a href="{U_REGISTER}">{L_REGISTER}</a></td></tr></table></a>
											</td>
											<!-- END switch_user_logged_out -->											
										</tr>
									</table>
									
									<table border="0" cellpadding="0">
										<tr>
											<td align="center" class="mainmenu" valign="middle" nowrap class="mainmenu">							
											    <table border="0" cellspacing="0"><tr><td class="mainmenu"><a href="{U_PROFILE}" class="mainmenu"><img src="templates/Cobalt/images/icon_mini_profile.gif" width="22" height="22" border="0" alt="{L_PROFILE}" /></a></td><td class="mainmenu" style="padding-right: 7px"><a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a></td></tr></table>
											</td>
											<td align="center" class="mainmenu" valign="middle" nowrap class="mainmenu">											
												<table border="0" cellspacing="0"><tr><td class="mainmenu"><a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/Cobalt/images/icon_mini_message.gif" width="22" height="22" border="0" alt="{PRIVATE_MESSAGE_INFO}" /></a></td><td class="mainmenu" style="padding-right: 7px"><a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a></td></tr></table></a>
											</td>
											<td align="center" class="mainmenu" valign="middle" nowrap class="mainmenu">
												<table border="0" cellspacing="0"><tr><td class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/Cobalt/images/icon_mini_login.gif" width="22" height="22" border="0" alt="{L_LOGIN_LOGOUT}" /></a></td><td class="mainmenu" style="padding-right: 7px"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></td></tr></table></a>
											</td>
																					
										</tr>
									</table>
							  		<table border="0" cellpadding="0">
										<tr>
										<td align="center" class="mainmenu" valign="middle" nowrap class="mainmenu">
												<table border="0" cellspacing="0"><tr><td class="mainmenu"><a href="http://wap.ppcgeeks.com" class="mainmenu"><img src="templates/Cobalt/images/icon_mini_register.gif" width="22" height="22" border="0" alt="WAP Version" /></a></td><td class="mainmenu" style="padding-right: 7px"><a href="http://wap.ppcgeeks.com" class="mainmenu">WAP Version</a></td></tr></table></a>
											</td>										
										</tr>
									</table>

						
						</td>
					</tr>
				</table>
				
<br />
THANKS FOR ANY HELP IN ADVANCED
Mike

wideawake
Registered User
Posts: 124
Joined: Thu May 04, 2006 10:35 am

HELP!

Post by wideawake »

*edit* double post my bad

wideawake
Registered User
Posts: 124
Joined: Thu May 04, 2006 10:35 am

Post by wideawake »

:?: anyone? :?: The background doesnt show up with this mod, in cobalt 2.0 as u can tell from the pix above anyone know how to fix? :?:

go99live
Registered User
Posts: 206
Joined: Mon May 01, 2006 7:18 pm
Contact:

Post by go99live »

i meant to change the color i have mentioned below

Image

can some one help me :(

wideawake
Registered User
Posts: 124
Joined: Thu May 04, 2006 10:35 am

Post by wideawake »

ok so I edited the overall_header.tpl or actually that info was located in the cobalt.css , so I added it there and this is what it now looks like.
Image
still having probelms with the background not showing up behind posts and the divider bar.

wideawake
Registered User
Posts: 124
Joined: Thu May 04, 2006 10:35 am

Post by wideawake »

go99live wrote: i meant to change the color i have mentioned below

Image

can some one help me :(



did edit the overall_header.tpl and add

Code: Select all

td.inlineadtitle {
	background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; border-width: 1px;
}
td.inlinead {
	background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; border-width: 1px; text-align: center;
}
? or did you have to edit the .css file like I did?

go99live
Registered User
Posts: 206
Joined: Mon May 01, 2006 7:18 pm
Contact:

Post by go99live »

i edited the overall_header.tpl doesnt seem to work :(

chris3471
Registered User
Posts: 157
Joined: Wed Dec 07, 2005 8:32 pm

Post by chris3471 »

This sounds like a great mod but does anyone know if there's a way to make it have random placement?

I mean not always place the ad after the same post, like on loading the page place it after the first post but then the next time the page is loaded place it somewhere else like third post, 5th post ect..

go99live
Registered User
Posts: 206
Joined: Mon May 01, 2006 7:18 pm
Contact:

Post by go99live »

chris3471 wrote: This sounds like a great mod but does anyone know if there's a way to make it have random placement?

I mean not always place the ad after the same post, like on loading the page place it after the first post but then the next time the page is loaded place it somewhere else like third post, 5th post ect..


yep u can change it at the control pannel :D

Post Reply

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