Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2   Go Down

Author Topic: Plugin Image of the Week  (Read 17861 times)

0 Members and 1 Guest are viewing this topic.

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Plugin Image of the Week
« on: February 24, 2012, 11:23:48 am »

Sorry for my bad English.
I want to introduce here is my plugin "Image of the Week".
The plugin is used for displaying an image of the week. The output is displayed on the main page.
The choice depends on the week. It can be chosen which image size is displayed.
It is configurable for manual processing or weird about CronJob.
There is an archive of past issue of "pictures of the week", but here I must do something.
The operation can be viewed on the Partners page Fotofreunde Rathenow.
Further details are available in the Readme.txt.
It was tested with the default theme (curve).
I hope someone can use.

VG

TankerTom
« Last Edit: October 26, 2012, 08:22:14 am by Tankertom »
Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #1 on: February 24, 2012, 03:47:48 pm »

Hello,

Since it is not currently possible to make a change will find attached the lack of change in the un plug the correct name conversion. Please only use this product in the attached file.

VG TT
« Last Edit: October 26, 2012, 08:21:54 am by Tankertom »
Logged

crakkstuh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Plugin Image of the Week
« Reply #2 on: October 19, 2012, 01:43:14 pm »

Hallo Tankertom

Gerne würde ich dein Plugin installieren, leider bekomme ich aber einen Fehler bei der Installation. Hast Du das Plugin noch im Einsatz, bzw. mal weitergeführt? Wäre echt schade wenn man das knicken lassen würde, denn ich suche seit eh und je ein solches Plugin. Wenns Konkurrenzangebote gibt wäre ich für Hile sehr dankbar.

Danke :)
Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #3 on: October 19, 2012, 01:59:29 pm »

hi
welche fehlermeldung bekommst du bzw. was geht nicht? ohne entsprechende infos kann ich nicht helfen
Logged

crakkstuh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Plugin Image of the Week
« Reply #4 on: October 19, 2012, 02:51:06 pm »

huihuiuiuiui das ging ja fix. Mega!!

Ich lade den ordner PDW ins Plugins Verzeichnis, wodurch ich im Backend unter Plugins die Auswahl der nicht installierten Plugins erhalte... Klicke dort auf das "Install Icon" und bestätige das wieder. Danach erhalte ich die Fehlermeldung:

Kritischer Fehler
Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten

Kann damit genauso wenig anfangen :(

Erfahrungen damit?

Beste Grüsse aus der Schweiz

Gruss

Greg
Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #5 on: October 19, 2012, 03:06:52 pm »

hi,

schalt bitte den Debug-Modus  ein damit man mehr sehen kann, poste dann nochmal die Fehlermeldung
Logged

crakkstuh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Plugin Image of the Week
« Reply #6 on: October 19, 2012, 05:11:10 pm »

Kritischer Fehler

Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten.

While executing query ' CREATE TABLE IF NOT EXISTS `cpg15x_plugins_bdw` ( `pid` INT( 10 ) NOT NULL , `filepath` VARCHAR( 100 ) NOT NULL , `filename` VARCHAR( 255 ) NOT NULL , `title` VARCHAR( 255 ) NOT NULL , `owner_id` INT( 3 ) NOT NULL , `kw_year` VARCHAR( 7 ) NOT NULL , PRIMARY KEY ( `pid` , `kw_year` )) TYPE = MYISAM ' in plugins/bdw/codebase.php on line 47 mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE = MYISAM' at line 8


Datei: /home/xngnst/www/gallery.munitionsdepot.ch/include/functions.inc.php - Zeile: 270

Gruss
Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #7 on: October 21, 2012, 09:41:58 am »

öffne die schema.sql auf dem Server und entferne "TYPE = MYISAM" dann sollte es funktionieren

VG
Logged

crakkstuh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Plugin Image of the Week
« Reply #8 on: October 21, 2012, 08:34:27 pm »

hmmm, PhPMyAdmin geht auch? Hab die Gallery auf einem Hosting am Laufen, kann da eher weniger an der SQL Datenbank rum schrauben (soweit ich das verstanden habe)

Gruss

Greg
Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #9 on: October 21, 2012, 08:40:10 pm »

gemeint ist die datei die im verzeichniss plugins/bdw liegt, diese mit einem editor öffnen, entfernen speicher  und das plugin installieren
Logged

crakkstuh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Plugin Image of the Week
« Reply #10 on: October 25, 2012, 10:24:01 am »

Lieber Tom

Sorry sorry sorry sorry, war für 2-3 Tage in anderen Problemen untergegangen (JTL Shop3 Modifikationen...), deine Lösung hat nachtürlich vorzüglich funktioniert. Habs soeben getestet und es liess sich alles BESTENS installieren.

Wenn Du mir deine Paypal Adresse per PN schickst, würde ich Dir gerne, als Dank, ein paar Euros überweisen.

Nochmals tausend Dank!!

Gruss

Greg
Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #11 on: October 25, 2012, 10:29:04 am »

das ist nicht Sinn und Zweck des Forum,
danke für die Rückmeldung

TT
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Plugin Image of the Week
« Reply #12 on: October 25, 2012, 07:10:00 pm »

Thank you for a great plugin!

I have problem making it work though. I don't know if I need to do something more then make the settings in coppermine admin (config). (and of course settings in this plugins configuration)

I see only a text "Klicke" and when I hit it I get the response: "Error
The selected album/file does not exist!"

My webpage is http://echinopsis.eu

See attached screen print of my problem!
Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #13 on: October 25, 2012, 07:32:20 pm »

Hello,
it has not yet chosen a picture, in the Plugin Manager is a button to select an image

TT
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Plugin Image of the Week
« Reply #14 on: October 25, 2012, 07:42:52 pm »

I get the same problem when I choose "random" picture!

See screen print.
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Plugin Image of the Week
« Reply #15 on: October 25, 2012, 07:44:49 pm »

Maybe it has something to do with my upload folder on the gallery, there are several folders with uploaded photos.

See screen print.

Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #16 on: October 25, 2012, 08:03:22 pm »

The plugin works as expected, please see the Plugin Manager, select the button for the first selection, see attached image
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Plugin Image of the Week
« Reply #17 on: October 25, 2012, 08:08:00 pm »

Thank you!


This button does not show up in my plugin manager!

See screen print!

(is there any address I can type in the window to come to this "choice of picture"?)

Logged

Tankertom

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 73
Re: Plugin Image of the Week
« Reply #18 on: October 25, 2012, 08:12:33 pm »

Hello,
The button will appear when you click on Configuration and cronjob choose from.

TT
Logged

metamog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Plugin Image of the Week
« Reply #19 on: October 25, 2012, 08:22:08 pm »

After I uncheck cronjob, I get this button. But clicking it now gives me "critical error".

Tried a couple of times to check and uncheck, can not have this button "choose picture" while cronjob is choosen!

Logged
Pages: [1] 2   Go Up
 

Page created in 0.03 seconds with 20 queries.