1
trspice
I need a hack to display HTML in debaser module
  • 2008/5/19 18:55

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I am using Debaser 0.92 and I have replaced the DHTML editor with TinyEditor as the global editor. When I Post content in the Additional info area of the single file upload of debaser it displays with the HTML tags. Can someone assist with making the module recognize and properly execute the HTML?

Thanks
There's nothing but science....
The Reggae Album

2
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/19 22:05

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


So can the debaser module be modified to process HTML?
There's nothing but science....
The Reggae Album

3
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/20 23:50

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Still searching for a solution.....
There's nothing but science....
The Reggae Album

4
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/27 16:42

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Does anyone use the Debaser 0.92 module? Can anyone help me with a hack to make the description text area of the module accept and properly execute HTML code?
There's nothing but science....
The Reggae Album

5
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/28 0:07

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I guess I'm beating on a dead horse here since no one knows how to do this modification. Can anyone suggest where I can go to get help with this? I tried to contact the module author but no response has come forth.
There's nothing but science....
The Reggae Album

6
kerkyra
Re: I need a hack to display HTML in debaser module
  • 2008/5/28 8:57

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


can you post the php code with wich you are parsing the data from the db and pass them to the template??
whttp://www.guidemap.gr - Beta is out...

7
wuddel
Re: I need a hack to display HTML in debaser module
  • 2008/5/28 13:39

  • wuddel

  • Just popping in

  • Posts: 71

  • Since: 2005/9/13


Try to contact frankblack, he is moderator on myxoops.de and is the dev of debaser.
cu wuddel

[size=x-small]sorry about my sh** english [/size]

8
frankblack
Re: I need a hack to display HTML in debaser module
  • 2008/5/28 13:50

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Sample for upload.php, it is similar for the admin side

After line 7
include_once XOOPS_ROOT_PATH '/modules/debaser/class/uploader.php';


add
include_once XOOPS_ROOT_PATH '/class/xoopseditor/tinyeditor/formtinyeditortextarea.php';


change line 307
$formcomment = new XoopsFormDhtmlTextArea(_MD_DEBASER_COMMENT'comment'''1050);


to
$formcomment = new XoopsFormTinyeditorTextArea(array('caption'=> _MD_DEBASER_COMMENT'name'=>'comment''value'=>'''width'=>'100%''height'=>'400px'),true);


Done! Hope so...

9
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/29 21:15

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks for the assistance. I applied the change to upload.php and admin/upload.php however the HTML tags still display when 'More Information' for each media file is opened.

SampleQuote:

Additional info:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In erat nibh, ultricies et, imperdiet in, euismod nec, nisl. Morbi vitae enim. Integer elit quam, faucibus vitae, accumsan a, placerat sed, urna.

Phasellus a nibh. Cras leo nisl, elementum aliquet, porta et, tincidunt eget, magna. Aliquam erat volutpat. Nullam ultrices. Nulla sodales varius sapien. Proin malesuada porta felis. In id lectus eget sem condimentum dignissim.

Aenean rhoncus fringilla lectus.
There's nothing but science....
The Reggae Album

10
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/29 21:20

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


kerkyra
I don't know what code is parsing the text so I don't have it to publish.
There's nothing but science....
The Reggae Album

Login

Who's Online

243 user(s) are online (24 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits