php forum
php mysql forum
php mysql smarty
 
Page 4 of 9 < 1 2 3 4 5 6 7 8 9 >
Topic Options
#134034 - 05/13/01 09:17 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
make sure you do cp_lib.cgi part in instructions.
open cp_lib.cgi


## for ubb604b and ubb604c ##

find this line

print FILE qq!FloodCheck => "$in{FloodCheck}",n!;
print FILE qq!use_cache => "$in{use_cache}",n!;
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~,n!;
print FILE qq!runOnLimit => q~$runOnLimit~,n!;
print FILE qq!stringLengthLimit => q~$stringLengthLimit~,n!;

#############
#
# for people who use older version * less than ubb604b *
# 6.0 - 6.01 - 6.02 - 6.03
#
# find this code
#
# print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~n!;
#
#
# in ubb604a find this
#
# print FILE qq!runOnLimit => q~$runOnLimit~,n!;
#
###

add this new code after this ^^^

print FILE qq!upload_in_pm => q~$in{upload_in_pm}~,n!;
print FILE qq!upload_by_unreg => q~$in{upload_by_unreg}~,n!;
print FILE qq!SAVE_DIRECTORY => q~$in{SAVE_DIRECTORY}~,n!;
print FILE qq!SAVE_URL => q~$in{SAVE_URL}~,n!;
print FILE qq!MAXIMUM_UPLOAD => q~$in{MAXIMUM_UPLOAD}~,n!;
print FILE qq!header_in => q~$in{header_in}~,n!;
print FILE qq!footer_in => q~$in{footer_in}~,n!;
print FILE qq!popup_width => q~$in{popup_width}~,n!;
print FILE qq!popup_height => q~$in{popup_height}~,n!;
print FILE qq!popup_left => q~$in{popup_left}~,n!;
print FILE qq!popup_top => q~$in{popup_top}~,n!;
print FILE qq!allowedfile1 => q~$in{allowedfile1}~,n!;
print FILE qq!allowedfile2 => q~$in{allowedfile2}~,n!;
print FILE qq!allowedfile3 => q~$in{allowedfile3}~,n!;
print FILE qq!allowedfile4 => q~$in{allowedfile4}~,n!;
print FILE qq!allowedfile5 => q~$in{allowedfile5}~,n!;
print FILE qq!allowedfile6 => q~$in{allowedfile6}~,n!;
print FILE qq!allowedfile7 => q~$in{allowedfile7}~,n!;
print FILE qq!allowedfile8 => q~$in{allowedfile8}~,n!;
print FILE qq!allowedfile9 => q~$in{allowedfile9}~,n!;
print FILE qq!allowedfile10 => q~$in{allowedfile10}~,n!;
print FILE qq!allowedfile11 => q~$in{allowedfile11}~,n!;
print FILE qq!allowedfile12 => q~$in{allowedfile12}~,n!;
print FILE qq!allowedfile13 => q~$in{allowedfile13}~,n!;
print FILE qq!allowedfile14 => q~$in{allowedfile14}~,n!;
print FILE qq!allowedfile15 => q~$in{allowedfile15}~,n!;
print FILE qq!allowedfile16 => q~$in{allowedfile16}~,n!;
print FILE qq!allowedfile17 => q~$in{allowedfile17}~,n!;
print FILE qq!allowedfile18 => q~$in{allowedfile18}~,n!;
print FILE qq!allowedfile19 => q~$in{allowedfile19}~,n!;
print FILE qq!allowedfile20 => q~$in{allowedfile20}~,n!;
print FILE qq!allowedfile21 => q~$in{allowedfile21}~,n!;
print FILE qq!allowedfile22 => q~$in{allowedfile22}~,n!;
print FILE qq!allowedfile23 => q~$in{allowedfile23}~,n!;
print FILE qq!allowedfile24 => q~$in{allowedfile24}~,n!;
print FILE qq!allowedfile25 => q~$in{allowedfile25}~,n!;
print FILE qq!allowedfile26 => q~$in{allowedfile26}~,n!;
print FILE qq!allowedfile27 => q~$in{allowedfile27}~,n!;
print FILE qq!allowedfile28 => q~$in{allowedfile28}~,n!;
print FILE qq!allowedfile29 => q~$in{allowedfile29}~,n!;
print FILE qq!allowedfile30 => q~$in{allowedfile30}~,n!;
print FILE qq!allowedfile31 => q~$in{allowedfile31}~,n!;

Top
#134035 - 05/13/01 12:22 PM Re: [6.0x] ELY_M's Upload Modification
SkipperII Offline
Member

Registered: 03/09/01
Posts: 46
Okay i check it wait !


SkipperII confused

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

Registered: 03/09/01
Posts: 46
Yes i have it! look:

Code:
code:

(UBB Version 6.0)

I don't understand where is the error?

SkipperII :rolleyes: :rolleyes:

Top
#134037 - 05/13/01 06:34 PM Re: [6.0x] ELY_M's Upload Modification
SnowDog Offline
Junior Member

Registered: 05/13/01
Posts: 3
This hack is very cool... I can't wait to get it working on my site!

What am I missing?? I'm using Win2000 / IIS...

When I try to upload I get the upload screen but then I select the file and press upload and get an Access Denied message...

Any help?
http://www.rockcrawlin.com/cgi-bin/ultimatebb.cgi?ubb=upload_form

Thanks!

Top
#134038 - 05/14/01 10:26 AM Re: [6.0x] ELY_M's Upload Modification
SkipperII Offline
Member

Registered: 03/09/01
Posts: 46
@ELY_M

i have Checked all .... i installed all Hacks i'am sure (Hope so) ! Have you test it in 6.0? The hack don't work in my Forum! ....! I have the Star hack installed is that the Problem? confused confused confused

SkipperII

<FONT COLOR="#000000" SIZE="1">[ May 14, 2001 01:06 PM: Message edited by: SkipperII ]</font>

Top
#134039 - 05/16/01 10:44 PM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

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


why you cant upgrade to ubb604d ?

I never tested it in 6.0

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

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


it look like as you got it working.

I got this message smile


FYI
You are not logged in. You must be logged in (and registered) to perform this function.
Login or Register

» Please use your browser's back button to return.



BTW: if you want me to test it more. create temp account smile

Top
#134041 - 05/17/01 08:56 AM Re: [6.0x] ELY_M's Upload Modification
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Worked great, but one thing...
Can someone adjust it so that the uploads will show as avatars? I installed qusic's avatar_hack_ubb6_v0.0007, so can i make these two hacks coexist? I might have to edit the 'edit profile' somehow...
Thanks

Top
#134042 - 05/17/01 09:16 AM Re: [6.0x] ELY_M's Upload Modification
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
raiyan, just make the uploads dir be the same as the avatars dir. I think it will be added automatically to the list.
_________________________

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

Top
#134043 - 05/17/01 09:32 AM Re: [6.0x] ELY_M's Upload Modification
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
I don't mean to be picky, but i need them to be uploaded as 00000012.gif or something to that effect and to have the option in the dropdown menu labeled 'uploaded avatar' and show what the user uploaded.

Top
#134044 - 05/17/01 11:30 AM Re: [6.0x] ELY_M's Upload Modification
SkipperII Offline
Member

Registered: 03/09/01
Posts: 46
I have a many Hack's in my Forum and i must hack it all new or? That ist the Problem...


DerSkipper2000 laugh

Enyone have tested in a older Version?

<FONT COLOR="#000000" SIZE="1">[ May 17, 2001 11:30 AM: Message edited by: SkipperII ]</font>

Top
#134045 - 05/17/01 12:19 PM Re: [6.0x] ELY_M's Upload Modification
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
How much time does it take?
About 15 minutes... And 6.04e fixed many security issues...
If you think it will take more than 15mins, use Beyond Compare.
_________________________

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

Top
#134046 - 05/20/01 05:58 PM Re: [6.0x] ELY_M's Upload Modification
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Quote:
quote:


I can get people to upload avatars to the avatar directory, but i need basically what i said. A option in the menu for uploaded avatar and for it to be uploaded as xxxxx23.gif. I'm basically bumping this up.

Top
#134047 - 05/21/01 03:18 AM Re: [6.0x] ELY_M's Upload Modification
Raimund Offline
Member

Registered: 01/07/01
Posts: 161
Loc: Graz, Austria
and i would to have it like the 5 series version... to limit not only file size but how many files too.
the hack should create a folder for each members that upload something.

i don't want members thrash down my webspace with their pics...


anybody could make this? confused

Top
#134048 - 05/26/01 05:55 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
I fixed the upload hack.

if the user happen to try to upload illegal format. the file wont be uploaded at all.

changed the code, so the files wont be copied over the other.

Thank to someone who posted the code.

I also added upload hack to public_edit_post.pl


Redownload the zip and read the instructions.

Top
#134049 - 05/26/01 05:40 PM Re: [6.0x] ELY_M's Upload Modification
Cobra Offline
Junior Member

Registered: 10/15/00
Posts: 21
Hi, in your documentaion for installing this hack you refer to "public_edit_form.pl" as a file that needs to be edited. I have 6.04e and I do not see this file anywhere.

Am I missing a file or is this a typo?

Thanks,
Cobra

Top
#134050 - 05/26/01 11:59 PM Re: [6.0x] ELY_M's Upload Modification
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
It's public_edit_post.pl
_________________________

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

Top
#134051 - 05/27/01 12:22 AM Re: [6.0x] ELY_M's Upload Modification
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
Thanks for pointing out to my typo in the instructions.

LK is right

Top
#134052 - 05/27/01 11:16 AM Re: [6.0x] ELY_M's Upload Modification
Divine Narcotic Offline
Member

Registered: 02/19/01
Posts: 34
I found something you left out of the hack.
This is for UBB 6.0, 6.01, 6.02, 6.03
open cp-lib.cgi
Find:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~n!;

Replace with:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~,n!;
_________________________

Top
#134053 - 05/29/01 01:03 PM Re: [6.0x] ELY_M's Upload Modification
gpyper Offline
Junior Member

Registered: 04/02/01
Posts: 2
Loc: Ottawa
Has the file been moved off Tripod I can't seem to download it.

Is this Hack available anywhere else?

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


Who's Online
1 registered (Gizmo), 37 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by McLemore
Yesterday at 02:14 PM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
Yesterday at 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
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
Newest Members
cenk, MATTO, DougMMcts, tim Anderson, phoebe
13360 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks