vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Editor troubles (https://vborg.vbsupport.ru/showthread.php?t=156715)

Blaine0002 08-31-2007 03:25 PM

Editor troubles
 
I have an editor on my page, thats not submitting info..... odd i know :)
PHP Code:

  require_once('./includes/functions_editor.php');
    
$show['wysiwyg'] = ($setting['allow_bbcode'] ? is_wysiwyg_compatible() : 0);
        
$istyles_js construct_editor_styles_js();
        
$show['qr_require_click'] = 0;
        
$editorid construct_edit_toolbar(''0'Vbay', ($setting['allow_smilies'] ? 0), 1false'qr');
        
$messagearea "
        <script type=\"text/javascript\">
        <!--
            var require_click = false;
            var threaded_mode = 1;
            var is_last_page = false;
        // -->
        </script>
        
$messagearea
        "


And the plugin
PHP Code:

if ($forumid == 'Vbay'){
                    global 
$setting;
                    
$setting['allow_bbcode'] = '1';
                    
$show['img_bbcode'] = $setting['allow_imgcode'];
                    
$toolbartype $setting['allow_bbcode'] ? is_wysiwyg_compatible(-1$editor_type) : 0;
                    
$show['wysiwyg_compatible'] = (is_wysiwyg_compatible(2$editor_type) == 2);
                    
$show['editor_toolbar'] = ($toolbartype 0);
                    
$editor_template_name = ($toolbartype 'editor_toolbar_on' 'editor_toolbar_off');
                } 

In my submit case I am simply using
PHP Code:

  require_once('./includes/functions_wysiwyg.php');
$message convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message']); 

And echoing $message.

When i enter something and hit submit, nothing echos,

But the odd thing is, i can click back on my browser, and submit again, and it shows....

Anyone know? Was something changed with the editor?

Blaine0002 09-06-2007 12:04 AM

Noone else is having this particular problem?

I can upload my full product if someone is willing to help me.


All times are GMT. The time now is 03:48 PM.

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.00952 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete