Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2004
Posts: 3
Junior Member
Junior Member
Joined: Jun 2004
Posts: 3
hello, I am the owner of , a site listing the largest message boards on the web, amongst which a couple are UBBs (see ).
In order to update the boards statistics i need to fetch the user and post counts from the site dynamically. Unfortunately, most UBBs don't display this information upfront (often user count is there but not post count). Since i do not know the software indeep, I was wondering if there was a way to find this information somewhere, like a stats url, a "last post url" with an accessible post id in it, or any other technique that I could use to get the numbers dynamically (if possible consistent across UBB versions).

Thanks for your input.

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
UBB.classic does not have unique post IDs - you'll need to add things up manually. (Topic numbers are unique to the forum, and post numbers are unique to topic. The joys of using flat files... one of the major reasons that you won't find too many UBB.classic boards on your site is due to the basic limitations of our architecture. We always advise keeping less than 3,000 topics in one forum for best performance.)

Doing a complete sum of the posts actually somewhat easy if you have Firefox/Mozilla and UltraEdit - you can use Ctrl + click to select the columns in the forum summary table, then copy to the clipboard. Paste in UltraEdit, do a replace of each tab with a newline, then switch into column mode, select all, and do a column sum.

Now, this isn't true for UBB.threads, which does have unique post numbers. Look at the Number= value in the query string when visiting the latest topic. Do note that this number is the total number of posts ever, as opposed to the total current number of posts. For example, TrekBBS 's last post number is approaching three million (currently 2,996,000 - we'll hit 3 million within the next 24 hours at the normal rate of 4,000 new posts a day), but I have to keep the database pruned to around 400,000 posts due to us not having enough money to afford the server setup we need...

UBB.x/Eve uses random OIDs for each topic and post, so you'll need to use the same column add trick with it as well.

UBB.classic: Love it or hate it, it was mine.

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
Visit us on Facebook
Member Spotlight
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
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 20240506)