Quote:
Originally Posted by will_lean
Hi
to edit this to suit my forum can i edit the installer file so it installs the new phrases?
Code:
$DB_site->query("
INSERT INTO " . TABLE_PREFIX . "phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_text', 'Text', 1)
");
can i change the above sql insert from vbgarage_text to member_info etc to customize it or will this mess with the installer?
thanks again.
|
No, you cannot change the "vbgarage_text" unless you edit the script/templates as well to reflect the change. However, you can edit the "Text", to have that phrase return whatever you like. Do that through the Phrase Manager in the AdminCP. There's really no need to change the variable names, since the users never see them. It's just called by [high]$vbphrase[vbgarage_text][/high]. It will return whatever you define it to.