I have uploaded and activated (thru plugin manager on admin page) the charlie content plugin.(20C). Tried uploading through the web a pdf and failed.
Does it support pdf. => can I just write it into the array of accepted?
Do I need to do anything else to get charlie's content working?
Thanks
Gabriel
Last edited by gkyne (2009-04-15 18:30:37)
Offline
Process your pdffile.pdf as you will do with a pdffile.jpg.
Create a thumbnail and call it by default TN-pdffile.jpg
Transfer it to the thumbnail subfolder where pdffile.pdf is saved.
Synchronize as a picture.
Only the first tab of Charlies' acts on pdf files.
On charlie_acrobat.tpl select pdf and check that you didn't select it elsewhere.
It should run.
Offline
I'm going to tag on this post and hope you find me - I can't figure out how to post a new item in the Forum, so just responding here.
I'm trying to use Chariles plugin for flv and/or other video types (flv for sure). here's my link - you can see the thumbnails load but the content doesn't ... including a pdf test I did following this post ... so being a newbie I'm probably missing something. Can you help?
http://motiongrafx.com/piwigo/index.php?/category/10
I have flv and pdf selected in charlie_flvstreamer.tpl and pdf on the acrobat setup?
Also did the synchronize a few times -
thanks so much - Jeff
Also are you aware of any piwigo sites I can look at that actually have working video files?
J
Offline
flv needs to be uncheck for charlie_flash.tpl
Offline
The main problem could be https: support.
The link passed to acrobat reader is https://motiongrafx.com/piwigo/...
It should be http://motiongrafx.com/piwigo/...
This is the second reported case I know.
I will have a look on code for a corrective patch.
(Same problem for flv, after the replacement of charlie_flash.tpl by charlie_flvstreamer.tpl)
Offline
ah ... thanks for checking it out and the quick response. I now get flash player controls and the charlie image/title, but the video doesn't load or play. Nothing on the pdf test either. I notice that charlie_flash.tpl also always puts a default checkbox for pdf for some reason (if I uncheck it and refresh, it is checked again). Would it help if I gave you a login for my site?
Thanks again for the assistance!
J
Offline
I had just a first look on code.
The problem is created by this part of code:
$url = $picture['element_url']; if ( substr($url,0,4)!='http' and substr($url,0,1)!='/' ) { set_make_full_url(); $url = get_element_url( $picture ); unset_make_full_url(); }
I need to understand what you really get in $picture['element_url'].
The test is wrong (but it is not the problem).
I remind now why I did this test (some browsers need a full http address and no any relative).
So I think there is a problem on :
$url = get_element_url( $picture );
I will confirm my analysis in coming days.
;-)
Offline
cool - merci beaucoup for working on it :)
J
Offline
I am not able to simulate your case.
Anyway I will push a new version with a corrected test.
If your pb won't be solved, I will send you a small php script just to understand your case.
And normaly I will be able to make a specific patch for your website.
Offline
2.0.d is available.
If it works, please advise me.
If not, try this:
LocalFiles Editor, config tab, add this code:
$conf['NO_https'] = true;
Please, advise (I've no way to simulate your case).
;-)
Offline
Thanks so much for working on this - unfortunately still not working. I did successfully install the update...
http://motiongrafx.com/piwigo/index.php?/category/10
I don't understand your instructions for adding the line item "$conf['NO_https'] = true;"
- which file do I edit? I don't know what "LocalFiles Editor, config tab" is ...
perhaps it goes in "config_default.inc.php"??
thanks again
J
- if you provide an email I can send you my login... lumenation.tv@
Offline
Please install/active the LocalFiles Editor plugin.
And you will find a new option in the Plugins menu.
Offline
You've got a mail.
Offline
http://motiongrafx.com/piwigo/picture.p … ategory/10
Do you need something else?
2.0.d is working well.
Offline
yay! :) thanks for all the help V!
J
Offline