1
animas
Disabling "Enter Image URL"
  • 2005/2/10 12:25

  • animas

  • Quite a regular

  • Posts: 206

  • Since: 2005/1/30


How to disable "Enter Image URL" function of Xoop's common editor?
I wana create a clean site. This function allows users to give url of unexpected pics, or they can update the url later with that pic and it is not possible to keep track of all the forum posts, news post to find those kinda pics and delete them.

And I really the Image Manager option, that reduces this problem.

2
ackbarr
Re: Disabling "Enter Image URL"

you'll find the code to make the XOOPS textarea in /class/xoopsform/formdhtmltextarea.php.

In the render() function you'll find this text:
&nbsp;<img onclick='javascript:xoopsCodeImg("".$this->getName()."", "".htmlspecialchars(_ENTERIMGURL, ENT_QUOTES)."", "".htmlspecialchars(_ENTERIMGPOS, ENT_QUOTES)."", "".htmlspecialchars(_IMGPOSRORL, ENT_QUOTES)."", "".htmlspecialchars(_ERRORIMGPOS, ENT_QUOTES)."");' onmouseover='style.cursor="hand"' src='".XOOPS_URL."/images/imgsrc.gif' alt='imgsrc' />


Remove it and the "Enter Image Url" button goes away.

3
animas
Re: Disabling "Enter Image URL"
  • 2005/2/10 14:41

  • animas

  • Quite a regular

  • Posts: 206

  • Since: 2005/1/30


Cool. Thanks.

Login

Who's Online

459 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 459


more...

Donat-O-Meter

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

Latest GitHub Commits