Previous Thread
Next Thread
Print Thread
Rate Thread
#274802 06/10/2004 11:01 AM
Joined: May 1999
Posts: 39
Journeyman
Journeyman
Offline
Joined: May 1999
Posts: 39
[:"red"]
SELECT t1.B_Number,t1.B_Main,t3.U_Username,t1.B_Subject,t1.B_Posted,t1.B_Board,
t3.U_Color,t1.B_Reged,t1.B_Icon,t2.Bo_Title,t2.Bo_Read_Perm,t2.Bo_Cat,
t1.B_Posterid,t1.B_Status,t1.B_AnonName,t1.B_Body
FROM
w3t_Posts AS t1, w3t_Boards AS t2, w3t_Users AS t3
WHERE
t1.B_Approved = 'yes' AND t1.B_Board = t2.Bo_Keyword
AND t1.B_Posterid = t3.U_Number AND t1.B_Status <> 'M'
AND t1.B_Board IN ('board1','board2','other boards...')
ORDER BY B_Posted DESC LIMIT 26
[/]


Hi , I wonder what is this query string doing ? and how to 'trigger' this query in UBBThreads ?
It seems this query is from dosearch.php ...
But , to prevent serious search loading , I've removed all search link and forms in my threads. Even registered users can not search.

But I often observed this query running and cause my site hang ...
How does ubbthreads trigger this query ? What templates or code should I change ?

If I am not wrong , dosearch should do SQL LIKE search , and "show user's all post query" . The former can be removed by editing search.tmpl and postlist.tmpl . And the later query is 'light' to MySQL.

But I just cannot figure how to trigger this strange query ... And ... how to prevent it ?

Last edited by JoshPet; 06/11/2004 12:28 AM.
Sponsored Links
Entire Thread
Subject Posted By Posted
What is this query doing ?? smallufo 06/10/2004 6:01 PM
Re: What is this query doing ?? Astaran 06/10/2004 7:53 PM
Re: What is this query doing ?? smallufo 06/10/2004 8:11 PM
Re: What is this query doing ?? JoshPet 06/10/2004 8:25 PM
Re: What is this query doing ?? smallufo 06/10/2004 9:10 PM
Re: What is this query doing ?? JoshPet 06/10/2004 10:13 PM
Re: What is this query doing ?? smallufo 06/10/2004 10:31 PM
Re: What is this query doing ?? msula 06/11/2004 3:09 AM
Re: What is this query doing ?? smallufo 06/11/2004 6:05 AM
Re: What is this query doing ?? JoshPet 06/11/2004 6:17 AM
Re: What is this query doing ?? smallufo 06/11/2004 6:37 AM
Re: What is this query doing ?? JoshPet 06/11/2004 7:23 AM
Re: What is this query doing ?? ksanuk 06/11/2004 7:40 AM
Re: What is this query doing ?? JoshPet 06/11/2004 7:59 AM
Let me clarify my question smallufo 06/11/2004 8:38 AM
Re: What is this query doing ?? JoshPet 06/11/2004 8:52 AM
Re: What is this query doing ?? smallufo 06/11/2004 9:02 AM
Re: What is this query doing ?? JoshPet 06/11/2004 9:12 AM
Re: What is this query doing ?? Astaran 06/11/2004 4:10 PM
I finally found the answer !!! smallufo 08/05/2004 6:15 PM

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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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)