Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Saved Searches
Mark
Vanilla Staff
Saved Searches
0
This discussion has been closed.
Comments
if (!AppendToConfigurationFile($Configuration['APPLICATION_PATH'].'conf/database.php', $Structure)) $Errors = 1;
should be replace withif (!AppendToConfigurationFile($Configuration['DATABASE_PATH'], $Structure)) $Errors = 1;
Or the extension won't be able to save its settings if the conf/database.php have been moved.
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/xxx/public_html/extensions/SavedSearches/default.php on line 43
add
$DatabasePrefix = $Context->Configuration['DATABASE_TABLE_PREFIX'];
somewhere in the beginning of default.php
and replace
$UserSearchDrop = "drop table if exists `LUM_UserSearch`";
to$UserSearchDrop = "drop table if exists `".$DatabasePrefix."UserSearch`";
and$UserSearchCreate = "CREATE TABLE `LUM_UserSearch` (
to$UserSearchCreate = "CREATE TABLE `".$DatabasePrefix."UserSearch` (
is only for the forum with diferent prefix
sorry for my english