Quote:
Originally Posted by Boofo
Actually this bear does! Maybe I really am part bear. 
|
Then only part Salmon for you! You silly bear!
Hopefully someone can help... but I also managed to discover another possible way of getting this to work, rather than using pure javascript, maybe there is another way of doing this via php? In the stencil hack, here are some interresting bits of code I discovered that seem to do what I need, but now need to find a way to actually create a button that performs the actions on demand, rather than pre-defined in the AdminCP as it currently does.
PHP Code:
$foruminfo['stencilmsg'] = str_replace("[username]",$vbulletin->userinfo['username'],$foruminfo['stencilmsg']);
$newpost['message'] = $foruminfo['stencilmsg'];
This being the code which is responsible for outputing the code into the
$newpost['message'] area, which is what I need. Whereas
$foruminfo['stencilmsg'] is what I input in the AdminCP to appear in the message area. But I need a way to do this ondemand via button/link. Any help?