Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1 Add-ons:
goforum.cgi -- Suggestion

 

 


jmueller0823
User

Oct 15, 2002, 10:49 AM

Post #1 of 3 (3047 views)
Shortcut
goforum.cgi -- Suggestion Can't Post

I would like to pass the URL for the Article to the body of the forum post.

This seems to be a necessity as people will visit the post and wonder where the article is / how to view it. Will also generate traffic back to the article.

Is that a possibility?

Or... Is my script not working properly? Why would anyone want an article-related message posted in a forum without a link back to the article?? Wink


** Thanks!


Jim

g r o w t h t r a c dot c o m
Life Changing Resources for Your Marriage

(This post was edited by jmueller0823 on Oct 15, 2002, 8:23 PM)


drshane
New User

Oct 15, 2002, 8:47 PM

Post #2 of 3 (3028 views)
Shortcut
Re: [jmueller0823] goforum.cgi -- Suggestion [In reply to] Can't Post

Here's my fix for it, it works with iKonboard, but you could figure out how to modify it to work with your forum.

Change the my $forum_body = "SUMMARY: $rec{'summary....... line to read like this:
my $forum_body = "SUMMARY: $rec{'summary'}\n\n---\n\n[URL=/articles/publish/article_$art_num.shtml]Read the full story here[/URL]\nWhat do you think about this story? Post your comments below.";

You can change the line to read how ever you wish, but that should give you the general idea.

-Shane


(This post was edited by drshane on Oct 15, 2002, 9:11 PM)


MalaK_3araby
User

Oct 18, 2002, 1:37 PM

Post #3 of 3 (3007 views)
Shortcut
Re: [drshane] goforum.cgi -- Suggestion [In reply to] Can't Post

and i quote "Dave Edis":


Quote


Webguys asked "is their a way to have the script add a reference link to the article that is being discussed? "

Look for the line that starts with "my $forum_body =" and add the link at the end. Assuming you're using the default naming it would look something like this:

Read the full article at http://yoursite/publish/article_$rec{'num'}.shtml

$rec{'num'} would insert the number of the article.

Dave Edis - Senior Developer
interactivetools.com



Post #10 @ here

G-Luck.

--------------
Sure you can spell it, but do you get it?