Hi Andreas,
you said that this hack should work with vB 3.5.x too.
I'm sorry .. but it does not.
I have made some changes in the files, so I have to use $vbulletin->userinfo instead of $bbuserinfo and $db->query_read() instead of $DB_Site->query() .. okay.
Should not be the problem ..
I upload the files and run the SQL query. Now I have the opportunity to change the language in the admin control panel .. hmm .. I thought I have it.
If I want to save the option I get this error message
Code:
Schwerer Fehler: Field languageid is not defined in $validfields in class vB_DataManager_Forum in /includes/class_dm.php (Zeile 485)
"Schwerer Fehler" ... is German and means "Fatal error" .. for all who do not speak/understand German language.
I know you (Andreas) do
That within the verify()-method of class vB_DataManager_Form. I tried to set to this (without knowing what I do I admit ^^) ..
PHP Code:
$vbulletin->GPC['forum']['languageid'] = $language['languageid'];
beneath this code block
PHP Code:
$langs = array('Standardsprache');
$languages = $db->query_read("SELECT languageid, title FROM " . TABLE_PREFIX . "language ORDER BY languageid ASC");
while ($language = $db->fetch_array($languages))
{
$langs[$language['languageid']] = $language['title'];
}
Same error message.
I would be
very pleased if you can help me with this.
Maybe a hint is enough, but currently I do not know what I have to do.
Thank you very much,
regards Ben.