Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 ... 29 30 31 32 [33] 34 35 36 37 ... 54   Go Down

Author Topic: CpmFetch 1.4 On... Displaying data and images from CPG on your website  (Read 973113 times)

0 Members and 8 Guests are viewing this topic.

ferrer

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #640 on: February 13, 2006, 10:49:52 pm »

I wondered if it is possible to do the following with CPM Fetch. I have two types of images in my coppermine. Landscape and Portait, All of my Landscape thumbnails are 250 pixels wide. Would it be possible to change CPM Fetch  so that when including random files it would only include landscape pictures? Or is this not very easy to do?
Logged

kadekawa

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #641 on: February 14, 2006, 10:47:18 pm »

ok got my earlier problem fixed - was a bridging problem with phpbb now a new one - which goes to my noobishness on php/html/and the interweb in general

cpm_viewTopRatedMediaFrom ($source, $rows, $columns, [array $options=""])

how do i actually define the $source string?

ive seen the examples given in the manual
$source = "cat=2,3:album=12,13,10"; for example but where should this go?

thank you in advance and happy valentines day everyone!
Logged

HPG

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #642 on: February 14, 2006, 11:21:25 pm »

Okay, this is odd ...

I've got everything to work in my cftest.php file, it's all 'Pass', but my preview thumbnails are not showing up. I have no clue why.

Here is my cftest:   http://www.hpgalerij.net/cpmfetch/cftest.php

I checked my prefixes and they're all correct. I'm pretty sure it's because the cftest uses two "//"'s in the image source ( src="//albums/wpw-20050525/thumb_50913025_8.jpg") but I have no idea where this can be fixed.

Any help would be greatly appreciated!
Logged

Antifmradio

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #643 on: February 15, 2006, 12:17:20 am »

Lets do what needs to be  done first shall we?  ;D

What version of coppermine you are using Coppermine Photo Gallery v1.4.2
What version of CoppermineFetch you are using 6.0
A link to your website and gallery website = www.clubex.com/index1.php gallery = www.clubexl.com/gallery.index.php
A link to an example of the problem (if possible) Please see top right of www.clubexl.com/index1.php
How computer savvy you are (newbie, intermediate, damn good) not damn good but better then intermediate
What kind of web server you are running on (if known) LINUX
Include the syntax of the command you are using. ???

also
when i open the page where the CPMFETCH should display an image i get this error
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/clubexl/public_html/cpmfetch/cpmfetch_dao.php on line 695

Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/clubexl/public_html/cpmfetch/cpmfetch_dao.php on line 695


On my CPMFETCH TEST page (supplied by the big man)
i see all PASS and INFO. There are NO failures in the test but i do get this at the bottom
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/clubexl/public_html/cpmfetch/cpmfetch_dao.php on line 695


I have CPMFETCH in its own folder just outside of ROOT
i have CPG in its own folder Just outside of ROOT

not sure what other info would help.
...this is where i do the usual <fingers  pointing together, squelching a small "HELP?" >
Logged

engleb

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #644 on: February 15, 2006, 10:40:35 pm »

I've done a bit of searching here and reading through the docs at fistfullofcode.com without any luck, so I thought I'd ask here in hopes that either I just missed something really obvious or someone else has done the same thing and will share the procedure.

On my site, I'd like to include images from the last x albums.  More specifically, I'd like to display the image that is set as the "Album thumbnail" for the last x added albums.  Searching the forums here and reading the docs on the main site, I don't see anything that will do what I'm looking for.

Is this something that is possible with CpmFetch as it currently works?  If not, has anyone modified it or created something similar?

Thanks,
Brett
Logged

vb28

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #645 on: February 16, 2006, 08:54:45 pm »

Sorry, I have been building and installing a router for the past few days.  I've been getting home at 2am, and getting up and heading back.

back home? ;-)



Yeah, I am back...  How is your problem?  Sometimes these things have a way of resolving themselves...

 :)



Hi vuud,

i am having the same problem as Andreas W. i don't did you guys found a soluation for it..?
http://albums/fun/thumb_ATT00060.gif
Logged

robinna

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
  • wherever you go, there you are.
    • robinart.com
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #646 on: February 17, 2006, 03:52:17 am »

okay, I found something that seems to work to solve the problem below (and I am not using xoops, just a plain ol' simple php with a little css on my home page). I was having a similiar problem to antifmradio (the specifics are below).
I will be interested to know if it works for others with the same problem. I did read through the threads concerning cpmfetch, but in all honesty, I had a hard time figuring out which thing referred to which problem or issue (maybe this thread could be split up into more specific topics?)
I also read the cpmfetch documentation and while I didn't see the specific answer to my problem (if it was there, I did indeed miss it, but there is ALOT of wonderful, helpful info about setting it up, etc.)
However: here is what I found that seemed to work.
http://www.xoops.org/modules/newbb/viewtopic.php?topic_id=44476&viewmode=flat&order=ASC&start=20


..and here is all of the stuff about my problem:
What version of coppermine you are using Coppermine Photo Gallery v1.4.3
What version of CoppermineFetch you are using 1.6.2
What kind of web server you are running on (if known) LINUX

error message:
when i open the page where the CPMFETCH should display an image i get this error
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in
(path info specific to my site)/cpmfetch/cpmfetch_dao.php on line 710

On my CPMFETCH TEST page
i see all PASS and INFO. There are NO failures in the test but i do get this at the bottom
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in (path info specific to my site)/cpmfetch/cpmfetch_dao.php on line 710

I have CPMFETCH in its own folder just outside of ROOT
i have CPG in its own folder Just outside of ROOT

---------------------------
good luck! You can see it working at
http://www.robinart.com

robinna
Logged

nicedreams

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #647 on: February 17, 2006, 09:09:20 pm »

Quote
error message:
when i open the page where the CPMFETCH should display an image i get this error
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in
(path info specific to my site)/cpmfetch/cpmfetch_dao.php on line 710

On my CPMFETCH TEST page
i see all PASS and INFO. There are NO failures in the test but i do get this at the bottom
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in (path info specific to my site)/cpmfetch/cpmfetch_dao.php on line 710

There is a line in cpmfetch_dao.php that you need to change depending on the version of cpm. Between line 55-65, there is a var $sqlPictureAlbumSelect line,reverse which one is commented out. That will fix that error message.

Jim
Logged

robinna

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
  • wherever you go, there you are.
    • robinart.com
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #648 on: February 18, 2006, 03:02:51 am »

thanks for the info but mine is working just fine, after I followed the directions over at the xoops forum (which is in the link in my previous post) For those of you having the same problem, the solution might depend on which version of coppermine or cpmfetch you have as to what the fix is and how much php experience you have as to the easier way of doing.  ;D

the problem/error message in question is:
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in
(path info specific to my site)/cpmfetch/cpmfetch_dao.php on line 710

(...and I only include that info so that folks will know which error I'm talking about because mine is working just fine... )
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #649 on: February 18, 2006, 05:40:02 am »


Hi,  I just thought I would post a quick note here saying I am not dead.  No matter what the press reports.

I've been incredibly busy though leaving little time for fixing cpmfetch.  Hopefully after this week I will be back in shape to polish off the next release.


Anyone with u.username problems - there was a post a little while ago with someone detailing how to fix that problem.

Vuud
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

robinna

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
  • wherever you go, there you are.
    • robinart.com
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #650 on: February 18, 2006, 06:29:14 pm »

thanks for such a great tool!
also, I just wanted to say thanks for the documentation at fistfull of code; it is excellent. I found alot of info about customizing the cpmfetch results. I wanted to do pull only from certain categories and albums, and found all of the info I needed here:
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch05s02.html

thanks again, just what I was looking for!
robinna
Logged

somnaom

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #651 on: February 20, 2006, 02:23:45 am »

Hi all,

Solved my problem now - didn't fully read what i needed to do from the suggestions already posted.

Hence I can confirm that the following modifications will enable cpmfetch1.6.2 to work with cpm1.4.3 bridged to phpbb2.0.19.


>Open cpmfetch_dao.php
>Comment out line 57
>Remove comments from around line 62 (As per the instructions in the release notes!)

>Find:
Code: [Select]
$this->sqlPictureSourceSelect = " " . $database_table_prefix . "pictures as p, " . $database_table_prefix . "albums as a, "
. $database_table_prefix . "users AS u ";

>Replace with:
Code: [Select]
$this->sqlPictureSourceSelect = " " . $database_table_prefix . "pictures as p, " . $database_table_prefix . "albums as a, "
. $database_table_prefix . "users AS u , phpbb_users AS phpbb ";
(If your phpbb database tables have a different prefix than 'phpbb_' then change the phpbb_users as needed to use the same prefix as your phpbb database tables use.)

>Find every occurance of u.user_id and change it to phpbb.user_id. (This is the step I failed to read!)
>Save cpmfetch_dao.php and then try cftest.php.


Many thanks to all - just thought it would be good to present the entire solution in one place - hopefully i've not made a mistake in trying to remember what i did to make it all work together!

Keep up the good work - loving this addon to Coppermine!


This solved my problem too. But I got another one instead: three copies of every thumbnail.  ???
(phpBB 2.0.19, cpg 1.4.3 & CpmFetch 1.6.2)  :)
Logged

Skully1

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • Insanebunkers
Allow results from CPMFetch into wrapped Mambo/Joomla
« Reply #652 on: February 20, 2006, 02:33:39 pm »

Hi all.  A little confused why this post can't be posted in the correct forum (CPMFetch)... anyways....

I'm not a programmer but have a joomla/CPG/SMF site that I want to use the functionality that CPMFetch provides.

What I would like would be to post results from CPMFetch into my wrapped CPM inside Mambo.   I've tried looking at the code (again, not a programmer) and there doesn't seem to be a way to get this to work.  It would be great.

Here's my site:  www.insanebunkers.com

Thanks in advance to anyone that wants to help/comment. 
Logged

howie10

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #653 on: February 20, 2006, 08:06:43 pm »

Hi everyone.

I love the idea of this mod, - but i'm not sure it's going to work for me   ???

I have my CPG 1.4.1 running on a home server using Apache 2.0 and MYSQL5. I have got cftest.php working perfectly.   ;D

However, I want to show the images from the gallery on my ISP-hosted CGI space.

From reading the original docs and some of the forum postings, I suspect that images cannot be grabbed by a php page running on another server.
Can anyone confirm this?
Is there a known workaround? (ie.. using static http refs instead)   :-\

Appreciate any help.

Howie
Logged

soldstatic

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #654 on: February 20, 2006, 10:05:35 pm »

Could someone help me track down how to eliminate the border around the images generated by cpm fetch?
Logged

dropmachine

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #655 on: February 20, 2006, 10:40:40 pm »

Seems I am getting the same error as many others. I've done a search, and haven't found a fix that works yet.

I don't have PHPBB installed, if that helps.

cpmfetch_dao.php on line 710


Whats goin on? How do I fix this? newest version of CPM and Fetch installed...
Logged

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #656 on: February 20, 2006, 10:44:23 pm »

i also get the:"
Code: [Select]
Unknown column 'u.user_website' in 'field list'
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mounted-storage/home10/sub002/sc16206-UEQL/babez.dk/cpmfetch/cpmfetch_dao.php on line 710
Error as dropmachine. But i keep following this topic, and hope that someday there will be a fix!
Logged

Sasse

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #657 on: February 22, 2006, 04:22:56 pm »

Same problem as younk and dropmachine!

Unknown column 'u.user_website' in 'field list'

I hope that there will be a fix, too!

Thx for any help!
« Last Edit: February 22, 2006, 04:28:38 pm by Sasse »
Logged

lisah

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #658 on: February 23, 2006, 12:53:38 am »

Is it possible to display images only from certain categories?
Logged

Dakey

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #659 on: February 23, 2006, 08:09:03 pm »

Same problem as younk and dropmachine!

Unknown column 'u.user_website' in 'field list'

I hope that there will be a fix, too!

Thx for any help!

Same problem for me...  :'(
Logged
Pages: 1 ... 29 30 31 32 [33] 34 35 36 37 ... 54   Go Up
 

Page created in 0.029 seconds with 19 queries.