renlok
11-26-2009, 10:18 PM
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
require_once(DIR . '/includes/functions_file.php');
$attachinfo = array(
'auth_type' => (empty($_SERVER['AUTH_USER']) AND empty($_SERVER['REMOTE_USER'])) ? 0 : 1,
'userid' => $vbulletin->userinfo['userid'],
'max_file_size' => fetch_max_upload_size()
);
$editorid = construct_edit_toolbar($mod['description'], false, 2, true, true, true, '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?
ive have the code
require_once(DIR . '/includes/functions_file.php');
$attachinfo = array(
'auth_type' => (empty($_SERVER['AUTH_USER']) AND empty($_SERVER['REMOTE_USER'])) ? 0 : 1,
'userid' => $vbulletin->userinfo['userid'],
'max_file_size' => fetch_max_upload_size()
);
$editorid = construct_edit_toolbar($mod['description'], false, 2, true, true, true, '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?