Not Solved MyBB popups, open buddy list not working?
Not Solved
Hi there! We're having a difficult time with Buddy List popups and others working. Test the 'Default' skin as well with no extra .js files they're not liking the idea of loading unfortunately. Sad 

Private Inquiry with access info:
Not Solved
for MyBB's stock theme Buddy list popup code should be like below (header_welcomeblock_member template)
<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', null, true); return false;">{$lang->welcome_open_buddy_list}</a>

for MyBB's stock theme, you can revert the header templates to their original version

upgrading guidance Wrote:Visit your Admin Control Panel, then go to Templates & Style > Templates > Find Updated Templates. This will show you a list of all the templates that have changed during the upgrade.

You can either revert these templates to their default - meaning all the changes you've made to it will be removed - or you can see a Diff Report which will show you exactly what's changed. If you have a custom theme installed, it is probably best that you look at the Diff Report and apply the changes you need.

or it would be better to install & use a theme fully compatible with MyBB 1.8.x
Not Solved

Would it be possible to use this for other popups?

For example:

<a href="#" onclick="MyBB.popupWindow('', null, true); return false;">comment</a>

This is the original code in the file
		$total_comments = ' <span class="small_buttons_class"><a href="javascript:void(0)" onclick="MyBB.popupWindow(\''.$mybb->settings['bburl'].'/status.php?action=post_comment&sid='.$sid.'\', \'postComment\', 350, 350);">Comments: '.intval($s['total_comments']).'</a></span>';

It doesn't seem to work when I changed it to:

		$total_comments = ' <span class="small_buttons_class"><a href="#" onclick="MyBB.popupWindow(\''.$mybb->settings['bburl'].'/status.php?action=post_comment&sid='.$sid.'\', null, true); return false;">Comments: '.intval($s['total_comments']).'</a></span>';

Or is the mybb.popupwindow only for buddy list?
Not Solved
^ of course, yes. you can use such codes in the templates (NOT through post message)

Edit: haven't seen above modified message. let me check ...
Not Solved
Ahh. I tried it and when clicked the entire page went blank. Sad Oh well. Yaldaram doesn't seem to be around much anymore. This is the only part of that plugin that's not working. Sad I managed to get the & parsing to work (it broke when you used &)

The code is in php. I can share the php file in private inquiries.

Forum Jump:

Users browsing this thread: 1 Guest(s)