:up:
Release: vS-Hide Hack Resurrection 3.7.2 :up:
Changes Since 3.7.1:
- [+]* The hack has been optimized to work fast on large boards.
- [+] The toolbar buttons are now displayed on postbit_quickedit and showthread_quickreply.
- [+]* Two less file edits (which need to be removed if you have upgraded from an older version - see forum announcement).
- [F] Corrected a cosmetic bug in advanced editor's toolbar.
- [F] Fixed bbcode templates so that they can now be edited.
* Expanded Edition Only.
Upgrade Process:
1. Upload all of the new files.
2. Overwrite the product.
3. In ./includes/functions_databuild.php, find and delete (relevant to expanded edition only):
Code:
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "thanks WHERE postid IN ($postids" . "0)");
$hhr_res = $vbulletin->db->query_write("SELECT DISTINCT userid FROM " . TABLE_PREFIX . "post WHERE postid IN ($postids" . "0)");
while ($hhr_item = $vbulletin->db->fetch_array($hhr_res))
{
$GLOBALS['hhr']->rebuild_cache('count', $hhr_item['userid']);
}
Also in the same file, find and delete:
Code:
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "thanks WHERE postid = $postid");
$GLOBALS['hhr']->rebuild_cache('count', $postinfo['userid']);
4. Revert the following templates, if you've done any changes:
- hidetag_toolbar_buttons
- bbcode_hposts
- bbcode_hrply *
- bbcode_hrplytnx *
- bbcode_htnx *
- bbcode_showtogroups
5. You should see a new administrative notice about rebuilding the thanks table. Please follow the instructions on that notice.
6. Enjoy the faster performance of your forums!
* Expanded Edition Only.