![]() |
Wrote this hack because people on my forum were complaining that there was no closed thread saying "Your thread was moved because of ....", so I decided to have the forum e-mail them when a mod/admin moved their thread.
EDIT POSTINGS.PHP Find (around ln 287) Code:
$threadinfo=$DB_site->query_first("SELECT forumid FROM thread WHERE threadid=$threadid"); Code:
$threadtitle=$threadinfo[title]; Find (around ln 334) Code:
$DB_site->query("UPDATE forum SET replycount=$numberposts,threadcount=threadcount-1,lastpost=$lastpost,lastposter='".addslashes($lastposter)."' WHERE forumid=$curforumid"); Code:
$firstpostinfo=$DB_site->query_first("SELECT userid FROM post WHERE threadid=$threadid ORDER BY dateline LIMIT 1"); [Edited by Emul8or on 01-20-2001 at 05:34 PM] |
nice hack. :)
|
hi Emul8or
the ver1.1.5 do not work "$threadtitle" thanks |
Oh, sorry, I was working off the 1.1.2 codebase.
|
thanks
Only Vars $threadtitle not working |
Quote:
|
lol......................
|
Quote:
|
Be nice to have it for 1.1.4
|
All times are GMT. The time now is 07:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|