MyBB Community Forums

Full Version: changing the url sent by automatic notifications (and other)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I've had a forum for a while now and very pleased with it. Last week I embedded said forum in an iframe in my website. I've set up everything to work perfectly with the site. The only thing I need now is to know how I can change the link mailed to the subscribers / pm notified people etc..

from

<a href="http://www.myforumsite.com/forum/showthread.php?tid=628&action=newpost">http://www.myforumsite.com/forum/showthr...on=newpost</a>

to

<a href="http://www.myforumsite.com/forum/showthread.php?tid=628&action=newpost" target="iframenamehere">http://www.myforumsite.com/forum/showthr...on=newpost</a>

Is there a specific file that handles the way these urls are created and if so which one is it? I have a very basic understanding of php code, I can't create any but I can read and alter it more or less without problems.

thanks for your help!
is there really nobody here that can point me to the right files?
The mail text is in the language files. That change won't help you though. If they aren't on your site the target name will not be known, and it'll open as standalone. If there's a way for a site to detect whether it's currently in an iframe or not, you should use that instead and redirect if necessary.