forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Sami on June 26, 2006, 04:14:14 pm

Title: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 26, 2006, 04:14:14 pm
This is a advertisement plugin for coppermine
Copper Adv1.2.4 (Stable)
   2006/08/06 - 05:30 GMT

Feature
======
- It has 3 banner type (picture/flash/html)
- It's using iframe to put your banner on page
- It didn't use anycontent
- Position of banners is configurable (after sys menu,after sub menu,Multi banner)
- Iframe will use Height & width of banner, suggested by PYAP
- you can Enable/Disable banners,suggested by tfischer
- French translation (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=33151.0;attach=4301) by PYAP
- Italian  translation (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=33151.0;attach=4307) by lontano

Known Issue
=====
- Some theme do not work with "after sys menu" or "after sub menu"

Fixes
=====
-   Bug in Uninstallation system , found by GordonRaboud


- Check it ! and give me feedback

I use some code from Paver and donoman's plugins
Special thanks to Paver ,donoman for their good documenting

Direct Download (http://www.kishmate.com/cpgcont/cpa124.zip)   Demo (http://lab.kishmate.com/gallery144)


[Edit GauGau 2010-03-03]
This plugin has been added to the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.4.x/plugins/copper_ad

It has been updated as well to reflect the version checking routines in the plugin manager that are meant to make sure that galleries don't break because of plugins installed that aren't meant for that particular version of the gallery.

Download: https://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_copper-ad_v1.2.5.zip/download
[/Edit]
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Paver on June 26, 2006, 05:13:51 pm
Looks good.  I haven't used it much yet, but I have noticed a few typos on the configuration page:

Looks nice & easy to configure from what I've seen so far.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Davide Renda on June 26, 2006, 09:31:57 pm
Where are the banners put in the page? I'm experiencing conflicts installing it (Internal Server Error) on a modded (the Stramm's modpack) 1.4.8 CPG gallery using Oranje theme.
A part from the error, it seems enlarge the page to the left, hence why I ask where the iFrame containing banners is put.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 27, 2006, 12:45:04 am
@lontano:sorry, plugin is made to use with standard theme not moded theme ,
let see and check your issue:
plugin has 3 positioning configuration:
1.after sys menu , it add it self (iframe) to "$template_sys_menu" variable (work with most of themes)
2.after sub menu , it add it self to "$template_sub_menu" variable (work with most of themes)
3.multi banner , it add it self after each "<!-- End standard table -->" but you can limit the number of apearance

by default (when install) positioning is set to 1

I'll check stramm theme structure to find conflict ...and I'll correct this if possible
anyway thank you for feedback
@Paver:thank you for your answer ,much appreciate,I'll correct those ... but let see, is there any other issue?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: tfischer on June 27, 2006, 04:49:18 am
I'm trying to set this up to work with Google Adsense (previously I used anycontent.php and hacked the album and thumb pages to have them display anycontent as well).

When I go to delete any add from the banner list page, I get "There is only one banner on your databse and it can't be deleted!!!".  There are currently FOUR ads in the banner list -- the three originals, plus the one I created for Google Adsense.

Am I missing something?  I didn't notice any user docu, so if there is some, I apologize and ask that you point me to it...

-Tim
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 27, 2006, 06:12:54 am
thank you :)
fix now on ver 1.1
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on June 27, 2006, 11:07:10 am
Morning Borzoo,

I can not install your Copper-Ad  ???
I receive this alert :
Critical error
There was an error while processing a database query


Install stop just after :
Configure plugin: Copper ad
Click button to install plugin.
Configure plugin using button on Admin toolbar.
INSTALL


Because i'm french see inside my attached file (1.2.1) French.php (for Copper-Ad 1.2.2 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=33151.0;attach=4301)  ;D
Look carefully in this translation because french &egrave; etc. characters  ???

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 27, 2006, 11:41:26 am
can you check it on debug mode?
on installation stage it's run "schema.sql"
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on June 27, 2006, 12:05:00 pm
Borzoo,

I know, i need to replace with this in schema.sql.
ENGINE=MyISAM; by TYPE=MyISAM; :
Code: [Select]
CREATE TABLE IF NOT EXISTS `cpg143_plugin_copperad` (
  `adv_id` int(10) unsigned NOT NULL auto_increment,
  `kind` int(1) unsigned NOT NULL default '1',
  `address` varchar(255) NOT NULL default 'Only if its picture or flash',
  `height` int(4) unsigned NOT NULL default '100',
  `width` int(4) unsigned NOT NULL default '780',
  `linkto` varchar(255) NOT NULL default 'index.php',
  `alt` varchar(255) NOT NULL default 'Advertisement',
  `html` text NOT NULL,
  `showd` int(1) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default 'Copper Ad default name',
  PRIMARY KEY  (`adv_id`)
) TYPE=MyISAM;

And replace cpg_plugin_copperad by my own cpg143_plugin_copperad (in other file too)
Copper-Ad work nice now  ;D


Finally, my French Translation (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=33151.0;attach=4301)work fine too  :o
For INSTALL and others  ;)
 ;)

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 27, 2006, 01:09:33 pm
- okey the first issue ENGINE=>TYPE fix now
- the secound is not really an issue , on installation proccess , plugin will change CPG_ with your prefix ;)
- thank you for feedback & translation
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on June 27, 2006, 02:27:12 pm
Borzoo,

I'm OK for All.
But if I need a smaller banner than 100x780 px ?
Then, i am obliged to modify my database, and also codebase.php
Search and replace  (height)(width) values :
Code: [Select]
<iframe align="middle" frameborder="0" height="YOUR-VALUE" id="adver" marginheight="0" marginwidth="0" name="adver"  scrolling="no" src="banner.php" width="YOUR-VALUE">
Table on DB : your cpg_plugin_copperad (height)(width)

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 27, 2006, 02:43:12 pm
:)
okey , I'll make it dynamic(take height & width from banner properties) on next ver
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 27, 2006, 04:53:31 pm
Now you have a dynamic Iframe ...
new ver 1.2.1 ::)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: tfischer on June 28, 2006, 04:45:42 am
Got it working!  Thanks for a great plugin.

A quick feature request:
- On the Banner List page, it would be nice to have a checkbox, or some other way to enable and disable ads without deleting and recreating them.  That way, we could have differnet ads ready to run as necessary, e.g. a seasonal sale ad that could be activated only during the sale.

Thanks,
-Tim
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 28, 2006, 01:00:51 pm
@tfischer:It's done
@PYAP:check the lang file ;)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on June 28, 2006, 03:17:30 pm
Borzoo,

Look at attached file : FRENCH.PHP for Copper-Ad 1.2.2 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=33151.0;attach=4301)

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 28, 2006, 03:51:57 pm
Package Updated by french.php Lang
Thank you PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on June 28, 2006, 04:38:42 pm
Borzoo,

Because my host do'nt allow CHMODed at all, i need to "comment by PYAP" some lines in codebase.php
Code: [Select]
// Install Plugin
function copperad_install()
{
global $CONFIG, $lang_plugin_copperad, $lang_plugin_copperad_config, $thisplugin;
require ('plugins/copper_ad/include/init.inc.php');
if ($_POST['submit']==$lang_plugin_copperad_config['button_install']) {
require 'include/sql_parse.php';
    // Copy needed file and ADV directory
// COMMENT BY PYAP copy($thisplugin->fullpath."/banner.php.sample","banner.php") or cpg_die(ERROR, $lang_plugin_copperad_config['permission'], __FILE__, __LINE__);
// COMMENT BY PYAP copy($thisplugin->fullpath."/bannermgr.php.sample","bannermgr.php") or cpg_die(ERROR, //COMMENT BY PYAP $lang_plugin_copperad_config['permission'], __FILE__, __LINE__);
// COMMENT BY PYAP mkdir('adv') or cpg_die(ERROR, $lang_plugin_copperad_config['permission'], __FILE__, __LINE__);
// COMMENT BY PYAP mkdir('adv/pic') or cpg_die(ERROR, $lang_plugin_copperad_config['permission'], __FILE__, __LINE__);
// COMMENT BY PYAP mkdir('adv/flash') or cpg_die(ERROR, $lang_plugin_copperad_config['permission'], __FILE__, __LINE__);
// COMMENT BY PYAP copy($thisplugin->fullpath."/adv/pic/copperad.jpg","adv/pic/copperad.jpg") or cpg_die(ERROR, $lang_plugin_copperad_config['permission'], __FILE__, __LINE__);
copy($thisplugin->fullpath."/adv/flash/copperad.swf","adv/flash/copperad.swf") or cpg_die(ERROR, $lang_plugin_copperad_config['permission'], __FILE__, __LINE__);
I need also to place by hand in my Gallery's root http:// myCPG/ this two files banner.php.sample and bannermgr.php.sample (remane banner.php and bannermgr.php)

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Davide Renda on June 28, 2006, 11:58:20 pm
On the readme file you ask to chmod de gallery folder to 777, install the plugin, and re-chmod back to 755 (only the folder); what about galleries directly installed in the root directory (like mine)?
May this be the server error I am facing while trying to install this plugin?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: tfischer on June 29, 2006, 06:09:02 am
Thanks for adding the enable/disable feature so quickly! 

Here's a few more issues I noticed:

- When upgrading to 1.2.2, I lost all my settings and ads, even though I said "don't remove the table" when uninstalling the old version.  Not a big deal at this point, but would be a major pain if someone set up lots of ads and wanted to upgrade.  (steps:  uninstall old, delete old folder, ftp new folder, reinstall).

- When enabling/disabling ads on the Banner List page, after submitting the changes, there is a line of SQL debugging code at the top of the screen.  Not a big deal since an end user should never see this.

- The "after sys menu" option doesn't look good with the "Rainy Day" theme.  I think this is known, but just wanted to make sure.

- When creating a new HTML ad, there's no way to set the height and width.  You need to go back and edit these values in the Banner List page.

- Not sure if this is under your control or not -- but a few screens (e.g. Create New) take you back to the home page when submitting changes.  It would be nicer to have it take you to the CopperAd page.

Hope this is helpful...  Thanks again for a great plugin!
-Tim
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Stramm on June 29, 2006, 06:51:37 am
I was nosy and gave your mod a try. Nice :)
But I couldn't see a problem with the modpack. All works smooth on my test install (no internal server error)

The only issue I've seen is with right hand or left hand menus. But that you can't press eg. a 480px image in a 130px width menu should be clear to everyone. Therefore I'd say lontanos problem has some other source.

Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on June 29, 2006, 03:06:20 pm
Hi Borzoo,

Since I installed Copper-Ad v1.2.2, my Coppermine seems to have some problems to access to my DataBase!
 Here's the regularly posted message error :
     Coppermine critical error:
     Unable to connect to database !
     MySQL said: Lost connection to MySQL server during query


Any idea ?

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 29, 2006, 06:12:49 pm
sorry for late answer ;)

@ lontano:
Quote
what about galleries directly installed in the root directory (like mine)?
May this be the server error I am facing while trying to install this plugin
if you think this was your issue then lets try Manual installation
- you need to edit codebase.php and comment line 40~46 (all copy and mkdir) then try to install
- after installation you should manualy copy "banner.php.sample" and "bannermgr.php.sample" to your root gallery folder and then remove ".sample" extention from them


@tfischer:
Quote
When upgrading to 1.2.2, I lost all my settings and ads, even though I said "don't remove the table" when uninstalling the old version.  Not a big deal at this point, but would be a major pain if someone set up lots of ads and wanted to upgrade.  (steps:  uninstall old, delete old folder, ftp new folder, reinstall).
oops ! yes you are right it's my mistake I have "drop if exist" on schema.sql so even if you don't remove table on uninstall proccess , the installation proccess will remove !!! them ...(I'm working on that to fix it on next ver)

Quote
When enabling/disabling ads on the Banner List page, after submitting the changes, there is a line of SQL debugging code at the top of the screen.  Not a big deal since an end user should never see this.
yea , it's for my sql checking I forgot to comment that  :P it's done on 1.2.3

Quote
When creating a new HTML ad, there's no way to set the height and width.  You need to go back and edit these values in the Banner List page
it's done ;)
on 1.2.3

Quote
Not sure if this is under your control or not -- but a few screens (e.g. Create New) take you back to the home page when submitting changes.  It would be nicer to have it take you to the CopperAd page
I'm working on that ...

You are great ,thank you for you information and experince.

@stramm:
thank you for your reply I don't use modpack , I was going to install it to see the issue , so there is no problem with Copper Ad and ModPack ::)

@PYAP:
Copper Ad execute 3 query each time to populate banner, I don't think it's CPA Issue but let see if anyone have this problem too!
you can disable CPA and check if you got that error again ...

Thank you All for your time and sharing your experince with Plugin , CPA 1.2.3 is under way it will be here soon ;)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Davide Renda on June 29, 2006, 09:32:47 pm
After manual install all works fine! I can confirm Stramm's Mod does not interfere with this plugin.
See plugin at work HERE (http://www.daviderenda.com)

Great great work. Thank you! :D :D

PS. My little contribution, italian translation attached here
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 30, 2006, 12:10:42 am
Copper Ad v1.2.3 (Stable)
Is ready...

@lontano:Thank you for translation and nice site ;)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on June 30, 2006, 12:51:03 am
Borzoo,

I forgot to say your Cooper-Ad is on our French Board :
http://forum.coppermine-gallery.net/index.php?topic=33226.0

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on July 04, 2006, 11:19:04 pm
Borzoo,

[03 july 2006]
Quote
Copper Ad execute 3 query each time to populate banner, I don't think it's CPA Issue but let see if anyone have this problem too!
you can disable CPA and check if you got that error again ...
Oh so sorry , there's no error with your plugin... it's only on my host. All work nice now. Host SQL / Maintenance only  ;)
[/]

Thanx a lot for all

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on July 05, 2006, 05:37:03 am
Thank you PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Pascal YAP on July 23, 2006, 02:43:42 am
Hi Borzoo,

For some reasons, i try to make my Gallery OffLine for some days.
And Copper-Ad do not work at all !
Zero banner is on the screen  ???

Is there a known issue ?
Thank's

PYAP
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on July 23, 2006, 06:12:18 am
Expected behaviour: when set to offline, plugins get disabled (as plugins are multi-purpose and could be used to display actual content from coppermine, which would be a bad idea if it is offline). Haven't actually looked into the plugin itself, so I'm just judging from my basic understanding how coppermine works. Wouldn't make sense to display ads on pages that have no real content.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on July 23, 2006, 08:16:05 am
as gaugau said this is expected ,banner.php couldn't show actual ad beacause of offline mode (init.inc.php automaticly overwrite offline message on banner.php)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: killyouall on July 29, 2006, 07:59:19 pm
havent installed it yet i was wondering does it suport mutiple adds? lets say you have Mandortoy adds in one place but then you also want to add a banner can you do that?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on July 29, 2006, 09:48:47 pm
yes you can have multiple add
you should set status of plugin to Enable(multi location)
and then set How many times you want the banner appears
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: GordonRaboud on August 02, 2006, 04:11:03 pm
First thanks for the plug-in.  It is just what I was looking for.
I installed the plug-in and noted that it seemed to ruin the look of the web page, so I uninstalled it, choosing NOT to remove the database.  Then I tried to re-install the plug-in and it would die with the following error: "please CHMOD your gallery folder to 777 (only gallery folder not the files and directory in it)".  The gallery folder was already set with permissions at 777 (RWX for user, group and world).

I commented out lines 40 to 58 (the copy needed files and the create database sections) and the install would complete.  However, I wasn't able to get the default pics and flash ads to show correctly and reliably until I entered the full URI.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on August 02, 2006, 04:41:59 pm
Sorry but it's a bug !!!
I forgot to correct it on last version
You need to uninstall the plugin agian and this time also remove database , then look for banner.php and bannermgr.php and delete them too , and also delete adv folder if you have it
then reinstall plugin and create your ad again !
- I'm working on that bug and I'll release new version soon
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on August 06, 2006, 07:46:50 am
Copper Ad v1.2.4 (Stable)
Is ready...

Uninstallation System bug fixed

@GordonRaboud:Also there is an option ( under copper ad=>Configuration=>Status of Plugin ) to temporary disable plugin ;)

@All: Soon you can enjoy AJAX version of this plugin without IFRAME
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: terrorhawk on August 13, 2006, 10:33:14 am
Hey.

I realy like this mode. i aslo created a small file sow i can track the banner clicks.
Its not perfect but hey it works a bit :P
It still has allot of bugs mut maby the iedee is good enough the implant it

file named out.php in coppermine root
Code: [Select]
<?PHP
define('IN_COPPERMINE', true);
define('INDEX_PHP', true);
require('include/init.inc.php');
$script =  $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"];
if ($_GET['site']) {
$site = $_GET['site'];
$sql1 = 'SELECT * FROM `cpg11d_clicks` WHERE `Naam` = "' . $site . '" LIMIT 1';
$result1 = cpg_db_query($sql1) ;
$record = mysql_fetch_assoc($result1);
$clicks = $record['clicks'];
$location = $record['url'];
$id = $record['id'];
mysql_free_result($result1);
$clicks = $clicks + 1;
$sql = 'UPDATE `cpg11d_clicks` SET `clicks` = ' . $clicks . ' WHERE `id` = ' . $id . ' LIMIT 1';
$result = cpg_db_query($sql) ;
mysql_free_result($result);
header("Location: $location/");
exit;
}
?>


The sql table looks like this

Code: [Select]
CREATE TABLE `cpg11d_clicks` (
  `id` int(4) NOT NULL auto_increment,
  `Naam` varchar(255) NOT NULL default '',
  `url` varchar(255) NOT NULL default '',
  `clicks` int(10) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

Feel free to modify this. The only way to add data to it right now is with phpmyadmin. and thats btw also the only way to see the clicks counter.
If u like it feel free to make it better but please add the code here sow we all can enjoy it.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: yacenty on August 25, 2006, 10:09:33 pm
Hi guys,
I was looking but I couldn't find it :(
is it possible to display google adsense 90% of my all advertisements and 10% for another company? Are there any options to set this requirement?

Best regards,
YacentY
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on August 25, 2006, 10:53:14 pm
Google adsense code can easily be added to template.html, there's no need to use this plugin.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: yacenty on August 26, 2006, 09:26:35 am
there is sense to use it,
I would like to present 100,000 times banner of Company X and after that I would like to show AdSense.
Another situation, I would like to present 2times AdSense then 3times Company X and againg AdSense and again Company X,
is it clear what I would like to achive?

best regards,
YacentY
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on August 26, 2006, 11:41:02 am
I understand that, but you're actually requesting a new feature, as your request is simply beyond the scope of this plugin. Feature requests shouldn't be discussed in detail on mod threads, as they clutter the thread for others. If you need this added feature that badly, you're allowed to say so, but don't expect answers. The author of the plugin (or someone else) may come up with a solution in the future, but there's no guarantee. If you need the added feature now badly, code it yourself or hire someone to code it for you.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: yacenty on August 26, 2006, 01:04:14 pm
@GauGau: I asked if that feautre is already implemented - this is thing that would be nice to have, it is not implemented - ok no big problem for me, I will ask for it in Feature request :) thanks for explanation

Best regards,
Yacenty
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: omf on September 04, 2006, 07:54:08 pm
Hey

I am having a problem getting the plugin to work:

I get this error message when trying to install the plugin to a clean cpg 1.4.9



Fatal error: copperad_install(): Failed opening required 'plugins/copper_ad/include/init.inc.php' (include_path='.:/php/includes:/usr/local/share/pear:/usr/local/lib/php/pear') in /usr/local/psa/home/vhosts/coversnow.com/httpdocs/plugins/copper_adv_124/codebase.php on line 36


Any tips?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on September 04, 2006, 09:14:35 pm
rename the copper_adv_124 folder to copper_ad and you'll be fine ;)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: omf on September 04, 2006, 09:47:20 pm
rename the copper_adv_124 folder to copper_ad and you'll be fine ;)

thanks

it worked perfectly...
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: luminous on September 05, 2006, 04:46:41 pm
I am trying to use a clicksor add... and it does not work.. its javascript.. any ideas?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on September 05, 2006, 04:54:34 pm
I don't know what is the clicksor
please give me more information and provide an example of code you want to put for adv
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: luminous on September 05, 2006, 06:31:52 pm
Code: [Select]
<script type='text/javascript'>
<!--



//default banner house ad url
clicksor_default_url = '';

clicksor_layer_border_color = '#000033';
clicksor_layer_ad_bg = '#000033';
clicksor_layer_ad_link_color = '#FF6666';
clicksor_layer_ad_text_color = '#FFFF66';
clicksor_text_link_bg = '';
clicksor_text_link_color = '#FF6666';

clicksor_enable_text_link = true;



//-->
</script>
<script type='text/javascript' src='http://ads.clicksor.com/bannerad.php?BLALBALBAL&adtype=1'></script>

<noscript><a href='http://www.clicksor.com/internet_advertising.php'>advertising</a></noscript>

looks like this
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on September 05, 2006, 06:48:38 pm
used attached file instead of yours
- unzip (& over-write) banner.php to the root of gallery
- create new banner with HTML as a Type of Advertisement and put your code under box
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: luminous on September 05, 2006, 06:58:27 pm
It does not let me overwrite, operation not permited. I tried to chmod banner.php but it does not let me do that either.

edit. was some other related problem. Now it works like a charm, thanks allot. + very fast reply. A+
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on September 05, 2006, 07:03:38 pm
- Set Status of Plugin to Disable and try again
- if it doesn't work , it means that the file is already in used ( it is open with someones [probably you !] browser )
in this case ask your host to remove it for you !
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: wrightcoast on October 04, 2006, 05:08:11 am
I'm having problems installing the latest version of Copper_ad.
I've changed the folder name to Copper_ad and try to do the install, but when I do I keep getting the following error message, and the only way to get rid of it is to remove the copper_ad folder from the server

While executing query "SELECT * FROM cpg_copperad_config" on 0
mySQL error: Table 'xxxxxxxxxxx_coppermine2.cpg_copperad_config' doesn't exist


the original copper_ad was working before I tried to upgrade to the latest, and also upgraded to the latest version of coppermine.

is the answer as simple as creating a new table? not that I know how to do that, but I know where to go to do it.

thanks in advance,
john
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 04, 2006, 06:25:16 am
- Romove xxx_plugin_copperad from db
- Remove plugin from xxx_plugins
- Remove cpa_enable from xxx_config table
and then install it again

[edit]
Side note:
For everyone how have this issue:
- if you want to use new version of plugin , first uninstall the old one by using plugin manager and then copy new plugin and install it
- Never unistall a plugin manualy (by removing it from xxx_plugins table) unless requested
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: wrightcoast on October 04, 2006, 12:13:00 pm
Thank you Sami!

everything is working again.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Davide Renda on October 08, 2006, 11:38:00 pm
italian translation attached - unzip and upload file in the lang directory of the plugin
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 09, 2006, 05:40:49 am
Thank you lontano , I'll add it to the pack
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 17, 2006, 10:08:40 pm
OK i really need some help! this is the error i am getting "Critical error There was an error while processing a database query "

Ok here is the steps that i have done so far:
Uploaded copper_ad to the plugins folder of cpg149 on my server
installed the plugin and received this error, and the site went down couldnt get into the site
Deleted the plugin from the plugins folder via ftp

I have tried everything i know to do, does anyone know whats going on?

Please help!
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 17, 2006, 10:12:40 pm
Oh btw...
I cannnot find a "gallery" folder in my cpg149 folder. the plug in requires you to CHMOD the "gallery" folder?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 17, 2006, 11:46:46 pm
- You shouldn't ask for support on annoncment thread (Moving...)
- check this :
http://forum.coppermine-gallery.net/index.php?topic=33151.msg173879#msg173879
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 18, 2006, 12:31:38 am
Sami,
the link you posted comes right back to this thread?
also there are several other people asking for help on this thread, that is why i posted here.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 18, 2006, 12:35:32 am
Yes the link goes to this thread but it goes to this actual post :
- Romove xxx_plugin_copperad from db
- Remove plugin from xxx_plugins
- Remove cpa_enable from xxx_config table
and then install it again

[edit]
Side note:
For everyone how have this issue:
- if you want to use new version of plugin , first uninstall the old one by using plugin manager and then copy new plugin and install it
- Never unistall a plugin manualy (by removing it from xxx_plugins table) unless requested

And your orginal question was not here , you've posted that to plugin pack annoncment thread, I merged your post with this thread
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 18, 2006, 03:31:21 am
Oh sorry about that
Ok i have uninstalled the plugin from the config/manage plugins/copperad
however it still shows up in the list even after i confirmed the "yes i want to delete this"
So then i went into mysql control panel on my server and deleted it from there and deleted it through ftp.
I have no idea what xxx_plugin_copperad from db means or the other 2 options i hope i did it right.

now i have uploaded a fresh copy and copper_adv145 then changed the name to copper_ad as suggested and as soon as i change that name i get the same critical error!
I am so lost and confused!
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 18, 2006, 06:48:35 am
okey
- Enable debug to see the actual error message
- Post a link to your site
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 18, 2006, 08:48:11 pm
Ok debugg mode on,
http://www.bikiniphotobank.com

What files are affected when you install the plugin that are outside the plugin folder? maybe i have a corrupt file or something i can upload the original coppermine files or folders but want to be careful not to screw up the site anymore than it is.

As the site stands now the copperad plugin is not installed
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 18, 2006, 10:43:40 pm
Ok just tried to install the copper_ad and here is what it said under the debugging thingy:


Code: [Select]
USER:
------------------
Array
(
    [ID] => 89d73216528af42be6b8556ee5c2028a
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => spiroInc
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg149_filetypes; (0.001s)
    [1] => select * from cpg149_plugins order by priority asc; (0s)
    [2] => delete from `SpiroIn_copper`.cpg149_sessions where time<1161200214 and remember=0; (0.001s)
    [3] => delete from `SpiroIn_copper`.cpg149_sessions where time<1159994214; (0.001s)
    [4] => select user_id from `SpiroIn_copper`.cpg149_sessions where session_id=md5("8482156f512f0ad6d807b8b220ab570c211368533cbe70becd54426bf81f7a94"); (0s)
    [5] => select user_id as id, user_password as password from `SpiroIn_copper`.cpg149_users where user_id=1 (0.001s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `SpiroIn_copper`.cpg149_users AS u INNER JOIN `SpiroIn_copper`.cpg149_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `SpiroIn_copper`.cpg149_users AS u WHERE user_id='1' and user_group_list <> ''; (0.005s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg149_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg149_usergroups WHERE group_id= 1 (0s)
    [10] => update `SpiroIn_copper`.cpg149_sessions set time='1161203814' where session_id=md5('8482156f512f0ad6d807b8b220ab570c211368533cbe70becd54426bf81f7a94'); (0.001s)
    [11] => SELECT user_favpics FROM cpg149_favpics WHERE user_id = 1 (0.001s)
    [12] => SELECT * FROM cpg149_copperad_config (0.01s)
    [13] => SELECT COUNT(*) FROM cpg149_pictures WHERE approved = 'NO' (0.005s)
)

==========================
GET :
------------------
Array
(
    [op] => install
    [p] => copperad
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.1.20-max-log
------------------
Coppermine version: 1.4.9(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.16
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear | .:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 2.498 seconds - 14 queries in 0.028 seconds - Album set : ; Meta set: ;



File: /hsphere/local/home/spiroinc/bikiniphotobank.com/cpg149/include/functions.inc.php - Line: 249



While executing query "SELECT * FROM cpg149_copperad_config" on 0

mySQL error: Table 'SpiroIn_copper.cpg149_copperad_config' doesn't exist
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 18, 2006, 11:17:36 pm
The error indicate that you manually delete plugin ,that you shouldn't ,

As I said before you should
- Remove copper_ad from cpg149_plugins table
- Remove cpa_enable from cpg149_config table
and then install it again (use the orginal installation package attached to initial post of this thread )
 
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 19, 2006, 06:20:09 am
Ok Sami,
where do i find the cpg149_plugins table and the
cpg149_config table?
is that something i find in the config panel?
or thru ftp?

sorry for the stupid questions but i am very new to this!
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 19, 2006, 06:23:32 am
No those are on mysql database
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: BikiniPhotoBank on October 19, 2006, 07:56:40 am
Sami!!!!!! YOU DA MAN!!!
Finally got it working!
I did like you said and it works perfect! now to make all those banner ads and get the site makin a buck or 3

THANK YOU THANK YOU THANK YOU!!
John
http://www.bikiniphotobank.com
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 19, 2006, 07:59:56 am
You're welcome
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Hein Traag on November 21, 2006, 09:52:20 pm
Good evening Sami,

not using this plugin but i was bored out of my mind in my hotel room  ;D so i got translating.

Cheers!
Hein
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 22, 2006, 06:23:35 am
Thank you Hein for support and contribution
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: yakamoz01 on December 02, 2006, 10:54:59 am
sorry i have a problem

why banners move?   i cant like it. i dont want change banners
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on December 02, 2006, 11:26:13 am
Then delete all others and keep one banner
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on December 02, 2006, 02:40:01 pm
If you want just one banner and no banner rotation, this plugin is not meant for you. Just add your banner to your custom theme (themes/yourtheme/template.html) using a plain text editor as suggested in the docs and discussed in many, many posting on the board "cpg1.4 themes/skins/templates (http://forum.coppermine-gallery.net/index.php?board=51.0)". This plugin is not meant to add just one banner permanently to your pages.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: yakamoz01 on December 02, 2006, 10:29:51 pm
ok. thanks i will try
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: NONAME_XALIAVA on January 16, 2007, 07:40:26 pm
Please HELP! :o :o :o sorry for my English but...

I try to install Copper Adv1.2.4 (Stable) on 1.4.9 version of Copermine gallery and it`s "broket"

Quote
While executing query "SELECT * FROM cpg149_copperad_config" on 0

mySQL error: Table 'akinov.cpg149_copperad_config' doesn't exist



PHP info:
USER:
------------------
Array
(
    [ID] => e1b6b3723d58c1fd88440968cd80a7f7
    [am] => 1
    [lang] => russian
    [liv] => Array
        (
           
  • => 134
  • [1] => 8250
                [2] => 8287
                [3] => 8172
                [4] => 8593
            )

       
[lap] => 2
    [sort] => td
    [theme] => igames
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => akinov
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [num_URI_upload] => 10
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg149_filetypes; (0.023s)
  • [1] => select * from cpg149_plugins order by priority asc; (0.026s)
        [2] => delete from `akinov`.cpg149_sessions where time<1168966534 and remember=0; (0.002s)
        [3] => delete from `akinov`.cpg149_sessions where time<1167760534; (0.002s)
        [4] => select user_id from `akinov`.cpg149_sessions where session_id=md5("2aca187fe0b0f34fc5d9a44e3ce9835e8cd94d8b33b77a501878f7f2afcda001"); (0.004s)
        [5] => select user_id as id, user_password as password from `akinov`.cpg149_users where user_id=1 (0.005s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `akinov`.cpg149_users AS u INNER JOIN `akinov`.cpg149_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.003s)
        [7] => SELECT user_group_list FROM `akinov`.cpg149_users AS u WHERE user_id='1' and user_group_list <> ''; (0.002s)
        [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg149_usergroups WHERE group_id in (1) (0.008s)
        [9] => SELECT group_name FROM  cpg149_usergroups WHERE group_id= 1 (0.007s)
        [10] => update `akinov`.cpg149_sessions set time='1168970134' where session_id=md5('2aca187fe0b0f34fc5d9a44e3ce9835e8cd94d8b33b77a501878f7f2afcda001'); (0.002s)
        [11] => SELECT user_favpics FROM cpg149_favpics WHERE user_id = 1 (0.004s)
        [12] => SELECT * FROM cpg149_copperad_config (0.015s)
        [13] => SELECT COUNT(*) FROM cpg149_pictures WHERE approved = 'NO' (0.065s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.4 - OK
    ------------------
    mySQL version: 4.1.22
    ------------------
    Coppermine version: 1.4.9(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.1.22
    MYSQL_MODULE_TYPE none
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.2
    Linked Version 1.2.2
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .: | .:
    open_basedir | /home/akinov/data:. | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail -t -i -f  | /usr/sbin/sendmail -t -i 
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 10000 | 10000
    max_input_time | 60 | 60
    upload_max_filesize | 30M | 30M
    post_max_size | 16M | 16M
    ==========================
    Page generated in 2.089 seconds - 14 queries in 0.168 seconds - Album set : ; Meta set: ;
this is it www.akinov.ru

pleasy help!  :'( :'( :'(
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on January 17, 2007, 06:02:40 am
Answer is right above this page ,
http://forum.coppermine-gallery.net/index.php?topic=33151.msg176358#msg176358
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: bigarte on January 18, 2007, 05:54:20 am
Thanks so much Sami; works fine.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: skidpics on January 26, 2007, 05:02:59 pm
Love the plug in, but what can you tell me what I need to change in order to make it work with the I feel Dirty theme (attached)?

The single banner rotation does not work correctly, but the multiple banners works fine, except for a positioning issue..

What can you tell me to fix in order to get it working correctly?

-- Skidpics

http://skidpics.com (http://skidpics.com)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: skidpics on February 12, 2007, 04:57:58 pm
What do I need to change in order to left align the banners?   Will this be in the banner coding, or can I edit one of the plugin files in order to accomplish this task for all banners?

-- Skidpics
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on February 12, 2007, 07:57:44 pm
You need to change codebase.php

You should change align value of td tag to left instead of center in these functions:

- copperad_add_banner_after_sys_menu()
- copperad_add_banner_after_sub_menu()
- copperad_banner()

Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: skidpics on February 12, 2007, 08:29:22 pm
Thanks!  I should've figured it was that easy..  I will have to wait until an update to the banner positioning on different themes is fixed, as it still does not function on my I-Feel_dirty theme.  It shows, just alignment is off a bit.. 

Thanks for the quick reply!


- SKidpics

http://skidpics.com (http://skidpics.com)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: AlexL on February 16, 2007, 10:32:19 am
German Lang File attached
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Quinti on February 24, 2007, 12:05:57 am
hi all!

i have problems to install....
i can't chmod it cause my gallery is in root and i commented lines 40 to 46 (is this, no?, or only lines 40 and 46?), and get always the same error:
Fatal error: copperad_install() [function.require]: Failed opening required 'plugins/copper_ad/include/init.inc.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/fotosdesarria.com/httpdocs/plugins/copper_add/codebase.php on line 36

mmm....

and i didn't analyze it very much (i can't, ji), but if it was possible to insert without iframes, it would be perfect

greetings
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: giorgio79 on April 12, 2007, 07:09:56 pm
Hi Boys,

Is it possible to show banners between tables I select?

Like show banners between "most viewed" and "last additions" on start page, and after Album pics on Album apges?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on April 12, 2007, 07:15:37 pm
Use multi location
admin mode=>copper ad=>Status of Plugin=>Enable(Multi location)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: JohannM on June 08, 2007, 12:05:29 am
Hi All

Thanx for all of you that contributes to this nice plugin.

I want to add a function to put a picture banner ad (multi) on a specific place on my theme page with {COPPER_AD} place holder.

Any idea on how we can do this ?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: superdave on June 12, 2007, 08:44:29 pm
i have problems to install....
i can't chmod it cause my gallery is in root and i commented lines 40 to 46 (is this, no?, or only lines 40 and 46?), and get always the same error:
Fatal error: copperad_install() [function.require]: Failed opening required 'plugins/copper_ad/include/init.inc.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/fotosdesarria.com/httpdocs/plugins/copper_add/codebase.php on line 36

hmmm ... i've just downloaded and tried to install this too!

i get the same error

Quote
Fatal error: copperad_install(): Failed opening required 'plugins/copper_ad/include/init.inc.php' (include_path='c:\PHP\pear;.') in \super-dave.com\cpgallery\plugins\cpa124\codebase.php on line 36

this looks like a great plugin though, so i'd like to try and use it!  :D

btw, sami, i clicked the demo and the page you're showing has no demo!  ;D haha!

thanks in advance for the help!
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 13, 2007, 05:45:42 am
Your error is different !
you just need to rename cpa124 folder to copper_ad
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: superdave on June 14, 2007, 07:16:47 am
Your error is different !
you just need to rename cpa124 folder to copper_ad

you're quite right sami ... thanks again for your help.

the copper ad is working perfectly ... even though my firefox blocks it! LOL

and my karma dropped ... but i figured that would happen. i've had a terrible week!  :-\
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 14, 2007, 08:32:58 am
I'm happy to see your problem solved

[ot]
I'm not the one who take that (The karma !) [    
How/why do you get negative karma?  (http://forum.coppermine-gallery.net/index.php?topic=26826.0)]
I hope you could take that back (http://forum.coppermine-gallery.net/index.php?topic=14227.0) ;)
[/ot]
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: superdave on June 14, 2007, 08:35:45 am
I'm not the one who take that (The karma !)

i know that, and you're always helpful sami, so i'm happy! ... i had a bad post regarding another plugin!!! LOL

cheers

Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: JohannM on June 29, 2007, 07:14:51 pm
How can I place the copper ad to be at (in) a specific place on my template/theme page ?

Thanx in advance
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on June 30, 2007, 09:05:20 am
You can't !
the only places you can put the AD is
- after sys menu
- after sub menu
- multi location (it will put ad after each main table creation)
Title: Copper Ad ! First advertisement plugin for coppermine not working
Post by: Toufique Ahmed on July 21, 2007, 03:56:05 pm
I uploaded the folder into Plugins folder! done CHMOD and then go to Plugin manager in my gallery but it did not show up any new plugin!
and when i try to upload through coppermine plugin uploader it gives this error
Quote
There was an error copying the package to the plugins folder.

Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on July 21, 2007, 07:40:38 pm
Post a link to your gallery please ...
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: just_some_guy on September 09, 2007, 12:45:08 am
Hey,

this looks like a good mod.. will it work with stamms mod pack?

thanks,
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on September 09, 2007, 08:47:50 am
Don't know !
Try it and give us feedback
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: olti on October 02, 2007, 11:33:13 pm
I would like to see a demo or a site with this plugin in action.
Here http://lab.kishmate.com/gallery144/index.php I can not see any banner.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 05, 2007, 02:18:41 pm
enabled !
check the link again please
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: bebes007 on October 11, 2007, 01:19:31 am
FYI to all trying to install the plugin:

I guess this plugin works great for others but for me it was a no-go last night. I tried everything possible to get this to work correctly. I followed the instructions in the readme, chmod'd everything under the sun all to no avail. I turned on Debug mode to get a better understanding of what's going on. I wish I had saved the error but basically the plugin install never adds the tables listed in the scheme.sql file. After all else had failed, I took the code in scheme and loaded the sql statement in phpmyadmin and made sure I edited the tables for my table prefix...instead of CPG_blab-blab...mine was cpg14x_ so I made those changes and added both tables. Initially the "Fatal database error" that everyone else was talking about came from the fact that the needed tables were never installed. After I had the tables installed, I went to the Coppermine web interface -Config-pluginmanager. BTW for my installation, I unzipped just the copper_ad plugin and ftp'd to my server and put in the proper DIR renaming everything as necessary. Okay back to the web interface, first i went and choose to uninstall plugin, it asked to verify "say yes" then to install crossing my fingers hoping this time it would actually work...this time it worked!!  I'm not sure what was different about my setup than others. I hope to see more features in this plugin. Can I manaully set the max size of a banner. With the initial install 100px height just doesn't get it. Most of my banners are varying sizes. It would be nice if I could batch ad ads, especially if one batch of ads were all the same size, say 460x120, have the plugin look at one DIR, tell it where you would like the banner to be placed and that's it. I"m sure this is really complicated when it comes down to coding it but just thought I would toss that out there. Here is my setting if this helps :
Code: [Select]
USER:
------------------
Array
(
    [ID] => 89afa77915c3095d340f33cad7059df4
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 105
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0.001s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `coppermine`.cpg14x_sessions where time<1192054187 and remember=0; (0s)
    [3] => delete from `coppermine`.cpg14x_sessions where time<1190848187; (0s)
    [4] => select user_id from `coppermine`.cpg14x_sessions where session_id=md5("b30b2c28bd36692084a47122d1270ff65e38e8ada19459c153ec20f2384c0f8d"); (0s)
    [5] => select user_id as id, user_password as password from `coppermine`.cpg14x_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `coppermine`.cpg14x_users AS u INNER JOIN `coppermine`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `coppermine`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `coppermine`.cpg14x_sessions set time='1192057787' where session_id=md5('b30b2c28bd36692084a47122d1270ff65e38e8ada19459c153ec20f2384c0f8d'); (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2007-10-11 04:09:47' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='72.37.153.169' OR ip_addr='72.37.153.169' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '0'  ORDER BY pos (0.001s)
    [15] => SELECT aid FROM cpg14x_albums WHERE category = 2 (0s)
    [16] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
    [17] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '2' (0s)
    [18] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1 (0.001s)
    [19] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (1)GROUP BY a.aid (0.001s)
    [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='89' (0s)
    [21] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '2'  ORDER BY pos (0s)
    [22] => SELECT aid FROM cpg14x_albums as a WHERE category>=10000 (0s)
    [23] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [24] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '1'  ORDER BY pos (0s)
    [25] => SELECT aid FROM cpg14x_albums as a WHERE category = '0' (0s)
    [26] => SELECT count(*) FROM cpg14x_albums as a WHERE 1 (0s)
    [27] => SELECT count(*) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
    [28] => SELECT count(*) FROM cpg14x_comments as c LEFT JOIN cpg14x_pictures as p ON c.pid=p.pid LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [29] => SELECT count(*) FROM cpg14x_categories WHERE 1 (0s)
    [30] => SELECT sum(hits) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON p.aid=a.aid WHERE 1 (0.001s)
    [31] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [32] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '0' (0s)
    [33] => SELECT a.aid, a.title, a.description, category, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,1 (0.001s)
    [34] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (2)GROUP BY a.aid (0.001s)
    [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='105' (0s)
    [36] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0s)
    [37] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0.003s)
    [38] => SELECT count(*) from cpg14x_comments where pid=55 and msg_id!=0 (0s)
    [39] => SELECT count(*) from cpg14x_comments where pid=63 and msg_id!=0 (0s)
    [40] => SELECT count(*) from cpg14x_comments where pid=33 and msg_id!=0 (0s)
    [41] => SELECT count(*) from cpg14x_comments where pid=91 and msg_id!=0 (0s)
    [42] => SELECT count(*) from cpg14x_comments where pid=1 and msg_id!=0 (0s)
    [43] => SELECT count(*) from cpg14x_comments where pid=87 and msg_id!=0 (0s)
    [44] => SELECT count(*) from cpg14x_comments where pid=4 and msg_id!=0 (0s)
    [45] => SELECT count(*) from cpg14x_comments where pid=27 and msg_id!=0 (0s)
    [46] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0.001s)
    [47] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0.001s)
    [48] => SELECT count(*) from cpg14x_comments where pid=105 and msg_id!=0 (0s)
    [49] => SELECT count(*) from cpg14x_comments where pid=104 and msg_id!=0 (0s)
    [50] => SELECT count(*) from cpg14x_comments where pid=103 and msg_id!=0 (0s)
    [51] => SELECT count(*) from cpg14x_comments where pid=102 and msg_id!=0 (0s)
    [52] => SELECT count(*) from cpg14x_comments where pid=101 and msg_id!=0 (0s)
    [53] => SELECT count(*) from cpg14x_comments where pid=100 and msg_id!=0 (0s)
    [54] => SELECT count(*) from cpg14x_comments where pid=99 and msg_id!=0 (0s)
    [55] => SELECT count(*) from cpg14x_comments where pid=98 and msg_id!=0 (0s)
)

==========================
GET :
------------------
Array
(
    [cat] => 0
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.9 - OK
------------------
mySQL version: 4.1.20
------------------
Coppermine version: 1.4.13(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 2
Active Links 3
Client API version 4.1.20
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/pear | .:/usr/share/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 300 | 300
max_input_time | 120 | 120
upload_max_filesize | 20M | 20M
post_max_size | 20M | 20M
==========================
Page generated in 0.156 seconds - 56 queries in 0.013 seconds - Album set : ; Meta set: ;
 

[edit by Sami]
Put debug info under code block
[/edit]
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on October 11, 2007, 08:26:13 am
Don't post debug_output unless a supporter explicitely asks for it. It only clutters this thread.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 11, 2007, 10:44:54 am
@bebes007:
- Max 100 px height was a suggestion you can set what ever you want
- This plugin is getting old I should rebuild a new version with better functionality , I'll look in your suggestion then
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: mykee on October 17, 2007, 03:23:34 pm
My problem with your plugin that when I change banner (what is active), then website is no refreshing. Try empty cache, and reload, or click to other menus, I see old banner. What is problem?  ???
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on October 18, 2007, 05:45:32 am
post a link and more detail & example please
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: erika_conn on November 01, 2007, 08:09:59 pm
When I try to install I get this error:
Fatal error: copperad_install(): Failed opening required 'plugins/copper_ad/include/init.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/photo_gallery/plugins/copper_adv_124/codebase.php on line 36

What am I doing wrong?  I have the latest version.
 :-[
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on November 02, 2007, 07:36:01 am
You obvisously haven't unzipped the plugin properly (preserving the folder structure), or you haven't uploaded all files that belong to the plugin. Re-upload all needed files that belong to the plugin.

I have the latest version.
Latest version of what? What's the "latest version" for you anyway. Both coppermine as well as this plugin comes with version numbers - you can post what version number of each you use. That's why the version numbers exist in the first place. Posting a link to your gallery might help as well.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 03, 2007, 12:14:06 pm
@erika_conn:
rename {gallery root}/plugins/copper_adv_124 folder to copper_ad and you'll be fine
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: skmdd on November 03, 2007, 05:29:14 pm
I followed the instructions in the Readme file. I used the CHMOD method. The install was successful but I am getting this on the Admin Menu page:

Notices
/plugins/copper_ad/include/init2.inc.php

    * Warning line 23: mysql_free_result(): supplied argument is not a valid MySQL result resource

/include/functions.inc.php

    * Notice line 2685: Undefined variable: i

What can be the possible problem?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 04, 2007, 04:02:39 am
Those are just notices and are not important ...
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: disposition on November 17, 2007, 05:18:49 am
I installed this plugin and it looks great, but when I click on the COPPER AD button I see "configuration" and that is good but Create New banner and Banner List does not seem to open. I just want to make sure I am not missing something.

Thanks!  Hope you can help!
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 17, 2007, 07:19:22 am
You need to click on each of them to expand (javascript should be enabled)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: disposition on November 17, 2007, 03:32:04 pm
Thanks for the reply.

I do have javascript enabled on both my browsers IE and Firefox and both seem to just stick,  Do you know if there is a setting in coppermine that will just keep them expanded?  I am sure this is a problem on my end I just can't seem to open and close them.  My config just stays open so i never thought of it as a problem.

Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: just_some_guy on November 17, 2007, 03:51:07 pm
Try changing themes to the classic theme and expand them. It could be the javascript is clashing with some code in your theme.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: disposition on November 17, 2007, 03:54:53 pm
Hey how are ya?

That does the trick, I will just have to do that...at least there is an option.  If anyone knows how I can fix it other wise that would be great!

THANKS!

Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: just_some_guy on November 17, 2007, 05:06:34 pm
Good thanks. Good that its sorted.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: mismo on November 25, 2007, 09:44:54 am
It would be nice, if you could add padding (or vspace&hspace) feature for the ads. They would look so much better this way.

Also another feature would be, if you could also add a banner in the bottom of the page, after the gallery pictures and thumbnails.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: mismo on November 25, 2007, 10:23:49 am
Also it would be more professional plugin, if it would allow to set the position of each banner individually.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: mykee on November 29, 2007, 08:32:37 pm
When I click Coppermine Ad on admin panel, then I get 503 error: Service Temporarily Unavailable. What's a problem?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 30, 2007, 06:23:26 am
post a link to gallery please
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: mykee on November 30, 2007, 07:11:08 am
Here is:
http://foto.acegem.hu/index.php
I can add new banner only with mysql...
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 30, 2007, 07:26:19 am
ask your host if they have any security path on their servers or not .
seems to me that they blocking / on Get variables
since we including advmgr.php into index.php the path should be copper_ad/advmgr so it contains / and that makes false alarm for security path

Do you have any plugin with admin button and same issue?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: mykee on November 30, 2007, 08:30:22 am
Hmmm... Filetypes plugin not working too...  ??? But worked your plugin and filetypes too.. I don't set any settings on server.  :o
How can I enable this GET variables?
My host not sad from this blocking. Can I change this parameter on anywhere?  :o
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 30, 2007, 08:37:00 am
Hmmm... Filetypes plugin not working too...  ??? But worked your plugin and filetypes too

It means something changes on your server

How can I enable this GET variables?
My host not sad from this blocking. Can I change this parameter on anywhere?  :o

I don't know , that was wild guess
You need to ask them if they change anything ...and also you may show them this thread
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: mykee on November 30, 2007, 08:45:28 am
Ok, Thanks for help, I will write to my admin.  :)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: masaood on February 01, 2008, 12:35:57 pm
This plugin for ads management is not installing on any of my sites and one site's name is indyatalk.com and error is coming on that place, error is:

Fatal error: copperad_install(): Failed opening required 'plugins/copper_ad/include/init.inc.php' (include_path='.:.:') in /var/www/vhosts/indyatalk.com/httpdocs/plugins/copper_adv_124/codebase.php on line 36

Please help me in this regard. I tried too much, but unable to resolve that problem.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on February 15, 2008, 09:22:53 am
rename copper_adv_124 folder to copper_ad and you'll be fine
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 23, 2008, 03:31:15 am
sandrailsonly.com/coppermine/plugins/adv

cpg v 1.4.16

Uploaded from admin mode in CPG, but it never appears under plugins....

It appears on FTP as folder=adv, not copper_ad.

When I try to change name (hoping that this will cause it to be seen in plugin manager) ftp doesn't recognize folders or files inside it...

Please help...
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 23, 2008, 03:40:07 am
Oh, I have Nibbler's filetypes plugin and easyreader plugin.....
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on February 23, 2008, 07:00:32 am
Uploaded from admin mode in CPG, but it never appears under plugins....
You mean that you upload a plugin with coppermine !!?
it does not work this way !

you need to download plugin from first post of this topic and then unzip it on your local PC and use a ftp manager and upload it to plugins folder of gallery
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 24, 2008, 06:16:01 am
Hey Sami...

I tried it BOTH ways as per the instructions in the CPG documentation. [When you copy a plugin to the Coppermine plugins folder (using the Upload button on the plugin manager or via FTP), you have merely uploaded the plugin files. ] Still isn't recognized....

Code: [Select]
4.14.3 The Plugin Manager

The plugin manager is the central place from where you upload, install, configure and remove plugins. It can be acceessed in two ways:

    * Using Coppermine's navigation:
      Log in as admin, go to coppermine's config, expand the "General settings" section, on click "Manage plugins" next to "Enable plugins" (make sure that you have set "Enable plugins" to "Yes") if you plan using plugins.
    * Directly accessing the plugin manager
      Make sure that you are logged in as admin, then directly enter the plugin manager's url in the address bar of your browser, e.g. http://yoursite.tld/your_coppermine_folder/pluginmgr.php

The plugin manager organizes the plugins you have in your Coppermine directory. It is important to understand the difference between uploading plugins and installing plugins. When you copy a plugin to the Coppermine plugins folder (using the Upload button on the plugin manager or via FTP), you have merely uploaded the plugin files. The plugin is not installed yet. When you install a plugin, Coppermine runs the plugin's installation routine to configure and activate the plugin so that it will be executed when people use your gallery. To clearly show which plugins are running and which are not, the plugin manager is separated into two sections (see screen capture below):

    * the plugins that are installed and running (upper section)
    * the plugins that exist within the plugins folder of your server's hard drive but have not been installed and therefore are not running in your Coppermine gallery (lower section)
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on February 24, 2008, 11:30:41 am
ok I see , you uncompressed zip file under plugins folder itself , those files and folders should be under copper_ad folder instead
here you go :
- Create a new folder in plugins folder and name it copper_ad
- Move
adv folder
include folder
lang folder
advmgr.php
banner.php.sample
bannermgr.php.sample
basic.sql
codebase.php
configuration.php
CHANGELOG
readme.txt
schema.sql
from plugins folder to copper_ad folder
and then go for installation
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 26, 2008, 11:20:49 pm
Hi Sami,

Followed the instructions above and success. The Plugin installed and I could see the sample banner at the top.

Uploaded a Swf banner and then a Jpg banner to test.

The SWF banner just shows whitespace, no banner.

The Jpg banner shows whitespace and a link to URL redirect, no banner.

What have I done wrong here? Gallery CHMOD set to 755 as per specs.

sandrailsonly.com/coppermine/

See screenshot below...
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 27, 2008, 07:41:56 pm
Hi Sami,

Did you need anything else to diagnose please?

Thanks...

~~ Lorren
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 28, 2008, 04:19:16 am
www.sandrailsonly.com/coppermine



Ok...so the upload of my banners from the CopperAd plugin does not appear to be working.

I uploaded my banners directly into the adv/flash or adv/pic folder via my FTP client (filezilla). My Pic banner is now working....but the flash (swf) does not.

I can set it to view by itself and all it produces is a square whitespace.

Please advise.

Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on February 29, 2008, 07:58:15 am
Please post a test account so I could take a look at the problem
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 29, 2008, 08:11:58 pm
Quote
Please post a test account so I could take a look at the problem

testing
testing

sandrailsonly.com/coppermine

You will be redirected through my forum to login. Once in, click on link to Photo & Video Gallery at top.

Thanks.

~~ Lorren
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Nibbler on February 29, 2008, 08:19:59 pm
The file http://www.sandrailsonly.com/coppermine/adv/flash/myvideobanner.xml is requested but is missing.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: soleiltan2 on February 29, 2008, 08:43:19 pm
Quote
The file http://www.sandrailsonly.com/coppermine/adv/flash/myvideobanner.xml is requested but is missing.

Thanks....I uploaded the files into the FTP directly....The Copper Ad plugin does not add them to THIS directory, you have to manually do this.

This is still something that need to be looked at....


But I am having an issue with my Banner itself...it does not look how it is supposed to look. I will go back to my software on this issue.

 ;D
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: JohannM on July 08, 2008, 11:07:20 pm
Hi, I would like to have a way to include a "picture type" banner anywhere on my themes page with e.g. {COPPER-AD-CUSTOM} tag.

How can this be implemented ?

Is there a simple way to just include the "banner.php" page on any place ?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: AndriaD on August 06, 2008, 03:20:21 pm
rename the copper_adv_124 folder to copper_ad and you'll be fine ;)

When I did this, it apparently completely *broke* my coppermine installation; now it will give me only a 404 error no matter what on the coppermine site I try to access.  So I deleted it, no change.  so I re-uploaded the original "copper_adv_124" dir to the plugins dir, no change, still 404 on the whole site.  I've already uploaded about 60 pics to this site; do I have to trash the whole thing now and start over???

Any suggestions?

Andria
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: AndriaD on August 06, 2008, 03:42:10 pm
Well, I was finally able to get back in to my Coppermine site, by re-setting the dir to 755.  So, I go back, rename the Copper Ad dir to copper_ad, change the main dir again to 777, and still it won't install; it gives me a 404 error when I try to install.  So I set the main dir back to 755 so I wouldn't lose the whole site again to 404 errors, but I still don't have copper_ad installed.

Since apparently I can't get copper_ad to even install, I have a snippet of php code for rotating ads I use in my other php-based sites; can php be inserted, and if so, where?  In the theme.php for the particular theme I'm using?

Andria
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: goku on September 01, 2008, 01:53:20 am
Hello!!
i have just used the plugin manager to upload the zip file of this advertisement plugin. but the thing is it just disappears. i mean it wont show a new plugin in the plugin manager so that i cud install it by the submit button.. what hsud i do?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on September 01, 2008, 06:16:06 am
first unzip it on your local machine and try to re-upload it (whole folder) by FTP
you need to upload it to {gallery-root}/plugins
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: JohnM-UK on September 27, 2008, 01:40:11 am
Have just installed this on my site! Currently in a test mode! Works great, I put it in "multi location" and it appears just where I want it!
Does anyone know if there's a way to open a link in a small window. For example like you would get using this html:
Code: [Select]
<p align "center" <img align="center" border="0" src="http://www.oneuk.f2s.com/images/ads/adsample.jpg" alt="Click here to enquire about advertising - Webstats available, contact me for more details"><a href="http://www.oneuk.f2s.com/ads/placead.html" onClick="window.open('http://www.oneuk.f2s.com/ads/placead.html','new','scrollbars=no','resize=no','width=450,height=600'); return false;"></a></p>Also have any individuals had any experience with getting paid for adverts on their site?
Good stuff! Cheers!
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: joginvik on September 27, 2008, 03:45:13 pm
please help - I have

While executing query "SELECT * FROM cpg14x_copperad_config" on 0

mySQL error: Table 'stelia_foto.cpg14x_copperad_config' doesn't exist

i was trying many times - no results
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Gord on October 03, 2008, 05:10:29 pm
There appears to be a problem displaying different sized banners when you select "Multi Location" and more than one banner per page.
The iframe size for all banners shown is set by the first banner on the page and the other banners on the page are forced into the same size iframe as the first banner. There is no problem if you only want to show one banner per page or all your banners are the same size.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Gord on October 03, 2008, 05:22:09 pm
Can an option be added to only show ads to guests and not to registered users?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: maxx07 on November 16, 2008, 09:24:36 am
Hy!
I try to install copper ad but i receive this message "critical error There was an error while processing a database query  "
In debug mode it say "Table db_cpg.cpg14x_copperad_config' doesn't exist" .
What i shoud do?
I must create the table manualy ?

Thanks


Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on November 23, 2008, 06:27:53 am
Post a link to your gallery please.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: maxx07 on December 04, 2008, 06:03:18 pm
Here (http://"http://www.magicfotos.net") is the gallery
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: maxx07 on December 04, 2008, 06:06:48 pm
Sorry i put a bad link.
Here (http://www.magicfotos.net) is the gallery
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Sami on December 05, 2008, 10:27:57 am
How many times did you try to install it ?
it would be better if you enable debug mode so I could see your settings ....
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: maxx07 on December 08, 2008, 06:19:41 pm
I try more times to install (4-5 ) and I receive that error message ; even if I enable debug mode when i try to install the plugin i recive that error and the gallery dont work .
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on March 17, 2009, 08:13:53 am
In the process to come up with a plugin download repository I realized that this plugin was packaged in a way that kept end users from using it properly: the plugin relies on the fact that the folder name is preserved properly. However, the plugin files in the zip archive are not being stored in a folder that is named accordingly. That's why I packaged a new version, added a German translation file to it and put everything online on our downloads page at sf.net.
Deep link for the download is http://downloads.sourceforge.net/coppermine/cpg1.4.x_plugin_copper-ad_v1.2.5.zip
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: xfantasy on March 19, 2009, 05:45:16 am
can enyone explain me what exacatly need to be writen to line40-46?

i try but... bad luck
 any help?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: xfantasy on March 23, 2009, 06:52:54 pm
guys what mean "There was an error while processing a database query  "?

how to fix this problem?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on March 25, 2009, 07:31:55 pm
Enable debug_mode in coppermine's config to see the actual query that fails.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: fbi on May 13, 2009, 08:51:01 pm
hi
when i want to instal this plugin this eror apeer

Critical error
There was an error while processing a database query

how i can to solve it
please help me
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on May 14, 2009, 12:45:01 pm
Is there an echo in here?
You start by reading the thread you reply to: read the posting just above yours - it was a reply to exactly the same question you posted.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: sotong on May 30, 2009, 11:18:33 am
Hi

I already search through this forum but still can't solved my plugin installation problem..

When i click the "INSTALL" button it just show "Firefox can't find the server at pluginmgr.php."

Please help !
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on May 30, 2009, 12:50:34 pm
This is not specific to this particular plugin, but a generic plugin question (that is probably related to individual server setup issues). Start a thread of your own on the plugin support board (not on the plugin contributions board where you currently posted), doing exactly as suggested in the board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.0.html) thread (you agreed to respect board rules when signing up). The most important piece of information that you failed to post is a link to your gallery...
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: yuppicide on November 19, 2009, 02:25:49 am
Hey this program looks awesome! I run a website with a password protected Coppermine. I have about 550 pics on my site.

I think this will come in handy because if the company I work for asks I'll just tell them the advertisements are part of using free software.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on November 19, 2009, 04:39:09 pm
You think it's a clever idea to damage the reputation of free software that way and even telling us (developers of a free application) so? When lying to your employer you should make sure that he won't be able to find out.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: karl_savage on February 12, 2010, 11:12:52 am
Hi,

Request you to please help,  I am newbie here and i am not developer as well.

 I want to ask you that after uploading and installing zip cn u please tell me where its shows in admin or config bcoz i m not able to see anywhere?

thanks in advance
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Vinicius Machado on February 25, 2010, 08:36:49 pm
Attatched the Brazilian Portuguese language.

I hope it hepls somebody.

Best Regards,

Vinicius Machado
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on February 26, 2010, 10:47:11 am
@Vinicius Machado: thanks for the contribution.

@karl_savage: you don't have to be a developer to read and respect board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616). As per readme that comes with this plugin there will be another button in your admin menu after installing this plugin that will let you configure the plugin.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: platinum421 on March 04, 2010, 02:24:53 pm
Hello: I am Indeed having problems with my copper ad program.. I guess a few days ago, the Advertisements just disappeared!!! So I went in to check the plug-in and Low and behold!! it was not even up on my installed plug-ins.... WOW!! It just disappeared... Okay, so I went to the file manager and it is still on my file manager : Okay so I deleted it from file manager and uploaded the  Zip file again to unpack it... Low and behold... it would not unpack fully... so Now I'm left with nothing... Back to Block 1( I don't know what else to do) Its Ghost!! If I could get a little explaination to what might have happened.... I never Unstalled it. But when I change the filename to cooper_ad1 it pops up as new plugin, but will not install... Why? What can I do.. Never had a problem with the program til Now.... It has been up for over a year now.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joe Carver on March 04, 2010, 03:32:15 pm
Post a link to your Coppermine - it is a Forum Rule (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616) when asking for help.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: platinum421 on March 04, 2010, 09:13:32 pm
Here is the link to my Gallery http://twurl.nl/4i6fcs  8)

Issue: Plugin has vanished!!! No sight no sign of it ever working... But it worked fine up until a couple days ago.

Do you need some type of debug code... >?
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: phill104 on March 04, 2010, 09:49:57 pm
Your actual link is - http://www.platinum421wheels.com/Copper43/

You are also 6 versions behind ( Coppermine version: 1.4.20, current version is 1.4.26 ) so please upgrade.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why

On one final note, even though the nudity on your site is very mild some employers do take a dim view of it so please mark your links "Not Suitable For Work" as per the board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.0.html).
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on March 05, 2010, 08:02:07 am
Okay so I deleted it from file manager and uploaded the  Zip file again to unpack it... Low and behold... it would not unpack fully...
Well, then don't use that method, as it can cause issues on some server setups. If you have issues uploading the zip package, unzip on your client and then upload then unzipped package using your favorite FTP app, as suggested in the docs:
Quote from: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin_manager_upload
4.14.3.1 Uploading a plugin
Unless you're going to code your own plugins, they usually come packaged up already, compressed into a zip file. There are two options how to upload a plugin:

Method 1: Using the upload interface on coppermine's plugin manager page
  • Download the plugin you need from the internet (usually the coppermine page) to your local hard drive
  • Click the "browse" button on the plugin manager page
  • Navigate to the plugin zip file you just have downloaded to your local PC's hard drive
  • Click "upload"
This is the more elegant and easier method - you just use the upload control on the plugin manager page and the zip file you uploaded gets extracted from the archive and stored on the server within the proper folder. There are two pre-requisites though:
  • PHP running on your webserver needs zip support - not all webserver have zip support enabled.
  • the script needs write permissions within the plugins folder.
If you fail to fullfil those two pre-requisites, this simple method (upload interface) won't work for you (i.e. you will get error messages when trying, or the plugin will even simply fail to work without an error message at all). If this is the case for you, it's recommended not to mess with server setup (unless you're an expert and the server is yours to administer), but just to use the second upload method described below.

Method 2: Uploading the unzipped plugin files using your FTP app
  • Download the plugin you need from the internet to your local hard drive (same step as above)
  • Unpack the zip file into a folder on your hard drive (preserving the folder structure of the plugin)
  • Use your FTP app to upload the unpacked plugin files into the plugin folder of your coppermine install on your server, preserving the structure of the zip archive. For example: if the plugin contained the folder "foobar", which held the actual plugin files, you upload the whole folder "foobar" and all of its contents into the plugins folder. The resulting folder structure on your server should be something like /your_coppermine_folder/plugins/foobar/
After uploading the files (you may need to refresh the plugin manager page), the plugin you just uploaded should show in the list "Plugins Not Installed". If it does, you can continue to the next step and install the plugin.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: platinum421 on March 05, 2010, 10:40:52 am
I use c-panel which has just been upgaded to accellorated 2. I have been using it for a week.  But it unpacks the files, and I never had a problem, I have serveral other plugins that are not working, and have never worked.. But I will try to upgrade. My hosting company sends them in a email.

Finally, Thanks for the advise. I should restrict the swimwear section. I was looking for some type of over 18 plug-in or add-on but I have not seen any yet ... I'm on it...

**beware may not be suitable for work!!! 8)** http://www.platinum421wheels.com/Copper43
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on March 05, 2010, 11:53:52 am
I use c-panel which has just been upgaded to accellorated 2.
That goes not recommended nor supported. We couldn't care less what form of auto-installer you use. The only supported install/upgrade method is the one we suggest in our documentation. If you insist on using cpanel/fantastico or whatever super app you use, ask the people who provide that app for support, not us.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: platinum421 on March 05, 2010, 06:43:58 pm
Okay,, everything is fixed.. I appreciate you help. It was the upgrade...
Well I do Care!!... Thats why I ask for help..

Thank You!!
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: vannarith on March 24, 2010, 07:33:40 am
Hi all coppermine!
i have tried to find the best way to upload plugin but i am a newbie that's why i dont knw the exact place to upload it. i see that we have to browse and upload it by pluginmgr.php but i dont knw where to reach that place. Pls any tell me about it!
Best of luck
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: Joachim Müller on March 24, 2010, 08:00:51 am
You already have an open thread (http://forum.coppermine-gallery.net/index.php/topic,64223.msg319119.html#msg319119). Stop double-posting/cross-posting. Final warning.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: dogfriendly on May 27, 2010, 03:20:37 pm
Hi,
I've just installed this, but now when I click on anything I get the following:
Critical error
There was an error while processing a database query

Link:http://gallery.dogfriendlysuffolk.com/

Any help appreciated.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: dogfriendly on May 27, 2010, 03:25:46 pm
Additional info for my prob. This is from the error log:
[13-May-2010 06:47:50] PHP Warning:  fopen() expects at least 2 parameters, 1 given in /home/dogfrien/public_html/c_gal2/install.php on line 565
[13-May-2010 06:47:50] PHP Warning:  fpassthru(): supplied argument is not a valid stream resource in /home/dogfrien/public_html/c_gal2/install.php on line 565
[13-May-2010 06:47:51] PHP Warning:  fopen() expects at least 2 parameters, 1 given in /home/dogfrien/public_html/c_gal2/install.php on line 570
[13-May-2010 06:47:51] PHP Warning:  fpassthru(): supplied argument is not a valid stream resource in /home/dogfrien/public_html/c_gal2/install.php on line 570
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: dogfriendly on May 27, 2010, 06:11:31 pm
Just in case anyone else gets this error. The only way I found to restore my coppermine was to edit the tables and remove the plugin via phpMyAdmin.
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: vijart on December 18, 2010, 11:33:44 am
has it been modified for 1.5 x
Title: Re: Copper Ad ! First advertisement plugin for coppermine
Post by: phill104 on December 18, 2010, 08:17:20 pm
Please have a look in the Plugins contributions for 1.5.x. If it is not there it has not been done

Locking