0ptima
Well-known member
Sorry, if I have multiple choice custom field I make an array of arrays?
Code:$array = array("price" => $pricearray,"location" => $locationarray,);
I dont know.
Sorry, if I have multiple choice custom field I make an array of arrays?
Code:$array = array("price" => $pricearray,"location" => $locationarray,);
I solved with this code:if I have multiple choice custom field I make an array of arrays?
For each custom field $field of multiple choice custom field $fieldName do: $fields [$field ] = $field ;
After do:
$arrayFields = array($fieldName => $fields);
$serialP = addslashes(serialize($fields));
$serialFP = addslashes(serialize($arrayFields));
$query2 = mysql_query("
UPDATE xf_thread
SET custom_fields = '" . $serialFP . "'
WHERE thread_id = " . $row1[threadid] . "
",$connectionD) or die("Query fault " . mysql_error());
$query3 = mysql_query("
INSERT INTO xf_thread_field_value
(thread_id, field_id, field_value)
VALUES
(" . $row1[threadid] . ", '" . $fieldName . "', '" . $serialP . "')
",$connectionD) or die("Query fault " . mysql_error());
I have the same problem, with or without Enhanced Search and after that I have to rebuild the cache.I want to ask again. I create custom fields but I can't find them on search results.
Bug fixes:
- Fixed bug that unable to search with checkboxes or radio button custom field types.
Still, I am waiting for new version of this Mod couse, like you said to me in PM, you have to make better uninstalling code couse this mode in uninstalling process delete some database rows of default official Xenforo Resource manager Mod.
Bug fixes:
- Fixes bug in shared file that causes site to remain closed and no message to appear in Admin Control Panel if XML file is not updated.
I'm using it on our site (1.4.1) and it works.1) Does this work for XF 1.4 version?
We use essential cookies to make this site work, and optional cookies to enhance your experience.