Is there a way to use Twitter Hashtags on MyBB forum posts?
Example:
Something Something #Somebody #Somewhere
Any plugin or mods to make #Somebody #Somewhere link to Twitter hashtag search page?
Thanks.
You can use mycode
\[twt\](.*?)\[/twt\]
Replacement
<a href="https://twitter.com/intent/tweet?button_hashtag=$1" class="twitter-hashtag-button" data-related="YOUR TWITTER">$1</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
Use
[twt]#bf4brasil[/twt]
Thanks a million!
However, if I want to redirect the page to Twitter Hashtag search, what should I do?
You would need a plugin then.