The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
Very useful hack.
Just I found should be better replace the main two lines in postings.php with the following: Code:
$movemessage="Your thread entitled ".$threadinfo[title]." has been moved to the $bburl[/COLOR]/forumdisplay.php?forumid=".$foruminfo[forumid]."\"]".$foruminfo[title]." forum. You can find it by clicking:\n\n$bburl[/COLOR]/showthread.php?threadid=".$threadid."\"]$bburl/showthread.php?threadid=".$threadid."\n\nThis is an automated message, DO NOT REPLY.\n"; $DB_site->query("INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title,message,dateline,showsignature,iconid,messageread,folderid,receipt) VALUES (NULL,$firstpostinfo[userid],$firstpostinfo[userid],$bbuserinfo[userid],'Your post has been moved.','".addslashes($movemessage)."',".time().",0,9,0,0,0)"); First, of couse, cause mine .txt linked to YOUR homepage... Second, because I didn't like any move thread PM should sent with the same Admin (user 1) author... I'd prefer the original mover as the sender of the PM. Thanks. Bye |
#13
|
|||
|
|||
Thanks a lot for the hack Overgrow, I have been waiting for this hack for 2 years! I have a question and a suggestion for you:
1. What happens if the person has disabled using PM's? 2. This shouldn't be very hard for you, can you make a different version of the hack so that it will send a PM on deleting the thread? My request can be found here, I just posted it a month ago. Thanks |
#14
|
||||
|
||||
>>What happens if the person has disabled using PM's?
Admins don't care if people have their PMs disabled They get the PM anyway.. they'll have to turn them on to read it. >>different version of the hack so that it will send a PM on deleting the thread? No sweat.. in postings.php, find this twice: PHP Code:
PHP Code:
>>cause mine .txt linked to YOUR homepage... OOPS! Sorry, I had fixed that once. I will fix it again.. Sly aren't I? Getting people to register on MY board from your error |
#15
|
|||
|
|||
Well, actually it does not. I'd really appreciate it if you could test it and maybe release as a different hack when you have time
Thanks |
#16
|
||||
|
||||
What doesn't work about that? What is the error? Deleting threads causes big delays on my site so I don't want to test this since I don't want to install it. The code looks like it should work, what goes wrong?
|
#17
|
||||
|
||||
I have one more request for an addition to this hack. One I think may be easy, but I could be wrong.
Would it be possible for his hack to also perform an email notification of the PM by default as well? I noticed that while doing some testing that even when the recipient has email notify turned on for their PMs, this particular hack skips that and does not send an email notification. I really like this hack a lot and thank you for providing it as well as modifying it to be a selectable option. |
#18
|
||||
|
||||
Tell me if this works?
find: } // END PM HACK above it put PHP Code:
|
#19
|
||||
|
||||
Nope, it didn't work. =/
I moved a thread with the options selected, got the PM and checked my mail, no message. I waited a few minutes and still no mail, so I sent myself a PM to check and make sure the mail system was functioning alright and recieved the email notify for it in seconds. |
#20
|
|||
|
|||
Apparently the $userid that this PM is coming from, is 1, however, I am user #2 and i wish for the PM to come from my name. Can you tell me where to change that? Thanks
|
#21
|
||||
|
||||
NSex...
look for this: Code:
(NULL,$firstpostinfo[userid],$firstpostinfo[userid],1,'Your post has been moved.' Good stuff overgrow, thanks! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|