Page 1 of 1

Other Plugins tab in Static Pages Plugin

Posted: Thu Nov 10, 2005 9:47 am
by nosaisyer
Hello,

I am using Serendipity 0.9 and PHP 5.0.3 and I am trying to deploy the discussion forum plugin on the same site as serendipity.

I am using a recent version of the Static Pages plugin (sorry not sure what version but I downloaded it recently date: Nov 9 2005). The plug has a tab for 'Other plugins'. In this tab, the 'Discussion forum' plugin is shown.

I checked the 'Discussion Forum' entry and clicked ok. Then I went to the blog main page, but I cannot see the corresponding static page. I can see my other static pages however.

So I am guessing a configuration error on my side. I would really appreciate your help in getting to work.

Thank you,

Louie

Re: Other Plugins tab in Static Pages Plugin

Posted: Thu Nov 10, 2005 10:01 am
by Guest
Further information that maybe of help:
- Static Pages plugin version 3.14.
- Discussion Forum plugin version 0.9.
- Pages plugin version 1.10.

I tried setting the static url (permalink) on the Discussion Forum plugin configuration screen to various values such as:
- forum.html
- /forum.html
- /index.php?/pages/forum.html
- /pages/forum.html

Nothing showed up.

I would really appreciate anyone's assistance.

Louie

nosaisyer wrote:Hello,

I am using Serendipity 0.9 and PHP 5.0.3 and I am trying to deploy the discussion forum plugin on the same site as serendipity.

I am using a recent version of the Static Pages plugin (sorry not sure what version but I downloaded it recently date: Nov 9 2005). The plug has a tab for 'Other plugins'. In this tab, the 'Discussion forum' plugin is shown.

I checked the 'Discussion Forum' entry and clicked ok. Then I went to the blog main page, but I cannot see the corresponding static page. I can see my other static pages however.

So I am guessing a configuration error on my side. I would really appreciate your help in getting to work.

Thank you,

Louie

Posted: Thu Nov 10, 2005 10:10 am
by falk
Can you see the forum in the page-order-category?

Posted: Thu Nov 10, 2005 11:01 am
by Guest
falk wrote:Can you see the forum in the page-order-category?
Yes I do. However, I cannot change the page order.

Posted: Thu Nov 10, 2005 11:12 am
by falk
Anonymous wrote:Yes I do. However, I cannot change the page order.
Can you look in the staticpages-Table in the Database and post what data are inserted for the forum, please?

Are you using mysql or or pgsql?

Posted: Thu Nov 10, 2005 11:25 am
by nosaisyer
falk wrote:
Anonymous wrote:Yes I do. However, I cannot change the page order.
Can you look in the staticpages-Table in the Database and post what data are inserted for the forum, please?

Are you using mysql or or pgsql?
MySQL 4.0.19. Here is the complete dump as generated by PHPMyAdmin. Record id #9 looks wrong to me because there is no title.


INSERT INTO `serendipity_staticpages` (`id`, `parent_id`, `articleformattitle`, `articleformat`, `markup`, `pagetitle`, `permalink`, `is_startpage`, `show_childpages`, `content`, `pre_content`, `headline`, `filename`, `pass`, `timestamp`, `authorid`, `pageorder`, `articletype`, `shownavi`, `showonnavi`, `publishstatus`, `language`) VALUES (5, 0, 'Support Forum', 1, 0, 'Support Forum', '/index.php?/pages/discuss.html', 0, 0, '<a href="http://serendipity.crossworddesigner.co ... iscussions" title="Discussions">Discussion Forum</a>', '', '', 'none.html', '', 1131538140, 1, 2, 1, 0, 1, 1, 'en'),
(2, 0, 'Welcome to the Crossword Designer Forum', 1, 0, 'Introdcution', '/index.php?/pages/forum.html', 1, 0, '<p>In this forum you will find articles on crossword making, printing, and publishing using <a href="http://www.crossworddesigner.com" title="Crossword Designer Web Site">Crossword Designer</a>.\r\n</p>\r\n<p>\r\nYou will also find support information and have your questions regarding the use of this site answered.\r\n</p>\r\n<p>\r\nIn order to use this forum, please click on one of the forum categories on the right hand side. This will bring you to another page where you see what previous users have published. You can also add your comment or question, and one of the users or moderators of this site will (hopefully) respond. \r\n</p>\r\n<p>\r\nWe hope you enjoy this site and find it useful.\r\n</p>\r\n<p>\r\nSincerely,\r\n</p>\r\n<p>\r\nCrossword Designer\r\n</p>', '', '', 'none.html', '', 1131532855, 1, 1, 1, 0, 1, 1, 'en'),
(9, 0, '', 0, 1, 'Discussion forum', '/index.php?serendipity[subpage]=forum', 0, 0, 'plugin', 'serendipity_event_forum', 'Discussion forum', 'none.html', '', 1131608658, 0, 3, 0, 1, 1, 1, '');


Thanks, I appreciate your help :D

Posted: Thu Nov 10, 2005 11:53 am
by falk
Okay, i (hope that i) find the bug. The last row 'language' is empty. There must be an language like 'en'.

But why he don't chanche the order? I am looking for and patch it and send it to Garvin. Thank you. I hope tomorow the patch is in CVS.

Posted: Thu Nov 10, 2005 12:03 pm
by nosaisyer
falk wrote:Okay, i (hope that i) find the bug. The last row 'language' is empty. There must be an language like 'en'.

But why he don't chanche the order? I am looking for and patch it and send it to Garvin. Thank you. I hope tomorow the patch is in CVS.
I manually added the language using PHPMySQL and now I do get the link to the Discussion forum. However, the link contains:

http://serendipity.crossworddesigner.co ... age]=forum

which is not the static url I used in the Discussion forum plugin config:
/index.php?/pages/forum.html

Obviously, I do not get the forum when I press the Discussion forum link but instead I get a list of the postings I have in the blog.

Also, adding the language to the record above allowed me to change the order. :D


By the way, thank you very much for this help.

Louie

Posted: Thu Nov 10, 2005 12:47 pm
by falk
nosaisyer wrote:I manually added the language using PHPMySQL and now I do get the link to the Discussion forum. However, the link contains:

http://serendipity.crossworddesigner.co ... age]=forum

which is not the static url I used in the Discussion forum plugin config:
/index.php?/pages/forum.html
Okay, i have a look. But both Links works :-).

Posted: Fri Nov 11, 2005 8:22 am
by falk
Hi again,

i play yesterday with the plugin oneahalf hours, but i couldn't reproduce your bug. I reorder the forum-plugin-position after i integrete the plugin and it works. Sorry.
But i wrote a plugin-patch that now select empty language-rows :arrow: the plugins :-) in the sidebar. Because the Plugins are not multilingual and so i don't save a language in the database and so the plugins canbe shown anytime.

I test it at weekend again and hope (;-)) i find the bug.

Posted: Sat Nov 12, 2005 10:45 am
by nosaisyer
falk wrote:Hi again,

i play yesterday with the plugin oneahalf hours, but i couldn't reproduce your bug. I reorder the forum-plugin-position after i integrete the plugin and it works. Sorry.
But i wrote a plugin-patch that now select empty language-rows :arrow: the plugins :-) in the sidebar. Because the Plugins are not multilingual and so i don't save a language in the database and so the plugins canbe shown anytime.

I test it at weekend again and hope (;-)) i find the bug.
Thanks for your troubles...It is possible all my troubles are due to different php/apache setup, or may be I have other plugins that interfere with discussion forum and the static page ones.

Thanks again,

Posted: Thu Nov 17, 2005 12:44 am
by dk70
I had same problem, seems to be fixed if you update Static page plugin with files from CVS or those in here http://www.netmirror.org/mirror/serendi ... lugins.tgz