Active
Project:
SMFforum Integration module
Version:
6.x-1.21
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2008 at 15:39 UTC
Updated:
28 Jan 2010 at 19:46 UTC
I really like this bridge so far, but I am wondering about the lack of ability to easily bookmark a page in the SMF forum (because it is in a frame). Is it possible to add the appropriate SMF URL either as the URL that gets bookmarked or (even better) as part of the Drupal URL?
For example, how it is now:
Unwrapped SMF url: http://www.whatever.com/forum/index.php?board=6.0
Wrapped SMF url: http://www.whatever.com/?q=forum
How it would be cooler:
Unwrapped SMF url: http://www.whatever.com/forum/index.php?board=6.0
Wrapped SMF url: http://www.whatever.com/?q=forum?board=6.0 and this would send you to the right page.
Thanks for writing this module, and getting SMF to go along with it!
Comments
Comment #1
canyonbreeze commentedI know this is a couple years later but I had the same issue at a site of mine. I was able to fix it with some mods as shown below...
-----------------
This forum is the SMF (Simple Machines Forum) integrated into Drupal 6 using the integration module. While it works pretty well, one of the things I wanted to improve is the URL that the browser sees. By default it would only see the front page of the forum. So bookmarking, et cetera, would not bring you back to the exact page. Here is some code I put in that seems to fix that. This also makes it so when you open a link from the forum to another page or window it keeps the Drupal framework.
I think this would help SEO as well as the forum content can be better indexed. This slows the response a little due to the reload caused by the php headers command. If that's a problem for you, don't do this.
In .htaccess
In SMF theme index.template.php
in Drupal smfforum.module