1
spacejoee
Remotely hosted image uploader to save your bandwidth
  • 2008/12/1 0:01

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


For security reason, most of you turned of the image manager avaible on xoops.

This hack :is a simple alternative that you ll probably find helpful.
The service is provided by Dayza Image hosting and is totaly free.

to add their upload window to your XOOPS form follow thoses steps :

1- Open the file : XOOPS_ROOT_PATH/include/xoopscodes.php
2- find on line 40 :
<img src='".XOOPS_URL."/images/image.gif' alt='image' onmouseover='style.cursor="hand"' onclick='openWithSelfMain("".XOOPS_URL."/imagemanager.php?target=".$textarea_id."","imgmanager",400,430);' />

3- replace it with :
<img src='".XOOPS_URL."/images/image.gif' alt='image' onmouseover='style.cursor="hand"' onclick='openWithSelfMain("http://www.dayza.com/upload/index.php","imgmanager",400,430);' />


I m actualy using it on Casafree forums.
feel free to test it.
Hope it will help somes of you.

2
Anonymous
Re: Remotely hosted image uploader to save your bandwidth
  • 2008/12/1 0:13

  • Anonymous

  • Posts: 0

  • Since:


Thanks for sharing this hack

Quote:
For security reason, most of you turned of the image manager avaible on xoops.


what is the security reason ? can you send it to XOOPS bugs tracker ?


3
spacejoee
Re: Remotely hosted image uploader to save your bandwidth
  • 2008/12/1 0:19

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


Salam Mowaffak,
For the little i know, There is no particular risk about using the XOOPS image uploader. i had some probleme with it in the past, but since that time XOOPS is much more secure.
I m more talking about security concerning the control of the content uploaded by users and especialy bandwidth saving.
Excuse my broken english :)

Login

Username:
Password:

Lost Password? Register now!

Who's Online

66 user(s) are online (43 user(s) are browsing Support Forums)


Members: 0


Guests: 66


more...

Donat-O-Meter

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

Latest GitHub Commits