Advertisement:

Idea about Bridge 3.20 and disabling login/logout

Aloittaja brother7, tammikuu 13, 2006, 01:47:40 AP

« edellinen - seuraava »

brother7

I'm using SMF 1.1 RC2, Joomla 1.0.5, and Coppermine 1.4.3

Coppermine BridgeManager used to bridge Coppermine-SMF.
Orstio's Bridge 3.20 used to bridge Joomla-SMF.  Using SMF registration, primarily because I might wanna collect extra info during registration like Real Name using this tutorial.

From what I've been reading, it might be preferred to do all login/logout via Orstio's login module, instead of thru the SMF interface.  Is this correct?
If that's correct, then is it recommended to edit the SMF and Coppermine templates, disabling all login/logout, forcing people to use the only option left, which is Orstio's module?  If this is the recommended way of doing things, then is it a pretty easy task to make those template modifications to SMF and Coppermine?

Thanks in advance.

chadness

Yes to all of your questions, if your users are not going to ever access the forum stand-alone.  If they are, you might need to do some different theme modifications.

eichelman

Just to clarify, I am a newbie, but this is how I edited my index.template.php for th SMF forum. I wanted the login stuff displayed only if not wrapped, that is, displayed outside of Joomla.

1) in the classic default Theme, around line 269, I added
        // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
        else
//fre hack to disable if wrapped, dont ask the BUMS to login from here!
if (empty($_REQUEST['option']))


2) around line 548
//fre hack to disable if wrapped
if (empty($_REQUEST['option'])){
        // If the user is a guest, show [login] button.


3) around line 573, close off the paren
} //end of fre login disable hack

        // The end of tab section.
        echo '


So basically all I did was use the if-empty clause to cut out some code.
Seems to work!

Advertisement: