HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


topic and post count quetion

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#31716 (In Topic #7233)
Avatar

Community saint

This is not that big a question but has me wondering, I could look my self but I though I would ask any way.

In the database for personal posts and topics are they added to the public posts and topics or in a separate table like IPB has?

If they are in the same table does the stats show all posts and topics even the personal ones or just the public ones?

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#31780
Avatar

In the database for personal posts and topics are they added to the public posts and topics or in a separate table like IPB has?

Posts and topics each have a table, with no distinction between personal and public topics/posts.

Top level counts do count the personal posts and topics.
However a topic's post count does not include any inline personal posts within that topic.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#31797
Avatar

Community saint

Ah so the stats at the bottom show topics.
In order to do this on IP board I would have to change the code to add the table posts and members posts, which would of cause only show none deleted ones but would do the same thing.
Going by the PM id on my site I have over 3,000 PM's which if they have not all been deleted would make the post count in the stats go up by that much.
Although what I am thinking about doing is showing another stats thing just for PM's.
Although I want it to count deleted ones so I would need it to show the last ID and not count the number of lines in that table, but at this time I am not sure how to do that for either ocPortal or IP board.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: