PDA

View Full Version : LMS+SMF, can't login in the course forum


koraf
06-11-2007, 08:30 PM
Hi again!

We are trying to setup the forum plugin and it's almost done. The only issue that we have is that we can't login to the forum through LMS, but if we access the forum through the link in a menu (ex. user menu at joomla!) the course forum is up and working.

When we click at forum icon appears a login screen that tells "you are not a member of the forum, please login again at joomla..." or something like that (we are using the spanish translation and i don't know if this is the same text :) )

How can we solve that issue?

We have CB 1.0.2 with SMF 1.1.2 linked through joomlahacks SMF bridge 2.0.2.

den
06-12-2007, 07:48 AM
JoomlaLMS has its own SMF bridge.
Try to disable joomlahacks bridge. (and clean your browser cookies before testing)

koraf
06-12-2007, 10:18 AM
Thanks Den, now the forum link is working ^^

Now we're looking to adjust the forum wrapper as the way that we've read in the post started by Brains ( http://www.joomlalms.com/forum/newreply.php?do=newreply&noquote=1&p=2335 ) to avoid scrollbars, but we can't find the template file (index_template.php) to add the code.

Is there any way to auto-adjust the iframe size to the forum's height and width?

At the moment the only we can do is adjust the iframe width in course_forum.html.php but setting auto-height is breaking our heads... :(

Thanks again.

den
06-12-2007, 10:32 AM
Change file course_forum.html.php at line ~88
from:

<iframe
id="blockrandom"
name="iframe"

to:

<iframe onload="iFrameHeight()"
id="blockrandom"
name="iframe"


If you will have problems with the auto-heights, then you will need to do changes, which described in the topic started by brains.
index_template.php is located in the forum folder, like 'course_forum\Themes\default'

koraf
06-12-2007, 03:07 PM
Oh man, you're the coding god. (^_____^). Me and my dumbhead were looking into com_joomla_lms folder trying to find the index_template.php file.

I'm going to bug reporting forum to tell you something there.

I thank you here now, and im sure that i will thank you again later :D