[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

st_jimi
Registered User
Posts: 35
Joined: Thu Aug 10, 2006 7:59 pm

Re: [2.0.17] Inline Banner Ad

Post by st_jimi »

sorry but i cant find the .mod file teeling me how to install?
Image
warezdirectory
Registered User
Posts: 31
Joined: Mon Jun 04, 2007 10:22 pm

Re: [2.0.17] Inline Banner Ad

Post by warezdirectory »

i can't get this part to work.. i can't find it in the tamplate..

Code: Select all

#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
#
#-----[ AFTER, ADD ]------------------------------------------
#
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;
}
#


i am using FI Subice.. can someone please help..
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [2.0.17] Inline Banner Ad

Post by stokerpiller »

I think You can find it in Your template css document. Just add it after the line beginning with:
.helpline

Anyway, I did not add it. It is not necessary.
I am done with phpBB
warezdirectory
Registered User
Posts: 31
Joined: Mon Jun 04, 2007 10:22 pm

Re: [2.0.17] Inline Banner Ad

Post by warezdirectory »

stokerpiller wrote:I think You can find it in Your template css document. Just add it after the line beginning with:
.helpline

Anyway, I did not add it. It is not necessary.

i haven't added it yet, and it sitll doesn't work..
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [2.0.17] Inline Banner Ad

Post by stokerpiller »

Then You must have done something wrong.

Have You done the sql thing?
Have You double checked everything?
Du You have an adblocker that bloks Your ads and therefore You dont see it?
Be more specific.

I am not sure that I can help, but I will give it a try.
I am done with phpBB
warezdirectory
Registered User
Posts: 31
Joined: Mon Jun 04, 2007 10:22 pm

Re: [2.0.17] Inline Banner Ad

Post by warezdirectory »

i testing this mod with subsilver template and it work fine.. but it doesn't work with FI Subice.. i can't find this line..

Code: Select all

#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
[b].helpline { background-color: {T_TR_COLOR2}; border-style: none; }[/b]
#
#-----[ AFTER, ADD ]------------------------------------------
#
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;
}
#

this was there in Subsilver, but not in FI Subice
here is the file that suppose to have this line in it..

Code: Select all

<?xml version="1.0" encoding="{S_CONTENT_ENCODING}"?>
<!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}">
<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>
<link rel="stylesheet" href="templates/fisubice/{T_HEAD_STYLESHEET}" type="text/css" />
<!-- BEGIN switch_enable_pm_popup -->
<script 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>
<a name="top" id="top"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr> 
<td><a href="{U_INDEX}"><img src="templates/fisubice/images/phpbb2_logo.jpg" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="240" height="110" /></a></td>
<td align="center" width="100%">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr> 
<td align="center" class="topnav">&nbsp;<a href="{U_FAQ}">{L_FAQ}</a>&nbsp; &#8226;&nbsp; <a href="{U_SEARCH}">{L_SEARCH}</a>
&nbsp;&#8226; &nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp; &#8226; 
&nbsp;<a href="{U_GROUP_CP}">{L_USERGROUPS}</a>
<!-- BEGIN switch_user_logged_out -->
&nbsp; &#8226; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
<!-- END switch_user_logged_out -->
&nbsp;&#8226; &nbsp;<a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp; &#8226; &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>&nbsp; 
&#8226; &nbsp;<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>
can someone suggest where i should put this..
Good Knowledge
Registered User
Posts: 24
Joined: Thu Jan 04, 2007 11:01 pm

Re: [2.0.17] Inline Banner Ad

Post by Good Knowledge »

st_jimi wrote:sorry but i cant find the .mod file teeling me how to install?
Me too, definitly not in the .zip file I downloaded. Can anybody help me out? :)
Marcie_Eddington
Registered User
Posts: 55
Joined: Fri Dec 22, 2006 7:53 pm

Re: [2.0.17] Inline Banner Ad

Post by Marcie_Eddington »

Awesome /mod,,,
REally helped me out ..
but please see the below link..
iam using saphic 1.5 theme... and i think this mod alters the width of the themes... now my whole forum is disfigured...
as u can see at the top .. the ads which i added by editing overall_footer has not been centered and its vaguely elongated..

please help..
how do i resize this mod to fit correctly into my theme..
thnks for the mod anyway...

http://funisland.110mb.com/phpBB2/viewt ... ?p=702#702
unclestink
Registered User
Posts: 11
Joined: Mon Jun 25, 2007 8:54 pm
Location: Sunny Central Florida
Contact:

Re: [2.0.17] Inline Banner Ad

Post by unclestink »

Is the Inline Banner ad MOD compatible with phpbb 2.0.22? Is there a file or thread that explains EASILY how to install it? For a Newbie Even?
User avatar
masteranu84
Registered User
Posts: 72
Joined: Tue Sep 12, 2006 9:54 am
Location: Malaysia , Klang
Contact:

Re: [2.0.17] Inline Banner Ad

Post by masteranu84 »

unclestink wrote:Is the Inline Banner ad MOD compatible with phpbb 2.0.22? Is there a file or thread that explains EASILY how to install it? For a Newbie Even?
I have a same problem..but on my viewtopic page..all post script error.I has restore back now the mod. What do i do?
Foo
Registered User
Posts: 28
Joined: Thu Oct 30, 2003 10:15 am

Re: [2.0.17] Inline Banner Ad

Post by Foo »

The title says 2.0.17, but I can't find that version. Is 1.0.3 the latest version for this mods?
User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: [2.0.17] Inline Banner Ad

Post by Raimon »

Foo wrote:The title says 2.0.17, but I can't find that version. Is 1.0.3 the latest version for this mods?
2.0.17 is the phpBB version with the mod is tested on, it just works on phpBB version 2.0.22.
And i believe that version 1.0.3 is the latest version of this mod :)
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!
Marcie_Eddington
Registered User
Posts: 55
Joined: Fri Dec 22, 2006 7:53 pm

Re: [2.0.17] Inline Banner Ad

Post by Marcie_Eddington »

i have previuosly asked for help but since there is no response i am replying again

i am running saphic theme 1.5 and since its width is small... ur mod is created for subsilver is making my forum disfigured...

please do help..

how to reduce the width so that it fits into my saphic theme..

please help..
bikespot
Registered User
Posts: 54
Joined: Sat Feb 10, 2007 1:58 am

Re: [2.0.17] Inline Banner Ad

Post by bikespot »

I installed this at my forum everything went ok , but then when i went into the admin panel of the forum to use it.

I went to Ad code area and it comes up with this error

Could not query ad information

DEBUG MODE

SQL Error : 1146 Table 'habbo_phpb1.phpbb_inline_ads' doesn't exist

SELECT a.ad_name, a.ad_id FROM phpbb_inline_ads a

Line : 132
File : admin_inline_ad_code.php
So i went back to the database undid everything i did before and i query this from the install file.
$lang['ad_managment'] = 'Ad Management';
$lang['inline_ad_config'] = 'Inline Ad Config';
$lang['inline_ads'] = 'Inline Ads';
$lang['ad_code_about'] = 'This page lists current ads. You may edit, delete or add new ads here.';
$lang['Click_return_firstpost'] = 'Click %sHere%s to return to Inline Ad Configuration';
$lang['Click_return_inline_code'] = 'Click %sHere%s to return to Inline Ad Code Configuration';
$lang['ad_after_post'] = 'Display Ad After x Post';
$lang['ad_every_post'] = 'Display Ad Every x Post';
$lang['ad_display'] = 'Display Ads To';
$lang['ad_all'] = 'All';
$lang['ad_reg'] = 'Registered Users';
$lang['ad_guest'] = 'Guests';
$lang['ad_exclude'] = 'Exclude These Groups (List by comma-seperated group ID)';
$lang['ad_forums'] = 'Exclude These Forums (List by comma-seperated forum ID)';
$lang['ad_code'] = 'Ad Code';
$lang['ad_style'] = 'Display Style';
$lang['ad_new_style'] = 'Ad looks like a special user post';
$lang['ad_old_style'] = 'Ad falls inline with the topic';
$lang['ad_post_threshold'] = 'Do not display if user has more than x posts (Leave blank to disable)';
$lang['ad_add'] = 'Add New Ad';
$lang['ad_name'] = 'Short name to identify ad';
Now it says the same thing. Can anyone tell me what i did wrong? Thanks
unclestink
Registered User
Posts: 11
Joined: Mon Jun 25, 2007 8:54 pm
Location: Sunny Central Florida
Contact:

Re: [2.0.17] Inline Banner Ad

Post by unclestink »

I gave up on trying to install the inline banner mod. I added html code to the pages to get Google Adsense to work. It doesn't look too bad. U can view at Uncle Stink's Trading Post
Post Reply

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