Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 5 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Remotely hosted image uploader to save your bandwidth
by spacejoee on 2008/12/1 0:19:41

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 :)
Re: Remotely hosted image uploader to save your bandwidth
by Anonymous on 2008/12/1 0:13:23

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 ?

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

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 :
le="color: #000000"><?php <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 :
le="color: #000000"><?php <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.

Who's Online

213 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

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

Latest GitHub Commits