MyBB Community Forums

Full Version: how to make an inferno shoutbox in a separate window for smilies?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Okay, try this instead:

<script>
	$(document).ready(function() {
		$('#inferno_smilies').click(function(){
			MyBB.popupWindow('/misc.php?action=smilies&popup=true&editor=MyBBEditor&modal=1'); return false;
		});
	});
</script>
(2019-12-26, 08:02 PM)Skyon Archer Wrote: [ -> ]Okay, try this instead:

<script>
	$(document).ready(function() {
		$('#inferno_smilies').click(function(){
			MyBB.popupWindow('/misc.php?action=smilies&popup=true&editor=MyBBEditor&modal=1'); return false;
		});
	});
</script>

hi friend

unfortunately the same, nothing changes, but here I send my header include template

<link rel="stylesheet" href="https://use.fontawesome.com/b57b7189ce.css">
<link rel="icon" type="image/png" href="{$mybb->settings['bburl']}/images/tiorg favicon.png">
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1815"></script>

{$stylesheets}{$ougc_feedback_js} {$guestwarn}
<script type="text/javascript">
<!--
	lang.unknown_error = "{$lang->unknown_error}";

	lang.select2_match = "{$lang->select2_match}";
	lang.select2_matches = "{$lang->select2_matches}";
	lang.select2_nomatches = "{$lang->select2_nomatches}";
	lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
	lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
	lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
	lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
	lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
	lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
	lang.select2_loadmore = "{$lang->select2_loadmore}";
	lang.select2_searching = "{$lang->select2_searching}";

	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var rootpath = "{$mybb->settings['bburl']}";
	var imagepath = "{$theme['imgdir']}";
  	var yes_confirm = "{$lang->yes}";
	var no_confirm = "{$lang->no}";
	var MyBBEditor = null;
	var spinner_image = "{$theme['imgdir']}/spinner.gif";
	var spinner = "<img src='" + spinner_image +"' alt='' />";
	var modal_zindex = 9999;
	// -->
</script>
<script>
	$(document).ready(function() {
		$('#inferno_smilies').click(function(){
			MyBB.popupWindow('/misc.php?action=smilies&popup=true&editor=MyBBEditor&modal=1'); return false;
		});
	});
</script>

I inserted what you sent, but unfortunately nothing changed
then there is no solution for it?
can anyone help me with this?

I would be very grateful for it!
try this one
<a href="javascript:MyBB.popupWindow('/misc.php?action=smilies&amp;popup=true&amp;editor=message_input&amp;modal=1')" title="Smilies">Smilies</a>
(2020-01-21, 05:17 PM)YASAKA Wrote: [ -> ]try this one
<a href="javascript:MyBB.popupWindow('/misc.php?action=smilies&amp;popup=true&amp;editor=message_input&amp;modal=1')" title="Smilies">Smilies</a>

hi 

and where do i insert it?
hi all members

no one can find a solution?
is there no solution then? it would be great if someone could help me!
Throw me your website url in a pm, will take a quick look, I might also need to see a few templates, but I will try to check first, nothing is impossible and something as trivial as a smiley inserter can just be scrapped and custom coded, even hardcoded.
(2020-04-27, 10:43 AM)GodLess101 Wrote: [ -> ]Throw me your website url in a pm, will take a quick look, I might also need to see a few templates, but I will try to check first, nothing is impossible and something as trivial as a smiley inserter can just be scrapped and custom coded, even hardcoded.

hi 

Forum URL: https://torrentinvites-org.tk/

T
hank you if can you help me !
Pages: 1 2 3