DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: vBulletin connection

Author:Alex Chet
Created:2006-04-16T18:09:00
Changed:2006-04-24T22:30:45
Info 1:
Info 2:
Info 3:
Info 4:

EXT: vBulletin connection

Extension Key: vbulletin_connect

Copyright 2006 Alex Chet, <:underline:``alexchet@r66.ru <../../../../E :%5CMy%20Documents%5CTypo3%5CIntegration%5Calexchet@r66.ru>`_` >

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from:underline:``www.typo3.com <http://www.typo3.com/>`_`

Some parts of the extension are based on code of vBulletin auth service (vbulletin_auth) and Language Detection (rlmp_language_detection) extensions.

Whatdoes it do?

The extension enables FE-user registration, login and so on by means of vBulletin authorization system. All information (login, password etc.) are stored inside vBulletin database tables and FE-user records in Typo3 database don't matter. Therefore only vBulleten registered users can login onto site. Logged FE-user can then pass to forum without entering his login and password again. Additionally, in case of multilingual site and forum, if user changes forum language, site language is changed accordingly.

Tutorial

To use vBulletin connection extension you can take next steps:

Notice: I assume there are two languages on site and forum

  • English (L=0 and langid=1)
  • YourLanguage (L=1 and langid=2).

And the entire forum is divided on two sections: English forums and YourLanguage forums

1.Installnewloginbox extension. Create SysFolder to store FE-users records. Create FE-user groups (at least one, e.g. “Registered”)

2. Install and configure vBulletin (last version 3.5.4) (e.g. in folder named “forums”). All actions are described in vBulletin manual. There is the only restriction – to locate vBulletin tables you must use your Typo3 site database.

3. Install and configure vBulletin connection extension. All settings seem clear.

4. Create a page (e.g. Login/Status) and place newloginbox plugin on it.

5. Just after the plugin place a text content element with access “Hide at login” :

Forgotten your password? (link to forums/login.php?do=lostpw&langid=1)

Register (link to forums/register.php?langid=1)

Below add text having access: "Registered" :

Edit profile (link to forums/profile.php?do=editprofile&langid=1)

6. Make translation of the page to YourLanguage. Place on it a newloginbox and text content elements:

[Translated]Forgotten your password? (link to forums/login.php?do=lostpw&langid=2)

[Translated]Register (link to forums/register.php?langid=2)and:underline:[Translated]Edit profile (link to forums/profile.php?do=editprofile&langid=2)

7. To make link to English forums create a page (e.g. Forum) having type “External URL” and (if you want hide forum from guests) access "Registered" (link to forums/forumdisplay.php?f=1&langid=1). To hide the page in case YourLanguage is selected set checkbox “Hide page if no translation for current language exists”.

8. To make link to YourLanguage forums create a similar page (and of course its translation) with link to forums/forumdisplay.php?f=4&langid=2. To hide the page in case English is selected set checkbox “Hide default translation of page”.

Of course you must insert instead of f=1(f=4) index of your own forums (founded in AdminCP)

9. If you also want use vBulletin mail form, you can similarly to above create pages Contact us (link to forums/sendmessage.php?langid=1) and [Translated]Contact us (link to forums/sendmessage.php?langid=2).

Knownproblems

If you use Language Selection (sr_language_menu) extension the default language selecting become impossible in some cases. It is caused by that code in class.tx_srlanguagemenu_pi1.php (repeated three times):

if(!$this->rlmp_language_detectionLoaded) $GLOBALS['TSFE']->linkVars = ereg_replace('&L=0' , '', $GLOBALS['TSFE']->linkVars);

So you have to delete these strings.