2015-10-22, 05:57 PM
In the welcomeback member template I want to call the contents of buddy popup without the onclick.
<li><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup&modal=1', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>
How should the URL read? This does not work
<li><a href="{$mybb->settings['bburl']}/misc.php?action=buddypopup">{$lang->welcome_open_buddy_list}</a></li>
Ok, it works without
data-toggle="modal" data-target="#myModal"
in the front of it.
The bootstrap modal works, but i need to include the contents of misc.php
With a php call perhaps? <?php include "misc.php"; ?>
What is the base file for welcomeback member?
<li><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup&modal=1', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>
How should the URL read? This does not work
<li><a href="{$mybb->settings['bburl']}/misc.php?action=buddypopup">{$lang->welcome_open_buddy_list}</a></li>
Ok, it works without
data-toggle="modal" data-target="#myModal"
in the front of it.
The bootstrap modal works, but i need to include the contents of misc.php
With a php call perhaps? <?php include "misc.php"; ?>
What is the base file for welcomeback member?