Previous Thread
Next Thread
Print Thread
Rate Thread
#202073 01/03/2004 5:47 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Modification Name: ubb.db v3

Author(s): AllenAyres

Description: Adds a plug-n-play file database to your site with ubb authentication.

Demo: https://www.ubbdev.com/ubbcgi/db.cgi

Requirements: ubb.classicâ„¢ 6.7

Download Link: https://www.ubbdev.com/ubb/upload/00000494/ubbdb67.zip

Credits: Cal (thank you for permission to distribute laugh )

Credits and Thank yous:
- LK for the majority of the grunt work updating from the v5 series it was written for and adding additional admin features thumbsup
- Mark Badolato for code optimization and putting up with my questions smile
- Charles Capps for code assistance smile
- Burak for code assistance smile
- Clankiller and Wierd Al for bugfixes smile

Install Notes:
- Unzip the file and upload the cgi-bin contents to your ubb cgi directory in ascii, setting permissions to 755. Upload the /uploads folder to your ubb non-cgi directory and set permissions to 777.
- Access your admin at db.cgi?action=admin there are some 'starter' categories in there you can edit.
- A method was added to make using additional file types easir to upload. Line # 282:

Code
my ($base, $path, $ext) = fileparse($zip, qr{.(zip|txt|jpg)});
Change the (zip|txt|jpg) to add whatever file types you need. For example, to add .gif file, you would change that line to read:
Code
my ($base, $path, $ext) = fileparse($zip, qr{.(zip|txt|gif|jpg)});
To-Do:
- templates
- better customization features
- continue optimizing code
- breadcrumbs could be better

Changelog:
- to 01/03/2004 - v3 - many bugfixes and updates to 6.7 code
- Nov. 29, 2002 - v2.9 - bugfixes and minor updates (thanks Clankiller)
- Nov. 20, 2002 - v2.8 - removed unused code (thanks Burak smile )
- Nov. 20, 2002 - v2.7 - Added easier method to upload additional file types (thanks Mark smile )
- Nov. 11, 2002 - v2.5 - Wordlets Done
- Oct. 28, 2002 - Initial Update for v6.3+
- Way way back - cal henderson wrote this for ubbcodehackers and ubb v5


- Allen wavey
- What Drives You?
Sponsored Links
#202074 01/04/2004 1:42 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
breadcrumbs fixed with wierd al's help smile Zip updated smile


- Allen wavey
- What Drives You?
#202075 01/05/2004 9:49 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Does this work for 6.6.1?

#202076 01/05/2004 10:15 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
So I guess the short answer is, "no, it doesn't work with 6.6.1". Can it be ported?

- MT

#202077 01/05/2004 12:41 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I haven't tested it with 6.6, but you can. Upload it and see what happens, that's pretty simple tipsy


- Allen wavey
- What Drives You?
Sponsored Links
#202078 01/05/2004 1:44 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I should have actually been clearer. I did test it using 6.6.1. Sorry for that mistake. I got some sort of "hash" error... it was looking for something that I hadn't heard of before.

- MT

#202079 01/05/2004 2:15 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Can you post the error here?


- Allen wavey
- What Drives You?
#202080 01/05/2004 4:03 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Sure.... give me a second to re-install the mod.

- MT

#202081 01/05/2004 4:11 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
PLEASE REMEMBER THAT THIS ERROR IS BEING GENERATED BY 6.6.1, NOT 6.7 BETA:

Software error:
Can't locate object method "TIEHASH" via package "UBB::TiedURL" at /XXX/XXX/cgi-bin/db.cgi line 107.

For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.

I'm not sure what it means...

- MT

#202082 01/05/2004 4:24 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Yeah, then the hack certainly requires 6.7. That error is being generated by the lack of the 6.7 URL generation routines.


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
#202083 01/05/2004 4:36 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Damn... 6.6.1 got totally passed over. frown I guess there's no chance of a port, huh?

- MT

#202084 01/05/2004 4:43 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
6.7 is close to going final - I would suggest waiting a week or three and upgrading. wink


UBB.classic: Love it or hate it, it was mine.
#202085 01/05/2004 5:00 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Yeah, that's what I'm thinking too... but all that work... LOL... such is life.

- MT

#202086 01/05/2004 9:47 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
comment out the line and see what happens smile


- Allen wavey
- What Drives You?
#202087 01/05/2004 10:52 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
The URL maker will blow up, which sorta breaks the hack entirely. smile


UBB.classic: Love it or hate it, it was mine.
#202088 01/05/2004 10:59 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
heheh smile

The old one should still work with 6.6.


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)