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
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 »


User avatar
dontcoz
Registered User
Posts: 473
Joined: Mon Sep 29, 2008 9:49 pm
Location: Vancouver, BC
Contact:

Re: Advertisement Management

Post by dontcoz »

thank you!! i hope somebody updates this OP cause it's caused me a stomach ulcer or two, possibly..

anyway, thanks:)

User avatar
dontcoz
Registered User
Posts: 473
Joined: Mon Sep 29, 2008 9:49 pm
Location: Vancouver, BC
Contact:

Re: Advertisement Management

Post by dontcoz »

hi again! it's a great mod and it's working fine except for group permissions to view ads.. i can't set it to have only administrators or mods seeing the ads (not that i'd want that in future), but it seems to work either for all groups or for none type of thing..
and one more lil thing. see this (the bottom of the footer in subsilver):
Picture 2.png
Picture 2.png (15.58 KiB) Viewed 290 times
where can i set "Advertisements by Advertisement Management" to center. prosilver works great but subsilver doesn't center. which file is that in?

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 »

With the mod you can only set which groups you want to hide ads from. If the user is a member of that group that you hide it from they will not be able to see it.

That is outputted with the {ADS_8} in the overall_footer.

User avatar
dontcoz
Registered User
Posts: 473
Joined: Mon Sep 29, 2008 9:49 pm
Location: Vancouver, BC
Contact:

Re: Advertisement Management

Post by dontcoz »

i see:))
that makes sense!! the permissions i mean..

and the ad 8 - ad 8 is fine (you can see it there where it says Lithium Studios.org - that's ad 8)
but the mod signature line is out of center.. if that makes sense

like that same line in prosilver looks like this:
Picture 4.png
Picture 4.png (14.23 KiB) Viewed 293 times
edit: i have a bit of a conflict btwn the font and the b/g color there for the ad 8 but that's ok lol
(so i had to select the ad to show)

edit2: sweet! it worked and you were right! :oops: :oops: :oops:
the ad was centered cause the code i made was with the center tags. thanks!!

Alvedon
Registered User
Posts: 25
Joined: Sun Jul 06, 2008 5:13 pm
Location: Sweden

Re: Advertisement Management

Post by Alvedon »

It dosn´t work.. I´ve done all changes, upload these files, upload included files, Done the SQL-changes (it dosn´t work to create those auto.. And i´ve droped the cache... But what I evan do, the module in ACP dosn´t seen... Yes, I´ve activate it... Somebody who knows the wrong thing? (Sorry for bad english)

Edit: I use subsilver2 and had does that changes...

Edit2: It´s work now.. I didn´t do anything, but it works..

User avatar
dontcoz
Registered User
Posts: 473
Joined: Mon Sep 29, 2008 9:49 pm
Location: Vancouver, BC
Contact:

Re: Advertisement Management

Post by dontcoz »

yup. sometimes it's just magic lol seriously:)

striker16
Registered User
Posts: 42
Joined: Sun Oct 05, 2008 12:36 pm
Contact:

Re: Advertisement Management

Post by striker16 »

ads after first post is not working in black pearl style, If set it to display after first post it displayed before first post. other ads position is working great.

in pro and sub I don't have problem. they work great on those 2 style.
black pearl coding is different
Please Visit and Register to my forum.
IT MILESTONE

jlomaga
Registered User
Posts: 15
Joined: Mon Jun 04, 2007 3:51 am

Re: Advertisement Management

Post by jlomaga »

Ok so nice mod however, it doesn't seem to install correct with AUTOMOD. It goes through the motions but the hmtl and php files don't change.
However installing it myself works fine.

Also and I might find this in the many pages of this thread, is there a way that an ad shows between the original post and first reply, but doesn't disappear when there is then another reply?
It would be OP -> ad->reply->reply->reply-> and so on? Right now the ad is either at the end of the replies or only shows until someone replies.

JohninLA
Registered User
Posts: 207
Joined: Thu Oct 10, 2002 1:14 pm
Location: Los Angeles, CA

Re: Advertisement Management

Post by JohninLA »

jlomaga wrote:Ok so nice mod however, it doesn't seem to install correct with AUTOMOD. It goes through the motions but the hmtl and php files don't change.
However installing it myself works fine.
I agree as far as AutoMOD. It will find the subsilver2 changes, but not Prosilver or the other files. AutoMOD will confirm it installed correctly, but only the subsilver changes take place. Any way to get this to work with AutoMOD?

Thanks!

lucoppo
Registered User
Posts: 1
Joined: Sat Feb 28, 2009 4:17 pm

Re: Advertisement Management

Post by lucoppo »

Hi, i tried to install this interesting mod but when i finished an error occured in my homepage,

Code: Select all

SCHEMA_NOT_EXIST
I tried to find the source of that error and probably I found it.

When I add to include/functions.php these lines:

Code: Select all

// Advertisement Management
	require($phpbb_root_path . 'ads/functions.' . $phpEx);
	setup_ads();
It call ads/functions.php that require ads/update.php to install the MOD. In the update.php file there's my error:

Code: Select all

/**
* Run Queries from file
*/
function run_file_queries($dir)
{
	global $db, $dbmd, $dbms, $table_prefix;

	if ($dbms == 'mysql' || $dbms == 'mysqli')
	{
		if ($dbms == 'mysqli' || version_compare($db->mysql_version, '4.1.3', '>='))
		{
			$dbms_schema = 'mysql_41_schema.sql';
		}
		else
		{
			$dbms_schema = 'mysql_40_schema.sql';
		}
	}
	else
	{
		$dbms_schema = $dbms . '_schema.sql';
	}

	if (!file_exists($dir . $dbms_schema))
	{
		trigger_error('SCHEMA_NOT_EXIST');
	}

	$remove_remarks = $dbmd[$dbms]['COMMENTS'];
	$delimiter = $dbmd[$dbms]['DELIM'];

	$sql_query = @file_get_contents($dir . $dbms_schema);

	$sql_query = preg_replace('#phpbb_#i', $table_prefix, $sql_query);

	$remove_remarks($sql_query);

	$sql_query = split_sql_file($sql_query, $delimiter);

	foreach ($sql_query as $sql)
	{
		$db->sql_query($sql);
	}
}
I checked my mysql version at it is 4.1.22
My php version is 4.3.9


How can i solve the problem?

thanks

reenmachine
Registered User
Posts: 15
Joined: Tue Jan 25, 2005 10:12 pm

Re: Advertisement Management

Post by reenmachine »

I searched and searched and can't find the answer to this, so please help:

I am using prosilver SE. The file "viewtopic_body.html" does not seem to exist like it does in prosilver. The rest of the installation went smoothly and the mod works in my ACP but of course the ads don't show up.

Help! TIA

EDIT: I'm getting closer...an inheritance thing...

EDIT 2: meh....just switched over to regular prosilver just to see if I could get it to work and I can't...no error messages and the ACP end of it seems just right, but no ads appear. :cry:

reenmachine
Registered User
Posts: 15
Joined: Tue Jan 25, 2005 10:12 pm

Re: Advertisement Management

Post by reenmachine »

reenmachine wrote:I searched and searched and can't find the answer to this, so please help:

I am using prosilver SE. The file "viewtopic_body.html" does not seem to exist like it does in prosilver. The rest of the installation went smoothly and the mod works in my ACP but of course the ads don't show up.

Help! TIA

EDIT: I'm getting closer...an inheritance thing...

EDIT 2: meh....just switched over to regular prosilver just to see if I could get it to work and I can't...no error messages and the ACP end of it seems just right, but no ads appear. :cry:
UPDATE:

I've gone through the installation again and again and everything looks correct. I made the file changes to both prosilver and prosilver SE.

The Advertisement Management tool is there in the ACP and seems to function as it should.

No ads show up on my site.

I have both a simple test ad: <a href="http://www.roadrunnersrc.com">Roadrunners RC Club</a>

...and a banner ad: <a href="http://www.teamtekin.com/rs.html"><img src="http://teamtekin.com/webbanners/RS_banner_3.gif" border="0">

Yes, they are enabled. Any ideas??? :?: :?:

reenmachine
Registered User
Posts: 15
Joined: Tue Jan 25, 2005 10:12 pm

Re: Advertisement Management

Post by reenmachine »

reenmachine wrote:
reenmachine wrote:I searched and searched and can't find the answer to this, so please help:

I am using prosilver SE. The file "viewtopic_body.html" does not seem to exist like it does in prosilver. The rest of the installation went smoothly and the mod works in my ACP but of course the ads don't show up.

Help! TIA

EDIT: I'm getting closer...an inheritance thing...

EDIT 2: meh....just switched over to regular prosilver just to see if I could get it to work and I can't...no error messages and the ACP end of it seems just right, but no ads appear. :cry:
UPDATE:

I've gone through the installation again and again and everything looks correct. I made the file changes to both prosilver and prosilver SE.

The Advertisement Management tool is there in the ACP and seems to function as it should.

No ads show up on my site.

I have both a simple test ad: <a href="http://www.roadrunnersrc.com">Roadrunners RC Club</a>

...and a banner ad: <a href="http://www.teamtekin.com/rs.html"><img src="http://teamtekin.com/webbanners/RS_banner_3.gif" border="0">

Yes, they are enabled. Any ideas??? :?: :?:
Got it working. Purged the cache of everything in there but index.htm.

Was this the right thing to do? Will it screw something else up? There were a ton of files in there (I backed them up).

Would have been nice if this step were mentioned in the instructions. I spent hours chasing a 10 second fix.

kimbob
Registered User
Posts: 1
Joined: Sun Mar 01, 2009 1:46 am

Re: Advertisement Management

Post by kimbob »

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3664: require(./ads/functions.php) [function.require]: failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required './ads/functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kimbob/public_html/includes/functions.php on line 3664

Any Ideas?

Locked

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