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

MarkMark Vanilla Staff
edited March 2007 in Vanilla 1.0 Help
Saved Searches

Comments

  • Line 55: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.
  • Bump for Marks sake incase he missed this...seems like a valid point?
  • Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/xxx/public_html/extensions/SavedSearches/default.php on line 33

    Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/xxx/public_html/extensions/SavedSearches/default.php on line 43
  • hi, I make a little fix to that ext

    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
This discussion has been closed.