Bug Trouble with Select Field type of Custom Field

Status
Not open for further replies.

Ocean44

Customer
The problem occurs when....
I already have one Select Field type of Custom Field set up,
then I set up a 2nd Select Field.
The 2nd one will include the all select field options from both the 1st instance and the 2nd when creating or editing a review.
When in the Admin panel and Custom Fields setup, they both appear with the correct fields.

(The only way you can see this is with Admin access if you can't duplicate it on your system.)

Joe
 
Sorry, I'll fix that in the next version. If you want to fix it now manually

Open
dbtech/review/includes/class_core.php

On about line 2328 you will find

PHP:
            } elseif ($type == 'edit') {

                $field_options = unserialize($cust_fields['field_options']);

                unset($field_data);

replace it with

PHP:
            } elseif ($type == 'edit') {

                $field_options = unserialize($cust_fields['field_options']);

                unset($field_value_bits);
                unset($field_data);

that should fix it.
 
Thanks for the quick response - I will do that edit.

Another, possibly related, problem.
In Question Management, Add a Question. Text entered in the Text Display box is not there when you go back to edit the question that was just created and saved.
 
Thanks for the quick response - I will do that edit.

Another, possibly related, problem.
In Question Management, Add a Question. Text entered in the Text Display box is not there when you go back to edit the question that was just created and saved.

Yes that's another problem.
Open dbtech/review/actions/admin/edit_question.php

Find
PHP:
print_textarea_row($vbphrase['dbtech_review_quest_display'], 'text', $question['text'], 7, 50);
and replace with
PHP:
print_textarea_row($vbphrase['dbtech_review_quest_display'], 'text', $question['questtext'], 7, 50);

I'll add that to the next release as well.
 
Status
Not open for further replies.

Legacy DragonByte Reviews

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
194
Customer rating
0.00 star(s) 0 ratings
Back
Top