Log in

View Full Version : Pre loading a reply


Mark Hewitt
04-08-2008, 08:37 AM
For something I'm doing I'd like to be able to pre-load a reply box with a post, which the user can edit if they wish.

I'll give an example. There is a competition I run where winners are regularly announced and I'd like my calculation script to have a link something like

http:/etc/newreply.php?do=newreply&threadid=1234&winner=Mark

Then in the reply box you will see a post such as

This weeks winner is Mark. Congratulations


So I'd like some guidance on how that could be done. I don't mind modifiying the newreply.php code but can't see where to insert the message.

Lynne
04-08-2008, 02:11 PM
Do a search on "stencil" "All Mods" "Titles Only" and you will come up with a stencil hack. It preloads for a thread (or a post? I'm not sure) and perhaps you can modify that to do what you want.