PDA

View Full Version : Solved Custom profile fields



moman
20-05-10, 20:28
If you have a checkbox profile field and try to change its values on a translated version of profile.php, the changes don't get saved.

vBET
20-05-10, 21:50
Just tested on this forum with 'Reset' field for custom title - it works here.

Please create me test account on your forum, PM details with description which field exactly is not working and from where this field is (which mod adds it).

Edited:
Sorry - just noted that it is about custom profile fields. Can you still please PM details with test account on our forum to see it?

moman
20-05-10, 22:10
PM sent. :)

vBET
24-05-10, 20:16
Great thanks :) See it and confirm it :)

We will reproduce it on our server and correct :) Also thanks for hint how to reproduce:

The extra fields are built using vBulletin's 'user profile field' tab in the admin panel. Simply add a new checkbox field and you should be able to reproduce this. I'd imagine this can easily be fixed by a plugin that adds SNTA and ENTA around the additional form code added by vbulletin.

vBET
10-06-10, 13:00
Corrected and will be included in 3.3.4. For quick fix please:
1. Go to Admin CP -> Plugins & Products -> Plugin Manager
2. Edit vBET plugin for init_stratup hook (named: "Initialization"
3. Find:


foreach ($_POST as $key => $value) {
$_POST[$key] =& vbet_encodeToSafeUTF8($value);
}

4. Replace by:


foreach ($_POST as $key => $value) {
if (!is_array($value)) {
$_POST[$key] =& vbet_encodeToSafeUTF8($value);
}
}

5. Save :)

moman
04-08-10, 18:53
Thanks very much for the quick fix!

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET Translator 4.10.1