[Request] Automatically send PM to topicstarter when topic is moved or renamed
#11
MenthiX Wrote:Nice. Sorry for replying so late, but school was busy and installed it just 2 days ago because of that. It looks very nice except from one little problem I have.

The problem is related to the PM templates. The variables that you can use to generate links to the topic aren't right on my board.


Move templates:
{1} = [ url=http://showthread.php/?tid=TID]THREADTITLE[/url ]
{2} = [ url=http://forumdisplay.php/?fid=FID]OLDFORUMSECTION[/url ]
{3} = [ url=http://forumdisplay.php/?fid=FID]NEWFORUMSECTION[/url ]

Rename templates:
{2} = [ url=http://showthread.php/?tid=TID]NEWTHREADTITLE[/url ]

There is nothing wrong with THREADTITLE, OLDFORUMSECTION, NEWFORUMSECTION, NEWTHREADTITLE, TID or FID. But as you can see, the domainname is missing in the url links and showthread.php/forumdisplay.php is in the wrong place.


I don't know if others have this problem too. Looks easy to fix, just place *.php behind the last slash and use the Board URL in front of that. I didn't take a look at your source yet to see if my board is just acting strange or if you mixed things up a little. I'm currently running my board under Windows IIS btw, that might have something to-do with it.
Yes, I've noticed that problem too. Here is a fix:
[attachment=2171]
(download file has been uploaded too)
Reply
#12
Thanks again, got it working now.
Reply
#13
I've modded mine to do this itself, but I thought it would be a good idea to be able to set the "sender" of the private message. You should also put this on the mod site
Reply
#14
A fix:
Thanks to MenthiX, I now know the reason for the bug reported by destroyer in here
I fixed it, and the attached file should work. You just have to replace the plugin file with this one. You don't have to deactivate and reactivate the plugin.


Tikitiki Wrote:I've modded mine to do this itself, but I thought it would be a good idea to be able to set the "sender" of the private message.
I don't think that's a good idea. Now, the user can see who has edited or deleted or moved his thread and maybe ask for an explanation.
Tikitiki Wrote:You should also put this on the mod site
I always forget that. I'll do that now.
Reply
#15
Well, its a tad buggy then. Before I made my custom changes my users had reported that the senders where random users. I tested it myself and also found out that it seemed to be coming from random users, so I changed it to "RCT3XServ". Our bot for our forums.

I think you should give the option to set a user, else it would act as it is in the current script.

Anyways good job with the script

Cheers,
Tikitiki
Reply
#16
Tikitiki Wrote:Well, its a tad buggy then. Before I made my custom changes my users had reported that the senders where random users. I tested it myself and also found out that it seemed to be coming from random users, so I changed it to "RCT3XServ". Our bot for our forums.

I think you should give the option to set a user, else it would act as it is in the current script.

Anyways good job with the script

Cheers,
Tikitiki
That bug has been fixed. I have made a setting in which you can select the UserID. It still needs some testing and then I'll release it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)