flux... thanks for this mod. This is the one that convinced me to try coppermine.... coppermine + joomla integration will come later.
but i am a bit confused. i want to use the remote URL and not the image link. also i already have the thumbnail files which i can rename to the proper convention.
well, i probably don't use very specific words but the thing works as follows :
in my first version i was using a single Remote URL which was the direct url to the remote picture and i called that "
Remote URL" and it is stored in the user data field 4, that remote URL is necessary for my hack to work but not to display the picture if you use "
Remote Page URLs" thru iframes.
The direct remote picture url aka "Remote URL" is required because it is the very data used to make sure a remote picture is not inserted twice.. And it is also required when you need to access the picture directly of course..
where ( in which file? ) do i have to set define('REMOTE_PIC_IFRAME',0); to 1 ?? is this necessary if i dont plan on using intermediate images?
My two additional Defines() are located where you hack your theme, meaning thru ONE of the two ways i have described to hack your theme, that's where you should modify them but i think i left them both enabled (1) in my release so it should already be set to 1..
also can u tell me which database table is being modified by your hack, when i add remote files? this is because then i can directly add the values to the database.... and then upload the thumbnails with the proper names using FTP, to the proper directories. I then wont have to download the remote linked files ( more than 6000 and abt 2 Gb+ ) to my server and waste my and the file hostings bandwidth. i already have abt 50mb's worth of thumbnails that i can rename. i also have the remote URL.
well my hack does not modify any original CPG tables, it only uses the available data fields (user1 thru user4) in the cpg_pictures table
user4 = Remote URL = direct remote link to the picture (
http://www.example.com/path/image.jpg)
user3 = Remote page URL = remote link to the picture page (
http://www.example.com/display.php?image=/path/image.jpg)
user2 and user1 can be used to insert any data you'd like thru my batch add tool and using my list file convention
Remote URL \ Remote Page URL \ user2 data \ user1 data
Concerning your errors, are you using CPG version 1.4.3 ?
Overwritting include/thems.inc.php shouldn't make any problems if it does then put back the original file and try to hack the theme file of the theme you'll use in themes/xxx/theme.php
you can't overwrite that one you must do copy paste
Concerning your remaining setup i can't really tell if my hack has any thing to do with your errors, if you follow my install documentation it should be okay..
Remember that you should add remote pictures only with my batch add tool, if you insert them manually in the database and forget some required data (obviously user4 and user3 data) then it won't work..