Do you have any idea what I would edit to just change the default video size?
Offline
I see nowhere in the code fixed width for video, I suppose the with is taken from the video file itself. This size is used (or full screen).
It's pretty obvious that this plugin is not finished, here but my php knowledge is not sufficient to fix this
jdd
Offline
Hello,
can anyone help with fixing the following error?
Fatal error: Call to undefined function is_adviser() in /plugins/charlies_content/charlies_config.php on line 141
I found out it had something to do with the changes made on Piwigo 2.6 but I have no idea what to change and where.
kjus wrote:
Hello,
can anyone help with fixing the following error?Fatal error: Call to undefined function is_adviser() in /plugins/charlies_content/charlies_config.php on line 141
I found out it had something to do with the changes made on Piwigo 2.6 but I have no idea what to change and where.
hello :-)
could you explain in what circomstance? what did you try to do at this moment?
the noted lines is the error message saying you can't change the config. The config part of the plugin is buggy (can't save the result)
thanks
jdd
Last edited by jdd (2014-04-09 10:00:03)
Offline
Hello,
thank you for your reply. I was getting this error while trying to acces the video.
I figured out how to get rid of it (you have to change a piece of a code), however, as you say, I cannot save the settings which makes it impossible to play the video because of QuickTime Player...
kjus wrote:
Hello,
thank you for your reply. I was getting this error while trying to acces the video.
I figured out how to get rid of it (you have to change a piece of a code), however, as you say, I cannot save the settings which makes it impossible to play the video because of QuickTime Player...
I just setup a test web site (http://dodin.info/~piwigo/piwigo/). I can play flv video (I have lot of them). Can you share a small part (10s?) of the video you try to post?
can you also share the code change you made?
thanks
jdd
For the readers, I seek for various files of all the formats for the test site, if you can share them with me (to be publics if possible) - thanks
Offline
jdd wrote:
Can you share a small part (10s?) of the video you try to post?
can you also share the code change you made?
You can have a look here: http://fotky.kjus.name/index/category/24-vid
There are three test videos of various file types, none of them works just fine. Let me know if you can play them at your computer.
The changes I have made are in charlies_config.php at lines 141-145:
/*if ( $sub and is_adviser() and count($errors) == 0 ) array_push($infos, l10n('You are Adviser and you are not authorized to change this configuration.')); unset ( $charlie['all'] );*/ // Submit and not Advisor => Update Config table if ( $sub /*and !is_adviser()*/ and count($errors) == 0 )
Hello,
thanks
the flv version of your video seems unreadable by any reader I have at hand (vlc do not read it, for example, ffmpeg display one image and sound garbage), bur mp4 are ok.
I noted your patch like all what I did till now it's mostly removing some features. Did this allowed you to read the videos?
html5 allows browsers to read videos, but to fit all the needs one needs to use two files (mp4 + ogv). I plan to add this to charlies, but I'm still in the discovery process (I took over charlies only one week ago :-)
see here a bare html page
http://dodin.info/~piwigo/testplayers/jaris.html
thanks
jdd
Last edited by jdd (2014-04-09 14:35:06)
Offline
Fatal error: Call to undefined function is_adviser() in /srv/www/htdocs/gallery/plugins/charlies_content/charlies_config.php on line 141
This happens everytime saving configuration.
As I read above the config page is buggy, but this is pretty annoying
AA wrote:
Fatal error: Call to undefined function is_adviser() in /srv/www/htdocs/gallery/plugins/charlies_content/charlies_config.php on line 141
This happens everytime saving configuration.
As I read above the config page is buggy, but this is pretty annoying
this only mean you can't change easily the way things are displayed, but as this is mostly dependent of the binary flash reader...
I hope to be soon able to look at this.
please explain what you try to achieve
thanks
jdd
Offline
Hi, I have the same problem with last version of plugin and on Piwigo 2.7.3
This error message are showing when I'm trying to save Charlies configuration
Leonid wrote:
Hi, I have the same problem with last version of plugin and on Piwigo 2.7.3
This error message are showing when I'm trying to save Charlies configuration
hello :-)
can you confirm that (a part saving) charlie's works under 2.7? I was so busy these last months, I couldn't even try 2.7 :-(
thanks
jdd
Offline
Hello!
Unfortunately this plugin doesn't work in Piwigo 2.7.4
Whey I trying save config I see error:
Fatal error: Call to undefined function is_adviser() in /mnt/www/media.aronov.su/plugins/charlies_content/charlies_config.php on line 141
Offline
saving the config never worked :-(
but the plugin may work as is, like it did before
jdd
Offline