MyBB Community Forums

Full Version: Get URL string on a share to button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i need to put in my forum a share button for a specific Social media, in particular Tuenti.

I have this code for example:


<a href="http://www.tuenti.com/share?url=http://www.example.com/index.html"
target="_blank">
<img src="http://www.tuenti.com/tuentishare_1616.png" />
</a>

I need to replace example.com for the string where is the button. I searched into my template but i didnt find anything, so ¿how can i do it?

Thx
{$mybb->settings['bburl']}/showthread.php?tid={$tid} will give the URL of the current thread.
thank u!