 | |  |
 |

ken_itools
Staff

Oct 25, 2002, 12:08 PM
Post #1 of 22
(9879 views)
Shortcut
|
Discuss this Article v1.04 - Discus support & ikonboard mods
|
Can't Post
|
|
Hi folks, We've added support for the Discus forum (http://www.discusware.com/discus/index.php) to goforum.cgi, and added a "no login" option for ikonboard. Grab it here: http://www.interactivetools.com/products/articlemanager/addons/goforum.zip Here's the changelog entry for version 1.04: - updated ikonBoard code to support "no login required" flag and not generate error. - added additional "UserName" field that's send to ikonBoard for anonymous postings - added support for Discus - note: posting without username and password has not been tested For those of you who are unfamiliar with Discuss this Article (also known simply by the name of the script, goforum.cgi) checkout Dave's description at: http://www.interactivetools.com/iforum/C2/F15/P2887/ Have fun ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
|
|
|  |
 |

telugucinema
User
Oct 25, 2002, 9:50 PM
Post #2 of 22
(9865 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hello Ken, Thanks for the script supporting Discuss, installed it and trying to get it work. I could get the script to post the article to the discussion board, but it never goes to that page. The next time I click on Discuss this article it gives an error You are not authorized to view this page Can you please let me know what the problem is.. the topic is created in the board.. just cannot go there... http://www.telugucinema.cc/cgi-bin/artman/exec/goforum.cgi?id=667 Thanks Prasad http://www.telugucinema.com Prasad Potluri http://www.telugucinema.com http://www.pittsburghindian.com
|
|
|  |
 |

ken_itools
Staff

Oct 25, 2002, 10:42 PM
Post #3 of 22
(9862 views)
Shortcut
|
Re: [telugucinema] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
The fact that the redirect url has no filename tells me that the initial post is not picking up that page number. (http://www.telugucinema.cc/discus/messages/2/.html - there should be a number between / and .html) In the configuration section, did you set $g{'forum_num'} = 2; ? With Discus, this needs to be set to the name of the directory (Discus uses numbers for directory names) where messages are stored. In your case, the index is at: http://www.telugucinema.cc/discus/messages/2/2.html , and messages posted to this index are stored in the $g{'forum_messages_url'}/$g{'forum_num'} directory, so you can see where the 2 comes from ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
(This post was edited by ken on Oct 25, 2002, 10:43 PM)
|
|
|  |
 |

telugucinema
User
Oct 26, 2002, 7:22 AM
Post #4 of 22
(9856 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi Ken, Yes I did set $g{'forum_num'} = 2; That is what bugs me... it posts the message to the right folder (topic), but the redirect for some reason is not getting the URL right... any ideas of what's happening.!! http://www.telugucinema.cc/discus/messages/2/2.html Thanks Prasad Prasad Potluri http://www.telugucinema.com http://www.pittsburghindian.com
|
|
|  |
 |

ken_itools
Staff

Oct 26, 2002, 8:08 AM
Post #5 of 22
(9854 views)
Shortcut
|
|
Re: [telugucinema] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
goforum.cgi stores the discussion page data in a file named goforum.dat . If you've installed goforum in /artman/exec/, then this file resides in the /artman/data/ directory. Check to see that this file exists, and that the file permissions for it are world writable. ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
|
|
|  |
 |

telugucinema
User
Oct 26, 2002, 9:48 AM
Post #6 of 22
(9849 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Thanks Ken.. it worked... Thanks a lot for all the help... Prasad Potluri http://www.telugucinema.com http://www.pittsburghindian.com
|
|
|  |
 |

ken_itools
Staff

Oct 26, 2002, 10:15 AM
Post #7 of 22
(9848 views)
Shortcut
|
|
Re: [telugucinema] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
You're more than welcome! Have a great weekend. As for me, I'm off to the island to visit friends and family. ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
|
|
|  |
 |

ivar
User
Nov 15, 2002, 7:28 AM
Post #8 of 22
(9745 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi! It seems as if I have the same problem as telugucinema had. Go to http://www.lhs.se/comenius/article_52.html Click on "Diskutera denna artikel" ("discuss this article" in Swedish) and you can see that it doesnīt work. Iīve followed the instructions and read this thread, but I just canīt get it to work. I've also double checked all the settings... Ivar Johansson Stockholm, Sweden
|
|
|  |
 | |  |
 |

ivar
User
Nov 15, 2002, 12:02 PM
Post #10 of 22
(9731 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi Ken and thanks for your quick answer! Here are my settings in the goforum.cgi: $g{'forum_url'} = 'http://www.lhs.se/cgi-bin/comenius/discus'; $g{'forum_messages_url'} = 'http://www.lhs.se/comenius/discus/messages'; As you can see they are as recommended in the instructions. And looking at the error message, which is "Location: http://www.lhs.se/cgi-bin/comenius/discus/messages/2/.html" it looks as if I have two problems; 1. The visitor is redirected to the wrong url (should be http://www.lhs.se/comenius/discus/messages/) 2. The file name of the discussion in not included in the url (should be 2.html) Pretty strange, huh? Ivar Johansson Stockholm, Sweden
|
|
|  |
 |

ken_itools
Staff

Nov 18, 2002, 9:03 AM
Post #11 of 22
(9707 views)
Shortcut
|
|
Re: [ivar] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Have you tried just making a normal post to the forum with the username and password you configured in goforum.cgi? ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
|
|
|  |
 |

ozinm
User
Nov 19, 2002, 5:34 AM
Post #12 of 22
(9689 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
I've got exactly the same problem as Ivar and have tried posting to the forum directly using the account set up for the article-discus posts and that works fine. In fact the goforum script posts articles in the right place, it just redirects you to the wrong page.
|
|
|  |
 |

ozinm
User
Nov 19, 2002, 5:46 AM
Post #13 of 22
(9687 views)
Shortcut
|
|
Re: [ozinm] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Here's a quick thought - what version of Discus was the goforum written for? I'm currently using Discus 3.10.5 PRO - make any difference? Marc
|
|
|  |
 |

ivar
User
Nov 20, 2002, 1:59 AM
Post #14 of 22
(9671 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Yepp posting works fine. The user is "Anon" and no password is required. I use Discus 3.10.5 Freeware. Ivar
|
|
|  |
 |

ken_itools
Staff

Nov 20, 2002, 9:21 AM
Post #15 of 22
(9660 views)
Shortcut
|
|
Re: [ivar] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi Ivar, It seems that your version of Discus indicates the articles differently than other versions, so I've made a quick modification to the script, which I'll release as version 1.05. Unfortunately, I don't have your version of Discus for testing, so please try this out and post your results back here. Thank-you! ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
(This post was edited by ken on Nov 22, 2002, 2:28 PM)
|
|
Attachments:
|
goforum_v1_05.zip
(21.7 KB)
|
|
|  |
 |

snaketorque
User
Nov 23, 2002, 8:38 AM
Post #16 of 22
(9629 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
I am running DCForum, any ideas on how I would hack this to work with DCForum, either the Perl version or the PHP version? Thanks Robert
|
|
|  |
 |

ivar
User
Nov 24, 2002, 7:38 AM
Post #17 of 22
(9624 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi Ken and thanks for the changes! Youīre closing in, but still no cigar. The error message is as follows: http://www.lhs.se/cgi-bin/comenius/discus/messages/2/.html As I see it, this means that goforum.cgi has found the configured directory (2), but the script canīt find a page to display. Or what do think of this? Bye for now. Ivar Johansson Stockholm, Sweden
|
|
|  |
 |

ken_itools
Staff

Nov 25, 2002, 10:08 AM
Post #18 of 22
(9610 views)
Shortcut
|
|
Re: [ivar] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi Ivar, I've verified that goforum 1.05 (attached as a zip to my previous post) does extract the article discussion page correctly. I even used your discussion index page. Prior to version 1.05, the Discus Pro tag was not recognized properly, so maybe you need to empty goforum.dat file? ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
|
|
|  |
 |

ivar
User
Nov 25, 2002, 10:22 AM
Post #19 of 22
(9607 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi Ken, I'm sorry to say this, but my goforum.dat is empty. Bugger. And it disturbs me that I can't find out what's wrong either. Ivar Johansson Stockholm, Sweden
|
|
|  |
 |

ken_itools
Staff

Nov 25, 2002, 10:38 AM
Post #20 of 22
(9604 views)
Shortcut
|
|
Re: [ivar] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
If your goforum.dat is empty, then perhaps it needs to be set to world writable. Login with your FTP program and CHMOD it to 755. ---------- Ken Clarke - YAPG (Yet Another Perl Guy :) interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
|
|
|  |
 |

ivar
User
Nov 25, 2002, 10:43 AM
Post #21 of 22
(9602 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
It has been writable all the time. Sorry. Ivar Johansson Sweden
|
|
|  |
 |

ozinm
User
Nov 29, 2002, 5:58 AM
Post #22 of 22
(9569 views)
Shortcut
|
|
Re: [ken] Discuss this Article v1.04 - Discus support & ikonboard mods
[In reply to]
|
Can't Post
|
|
Hi Ken, I've just uploaded V1.05 so I can get the redirection to the Discus Pro board working but I'm having problems. When I call goforum.dat from my browser specifying a article number that exists it throws up a 403 error and does not create the article. When I call up the script using an article number that is not valid it does tell me that the article does not exist (from this I know that the script is running!) the v1.04 script created discussion topics ok just couldn't redirect to the discussion page. Any pointers to where I'm going wrong?
|
|
|  |
|