Quote:
Originally Posted by d8tabyte
Is there anyway I can edit it so I can allow HTML to be used in the description feild when adding a file? I only allow moderators and above to add files, and I want to be able to use HTML for this. Currently it just outputs the code.
Thanks
|
Open downloads.php
FIND
PHP Code:
$parsed_text = $parser->do_parse($file['description'], false, true, true, true, true, $cachable);
REPLACE WITH
PHP Code:
$parsed_text = $parser->do_parse($file['description'], true, true, true, true, true, $cachable);
For your information:
https://vborg.vbsupport.ru/showthread.php?t=82693
There you can see what you need to change for allowing/disallowing images, smilies, bbcode and nl2br.
This will be an option in the next version, because this is something a lot of people want to set (together with allowing/disallowing images in the description etc.).