Michael Biddle
08-24-2008, 10:00 PM
Thread Subscription Title
by: Michael Biddle
White-Projects (http://www.white-projects.com)
What does this do?
One one of my forums that I am at, I subscribe to quite a bit of threads for bug fixes. When I subscribe, it will only use the thread title, which does not help me out if it is not specific to the issue. So I made a little modification that will allow you to define what you want the title to be for the thread subscriptions. If you choose not to enter anything inside of the title box, then it will just use the thread title.
How do I install it?
1. Upload the product to your vBulletin Product Manager
2. Download and open your subscription.php
Find:
REPLACE INTO " . TABLE_PREFIX . "subscribethread (userid, threadid, emailupdate, folderid, canview
Replace with:
REPLACE INTO " . TABLE_PREFIX . "subscribethread (userid, threadid, emailupdate, folderid, canview, subscriptionname
Find:
VALUES (" . $vbulletin->userinfo['userid'] . ", $threadinfo[threadid], " . $vbulletin->GPC['emailupdate'] . ", " . $vbulletin->GPC['folderid'] . ", 1
Replace with:
VALUES (" . $vbulletin->userinfo['userid'] . ", $threadinfo[threadid], " . $vbulletin->GPC['emailupdate'] . ", " . $vbulletin->GPC['folderid'] . ", 1, '" . $db->escape_string($vbulletin->GPC['subscriptionname']) . "'
Please Click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=189031) if you use.
by: Michael Biddle
White-Projects (http://www.white-projects.com)
What does this do?
One one of my forums that I am at, I subscribe to quite a bit of threads for bug fixes. When I subscribe, it will only use the thread title, which does not help me out if it is not specific to the issue. So I made a little modification that will allow you to define what you want the title to be for the thread subscriptions. If you choose not to enter anything inside of the title box, then it will just use the thread title.
How do I install it?
1. Upload the product to your vBulletin Product Manager
2. Download and open your subscription.php
Find:
REPLACE INTO " . TABLE_PREFIX . "subscribethread (userid, threadid, emailupdate, folderid, canview
Replace with:
REPLACE INTO " . TABLE_PREFIX . "subscribethread (userid, threadid, emailupdate, folderid, canview, subscriptionname
Find:
VALUES (" . $vbulletin->userinfo['userid'] . ", $threadinfo[threadid], " . $vbulletin->GPC['emailupdate'] . ", " . $vbulletin->GPC['folderid'] . ", 1
Replace with:
VALUES (" . $vbulletin->userinfo['userid'] . ", $threadinfo[threadid], " . $vbulletin->GPC['emailupdate'] . ", " . $vbulletin->GPC['folderid'] . ", 1, '" . $db->escape_string($vbulletin->GPC['subscriptionname']) . "'
Please Click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=189031) if you use.