Im trying to make a new BBcode to make it easier for my users to link to a site which is used regularly on my forum, www.imdb.com. My current code is: http://www.imdb.com/find?s=all&q={param} Code (markup): What this does is searches what ever the user puts in the code. So for example if I put: [imdb]hancock[/imdb] into my forum, I would be taken to the Hancock page on IMDB. However I what I want to do is when the users press the IMDB icon it automatically takes the name of the thread and is all linked up properly when posted. How would I do this?
Where would the IMDB icon be? Like in the editor? This could be done with JavaScript to read the thread title, sorda like the way the URL icon works only it would grab the value from the title.