Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1 Add-ons:
Can anyone decipher this code (goforum)?

 

 


ThomasK
User

Aug 8, 2004, 9:10 PM

Post #1 of 3 (4387 views)
Shortcut
Can anyone decipher this code (goforum)? Can't Post

Unable to parse out forum post URL! at goforum.cgi line 882.

This is weird because, up until now, everything was working fine with Simple Machines and GoForum. I haven't changed a thing.

Line 882 says this:
if ($html !~ /([^"]+)"\>\Q$forum_subj\E/) { die("Unable to parse out forum post URL!"); }

Uhhhh.
[url "http://www.motorcyclesearchengine.com"]The Motorcycle Search Engine[/url]

(This post was edited by ThomasK on Aug 8, 2004, 9:12 PM)


ThomasK
User

Aug 9, 2004, 8:43 PM

Post #2 of 3 (4361 views)
Shortcut
Re: [ThomasK] Can anyone decipher this code (goforum)? [In reply to] Can't Post

"Oh no one knows all the trouble I've seen."

Second try. Same result.
[url "http://www.motorcyclesearchengine.com"]The Motorcycle Search Engine[/url]


ThomasK
User

Aug 9, 2004, 9:07 PM

Post #3 of 3 (4358 views)
Shortcut
Re: [ThomasK] Can anyone decipher this code (goforum)? [In reply to] Can't Post

Actually, here is the small section for those who are literate with this gibberish.

### Step 3. Now the article has been posted, we get the index page and parse out the post URL.

$url = "$cfg{'yabbse'}{'forum_url'}/index.php?board=$cfg{'forum_num'}";
($head, $html) = &GetPage($url);

if ($html !~ /([^"]+)"\>\Q$forum_subj\E/) { die("Unable to parse out forum post URL!"); }
my $thread_url = $1;


# and we're done, return URL
return $thread_url;


Here is the article:
http://www.motorcyclesearchengine.com/Articles/article_20.shtml

The shortcut:
http://www.motorcyclesearchengine.com/artman/exec/goforum.cgi?id=20&cat=1
[url "http://www.motorcyclesearchengine.com"]The Motorcycle Search Engine[/url]