Previous Thread
Next Thread
Print Thread
Rate Thread
#129490 11/20/2001 3:04 PM
Joined: Mar 2001
Posts: 42
Member
Member
Offline
Joined: Mar 2001
Posts: 42
Ok I don't know much about cgi or ubb code but the calendar hack just caused me major grief. Who knows, maybe I didn't something wrong I don't know but this was what happened and maybe someone can use this to avoid the same problem.

I had a bunch of hacks on the board. Namely, font glow/color, avatars, custom ranks, memberlist and sticky threads, along with the calendar hack. As usual the board crashed. Not sure why and it really doesn't matter because UBB crashes all the time for me. Even with no hacks. So I figured I'd just reinstall the newest version. Well that is when everything went wrong. I kept getting errors saying that hack attempt was logged and something about extra fields in the member files. Turns out it was referring to the field that is added by the calendar hack. It's the last field in the member file and UBB without the calendar hack installed does not like this.

So I had to go into every member file and delete this last line. I have 1400 members. Luckily I had about 900 backed up. But everyones post count, password and all was put back. A lot of people don't like that. Anyway, it just took a long time to get this done.

All the other hacks do not interfere with the board if the hack is not installed. They don't create new lines in the member file, they just use blank lines. Many times I'd just upgrade with no hacks and then install the hacks one by one to make sure it works fine. As each hack is installed the feaures are activated and are like they always were from the member file.

I think the calendar hack is an awesome hack but with that extra line it will cause havoc for some people upgrading. If there is a better way to do this and to avoid it let me know because I'd love to keep this feature on my site.

Mike

Sponsored Links
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
you could have just opened ubb_lib_files and found
my $maxmemfields = 31; #total fields permitted in member file
and raised that to the correct number. If you were running the old calendar hack you would have set it to 55 that would have fixed your problem. The new version uses member field 32.

Joined: Mar 2001
Posts: 42
Member
Member
Offline
Joined: Mar 2001
Posts: 42
Well there you go. I knew there was an easy way to fix this. But shouldn't that have been included in the hack? At least something telling you about it because it does add lines and can screw things up.

Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
yea i think there should but there isn't and the only reason lk changed the line is becuase ubb 6.2.x already has a built in birthday field and i think it is supposed to use line 32.


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
WebGuy 2
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)