MyBB Community Forums

Full Version: Username in popup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to alter something here. Running ShoutBox on my forum and works great, but when I open the shoutbox popup window, when I then click on the individual usernames, all the details are returned in the popup box. Ideally, I want to set a "target="MainFrame"" to have the user details appear in the frame I have the main site in. I have checked the templates, and shoutbox_shout refers to a {$username} - where can I edit this particular code?

Thank you
Sussed it:

In inc/plugins/shoutbox.php, line number 806 reads:
"$username = '<'.build_profile_link($username, $shout['uid'], '_self').'>';"

Simply replace the '_self' with your target frame (in my case 'mainFrame')

Job done