Embedding forum into another module

Embedding forum into another module

by Mark Nielsen -
Number of replies: 1
Hi,

I'm attempting to create a module that needs to displays specific forum discussions.  The problem that I'm having is if a user clicks on "Reply" or "Edit" and then "Post to forum" then s/he is redirect to the original forum and not my module.

I manipulate the $SESSION->fromurl and $SESSION->fromdiscussion in hopes of forum using my values for redirects.  But, I have found that forum unsets $SESSION->fromdiscussion in mod/forum/post.php after editing or replying.

Other links like delete or the action of creating a new discussion thread pay attention to my $SESSION settings and redirect back to my module.

So, I'm asking if it is alright to remove those unset lines in post.php in forum and if so, have it adopted into CVS to allow better support for forum embedding?

Cheers,
Mark
Average of ratings: -