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.

$s->SetMainTable('Discussion', 't');

$s->SetMainTable('Discussion', 't'); what does the T stand for?

Comments

  • T is used to later reference the Discussion table. My guess it is short for Topics.
  • What file is this function called? Looking to 'rename' discussions as well as 'comments'.
  • they are the names of the tables in the DB
  • edited March 2008
    MiyagiLooking to 'rename' discussions as well as 'comments'.
    If you want to "rename" discussions and comments, you need to change the dictionary definitions. You can either go through the core "languages\English\definitions.php" file and change all the definitions that mention "discussions" and "comments", or you can create a new "language" dictionary. The latter is probably the preferred method, as updating your Vanilla install (at some point in the future) would erase any changes made to the core definitions file.

    Note, this won't change the URL for the comments page, it will still read "www. yoursite .com/comments.php". (Don't bother trying to change that, it would be more of a pain than its worth.)
This discussion has been closed.