MyBB Community Forums

Full Version: Guest Warn Plpugin = HTML Vanishes !
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The plugin is at :
http://mods.mybb.com/view/warn-guest

Once activated, this Plug In doesn't allow HTML in Posts ( the Menu bar above a New post against a New Post with various HTML, Text, Video, Image options etc simply vanishes ! ) Pl look into this
You can add your own stylization inside header templates for guests, i put floating guest notify, a plugin with entire customization and some options to show the guest notification.

http://mods.mybb.com/view/floating-guest-notify
I am not sure I understand what you mean.. I am new to myBB and not a programmer ..

HTML is vanishing when I post to a thread ... once I deactivate this plugin the capability returns...

Pl advise a solution for a nonprogrammer :-)

Thx !
^ you have posted at the plugin's reviews page. have you tried the suggestion given there (just above your review)
(2013-09-23, 05:06 PM).m. Wrote: [ -> ]^ you have posted at the plugin's reviews page. have you tried the suggestion given there (just above your review)

Have checked there.. it says :
======
Solved header include code
<script type="text/javascript">jQuery.noConflict();</script>
Written By: oceanfear, 15th January 2013
======
But in which file and exactly where is this Code to be added ? Pl advise. Thanks !
^ check if such code exists at below location
admin panel >> templates >> active theme templates >> ungrouped templates >> headerinclude
<script type="text/javascript">jQuery.noConflict();</script>
should be just after jQuery script loading code (like below)
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
(2013-09-25, 06:51 AM).m. Wrote: [ -> ]^ check if such code exists at below location
admin panel >> templates >> active theme templates >> ungrouped templates >> headerinclude
<script type="text/javascript">jQuery.noConflict();</script>
should be just after jQuery script loading code (like below)
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>

Sorry but my headerinclude file looks like this :

<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->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = {$mybb->user['unreadAlerts']};
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myalerts.js"></script>
{$stylesheets} <script type="text/javascript">jQuery.noConflict();
jQuery(function($) { $(".close").click(function () {
  $(".avviso").fadeOut("slow");
  }); });</script> <script src="http://code.jquery.com/jquery-latest.js"></script> {$avvisospiti}   
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	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 imagepath = "{$theme['imgdir']}";
// -->
</script>
<script type="text/javascript" src="jscripts/thx.js"></script>{$newpmmsg}
<script language="javascript" type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myadvertisements.js"></script>

Pl advise where to add the line ....thanx !
remove below code, save the template and check post reply / new thread page
<script src="http://code.jquery.com/jquery-latest.js"></script>
did as above. Menu Bar with HTML, Video etc options is now back. Thanks much !