php forum
php mysql forum
php mysql smarty
 
Page 5 of 6 < 1 2 3 4 5 6 >
Topic Options
#258586 - 05/27/04 02:30 PM Re: Useful MySQL Queries for UBB.Threads [Re: Dawg_dup1]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
How would I find out what languages my members are using?<br />so that when I upgrade I know what ones I can dump.
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#258587 - 05/27/04 02:38 PM Re: Useful MySQL Queries for UBB.Threads [Re: sdf123]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
SELECT DISTINCT U_Language FROM w3t_Users


Edited by scroungr (05/27/04 02:39 PM)
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#258588 - 05/27/04 04:00 PM Re: Useful MySQL Queries for UBB.Threads [Re: 234234]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
Thanks
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#258589 - 05/28/04 06:20 PM Re: Useful MySQL Queries for UBB.Threads [Re: sdf123]
Deejay_dup1 Offline
Journeyman

Registered: 08/25/02
Posts: 106
Ok, I have now decided to turn OFF display names, but some users still have display names in the DB...<br /><br />What would be the query to change everyone's display name to their login names? (So they are both the same)

Top
#258590 - 05/28/04 07:57 PM Re: Useful MySQL Queries for UBB.Threads [Re: darenu]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
?<br />UPDATE w3t_Users<br />SET U_Username = U_LoginName<br /><br />Although I'm not sure if that will pull their U_LoginName, or will actually give everyone the literal display name of "U_LoginName" so I wouldn't really recommend trying it. <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#258591 - 06/07/04 01:43 PM Re: Useful MySQL Queries for UBB.Threads [Re: eslmix]
IOGCadam Offline
Newbie

Registered: 03/09/04
Posts: 16
I need a Query to reset everyones name color to the default "Normal" How would this be done?

Top
#258592 - 06/07/04 07:06 PM Re: Useful MySQL Queries for UBB.Threads [Re: truck]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
well what is normal ? heh <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> BUT you can try<br /><br />UPDATE w3t_Users SET U_Color = ''
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#258593 - 07/06/04 07:47 AM Re: Useful MySQL Queries for UBB.Threads [Re: 234234]
DrChaos Offline
Coder

Registered: 09/12/03
Posts: 816
Loc: Hollywood Florida.
If you want to make the color of the names the default color you have to type "Normal" into the color section. It will make them the forum default.<br /><br />So my guess is to do...<br />UPDATE w3t_Users SET U_Color = 'normal' <br />(could be worng though. dont run that unless you ask someone) <img src="http://www.ubbdev.com/forum/images/graemlins/smirk.gif" alt="" />
_________________________
DrChaos
LeetGamers

Top
#258594 - 07/06/04 07:53 AM Re: Useful MySQL Queries for UBB.Threads [Re: Duck]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
has to be normal? thought it could be empty? they change it? if it has to be normal then yes DrChaos is chaotically correct <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
#258595 - 07/06/04 03:59 PM Re: Useful MySQL Queries for UBB.Threads [Re: 234234]
DrChaos Offline
Coder

Registered: 09/12/03
Posts: 816
Loc: Hollywood Florida.
I said I could be wrong <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />I canged a few and just removed the name of the color where edit the user and nothing happend.<br /><br />then one of my admins said to try to put "normal", because that what all the regular users are set to, and it worked.
_________________________
DrChaos
LeetGamers

Top
#258596 - 07/06/04 04:58 PM Re: Useful MySQL Queries for UBB.Threads [Re: Duck]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
well then you are right now wrong and I am wrong not right so glad to meet ya <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
#258597 - 10/28/04 01:42 AM Review Forum Rules [Re: charts]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Can anyone tell me the query to require all users to review the Forum Rules and accept or reject on their next visit to the board?<br /><br />It's that time <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#258598 - 10/28/04 02:47 AM Re: Review Forum Rules [Re: barbiro]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Using the Force Rules mod?<br /><br />UPDATE w3t_Users<br />SET U_Agree = 0
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#258599 - 10/28/04 05:25 AM Re: Review Forum Rules [Re: Daine]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Thanks Josh,I didnt know there was a Mod for that.
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#258600 - 10/28/04 11:12 AM Re: Useful MySQL Queries for UBB.Threads [Re: eslmix]
PDOstrander Offline
Newbie

Registered: 02/10/04
Posts: 18
Anyone get brave enough to try this out? <br /><br />[] ?<br />UPDATE w3t_Users<br />SET U_Username = U_LoginName<br /><br />Although I'm not sure if that will pull their U_LoginName, or will actually give everyone the literal display name of "U_LoginName" so I wouldn't really recommend trying it. [/] <br /><br />I have a bunch of users who I need to make their eamil / fake email and user name / display name all match. A SQL call like this would save me a lot of time <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />P-

Top
#258601 - 10/28/04 03:40 PM Re: Useful MySQL Queries for UBB.Threads [Re: mirko]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
>UPDATE w3t_Users<br />>SET U_Username = U_LoginName<br />>Although I'm not sure if that will pull their U_LoginName, or will actually give everyone the <br />>literal display name of "U_LoginName" so I wouldn't really recommend trying it.<br /><br />Test it with one name first.<br /><br />UPDATE w3t_Users<br />SET U_Username = U_LoginName <br />WHERE U_Number= 124124<br /><br />124124 = your user number

Top
#258602 - 10/29/04 12:07 AM Re: Useful MySQL Queries for UBB.Threads [Re: domain123]
PDOstrander Offline
Newbie

Registered: 02/10/04
Posts: 18
Good idea <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
#258603 - 10/29/04 11:01 AM Re: Useful MySQL Queries for UBB.Threads [Re: domain123]
PDOstrander Offline
Newbie

Registered: 02/10/04
Posts: 18
I ran the follwing query through MyPHPAdmin and it worked...<br /><br />UPDATE w3t_Users<br />SET `U_Username` = `U_LoginName` <br /><br />Thanks Anno<br /><br />P-

Top
#258604 - 11/16/04 06:24 AM Re: Useful MySQL Queries for UBB.Threads [Re: mirko]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
Here is the old query by RandyJG that JoshPet used in the Stylesheet Popularity mod. Since we have been able to store queries in the past couple of versions, the mod is no longer needed, but the query could still be helpful... <br /> <br />
Code:
 <br />SELECT COUNT(*) as total,U_StyleSheet as style <br />FROM w3t_Users <br />GROUP BY U_StyleSheet <br />ORDER BY total DESC <br />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#258605 - 11/21/04 05:37 AM Re: Useful MySQL Queries for UBB.Threads [Re: eslmix]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
How do I access a list of all of my users e-mail address? Can this be done with a query?
_________________________
parentforum.org

Top
Page 5 of 6 < 1 2 3 4 5 6 >


Who's Online
0 registered (), 27 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
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
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks