Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
When I run the alter-table I get

Altering the Posts table to store the parent user id to restore the in reply to userrname.
SQL ERROR: Unable to do_query: ALTER TABLE w3t_Posts ADD B_ParentUser INT(9) UNSIGNED, ADD B_LastPosterId INT(9) UNSIGNED, ADD B_LastPostNum INT(11) UNSIGNED
Duplicate column name 'B_ParentUser'Altering the Users table to add a field for banned users.
SQL ERROR: Unable to do_query: ALTER TABLE w3t_Users ADD U_Banned INT(1) UNSIGNED DEFAULT '0'
Duplicate column name 'U_Banned'Adding a table to store languages users can choose from...
SQL ERROR: Unable to do_query: CREATE TABLE w3t_Languages ( L_Entry INT(9) NOT NULL AUTO_INCREMENT PRIMARY KEY, L_Language VARCHAR(255), L_Description VARCHAR(255), L_Active INT(1) )
Table 'w3t_Languages' already existsSQL ERROR: Unable to do_query: CREATE TABLE w3t_Mailer ( M_Time INT(11), M_Subject VARCHAR(255), M_Message TEXT, M_Groups VARCHAR(255), M_Bogus VARCHAR(255), M_Onebyone INT(1), M_Loop INT(9), M_Type VARCHAR(10) )
Table 'w3t_Mailer' already existsDone


---

I did run the requested SQL for the mass mailer before updating.

The forum is working and it shows to have updated to 6.3B4.
But the one feature that I wanted is not working as banned users can still browse the forum?

Darn those banned IP users. They shall have none of our bandwith. []http://forums.operationsports.com/ubbthreads/images/graemlins/freddy.gif[/]

Any help is greatly appreciated as I am SQL illiterate.

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
You shouldn't run an altertable*.php script to upgrade from 6.3b1 to 6.3b4.

Those are only for doing version upgrades: 6.1 to 6.2, 6.2 to 6.3, etc.

Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
Well then thank explains alot

Did I damage anything by doing so? I also ran run two altertables. One of them was listed to do after I ran the first one.

altertable-6-3-topics.php
altertable-6-3-replies.php

Any thoughts as to why the IP ban is not working (allowing no access)?

Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
Scratch my comment on the IP/Name ban. It works.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
These two scripts:
altertable-6-3-topics.php
altertable-6-3-replies.php

were added after b1 - you can run those. They propigate the "last post by" and "Re: username" info if you want.

Sponsored Links
Joined: Feb 2003
Posts: 31
User
User
Offline
Joined: Feb 2003
Posts: 31
Both worked like a charm.

A great holiday to weekend all.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Good to hear - those were originally based on hacks I posted here.


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)