Advanced search  

News:

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

Pages: 1 [2] 3 4   Go Down

Author Topic: Photo of the Day/Week, with Archive  (Read 84696 times)

0 Members and 1 Guest are viewing this topic.

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1608
  • Paul Van Rompay
Re: Photo of the Day/Week, with Archive
« Reply #20 on: November 16, 2006, 10:22:54 pm »

@Senator: You didn't report the same problem until now.  Your last post above is about a different problem (uploading the plugin to the plugins folder).  You received support for that issue, but haven't responded with your results.

As for Fitzkilt, he posted 3 posts last night within 40 minutes.  I haven't had time yet to check things out.

All responses here will be useful for me to investigate issues with the beta release.  There *is* support here, but don't expect me to check the thread every hour and drop everything to investigate an issue.  I will do what I can, when I can.  I do want this plugin to progress into a useful plugin (for my own and others' uses).
Logged

Senator

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: Photo of the Day/Week, with Archive
« Reply #21 on: November 16, 2006, 10:28:48 pm »

sorry paver if you understand me wrong, but i really thougt the is minimal support on beta-versions.

i had earlier post the quote downunder, tha i can select the POTW/POTD, but where is it vissable?

I.ve got the same problem with this plugin, but without white pages.

When i select one pic for the pic op the day, where is the potd vissable.???


Logged

Fitzkilt

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Photo of the Day/Week, with Archive
« Reply #22 on: November 18, 2006, 03:49:49 am »

Paver,

I hope you're not offended that I uninstalled your plugin...I did so because I'm trying to figure out why, since installing the POTD plugin, I keep getting a blank page every time I change any of my configuration settings. That's why I said I'd just let it be (or, not use it). If I figure it out, I'll post back here (if it's the appropriate place). Thanks. :)
Logged

angeldevil

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 107
Re: Photo of the Day/Week, with Archive
« Reply #23 on: December 09, 2006, 07:37:55 pm »

I don't think it's an issue related to Stramm's modpack, as I do run POTD/POTW plugin on my gallery without any hassle.
Try, maybe moving up or down the plug-in in your plug-in manager, as it may interfere with some other ones?

Hi, I've tryed to move up and down the POTW plugin in my plugin manager page, like your suggestion, but doesn't fix the problem

No items like "Set at POTW" or "Set at POTD" or "MOVE TO POTW ARCHIVE" ecc appear in album list page (edit file mode)

I've modified the functions.inc.php like your suggestion and I've created a table like this:

`CPG_plugin_potd` (
 `pid` INT(11) NOT NULL,
  `potd` TINYINT(3) DEFAULT '0' NOT NULL,
  `potd_date`  varchar(14) NOT NULL,
  `potw` TINYINT(3) DEFAULT '0' NOT NULL,
  `potw_date`  varchar(14) NOT NULL,
PRIMARY KEY  (`pid`)
);


Beyond to this, when I've installed POTW plugin and I logged in admin mode, I can't edit the  pictures data in my gallery (title, descriptions, ecc), becouse after the edit operation a white page with this error message appear:

Critical error Script called without the required parameter(s).

When I uninstall this plugin this error message not appears

How to fix it?
Many tnx in advance

Sorry for my poor english
« Last Edit: December 09, 2006, 07:44:41 pm by angeldevil »
Logged
a

Farina

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Photo of the Day/Week, with Archive
« Reply #24 on: December 22, 2006, 09:32:21 pm »

Same problem.
No items like "set at POTW" etc....
And if I change some picture data the screen show me "Critical error Script called without the required parameter(s)"
In debug mode I can see "File: C:\Inetpub\vhosts\qtp.it\httpdocs\Gallery\plugins\potd\codebase.php - Line: 126 " if this can help someone.

bye
Logged

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Photo of the Day/Week, with Archive
« Reply #25 on: December 29, 2006, 11:01:13 pm »

Just wanted to say thank you very very much for this plugin. :-*

I am a newbie at all of this but followed your instructions and everything works. :-*

You can see it here: http://www.shwetatiwari.net/gallery/
Both the POTW and POTD coded and appears on the front page.
No problems so far.

Thank you once again :D ;D ;D
Logged

golio

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Photo of the Day/Week, with Archive
« Reply #26 on: January 11, 2007, 05:15:14 am »

It worked for 2-3 days and then I dont know what happend, it just dosent work anymore!!!

it looks like the link in the potd box in the main page is not correct and it shows nothing! just a wrong url icon (or missed pic) for pics (you know?).
I can select and move pictures as POTD but the potd in main page still dosent work!
uninstalling and reinstalling the plugin didnt work, and pics in the POTDarch are there forever!
Logged

Jason kiDD

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Photo of the Day/Week, with Archive
« Reply #27 on: January 22, 2007, 03:05:24 am »

Okay after messing with this thing I can probably make it easy to understand for everyone involved...

When trying to used the potd/potw edit options you go thru ablum properties, then edit files. Do not try to click on one picture then edit files because you will NOT see the potd/potw check boxes there...

Concurrently if you are recieving a red X once you have everything up and running its because you (like myself) do not use intermediate pictures. You have to go thru each and everyone of the .php files in your plugin folder and edit out the follow lines so that your picture will show. After that you should be up and running.. Enjoy...

Quote
$img = "<img src=\"albums/{$picture['filepath']}normal_{$picture['filename']}\"  border=\"0\">";
Currently what you should be looking for in all your .php files...

Quote
$img = "<img src=\"albums/{$picture['filepath']}{$picture['filename']}\"  border=\"0\">";
What you should paste in place removing the "normal_" since you are no longer using these types of files. Save your work and reupload into your plugins folder and your straight..

If you want to see the plugin in action feel free to visit my site, you will have to register however to view the gallery..
http://www.phatjamzent.com
Logged

MarkP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Photo of the Day/Week, with Archive
« Reply #28 on: January 30, 2007, 06:01:46 am »

Ok I have the same problem with the blank white pages from Show e-cards, details on picture views, details on votes, replace file, admin config when done with settings and returning to main page. Edit files. Just a blank page no error.

I am removing plugin for now...I do like its function though and look forward to using it when out of Beta or the white pages problem gets fixed.
Logged

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Photo of the Day/Week, with Archive
« Reply #29 on: February 14, 2007, 12:12:51 pm »

One of my users have deleted one of his images, and it was the one chosen as pic of the week.
Now the "POW" field is empty (no pic shown) and I can't add a new one. How can I work around this problem? I've tried checking the mySQL database, but can't find where to remove the "phantom" pic....

AlexL

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 189
    • Velvet Photos
Re: Photo of the Day/Week, with Archive
« Reply #30 on: February 16, 2007, 02:29:58 pm »

German Lang File and German Readme.txt -> Liesmich.txt attached

In Readme.txt the "Now, installation is complete." maybe suggests it's all needed to hack the functions.inc.php.
The normal PlugIn Installation is needed too - I think.

Integrated on my on my Galerie - the same issue occur like describe before.
Hack-ok
Install -ok
Like this says
Quote
To display it on the gallery index page, simply enter your config admin page, and add 'potd' or 'potw' (or both) to the 'Contents of main page'.
After this step the admin.php trys to reload and a blank screen is shown.
Then I'm going to Index-Page and it's show all korrect.
Im deaktivate the potd Entry - an the same blank screen
After every Save on Settingspage the same Problem
After new login to galery too.

A new error appear after manual add a keyword "the script was called without paramenters"

And a little question after first use:
I dont have other Users, therefore I dont want to show the line "from our member" - how is the correct way to disable this?
I've deleted this in the potw.php - but is there no way to configure this from admin menu?

If I activate the potw on the main page this potw is shown on this main page but on the next pages after open a categorie it's shown too. How to disable this behavior?
« Last Edit: February 19, 2007, 10:48:47 pm by AlexL »
Logged

lonely24

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Photo of the Day/Week, with Archive
« Reply #31 on: March 15, 2007, 12:32:31 pm »

Nice plugins .

I got no error . But I want to ask one questions .

Is it manually to set photo of the day , photo of the week ?

I want to be like , that's autmoatically set to photo of the day , photo of the week by hits / votes .

Is it feature available in that plugin ?

Thanks.
Logged

AlexL

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 189
    • Velvet Photos
Re: Photo of the Day/Week, with Archive
« Reply #32 on: March 16, 2007, 09:10:24 am »

At this time it is a manual job to deselect the old One and select the new One.
But maybe anybody can modify this, because the most view / best voted function is standard in cpg and maybe a coder can combine it with this plugin.
Logged

fatmcgav

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Photo of the Day/Week, with Archive
« Reply #33 on: March 16, 2007, 04:28:45 pm »

Is there anotehr way of adding this into a theme? As the iframe seems a little messy.

Basically, i want to put it in the right hand column, but not sure how to do it cleanly... I want it to look like boxes down the side, so i can add other content aswell...

www.fatmcgav.me.uk/paintball for reference.

Any ideas ppl?

Ta
Logged

kushti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Photo of the Day/Week, with Archive
« Reply #34 on: April 16, 2007, 04:09:36 pm »

I use Tinyportal - does anyone else.....and if so how would I make a block to display the POTD.

Stuart
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Photo of the Day/Week, with Archive
« Reply #35 on: April 16, 2007, 05:38:55 pm »

This is a coppermine plugin that can not be used outside of coppermine. There used to be a POTD mod as well that you can try. Best option though would be to use cpmFetch, because that particular mod was designed to do what you're up to: display coppermine-content on non-coppermine pages. TinyPortal definitely qualifies as non-coppermine page.
Logged

Avonlea22

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Photo of the Day/Week, with Archive
« Reply #36 on: June 10, 2007, 09:20:24 pm »

It is very close to working properly for my site, I have the block called through the config admin page as 'potw' . It shows the text

Photo of the Week
by our member fovsports <----- as a link
Photo of the Week Archive <----- as a link also

But no image. I have set a potw in the album edit files section.
I have also applied the mod to the function.inc.php file.
****modified for original post ****
ONLY WORKS IF YOU HAVE normal_  as a prefix of your image filename  RIGHT?
I edited the potw.php file and got rid of the normal_ portion.
And now it works.

Any other fix to this issue yet?
Logged

rubenix

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 43
    • Rubrenix Gallery
Re: Photo of the Day/Week, with Archive
« Reply #37 on: July 03, 2007, 11:28:04 am »

German Lang File and German Readme.txt -> Liesmich.txt attached

In Readme.txt the "Now, installation is complete." maybe suggests it's all needed to hack the functions.inc.php.
The normal PlugIn Installation is needed too - I think.

Integrated on my on my Galerie - the same issue occur like describe before.
Hack-ok
Install -ok
Like this saysAfter this step the admin.php trys to reload and a blank screen is shown.
Then I'm going to Index-Page and it's show all korrect.
Im deaktivate the potd Entry - an the same blank screen
After every Save on Settingspage the same Problem
After new login to galery too.

A new error appear after manual add a keyword "the script was called without paramenters"

And a little question after first use:
I dont have other Users, therefore I dont want to show the line "from our member" - how is the correct way to disable this?
I've deleted this in the potw.php - but is there no way to configure this from admin menu?

If I activate the potw on the main page this potw is shown on this main page but on the next pages after open a categorie it's shown too. How to disable this behavior?


Any word to this issue?? I cannot make it working without gettin a blank page.... help please!!
Logged

quangbao

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Photo of the Day/Week, with Archive
« Reply #38 on: July 19, 2007, 05:28:21 am »

It is very close to working properly for my site, I have the block called through the config admin page as 'potw' . It shows the text

Photo of the Week
by our member fovsports <----- as a link
Photo of the Week Archive <----- as a link also

But no image. I have set a potw in the album edit files section.
I have also applied the mod to the function.inc.php file.
****modified for original post ****
ONLY WORKS IF YOU HAVE normal_  as a prefix of your image filename  RIGHT?
I edited the potw.php file and got rid of the normal_ portion.
And now it works.

I am newbie, I don't know fix this problem and I don't understand your guide. Please, help me step by step. Thank you so much.
My site: saigonphoto.net or direct: saigonphoto.net/gallery
Logged

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: Photo of the Day/Week, with Archive
« Reply #39 on: January 18, 2008, 08:59:46 pm »

hello

Can I include this in the anycontent with php instead a html iframe?

thx
Logged
Pages: 1 [2] 3 4   Go Up
 

Page created in 0.026 seconds with 20 queries.