php forum
php mysql forum
php mysql smarty
 
Page 1 of 6 1 2 3 4 5 6 >
Topic Options
#258506 - 09/11/03 02:25 AM Useful MySQL Queries for UBB.Threads
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC

   Useful MySQL Queries for UBB.Threads to Del.icio.us Add to del.icio.us
  Digg Useful MySQL Queries for UBB.Threads Digg it
Backup your database first to be safe. <br /> <br />1) Query the DB to see how many members will allow the Admin to send them bulk emails. <br /> <br />SELECT COUNT(*) FROM w3t_Users WHERE U_AdminEmails='On' <br /> <br />2) Query to set all users to the default aged threads to be displayed (what is set per forum as that forum's default). <br /> <br />UPDATE w3t_Users <br />SET U_ActiveThread = "999" <br /> <br />3) Query to set all users to the default parent posts per page shown. <br /> <br />UPDATE w3t_Users <br />SET U_PostsPer = "10" <br /> <br />4) Query to set all users to the default total posts per page shown (when in flat mode). <br /> <br />UPDATE w3t_Users <br />SET U_FlatPosts = "10" <br /> <br />5) Query to allow all members to receive email from admins. <br /> <br />UPDATE w3t_Users SET U_AdminEmails = 'On' WHERE U_Number > 1 <br /> <br />6) Query to set all members to receive an email notification when they receive a private message. <br /> <br />UPDATE w3t_Users <br />SET U_Notify = 'On' <br /> <br />7) Query to change the displayed date that a post was made. <br /> <br />UPDATE w3t_Posts SET B_Posted = UNIX_TIMESTAMP('2003-06-14 20:05:00') WHERE B_Number = 123456 <br /> <br />Note: Depending on whether it's the last post in a thread or board, you'd have to do similar updates for the main post in the thread and the board that contains the thread. <br /> <br />8) Query to make ALL forums members only. <br /> <br />UPDATE w3t_Boards <br />SET Bo_Read_Perm = '-1-2-3-', Bo_Write_Perm = '-1-2-3-', Bo_Reply_Perm = '-1-2-3-' <br /> <br />"But if you have any boards that are only supposed to be accessible to admins, mods or other special groups, their permissions would get reset, unless you add an appropriate WHERE clause. " <br /> <br />9) Query to delete all users that have not logged-in since they registered. Submitted by Akd96 <br /> <br />DELETE FROM w3t_Users WHERE `U_Laston` = `U_Registered` <br /> <br />10) Query to Update All Users to use the default stylesheet that you've defined in the Theme file Submitted by JoshPet <br /> <br />UPDATE w3t_Users <br />SET U_StyleSheet = 'usedefault' <br /> <br />11) Query to manually approve a user if the user hasn't verified the account yet. <br /> <br />UPDATE w3t_Users SET U_Approved='yes' WHERE U_Username='whatever' <br /> <br />(whatever would be the username) <br /> <br /> <br /> <br />Thanks to all who have posted these in the past. (Dave_L, Rick, me, etc... <img src="/forum/images/graemlins/wink.gif" alt="" /> ) and to Mr.CSS for the idea. <br /> <br /> <br />


Edited by JoshPet (09/11/03 11:49 AM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#258507 - 09/26/03 11:32 PM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Can you give me a command to: <br /> <br />delete all pm's made in the last day, or a certain day, or that contain a certain word? <br /> <br />The command below where given to me in the past... <br /> <br />SELECT DISTINCT B_IP <br />FROM w3t_Posts <br />WHERE B_PosterID = $User (replace user's user Number) <br /> <br />that gives all the IP's a user has posted under. <br /> <br /> SELECT U_RegIP <br /> FROM w3t_Users <br /> WHERE U_Number = $User (replace user's user Number) <br /> <br />that gives you the IP the person registered with. <br /> <br />SELECT B_PosterID <br />FROM w3t_Posts <br />WHERE B_IP = 'xxx.xxx.xxx.xxx' (replace IP number here) <br /> <br />that gives you all the people who have posted under a particular IP address. It's usually more helpful if you chop off a couple of the last numbers and use '%' at the end, so it will pull a slightly larger range of IP's. <br /> <br />

Top
#258508 - 09/27/03 02:25 AM Re: Useful MySQL Queries for UBB.Threads [Re: charts]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I helped you with this - as it was a bit more complicated than that as the user had already been deleted.<br /><br />Since all the PMs were already changed to user #1 - had to do a query like this:<br /><br />DELETE FROM w3t_Messages<br />WHERE M_Subject LIKE 'the subject here'<br /><br />Had the user not been deleted, then we could have done<br /><br />DELETE FROM w3t_Messages<br />WHERE M_Sender = $user (replace user's user number)<br /><br /><br />However, all the people that had PMs will still flash that they have a pm, but when they view the list of private messages, the counter will get reset and the flashing will stop. So it may confuse the users a bit looking for a PM that they don't have. But in your case of 6000+ spam PMs... there was really no other easy way. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#258509 - 10/06/03 12:58 AM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
how do I update all users with 100+ posts to a new usergroup?<br /><br />I'm using your pm restrictor mod and I'm using a usergroup that not many people are a part of - works for the new people, not the old people <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#258510 - 10/06/03 01:23 AM Re: Useful MySQL Queries for UBB.Threads [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK - <br /><br />Something like this:<br /><br />UPDATE w3t_Users<br />SET U_Groups = '-3-5-'<br />WHERE U_Totalposts > 100<br />AND U_Status = 'User'<br /><br /><br />Note: That will change whatever user groups that they had - to -3- (the user group) and -5- (or whatever other group you need).<br /><br />If you need to append the new user group to what they have.... I'm nor sure exactly what needs to be done. I'd write a little script for it. (Contact me and I'll help you AA).<br /><br />RandyJG posted here about the use of CONCAT but I'm not familiar with it myself. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#258511 - 10/06/03 02:07 AM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
thank you, that covered it close enough for what we needed <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#258512 - 10/10/03 09:04 AM Re: Useful MySQL Queries for UBB.Threads [Re: SurfMinister]
Sapphy Offline
Power User

Registered: 09/03/03
Posts: 70
Nice one Josh, lots of good stuff there! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />One question, how do you reverse No.8 and change it so that all guests can view all the forums?<br /><br />Cheers<br />Hugh

Top
#258513 - 10/10/03 10:40 AM Re: Useful MySQL Queries for UBB.Threads [Re: Steve_OS]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Change the desired permission strings from '-1-2-3-' to '-1-2-3-4-'. The same disclaimer applies. That will change the permissions for all the forums unless you qualify the query with an appropriate WHERE clause. It also doesn't take into account any custom groups (5, 6, etc.) that you may have added.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#258514 - 10/10/03 02:45 PM Re: Useful MySQL Queries for UBB.Threads [Re: joeuser]
Sapphy Offline
Power User

Registered: 09/03/03
Posts: 70
Top stuff, thanks Dave! <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#258515 - 10/12/03 05:11 AM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
This is a nice compilation of useful queries. I made a script which shows them all and made a link to it from the admin menu. But since saving queries is a part of 6.4 I'm guessing it might not be of use for anybody?<br /><br />I also have a question about deleting users who have never logged in, will this leave traces of them in other tables? If so, it might be better to change the purgeusers script so that it is possible to select whether to only delete users who have never logged in instead.
_________________________
/Gardener | Complete list of my mods

Top
#258516 - 10/12/03 11:56 AM Re: Useful MySQL Queries for UBB.Threads [Re: c0bra]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
I think that if a user has never logged in, then there will only be rows in two tables: w3t_Users and w3t_Messages (the welcome message).
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#258517 - 10/15/03 05:46 AM Re: Useful MySQL Queries for UBB.Threads [Re: joeuser]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
OK, that sounds good, I could probably check it out a bit before I do the actual removing. Does someone have a script or query to remove orphan rows in w3t_Messages?
_________________________
/Gardener | Complete list of my mods

Top
#258518 - 11/15/03 09:20 PM Re: Useful MySQL Queries for UBB.Threads [Re: c0bra]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Other that would ben ice to know<br /><br />How to delete all PM's older than 30 days<br /><br />How to delete all pm's that have a certain word in them<br /><br />How to replace / change a pm a user sent to all members<br /><br />How to make all visitors make a donation or purchase a subscription :-)

Top
#258519 - 11/16/03 01:02 AM Re: Useful MySQL Queries for UBB.Threads [Re: charts]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
How to delete all PM's older than 30 days<br /><br />DELETE FROM w3t_Messages WHERE M_Sent < UNIX_TIMESTAMP('2003-10-16')<br /><br />(This will delete all PM:s sent before the given date, which is in the format YYYY-MM-DD.)<br /><br />DELETE FROM w3t_Messages WHERE M_Sent < UNIX_TIMESTAMP( DATE_SUB(CURDATE(), INTERVAL 1 MONTH) )<br /><br />(This should delete all PM:s that are older than 1 month, regardless of what date it is.)<br /><br />How to delete all pm's that have a certain word in them<br /><br />DELETE FROM w3t_Messages WHERE M_Message LIKE '%yourwordhere%'<br /><br />(This will remove all PM:s where the word exists, regardless of if it's only part of a word.)<br /><br />How to replace / change a pm a user sent to all members<br /><br />UPDATE w3t_Messages SET M_Message = 'Your new message' WHERE M_Subject = 'Subject of your PM' AND M_Sender = 2<br /><br />(All PM:s sent by user number 2 will have the message replaced with the new message.)<br /><br />How to make all visitors make a donation or purchase a subscription :-)<br /><br />UPDATE w3t_Users SET U_Donation = 'yes'<br /><br /><br />Disclaimer: Please make a backup of your database before trying of any of these queries. Also, change "w3t_" to whatever you have set as your database prefix. Some queries might not work in all versions of UBB.threads.
_________________________
/Gardener | Complete list of my mods

Top
#258520 - 11/20/03 05:27 PM Re: Useful MySQL Queries for UBB.Threads [Re: c0bra]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Thank you very much. <br />The last one may need some further tweaking :-) <br /> <br />Is there a way to delete all posts made by a user in the past day, two days, 10 days?

Top
#258521 - 11/22/03 04:06 PM Re: Useful MySQL Queries for UBB.Threads [Re: charts]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
DELETE FROM w3t_Messages WHERE M_Uid = userid AND M_Sent > UNIX_TIMESTAMP( DATE_SUB(CURDATE(), INTERVAL 1 DAY) )<br /><br />Change userid to the U_Number of the user you want to remove messages from. Change 1 to how many days you want to remove from.<br /><br />If you want to go by username, and you are running MySQL 4, you could do this:<br /><br />DELETE w3t_Messages FROM w3t_Messages AS m, w3t_Users AS u WHERE m.M_Uid = u.U_Number AND u.U_Username = 'Gardener' AND M_Sent > UNIX_TIMESTAMP( DATE_SUB(CURDATE(), INTERVAL 10 DAY) )<br /><br />As always, please do a backup of your data before running these queries. Don't want you to loose anything because of a spelling mistake of mine or something.
_________________________
/Gardener | Complete list of my mods

Top
#258522 - 11/25/03 06:54 PM Re: Useful MySQL Queries for UBB.Threads [Re: c0bra]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
For everyone using this stuff: I will stress EXTREME Caution with deleting stuff manually in the Database and would instead encourage you to use built in tools for deleting stuff. <br /><br />Particularly Users, Posts, Groups etc.... never delete them directly unless you know all the other stuff that needs to be updated as well. Check the admin scripts that delete users/posts etc... to see what other stuff needs to be updated as well. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />If you delete the wrong stuff it can cause threads/forums or more to simply not appear properly, as JOINs can not match up.<br /><br />So excercise EXTREME caution when doing SQL Queries directly in the Database, as they are usually unreversable and/or can take hours to diagnose/fix if stuff gets out of wack. <br /><br /><img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#258523 - 11/25/03 07:25 PM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
That is very true. Also, don't forget to do a backup if you do decide to change anything. I know people who have deleted the entire basis of a company by having a < the wrong way and no proper backups. Well, they managed to fix it in the end by hiring Microsoft consultants from abroad which costed $$$++.
_________________________
/Gardener | Complete list of my mods

Top
#258524 - 11/26/03 09:34 AM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
I do agree with the warning. <br />I was playing with the commands, did not back up, and ended up deleting all trace, all posts, and all pm's made by our top poster :-( and who knows what else :-) <br /> <br />Backing up and restoring is not very easy either. <br />I had a back up at the server (have to hard disks, the second for backup every 12 hours) but it was of no use... before I could get in touch with my isp, before they answered, before i confirmed, and so on... it may take a couple of days... <br /> <br />Could have been worst :-)

Top
#258525 - 01/02/04 03:25 AM Re: Useful MySQL Queries for UBB.Threads [Re: charts]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
I would like to know how to change the number of posts and the registration date of a member<br /><br />Thanks

Top
#258526 - 01/02/04 11:46 AM Re: Useful MySQL Queries for UBB.Threads [Re: charts]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
UPDATE w3t_Users<br />SET U_Totalposts = 'NEWTOTALHERE' <br />WHERE U_Username = 'USERNAMEHERE'<br /><br />UPDATE w3t_Users<br />SET U_Registered = UNIX_TIMESTAMP('2003-10-16') <br />WHERE U_Username = 'USERNAMEHERE'<br /><br />Change the date to what you want <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#258527 - 01/05/04 06:38 PM Re: Useful MySQL Queries for UBB.Threads [Re: sf49rminer]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Thanks. <br />Tryed that but did not work. <br />Is it the same if username and displayed name are not the same? <br /> <br />also... is there a way to show the real number of posts for a user... this user had a problem and the number of posts changed... would really like to show the reasl number of posts

Top
#258528 - 01/05/04 08:20 PM Re: Useful MySQL Queries for UBB.Threads [Re: charts]
Storm_dup1 Offline
Member

Registered: 08/03/02
Posts: 263
Loc: Somewhere above Texas
What would a query be to look up people who have registered but not yet verified their e-mail addies to be real?
_________________________
Some people read their stars..... I choose to write my own

Top
#258529 - 01/05/04 08:50 PM Re: Useful MySQL Queries for UBB.Threads [Re: ]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
U_Username is DisplayName <br /> <br />U_LoginName is the loginname <br /> <br />Those queries above will do exactly what you asked for. You say they dont what is the error you get. You can also suppliment the WHERE U_Username = 'USERNAMEHERE' to WHERE U_Number = 'usernumberhere' Make sure you are not forgetting the slashes around the name or number in the where clause. <br /> <br />As far as getting a post count <br /> <br />SELECT COUNT(*) <br />FROM w3t_Posts <br />WHERE B_PosterId ='USERNUMBERHERE' <br /> <br />Then to update the users total <br /> <br />UPDATE w3t_Users <br />SET U_TotalPosts = 'TOTALHERE' <br />WHERE U_Number = 'USERNUMBERHERE'
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#258530 - 01/07/04 05:20 PM Re: Useful MySQL Queries for UBB.Threads [Re: sf49rminer]
Pasqualist Offline
Member

Registered: 01/30/03
Posts: 285
Loc: Amsterdam, The Netherlands
Which query would I need to change the url in U_Picture (Users) ?<br /><br />Example "http://www.domain1.com/forum/userpics/2.jpg"<br /><br />should be changed in<br /><br />Example "http://www.name2.com/forum/userpics/2.jpg"<br /><br />Thanks!

Top
#258531 - 01/07/04 06:02 PM Re: Useful MySQL Queries for UBB.Threads [Re: 10k]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
You changed the config avatar directory in the setup? This is the directory where pictures are.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#258532 - 01/07/04 06:38 PM Re: Useful MySQL Queries for UBB.Threads [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
No the URL to the avatar is stored in U_Picture - the value in the config file is just for uploads and used when it's being stored.<br /><br />This should do it:<br /><br />UPDATE w3t_Users<br />SET U_Picture = 'http://whatever/what/userpic/2.jpg'<br />WHERE U_Number = xxx<br /><br />Put the usernumber of xxx<br /><br /><img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#258533 - 01/08/04 02:20 AM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
Pasqualist Offline
Member

Registered: 01/30/03
Posts: 285
Loc: Amsterdam, The Netherlands
Thanks Josh, but your query would not do the trick for me.. <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /><br /><br />I want to change the picture URL for all users, so I only need to change "domain1.com" to "name2.com".

Top
#258534 - 01/08/04 08:29 AM Re: Useful MySQL Queries for UBB.Threads [Re: 10k]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
you need a query that first grabs the link from the database in a query and then pulls the substring of the first domain and inserts the substring of the second domain and then inserts that into the database... but thats a little dangerous if not used correctly..


Edited by scroungr (01/08/04 08:36 AM)
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#258535 - 01/08/04 08:34 AM Re: Useful MySQL Queries for UBB.Threads [Re: 234234]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
This will do what you want Pasqualist and is courtesy of Master Scream when I asked him about this issue a while back. <br /> <br />Now this query is mostly for those wanting to update their forums from UBB to Threads and change links in the post bodies as this is where this issue is likely to occur. <br /> <br />UPDATE w3t_Posts SET B_Body = REPLACE(B_Body, 'cgi-bin/ubb','ubbthreads') <br /> <br />Now you can change this query to suit your needs by doing the following to it. <br /> <br />UPDATE w3t_Users SET U_Picture = REPLACE(U_Picture, 'www.domain1.com','www.name2.com') <br /> <br />Now remember to backup your database before doing this but I have ran the first query on my install and it worked fine. It should automatically update the part of the string you want.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#258536 - 01/08/04 08:35 AM Re: Useful MySQL Queries for UBB.Threads [Re: sf49rminer]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
even better <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#258537 - 01/08/04 09:02 AM Re: Useful MySQL Queries for UBB.Threads [Re: 234234]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL Yeah I had asked the MASTER a while back as I still had links in posts to my old ubb install graemlins etc
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#258538 - 01/08/04 09:10 AM Re: Useful MySQL Queries for UBB.Threads [Re: sf49rminer]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
forgot all about the mysql REPLACE command <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#258539 - 01/08/04 01:03 PM Re: Useful MySQL Queries for UBB.Threads [Re: Daine]
CurlGirl Offline
Newbie

Registered: 12/20/03
Posts: 18
Ok....I have a request since I'm in the "throws" of re-installing. <br /><br />Would it be possible to repost something as an ADMIN (with the boards closed) and then change the ADMIN association to the original poster? This is so I can re-post threads lost with my ... huhummm... re-installation?<br /><br />Thanks,<br />Patrice

Top
#258540 - 01/08/04 01:27 PM Re: Useful MySQL Queries for UBB.Threads [Re: GrandAmEmt]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
think it's easier to log in as the user... you can switch to them in the admin panel... problem is boards would have to be open not closed..
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#258541 - 01/08/04 04:14 PM Re: Useful MySQL Queries for UBB.Threads [Re: 234234]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
If your missing threads from your threads database after the install of your UBB classic database conversion that malfunctioned after an import and the board went down after running threads for a few days then you can use PhpMyAdmin to input users and posts after the original conversion.<br /><br />I take i