forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: lamama on July 31, 2009, 01:01:20 am
-
I fear I will get sued for starting this one here, but the 1.4 thread is locked (http://forum.coppermine-gallery.net/index.php/topic,15543.0.html), http://cpg-contrib.org/ seems to be knocked out and it looks like Donnoman hasn't been active here for several months.
From the MiniCMS thread:
The Coppermine dev team recommends using this plugin - we think that it's a great advantage to have.
Any idea if this great plugin (or something similar) will be available for cpg1.5? Any attempt to migrate any of my active galleries to 1.5.x would be quite worthless without the features of MiniCMS... :'(
-
Yes it's true. It seem MiniCMS do'nt work as expected with CPG 1.5.1. !!!
But i remember around 1.5.x #svn 6000, MiniCMS worked perfectly ???
-
During the alpha phase, we're hoping that plugin authors and/or any others (when authors are no longer active or are busy) will modify 1.4 plugins for use in 1.5. Any one can contribute, so if you have the skills, take a look and see what you can do.
-
I fear I will get sued for starting this one here, but the 1.4 thread is locked (http://forum.coppermine-gallery.net/index.php/topic,15543.0.html), http://cpg-contrib.org/ seems to be knocked out and it looks like Donnoman hasn't been active here for several months.
Hehe, you won't get sued, but actually this thread doesn't belong on the bugs board for cpg1.5.x, so I'm moving it accordingly.
Any idea if this great plugin (or something similar) will be available for cpg1.5? Any attempt to migrate any of my active galleries to 1.5.x would be quite worthless without the features of MiniCMS... :'(
I can see the point: if the MiniCMS was not available for cpg1.5.x, that would certainly be a show-stopper for the upgrade from cpg1.4.x to cpg1.5.x for those who currently use that plugin.
However, it's beyond the scope of the dev team to convert plugins: each dev team member is free to convert plugins or come up with new ones. But as Paver suggested there's no guarantee that anyone will, so if you want to make sure, you might consider to start working on it. ;D
I can say one thing for sure: I will not port it ;).
But i remember around 1.5.x #svn 6000, MiniCMS worked perfectly ???
I can can confirm Pascal's observation - it used to work for a while after the the Inspektification.
If you plan to actually port the plugin for cpg1.5.x I suggest to get a CVS checkout from the repository of cpg-contrib and use that as a base.
-
If you plan to actually port the plugin for cpg1.5.x I suggest to get a CVS checkout from the repository of cpg-contrib and use that as a base.
No plans, I guess thats far beyond my coding skills ;D
-
I asked Donnoman by email about this issue. He's going to take a look at it.
-
Any news from the miniCMS front?
-
I asked Donnoman by email about this issue. He's going to take a look at it.
Hmmm... sure?
what if not?
-
All Dev,
Yes, this is a very serious problem.
Personally, my gallery used very intensively MiniCMS.
MiniCMS is, in my opinion, one of the best plugin for Coppermine.
Unfortunately, i'm lacking the ability to modify the MiniCMS's code.
Because that, I know I would not upgrade to 1.5.x
I know, like all of us, I'm not the only MiniCMS's user, so I guess already that I'm not the only one who'll do'nt want to upgrade to 1.5.x.
Thus it's very important to offer this plugin in agreement with 1.5.x
IMO ;D
-
I never had a look at the MiniCMS code. But I think basically all $_GET/$_POST vars has to be replaced with $superCage as described here (http://documentation.coppermine-gallery.net/en/dev_superglobals.htm).
-
Is this the best place to get the latest that there is on miniCMS since the site http://cpg-contrib.org/ is down?
Gene
-
Is this the best place to get the latest that there is on miniCMS since the site http://cpg-contrib.org/ is down?
Gene
Forgot to add the "this" http://sourceforge.net/projects/cpg-contrib/files/MiniCMS/1.7/
Sorry,
Gene
-
Yes, the CVS should contain the most recent files as far as we can tell.
-
Because that, I know I would not upgrade to 1.5.x
Me too. I'd love to upgrade my main gallery. CPG 1.5 looks great so far, but the missing MiniCMS keeps me from testing it under 'real' conditions.
Have there ever been considerations to add some basic CMS-like functionality to the CPG-core? Maybe it would make more sense - instead of riding a dead horse (I fear miniCMS is one).
-
I very much doubt adding a cms to the core would ever be done. Coppermine is a photo app, not a cms. There are many fully fledged cms systems out there so let's leave those to do what they are good at and let coppermine be the best photo app out there.
-
Not 'real' CMS stuff, were talking about miniCMS here. ;)
But adding some notes and additional text to gallery pages. I could hardly imagine working with CPG without being able to do that.
-
28 files in the minimcms folder that contain the strings $_GET, $_POST or $_SERVER. Just a lot of work to "inspektify"... ;)
Read http://documentation.coppermine-gallery.net/en/dev_superglobals.htm for details in case you're ready to do the job.
-
I think I'll have some spare time the next 3 days and can change the appropriate lines.
-
any news?
-
No
-
28 files in the minimcms folder that contain the strings $_GET, $_POST or $_SERVER. Just a lot of work to "inspektify"... ;)
Read http://documentation.coppermine-gallery.net/en/dev_superglobals.htm for details in case you're ready to do the job.
I have a version up and running that installs and can display existing content. It needs more work to be able to create new content... anybody else working on this?
-
I have a version up and running that installs and can display existing content. It needs more work to be able to create new content... anybody else working on this?
Please attach that version. Thank you.
-
Here comes....
This is an early mock-up port to 1.5.2. There are a number of things that do not work. In fact, there are only two things that I have been able to do with it: I was able to install it as a plug in, and it did display the content that I created in cpg 1.4.x. Creating content is not really possible, as all space characters get filtered away. Everythingbecomesonelargeword.
It may not be as cooperative with anyone else - and please understand that I do not provide support for this version of the port. However, anyone who like to play with fire or would like to contribute to the port is welcome to a test drive ;)
Maybe someone could help load it up to svn - I'm not familiar with that.
The file was too large to be attached. It can be downloaded from http://www.natvik.com/bfdoc/minicms.zip (http://www.natvik.com/bfdoc/minicms.zip)
-
No news on a MiniCMS?
A plugin that could show the latest 10 galleries as links (link name = album title) could also help me out
-
Respect board rules if you want answers - I already told you so:
Not a valid support request (board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616)).
-
This is an early mock-up port to 1.5.2. There are a number of things that do not work. In fact, there are only two things that I have been able to do with it: I was able to install it as a plug in, and it did display the content that I created in cpg 1.4.x. Creating content is not really possible, as all space characters get filtered away. Everythingbecomesonelargeword.
Finally I took halnat's work over, and it seems I made it out to get MiniCMS work properly on 1.5.6, by simply replacing Inspekt's getAlnum method with getRaw (disapproved, I know, but still the only way I found to make it work). There are still some minor issues, but I'm confident to fix them soon.
-
great news... thanks. When will it be available?
-
Instead using getAlNum or getRaw, we should us getMatched allowing alphanumeric characters, number and some other digits like whitespace and punctuation marks, or validate the input after using getRaw.
-
As Αndré suggested you're allowed to use getRaw if you sanitize the data afterwards really thoroughly.
-
Instead using getAlNum or getRaw, we should us getMatched allowing alphanumeric characters, number and some other digits like whitespace and punctuation marks, or validate the input after using getRaw.
Speaking about FCKEditor output, isn't it already sanitized enough by the editor itself?
-
great news... thanks. When will it be available?
You'd better subscribe this topic ;D
-
Speaking about FCKEditor output, isn't it already sanitized enough by the editor itself?
I have no idea, sorry.
-
great news... thanks. When will it be available?
Hi there, some new's about this?
Greetings
Bernd
-
No. There's absolutely no sense in replying to this thread asking for updates. As far as I can see nobody is working on this. If you want it badly, start working on it. Do as suggested per board rules in the future and post a link to your gallery.
-
As far as I can see nobody is working on this.
Finally I took halnat's work over, and it seems I made it out to get MiniCMS work properly on 1.5.6, by simply replacing Inspekt's getAlnum method with getRaw (disapproved, I know, but still the only way I found to make it work). There are still some minor issues, but I'm confident to fix them soon.
-
Where do we find your work, Ludo?
-
On my pendrive, so far :P
-
If it is so hard to port this plugin because of the many places where you have to sanitize user inout, maybe you should circumvent the issues that using Inspekt imposes on coders in the first place. This will of course ruin the additional level of security and will make the code less well-designed, but for a port that big you might want to use the approach that extrabigmehdi used in his Joomla bridge for cpg1.5.x:
Concerning the code used in my bridge, I guess I'm not respecting the "spirit" of the "Inspekt package" . I got to access directly to stored superglobals with "_source" property (especially $COOKIE) before calling Joomla .
So basically what Mehdi does is re-globalize all input that Inspekt de-globalized in the first place. Not a nice thing to do and definitely not something that should be performed lightheartedly, but given the issues that exist for this particular plugin maybe the interessted porters should take a look at that approach.
-
I'll port MiniCMS now, as Ludo hasn't published his port.
-
Added halnat's version to the svn repository (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/minicms/) and applied several fixes.
As far I can judge it's currently possible to add, delete and move entries.
-
Please test that package (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/minicms/?view=tar) thoroughly and report any errors. Please also post if everything works as expected, so that I can release an official package for cpg1.5.x. Thanks.
-
Hello, I was very happy to learn that MiniCms was back for the latest versions of Coppermine.
After following the instructions in the readme file
"Unpack the archive and upload the "minicms" directory structure to your Coppermine gallery's plugins folder.
Login as an admin, go to config, then "Manage Plugins"
Find the CPG MiniCMS entry in the available plugins and click install."
Also, clicking on the icon to install the error appears:
Parse error: syntax error, unexpected '(', expecting '}' in /mnt/156/sda/e/4/mywebsite/coppermine/plugins/minicms/codebase.php on line 223
Maybe a solution ?
-
After a check I find that PHP Version is 4.
So I pass to the last version provided by my web hosting
and now PHP Version is 5.1.3RC4-dev.
But when I clicking to Install the following page appears and MiniCMS still not installed.
Performing Database Updates
CREATE TABLE `cpg132_cms` ( `ID` int(11) NOT NULL auto_increment, `catid` int(11) NOT NULL default '0', `title` varchar(255) NOT NULL default '', `content` text NOT NULL default '', PRIMARY KEY (`ID`, `catid`), FULLTEXT KEY `title` (`title`,`content`) ) TYPE=MyISAM AUTO_INCREMENT=1 Already Done
1050: Table 'cpg132_cms' already exists MySQL Said
CREATE TABLE cpg132_cms_config ( name varchar(40) NOT NULL default '', value varchar(255) NOT NULL default '', PRIMARY KEY (name) ) TYPE=MyISAM Already Done
1050: Table 'cpg132_cms_config' already exists MySQL Said
ALTER TABLE `cpg132_cms` ADD `pos` int(11) NOT NULL default '0' OK
ALTER TABLE `cpg132_cms` ADD `type` int(11) NOT NULL default '0' Already Done
1060: Duplicate column name 'type' MySQL Said
ALTER TABLE `cpg132_cms` CHANGE `catid` `conid` int(11) NOT NULL default '0' Already Done
1054: Unknown column 'catid' in 'cpg132_cms' MySQL Said
ALTER TABLE `cpg132_cms` CHANGE `pos` `cpos` int(11) NOT NULL default '0' Already Done
1060: Duplicate column name 'cpos' MySQL Said
ALTER TABLE `cpg132_cms` ADD `modified` TIMESTAMP NOT NULL Already Done
1060: Duplicate column name 'modified' MySQL Said
ALTER TABLE `cpg132_cms` ADD `start` DATETIME Already Done
1060: Duplicate column name 'start' MySQL Said
ALTER TABLE `cpg132_cms` ADD `end` DATETIME Already Done
1060: Duplicate column name 'end' MySQL Said
INSERT INTO `cpg132_cms` (conid,title,content,type) VALUES ('0','Welcome to Coppermine', 'Simple test of CPG MiniCMS','0') OK
INSERT INTO `cpg132_cms_config` VALUES ('dbver', '0.0') Already Done
1062: Duplicate entry 'dbver' for key 1 MySQL Said
INSERT INTO `cpg132_cms_config` VALUES ('redirect_index_php', '') Already Done
1062: Duplicate entry 'redirect_index_php' for key 1 MySQL Said
INSERT INTO `cpg132_cms_config` VALUES ('related_size', 'thumb') Already Done
1062: Duplicate entry 'related_size' for key 1 MySQL Said
INSERT INTO `cpg132_cms_config` VALUES ('editor', 'fckeditor') Already Done
1062: Duplicate entry 'editor' for key 1 MySQL Said
INSERT INTO `cpg132_cms_config` VALUES ('rss_enabled', '0') Already Done
1062: Duplicate entry 'rss_enabled' for key 1 MySQL Said
INSERT INTO `cpg132_cms_config` VALUES ('rss_description_length', '50') Already Done
1062: Duplicate entry 'rss_description_length' for key 1 MySQL Said
INSERT INTO `cpg132_cms_config` VALUES ('rss_include_image', '0') Already Done
1062: Duplicate entry 'rss_include_image' for key 1 MySQL Said
INSERT INTO `cpg132_cms_config` VALUES ('rss_image_size', 'thumb') Already Done
1062: Duplicate entry 'rss_image_size' for key 1 MySQL Said
UPDATE `cpg132_cms` SET `modified`=NOW() WHERE `modified`='0000-00-00 00:00:00' OK
ALTER TABLE `cpg132_cms` DROP `pos` OK
UPDATE cpg132_cms_config SET value='1.5.8' WHERE name='dbver' OK
-
But when I clicking to Install the following page appears and MiniCMS still not installed.
What makes you think its not installed? This appeared to be a gallery that already had MiniCMS installed... All the SQL indicated either "Already Done" or "OK"... So far it looks fine. Keep going.
-
But when I clicking to Install the following page appears and MiniCMS still not installed.
Click "OK" at the bottom of the page.
-
Well I have the same problem.
I got to "Manage plugins" select Minicms and hit the install button.
Then I select "Go" and all it does is re-install over and over.
However, if I go to the front page and to my plugin section again, Minicms is shown as "not installed plugin"....
-
I'll check that.
-
Should be fixed in revision 8019 (http://coppermine.svn.sourceforge.net/viewvc/coppermine?revision=8019&view=revision). Download link (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/minicms/?view=tar) remains the same.
-
Hello, I change only the file codebase.php by the revision 8019.
And all seems OK
Very good job
I can update now all my coppermine web sites to the 1.5.8.
Just 1 question:
I see the minicms/lang/french.php
But how to put the French language
-
I see the minicms/lang/french.php
But how to put the French language
Should be fixed in r8021 (http://coppermine.svn.sourceforge.net/viewvc/coppermine?revision=8021&view=revision).
Additionally, that error has been fixed in r8020 (http://coppermine.svn.sourceforge.net/viewvc/coppermine?revision=8020&view=revision)
Parse error: syntax error, unexpected '(', expecting '}' in /mnt/156/sda/e/4/mywebsite/coppermine/plugins/minicms/codebase.php on line 223
I can update now all my coppermine web sites to the 1.5.8.
I suggest to wait some days until I release an official package, as we probably detect some more small bugs.
-
Just recognized that special chars like umlauts don't work with FCKeditor. Try to fix.
-
Should be fixed in r8055. Can someone confirm please?
-
Confirmed. Good works as usual Andre.
-
Plugin announcement thread (http://forum.coppermine-gallery.net/index.php/topic,68455.0.html).