Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 6 of 6

Thread: Custom profile fields

  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default Custom profile fields

    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.

  2. #2
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    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?
    Last edited by vBET; 20-05-10 at 21:57.

  3. #3
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    PM sent.

  4. #4
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    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.

  5. #5
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    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:
    PHP Code:
    foreach ($_POST as $key => $value) {
    $_POST[$key] =& vbet_encodeToSafeUTF8($value);

    4. Replace by:
    PHP Code:
    foreach ($_POST as $key => $value) {
    if (!
    is_array($value)) {
    $_POST[$key] =& vbet_encodeToSafeUTF8($value);
    }

    5. Save

  6. #6
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    Thanks very much for the quick fix!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •