vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   attachments on WYIWYG (https://vborg.vbsupport.ru/showthread.php?t=228958)

renlok 11-26-2009 10:18 PM

attachments on WYIWYG
 
im trying to get a WYSIWYG editor working on my site i have everything working on the editor except when you click the attachment button (between the smilies drop down and the forwards/backwards arrows) nothing happens

ive have the code
PHP Code:

    require_once(DIR '/includes/functions_file.php');
    
$attachinfo = array(
        
'auth_type'     => (empty($_SERVER['AUTH_USER']) AND empty($_SERVER['REMOTE_USER'])) ? 1,
        
'userid'        => $vbulletin->userinfo['userid'],
        
'max_file_size' => fetch_max_upload_size()
    );

    
$editorid construct_edit_toolbar($mod['description'], false2truetruetrue'fe'''$attachinfo); 

so i should be able to have attachments i followed the article at https://vborg.vbsupport.ru/showthread.php?t=228693

but i dont know why the attachments dont work is it a bug or something?

MaryTheG(r)eek 11-30-2009 08:52 AM

Quote:

Originally Posted by renlok (Post 1921405)
im trying to get a WYSIWYG editor working on my site i have everything working on the editor except when you click the attachment button (between the smilies drop down and the forwards/backwards arrows) nothing happens

Unless they have add this feature in v4, sorry but the attachment button will not works in any 3nd party module, except the original vb files. It was something that I've post on Programmers Private Forums for version 3.x, but none coder was able to make it working.

Just to clarify that I'm not talking for 3nd party mods which are using the thread mode, with just different interface.

Maria


All times are GMT. The time now is 10:44 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.02503 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_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