Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 07-05-2011, 01:23 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I see now - it doesn't work. I see these javascript errors when that page loads:

Code:
Error: missing } in compound statement
Source File: http://www.perfectionx.net/clientscript/ckeditor/ckeditor.js?t=A7HG4HT&v=414
Line: 129, Column: 2315
Source Code:
if(A)YAHOO.util.Dom.setStyle(A.id,'display',z);};function w(x){a.on('dialogDefinition',function(y){var z=y.data.name,A=y.data.definition;if(z=='smiley'){A.getContents('tab1').elements[0].html=A.getContents('tab1').elements[0].html.replace(/src="\.\/([a-z]+:\/\/)/gi,'src="$1');var B=A.getContents('tab1').elements[0].onClick;A.getContents('tab1').elements[0].onClick=e.override(B,function(C){return function(D){var E=D.data.getTarget(),F=E.getName();if(F=='a')E=E.getChild(0);else if(F!='img')return;var G=E.getAttribute('title');y.editor.insertHtml(G);this._.dialog.hide();D.data.preventDefault();};});}});};j.add('enhancedsourcearea',{requires:['editingblock','wysiwygarea'],saveSelection:function(x,y){y.savedselection=document.selection.createRange();},init:function(x){var y=j.enhancedsourcearea,z,A=a.document.getWindow();x.textarea=z=new h('textarea');if(c){YAHOO.util.Event.on(x.textarea.$,'keyup',this.saveSelection,x);YAHOO.util.Event.on(x.textarea.$,'click',this.saveSelection,x);YAHOO.util.Event.on(x.textarea.$,'select',this.saveSelection,x);}x.getSelection=e.override(x.getSelection,function(B){return function(){if(this.mode!='enhancedsourcearea')return B.call(this);else return new d.selection(document);};});w(x);x.on('editingBlockReady',function(){var B,C={};u(x,x.lang.source,x.lang.vbulletin.switch_editor_mode_source);v(x,x.lang.vbulletin.email,'none');x.addMode('enhancedsource',{load:function(D,E){v(x,x.lang.vbulletin.email,'');u(x,x.lang.source,x.lang.vbulletin.switch_editor_mode_wysiwyg);if(YAHOO.util.Dom.get(x.editorid+'_mode'))YAHOO.util.Dom.get(x.editorid+'_mode').value=0;if(c&&b.version<8)D.setStyle('position','relative');z.setAttributes({dir:x.config.contentsLangDirection,tabIndex:b.webkit?-1:x.tabIndex,role:'textbox','aria-label':x.lang.editorTitle.replace('%1',x.name)});z.addClass('cke_source');z.addClass('cke_enable_context_menu');this.setupCommandOverrides();var F={width:b.ie7Compat?'99%':'100%',height:'100%','min-width':'100%','max-width':'100%',resize:'none',outline:'none','text-align':x.config.contentsLangDirection=='ltr'?'left':'right'};if(c){F.width=D.$.clientHeight+'px';F.height=D.$.clientWidth+'px';B=function(){z.hide();z.setStyle('height',D.$.clientHeight+'px');z.setStyle('width',D.$.clientWidth+'px');z.show();};x.on('resize',B);A.on('resize',B);setTimeout

Error: CKEDITOR is not defined
Source File: http://www.perfectionx.net/clientscript/vbulletin_textedit.js?v=414
Line: 11

which I'm pretty sure must be realted but I don't know what's causing them. Did you make any changes to the editor at all, or install any mods?

I assume that was you posting in that thread I started - did you mean that you're asking at vbulletin.com? That may be a good idea.

Edit: actually I think I do see what the problem is - the file clientscript/ckeditor/ckeditor.js seems to be half missing. You should try uploading that file again (or maybe just upload all of clientscript again).
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03909 seconds
  • Memory Usage 2,201KB
  • Queries Executed 12 (?)
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)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • 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_threaded
  • showthread_threaded_construct_link
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete