Previous Thread
Next Thread
Print Thread
Rate Thread
Not Showing Anonymous posts (B_PosterId 1) HELP #286037
01/13/2006 1:31 PM
01/13/2006 1:31 PM
Joined: Aug 2000
Posts: 24
simon333 Offline OP
simon333  Offline OP
Joined: Aug 2000
Posts: 24
First noticed in the control panel that I had Approval Requests pending but when I clicked to view them I saw nothing.

Looked into it further and found that if an entry in w3t_Posts has a B_PosterId of 1 (ubbthreads default 'anonymous') the message won't show. This is happening in the forum and pending requests and anywhere else anonymous user posts are displayed.

Here is the code from the approveposts.php in the admin directory that is not functioning properly.

<br />$query = "<br />	SELECT t1.B_Number,t1.B_Subject,t3.Bo_Title,t1.B_PosterId,t2.U_Username<br />	FROM {$config['tbprefix']}Posts AS t1,<br />	{$config['tbprefix']}Users AS t2,<br />	{$config['tbprefix']}Boards AS t3<br />	WHERE t1.B_Approved &lt;&gt; 'yes'<br />	AND t1.B_PosterId = t2.U_Number<br />	AND t1.B_Board = t3.Bo_Keyword<br />	ORDER BY t1.B_Board,t1.B_Number DESC<br />";<br />

remove these two parts from the query above and I at least see registered users pending posts.
SELECT ... t2.U_Username
AND t1.B_PosterId = t2.U_Number

* Looks to me like the mysql linking(?) (t1,t2,t3) is not working but I'm not sure if it's a problem with the MySQL version I have or if there's some setting I need to enable .

Here are my system specs
- Linux RHLE 4
- MySQL 4.1.12
- UBBThreads 6.5

Any help or ideas would be greatly appreciated.


- Simon

Sponsored Links
Re: Not Showing Anonymous posts (B_PosterId 1) HELP [Re: Fenrir] #286038
01/13/2006 8:56 PM
01/13/2006 8:56 PM
Joined: Mar 2000
Posts: 25,587
AllenAyres Offline
I type Like navaho
AllenAyres  Offline
I type Like navaho
Joined: Mar 2000
Posts: 25,587
I haven't seen that bug before and can't find any info on it here or at - it makes me think it may be something else besides threads. Are you running 6.5 or 6.5.2? There's no difference between the 2 versions of the approveposts.php file, but maybe the bug is in a different file.

- Allen wavey
- What Drives You?

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
· Blue Host
Visit Us on Facebook
Member Spotlight
Posts: 1,157
Joined: July 2001
Show All Member Profiles 
Forum Statistics
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,936
Greg Hard 5,533
Top Posters(30 Days)
driv 1
isaac 1
Today's Statistics
Currently Online 701
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2018 VNC Web Services

Powered by UBB.threads™ PHP Forum Software 7.6.2
(Snapshot build
Page Time: 0.062s Queries: 15 (0.029s) Memory: 3.2245 MB (Peak: 3.3448 MB) Zlib enabled. Server Time: 2018-03-20 11:42:12 UTC