php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#35888 - 01/09/00 07:45 AM Total Posts in Ultimate.cgi
Dave# Offline
Member

Registered: 01/09/00
Posts: 78

   Total Posts in Ultimate.cgi to Del.icio.us Add to del.icio.us
  Digg Total Posts in Ultimate.cgi Digg it
Total Posts in Ultimate.cgi
Example http://cpfc.org/cgi-bin/ubbcgi/Ultimate.cgi

Files to edit: Ultimate.cgi
Versions: tested on 5.39

Right after the require files statements add
Quote:
quote:


next insert $TotPosts anywhere in the $MemberLine

heres mine
Quote:
quote:

Top
#35889 - 01/09/00 08:04 AM Re: Total Posts in Ultimate.cgi
Menno Offline
Junior Member

Registered: 03/20/01
Posts: 200
A delicious hack, if I may say so

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Top
#35890 - 01/09/00 08:23 AM Re: Total Posts in Ultimate.cgi
Dave# Offline
Member

Registered: 01/09/00
Posts: 78

Top
#35891 - 01/09/00 02:27 PM Re: Total Posts in Ultimate.cgi
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Me2Be, it worked for me on 5.40..
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35892 - 01/09/00 10:38 PM Re: Total Posts in Ultimate.cgi
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
You'll prolly need to change your Members path....
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#35893 - 01/09/00 10:57 PM Re: Total Posts in Ultimate.cgi
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Something just hit me...

This is going to be inaccurate. What about boards that prune? They'll have an artificially inflated post count.

The total number of posts EVER made (through profiles) shouldn't be counted - the total number of posts, PERIOD, should.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#35894 - 01/10/00 04:25 AM Re: Total Posts in Ultimate.cgi
Dave# Offline
Member

Registered: 01/09/00
Posts: 78
It says total posts not total active posts

Top
#35895 - 01/10/00 10:41 AM Re: Total Posts in Ultimate.cgi
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
damn, i tried that, and it worked, but said i had one regestered user, i'm alll WTF?!? anyone help?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#35896 - 01/11/00 07:10 AM Re: Total Posts in Ultimate.cgi
Parker Clack Offline
Member

Registered: 01/11/00
Posts: 98
Loc: Midwest Missouri
This is a great hack but is there anyway to give you just the number of posts that are still active?

Ulimate.cgi gives you the total number of posts for each category. Is there anyway to just add these totals up and then display them as one number?

I have totals of over 500,000 and it takes about 2 minutes for the server to return a total as it is written.

Thanks,
Parker

Top
#35897 - 01/12/00 12:49 AM Re: Total Posts in Ultimate.cgi
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
I've been asked this before.
Again, it IS possible, but I personally don't know how to do this, since I'm not that good at perl, and haven't learned UBB all the way yet
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35898 - 01/12/00 01:00 AM Re: Total Posts in Ultimate.cgi
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
I'm working on it, but it's actually a bit harder than I thought... *L*
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#35899 - 01/12/00 01:57 AM Re: Total Posts in Ultimate.cgi
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
http://flare.solareclipse.net/accurateposts.txt

100% accurate. Counts the posts and topics in all OPEN forums.

You can place the blurb elsewhere in Ultimate.cgi, but it may not perform as advertised... *L*
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#35900 - 01/12/00 08:20 AM Re: Total Posts in Ultimate.cgi
Dave# Offline
Member

Registered: 01/09/00
Posts: 78

Top
#35901 - 01/14/00 10:18 AM Re: Total Posts in Ultimate.cgi
Parker Clack Offline
Member

Registered: 01/11/00
Posts: 98
Loc: Midwest Missouri
Charles:

Great hack as usual. Just what I was looking for. Works like a charm. The only other thing that would be great to add is the ability to show you the total number of posts that have been made in the last 24 hours too.

You really should submit this to Ted to include in the release version.

Thanks again for a great hack.

Parker

Top
#35902 - 01/14/00 03:21 PM Re: Total Posts in Ultimate.cgi
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Well, this particular version of the hack is a bit more intense than Dave's, and would add enough load to the stock UBB to make it a 'problem'...

I'll see what I can do about the past 24 hours... I might need to rework the Today's Active Topics bit.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#35903 - 01/15/00 02:02 AM Re: Total Posts in Ultimate.cgi
Parker Clack Offline
Member

Registered: 01/11/00
Posts: 98
Loc: Midwest Missouri
Charles:

I have a fairly large site with 9,300 members so your hack works for our site better as I really only want to see the active message count and not a total of all the messages that have been posted. This takes, on our board, about 2 minutes to compile as its total is about 500,000.

Parker

Top
#35904 - 01/15/00 03:42 AM Re: Total Posts in Ultimate.cgi
Menno Offline
Junior Member

Registered: 03/20/01
Posts: 200
great hack, charles

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Top
#35905 - 01/21/00 01:04 PM Re: Total Posts in Ultimate.cgi
RageAgnst Offline
Member

Registered: 01/21/00
Posts: 32
Loc: Saint Louis, Missouri - USA
Im not sure where this hack pulls its information from, but it shows me having a total of 10 posts when I only have 1 post total on my site?? Where is it getting its info?

Thanks,

------------------
Chris Miller
http://www.webtrixter.com/
_________________________
Chris Miller
http://www.webtrixter.com/

Top
#35906 - 01/21/00 02:23 PM Re: Total Posts in Ultimate.cgi
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Rage: Be sure that you're counting the number of POSTS, not threads.

Me2Be: It will count ANY forum that is ON. If the forum is off, it won't be counted.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#35907 - 01/21/00 04:01 PM Re: Total Posts in Ultimate.cgi
RageAgnst Offline
Member

Registered: 01/21/00
Posts: 32
Loc: Saint Louis, Missouri - USA
Ha! I just figured out my problem. The file 000001 or whatever that is my members folder had me listed as having posted 8 topics. (I probally have but i have deleted them cause they were just tests) Thats why it was showing 10!

Thanks all!

------------------
Chris Miller
http://www.webtrixter.com/
_________________________
Chris Miller
http://www.webtrixter.com/

Top
Page 1 of 3 1 2 3 >


Who's Online
0 Registered (), 41 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 13
blaaskaak 9
tackaberry 7
FREAK1 6
Gizmo 4
Mike L_dup1 4
Chris Bale 4

 

 

 
fusionbb message board php hacks