php forum
php mysql forum
php mysql smarty
 
Page 2 of 9 < 1 2 3 4 5 6 7 8 9 >
Topic Options
#133994 - 05/02/01 02:35 PM Re: [6.0x] ELY_M's Upload Modification
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
SkipperII: like I told to Mikey, login there with your nick/password and enter http://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=newtopic&f=18
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#133995 - 05/02/01 05:29 PM Re: [6.0x] ELY_M's Upload Modification
mw2com Offline
Junior Member

Registered: 02/02/01
Posts: 18
http://www.cytek.uk.com/cgi-bin/ultimatebb.cgi

Its not ready yet just a few mwssages on there id just like to get this file upload working so i can let my cutomers use it for data file uploads.

Top
#133996 - 05/02/01 05:48 PM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
where is your uploads folder ?

I seem cant find the folder uploads or upload

I tryied to type

http://www.cytek.uk.com/cgi-bin/upload

or

http://www.cytek.uk.com/cgi-bin/uploads


you have to create uploads folder

<FONT COLOR="#000000" SIZE="1">[ May 02, 2001 05:49 PM: Message edited by: ELY_M ]</font>

Top
#133997 - 05/02/01 05:50 PM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133

Top
#133998 - 05/02/01 05:56 PM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
try to move your upload folder to

http://www.cytek.uk.com/cgi-bin/upload

Top
#133999 - 05/03/01 03:05 AM Re: [6.0x] ELY_M's Upload Modification
mw2com Offline
Junior Member

Registered: 02/02/01
Posts: 18
thanks for your help
This man is fantastic eek

did you find anything in my scripts?
pm me on my board
i will check later

Top
#134000 - 05/03/01 10:44 AM Re: [6.0x] ELY_M's Upload Modification
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
hi there,
just a few questions: i'd like to use this upload-hack just for ONE single forum, is this possible..? and: is there any possibility to upload the files to another server..? because i would like to host the ultimatebb AND the files on two different servers to avoid a 'disk quota'error due the fact that we have a limited webspace for the forum-engine...:/
best regards and this hack sounds really interesting,
chris

Top
#134001 - 05/03/01 10:59 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
Quote:
quote:



sound great idea to add another CP hack to specific one forum to allow file uploading smile
it depends if the server is allowing external linking. it is possible. you have to try it.

Top
#134002 - 05/03/01 04:44 PM Re: [6.0x] ELY_M's Upload Modification
SkipperII Offline
Member

Registered: 03/09/01
Posts: 46
Nobody can help me to install the Hack in a UBB 6.0 ????

SkipperII

Top
#134003 - 05/04/01 06:36 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
I did some revising the upload hack.

I moved the toggle on and off for allowing uploads in to forum settings section in the CP.

Admin should be able to allow file upload in specific forum.

I added new CP hack for allowing File uploads in private messages.

Admin should have right to decide to allow the file uploads in private messages.

Im sure that some forums want to have users private message files and others want to block that.


The upload zip is updated.

redownload it again smile

I hope it works better for the users now.

Top
#134004 - 05/04/01 07:06 AM Re: [6.0x] ELY_M's Upload Modification
Buzzin Hornet Offline
Junior Member

Registered: 05/02/01
Posts: 4
Loc: Netherlands
Now you have an option with files wich are are not allowed, but I wat something so I can specify the files which must be allowed, how??

Top
#134005 - 05/04/01 07:42 AM Re: [6.0x] ELY_M's Upload Modification
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
ELY_M: Bug: it isn't shown when I add a new forum.


Fix (not tested):
Code:
code:

you can also move CHECKED to No, if you want it to be the default one

<FONT COLOR="#000000" SIZE="1">[ May 06, 2001 06:34 AM: Message edited by: LK ]</font>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#134006 - 05/04/01 08:04 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
Quote:
quote:


DO not put any extenisons that you want allow smile


If you leave all text boxes blank. you are allowing ALL kinds of files.

If you put in exe and you are ONLY blocking all *.exe files and allowing all others kinds of files execpt .exe
############################################


LK:

Thanks for advising me about that smile

<FONT COLOR="#000000" SIZE="1">[ May 04, 2001 08:04 AM: Message edited by: ELY_M ]</font>

Top
#134007 - 05/04/01 08:19 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
The zip is updated with the fix that LK mentioned smile

Top
#134008 - 05/04/01 09:43 AM Re: [6.0x] ELY_M's Upload Modification
Buzzin Hornet Offline
Junior Member

Registered: 05/02/01
Posts: 4
Loc: Netherlands
Quote:
quote:


DO not put any extenisons that you want allow smile


If you leave all text boxes blank. you are allowing ALL kinds of files.

If you put in exe and you are ONLY blocking all *.exe files and allowing all others kinds of files execpt .exe
[/QUOTE]


I only want my members to upload .gif and .jpg! Now, I can't put al of the other extensions in my cp

Top
#134009 - 05/04/01 10:04 AM Re: [6.0x] ELY_M's Upload Modification
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Buzin: (untested)

***************
OPEN upload.cgi
***************


find
----
if ( ($Filename =~ /^.+(.$vars_misc{illegalfile1})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile2})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile3})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile4})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile5})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile6})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile7})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile8})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile9})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile10})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile11})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile12})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile13})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile14})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile15})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile16})$/i)
&#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile17})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile18})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile19})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile20})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile21})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile22})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile23})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile24})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile25})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile26})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile27})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile28})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile29})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile30})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile31})$/i) )


replace with:
-------------

unless ( ($Filename =~ /^.+(.$vars_misc{illegalfile1})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile2})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile3})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile4})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile5})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile6})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile7})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile8})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile9})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile10})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile11})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile12})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile13})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile14})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile15})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile16})$/i)
&#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile17})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile18})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile19})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile20})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile21})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile22})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile23})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile24})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile25})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile26})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile27})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile28})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile29})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile30})$/i) &#0124;&#0124; ($Filename =~ /^.+(.$vars_misc{illegalfile31})$/i) )

The only difference is "unless" instead of "if".
Again, it's untested, so backup before.

LK

Edit: removed [code] because it messed the thread.

<FONT COLOR="#000000" SIZE="1">[ May 06, 2001 06:33 AM: Message edited by: LK ]</font>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#134010 - 05/05/01 04:15 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
LK:

Cool idea smile

It look like It will work better.

I have to change the wording in the CP for allowing exact extenisons.


Thank you LK smile

Top
#134011 - 05/05/01 09:18 PM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
somone fix this messed up thread please....


I re-coded the code to let "allow" files extensions instead of "block".

few new wordlets are added.

Please redownload the zip and redo the upload hack on your forum if you want the new way for the file extenisons.

Thanks to LK for ideas smile

It is helpful to listen to the users smile

Top
#134012 - 05/06/01 05:20 AM Re: [6.0x] ELY_M's Upload Modification
saehoon Offline
Member

Registered: 06/15/00
Posts: 48
Loc: Boston
I will get this installed soon on my boards.. I haven't had the time yet to take a close look at it, however I have one request.

How about instead of only being able to upload files on a particular post, create it so it's like a file upload utility. What I mean is can you modify it so that each user can access their file space through their profile where they may then upload/delete and manage their files through the web browser.. similar to free webspace such as geocities etc.

I hope you understood what I just said... and hopefully you'll go through with it, but anyway great hack.. thanks! smile
_________________________
http://www.saehoon.com

Top
#134013 - 05/06/01 06:43 AM Re: [6.0x] ELY_M's Upload Modification
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Bug:
There is no Upload in PM switch in Control Panel.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
Page 2 of 9 < 1 2 3 4 5 6 7 8 9 >


Who's Online
0 registered (), 24 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Today at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks