MyBB Community Forums

Full Version: Clickable Codes Not Showing & Smilies Not Clickable
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Forum URL: www.trillforums.net

My clickable smilies arent clickable and the Text Editor Codes arent showing up. I dont know if its just not there or there is a problem because I think this is a custom theme that was created by one of my friends. I do not have Cloudflare on my site so that isn't the problem.

I have tried what a support member told someone else HERE but I didnt find the code that he tells him to find.

Below is a picture of what I am talking about and my whole headerinclude code.

Your Site: http://prntscr.com/16uu9f
My Site: http://prntscr.com/16uubq

My HeaderInclude
<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>
{$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>
{$newpmmsg}
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tabcontent.js">
/***********************************************
* Tab Content script v2.2- copyright Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
Move:
<script src="http://code.jquery.com/jquery-latest.js"></script>
right over this line:
{$stylesheets}<script type="text/javascript">jQuery.noConflict();
And from this line move {$stylesheets} on the top of template.

Also make sure the tabcontent.js, whatever it is, doesn't cause any conflict.
EDIT: it's prototype as I see, move:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tabcontent.js">
/***********************************************
* Tab Content script v2.2- copyright Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
right under:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
(2013-05-27, 02:19 AM)Destroy666 Wrote: [ -> ]Move:
<script src="http://code.jquery.com/jquery-latest.js"></script>
right over this line:
{$stylesheets}<script type="text/javascript">jQuery.noConflict();
And from this line move {$stylesheets} on the top of template.

Also make sure the tabcontent.js, whatever it is, doesn't cause any conflict.
EDIT: it's prototype as I see, move:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tabcontent.js">
/***********************************************
* Tab Content script v2.2- copyright Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
right under:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>

I have tried both but nothing happened but the first time I tried moving
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tabcontent.js">
/***********************************************
* Tab Content script v2.2- copyright Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
right under:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
it just deleted everything that was below
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tabcontent.js">
/***********************************************
* Tab Content script v2.2- copyright Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
The other few times I tried nothing happened.
^ first you need to turn OFF CodePress (setting is at admin panel >> preferences)

you have unwanted &nbsp; s in headerinclude template. remove them all.

add <script type="text/javascript">jQuery.noConflict();</script> right after jQuery loading

it looks like
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
(2013-05-27, 07:08 PM).m. Wrote: [ -> ]^ first you need to turn OFF CodePress (setting is at admin panel >> preferences)

you have unwanted &nbsp; s in headerinclude template. remove them all.

add <script type="text/javascript">jQuery.noConflict();</script> right after jQuery loading

it looks like
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>

Where exactly could I find CodePress because I checked all the Settings in the ACP and I cant find anything that says CodePress?
EDIT: I didnt find CodePress anywhere so I continued to the next step and the smilies are clickable now and the text editor is showing. Thank you!
^ assuming that you are using MyBB's stock theme for admin panel
when you log into admin panel, there is a left side column with Home menu. click on Preferences
then right side page has Turn on / off Codepress option. this should be OFF as it is corrupting the codes.