Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 06-29-2014, 05:19 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You might be able to find out the issue this way: use Chrome, press F12 (the developer console) and click on the console tab, then reload the page where the issue with the WYSIWYG editor is happening. Are there any errors showing up in the console?
Reply With Quote
Благодарность от:
TTPlayground
  #12  
Old 06-29-2014, 05:24 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Repost the above template code in code tags (# on editor) or soround you code in:

[code*
-- Your template text here. --
[/code*

Where * = closing bracket ']'

Send us a link to your site, it would make it a bit easier.
Reply With Quote
  #13  
Old 06-29-2014, 05:39 PM
TTPlayground TTPlayground is offline
 
Join Date: Aug 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<meta http-equiv="Content-Type" content="text/html; charset={vb:stylevar charset}" />
<meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="{vb:raw vboptions.bburl}" />
<base href="{vb:raw basepath}" /><!--[if IE]></base><![endif]-->
<meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<vb:if condition="$stylevar['favicon']">
<link rel="Shortcut Icon" href="{vb:stylevar favicon}" type="image/x-icon" />
</vb:if>
<vb:if condition="$show['threadinfo']">

<vb:elseif condition="$show['foruminfo']" />
<meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" />
<meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, {vb:raw pagenumber}}-</vb:if>{vb:raw foruminfo.description_clean}" />
<vb:else />
<meta name="keywords" content="{vb:raw vboptions.keywords}" />
<meta name="description" content="{vb:raw vboptions.description}" />
</vb:if>

<vb:if condition="$show['fb_opengraph']">
{vb:raw facebook_opengraph}
</vb:if>

<vb:if condition="$show['remoteyui']">
<vb:if condition="$show['remoteyuicombo']">
<script type="text/javascript" src="{vb:stylevar yuicombopath}?{vb:stylevar yuiversion}/build/yuiloader-dom-event/yuiloader-dom-event.js&amp;{vb:stylevar yuiversion}/build/connection/connection-min.js"></script>
<vb:else />
<script type="text/javascript" src="{vb:stylevar yuipath}/yuiloader-dom-event/yuiloader-dom-event.js"></script>
</vb:if>
</vb:if>
<script type="text/javascript">
<!--
if (typeof YAHOO === 'undefined') // Load ALL YUI Local
{
document.write('<script type="text/javascript" src="clientscript/yui/yuiloader-dom-event/yuiloader-dom-event.js?v={vb:raw vboptions.simpleversion}"><\/script>');
document.write('<script type="text/javascript" src="clientscript/yui/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"><\/script>');
var yuipath = 'clientscript/yui';
var yuicombopath = '';
var remoteyui = false;
}
else	// Load Rest of YUI remotely (where possible)
{
var yuipath = '{vb:stylevar yuipath}';
var yuicombopath = '{vb:stylevar yuicombopath}';
var remoteyui = true;
if (!yuicombopath)
{
document.write('<script type="text/javascript" src="{vb:stylevar yuipath}/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"><\/script>');
}
}
var SESSIONURL = "{vb:raw session.sessionurl_js}";
var SECURITYTOKEN = "{vb:raw bbuserinfo.securitytoken}";
var IMGDIR_MISC = "{vb:stylevar imgdir_misc}";
var IMGDIR_BUTTON = "{vb:stylevar imgdir_button}";
var vb_disable_ajax = parseInt("{vb:raw vboptions.disable_ajax}", 10);
var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}";
var BBURL = "{vb:raw vboptions.bburl}";
var LOGGEDIN = {vb:raw bbuserinfo.userid} > 0 ? true : false;
var THIS_SCRIPT = "{vb:raw this_script}";
var RELPATH = "{vb:raw relpath}";
var PATHS = {
forum : "{vb:raw vboptions.vbforum_url}",
cms : "{vb:raw vboptions.vbcms_url}",
blog : "{vb:raw vboptions.vbblog_url}"
};
var AJAXBASEURL = "{vb:raw ajaxbaseurl}";
// -->
</script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script>
{vb:raw template_hook.headinclude_javascript}

<vb:if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2" />
<vb:if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} - {vb:raw foruminfo.title_clean} - {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2&amp;forumids={vb:raw foruminfo.forumid}" />
</vb:if>
</vb:if>

<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile main-rollup.css}
{vb:raw template_hook.custom_css_links}
<vb:else />
{vb:cssfile bbcode.css,editor.css,popupmenu.css,reset-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css{vb:raw template_hook.custom_css_list}}
</vb:if>
<!--[if lt IE 8]>
{vb:cssfile popupmenu-ie.css,vbulletin-ie.css,vbulletin-chrome-ie.css,vbulletin-formcontrols-ie.css,editor-ie.css}
<![endif]-->
{vb:raw template_hook.headinclude_css}

<!--BEGIN VBSTATUS-->
<vb:if condition="$vbulletin->options['vbstatus_active']">

<script type="text/javascript" src="{vb:raw vboptions.bburl}/vbstatus/mootools.js"></script>

<script type="text/javascript" src="{vb:raw vboptions.bburl}/vbstatus/vbstatus_javascript.js"></script>
</vb:if>
<!--END VBSTATUS-->

<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/pace.min.js"></script>
the site is http://toontownrepublic.com, but it's closed to admins since we just began putting it together within the day.

Also Dave this error shows:

Code:
Uncaught TypeError: Cannot read property 'setState' of undefined ckeditor.js?t=A7HG4HT&v=422:134
q.addMode.load ckeditor.js?t=A7HG4HT&v=422:134
e.editor.setMode ckeditor.js?t=A7HG4HT&v=422:111
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:110
q ckeditor.js?t=A7HG4HT&v=422:6
e.event.fire ckeditor.js?t=A7HG4HT&v=422:6
e.editor.fire ckeditor.js?t=A7HG4HT&v=422:7
e.event.fireOnce ckeditor.js?t=A7HG4HT&v=422:6
e.editor.fireOnce ckeditor.js?t=A7HG4HT&v=422:7
e.themes.add.build ckeditor.js?t=A7HG4HT&v=422:132
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:25
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
x ckeditor.js?t=A7HG4HT&v=422:22
e.scriptLoader.load ckeditor.js?t=A7HG4HT&v=422:22
e.resourceManager.load ckeditor.js?t=A7HG4HT&v=422:23
y ckeditor.js?t=A7HG4HT&v=422:25
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:25
x ckeditor.js?t=A7HG4HT&v=422:22
e.scriptLoader.load ckeditor.js?t=A7HG4HT&v=422:22
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:25
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
x ckeditor.js?t=A7HG4HT&v=422:22
e.scriptLoader.load ckeditor.js?t=A7HG4HT&v=422:22
e.resourceManager.load ckeditor.js?t=A7HG4HT&v=422:23
t ckeditor.js?t=A7HG4HT&v=422:23
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
x ckeditor.js?t=A7HG4HT&v=422:22
e.scriptLoader.load ckeditor.js?t=A7HG4HT&v=422:22
e.resourceManager.load ckeditor.js?t=A7HG4HT&v=422:23
t ckeditor.js?t=A7HG4HT&v=422:23
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
x ckeditor.js?t=A7HG4HT&v=422:22
e.scriptLoader.load ckeditor.js?t=A7HG4HT&v=422:22
e.resourceManager.load ckeditor.js?t=A7HG4HT&v=422:23
t ckeditor.js?t=A7HG4HT&v=422:23
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:23
w ckeditor.js?t=A7HG4HT&v=422:25
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:24
e.lang.load ckeditor.js?t=A7HG4HT&v=422:22
v ckeditor.js?t=A7HG4HT&v=422:24
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:25
C ckeditor.js?t=A7HG4HT&v=422:24
e.skins.q ckeditor.js?t=A7HG4HT&v=422:24
e.skins.load ckeditor.js?t=A7HG4HT&v=422:24
x ckeditor.js?t=A7HG4HT&v=422:25
u ckeditor.js?t=A7HG4HT&v=422:24
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:24
q ckeditor.js?t=A7HG4HT&v=422:6
e.event.fire ckeditor.js?t=A7HG4HT&v=422:6
e.editor.fire ckeditor.js?t=A7HG4HT&v=422:7
e.event.fireOnce ckeditor.js?t=A7HG4HT&v=422:6
e.editor.fireOnce ckeditor.js?t=A7HG4HT&v=422:7
s ckeditor.js?t=A7HG4HT&v=422:24
(anonymous function) ckeditor.js?t=A7HG4HT&v=422:24
x ckeditor.js?t=A7HG4HT&v=422:22
y ckeditor.js?t=A7HG4HT&v=422:22
z ckeditor.js?t=A7HG4HT&v=422:22
(anonymous function)
Reply With Quote
  #14  
Old 06-29-2014, 06:03 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe the vBStatus scripts are interfering with the editor? Try to remove that part in the headinclude template.
Reply With Quote
  #15  
Old 06-29-2014, 06:13 PM
TTPlayground TTPlayground is offline
 
Join Date: Aug 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I removed
Code:
<!--BEGIN VBSTATUS-->
<vb:if condition="$vbulletin->options['vbstatus_active']">

<script type="text/javascript" src="{vb:raw vboptions.bburl}/vbstatus/mootools.js"></script>

<script type="text/javascript" src="{vb:raw vboptions.bburl}/vbstatus/vbstatus_javascript.js"></script>
</vb:if>
<!--END VBSTATUS-->
and now the editor is working fine. vbstatus still seems to be working also, i'm just wondering if it will cause issues later if i leave it as is.

edit: it's not allowing me to edit the status. could i put this code in another place possibly so that it will still work?
Reply With Quote
  #16  
Old 06-29-2014, 06:15 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Without seeing the site, I cannot give anymore suggestions. There is most likely a JavaScript error which is causing the CKEditor not to load properly.

--------------- Added [DATE]1404069670[/DATE] at [TIME]1404069670[/TIME] ---------------

You need to look at your browser's console as @Dave was explaining, it will tell you what JavaScript is malfunctioning.
Reply With Quote
  #17  
Old 06-29-2014, 06:31 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTPlayground View Post
I removed
Code:
<!--BEGIN VBSTATUS-->
<vb:if condition="$vbulletin->options['vbstatus_active']">

<script type="text/javascript" src="{vb:raw vboptions.bburl}/vbstatus/mootools.js"></script>

<script type="text/javascript" src="{vb:raw vboptions.bburl}/vbstatus/vbstatus_javascript.js"></script>
</vb:if>
<!--END VBSTATUS-->
and now the editor is working fine. vbstatus still seems to be working also, i'm just wondering if it will cause issues later if i leave it as is.

edit: it's not allowing me to edit the status. could i put this code in another place possibly so that it will still work?
The headinclude template will obviously be included into every page, you should include the vBStatus scripts only on the templates which require that functionality.
Reply With Quote
  #18  
Old 06-29-2014, 06:44 PM
TTPlayground TTPlayground is offline
 
Join Date: Aug 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
The headinclude template will obviously be included into every page, you should include the vBStatus scripts only on the templates which require that functionality.
I guess the easiest way to explain this will be to show you screenshots.

It requires functionality here,

(threads)

and here,

(profile)

This is to enable the editing feature. Where would you recommend that I place the code for those two areas? I tried postbit for threads but it did the same thing as before so I'm assuming that wasn't right.
Reply With Quote
  #19  
Old 06-29-2014, 07:03 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure, but you could try to place the vBStatus scripts in the footer template.
If that doesn't work, I wouldn't know what causes it since I didn't make that mod.
Reply With Quote
  #20  
Old 06-29-2014, 07:04 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also you would need to ask in that mod's thread for support with it, as the general public will have no clue about it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10957 seconds
  • Memory Usage 2,275KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete