Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
blith
Client



Joined: Jul 18, 2003
Posts: 977

PostPosted: Thu Oct 09, 2003 10:42 am Reply with quote

I would like a mod that does not count posts in a certain forum. ! tried one I found once and it did not work. Is there anyone here that knows of one or can make one? Thank you.
 
View user's profile Send private message Visit poster's website
blith







PostPosted: Thu Oct 09, 2003 11:20 am Reply with quote

I guess this is called Disable Post Count Increase. I have found one but it is the one I put in before. I will try it again but if anyone knows of a completely reliable one that the use I would appreciate it. Thanks.
 
blith







PostPosted: Thu Oct 09, 2003 12:41 pm Reply with quote

Okay the one I installed was from http://www.phpbb.com/mods and it works exactly as I need it to. The directions are east to follow and easy to implement. The only thing I was unlear of was where to exactly disable post counting. Once you go into forum mgmt. under edit a forum you will see a check box asking "Count User's Posts" check for yes uncheck for no. They will all be enabled as default.
 
blith







PostPosted: Fri Oct 10, 2003 1:55 pm Reply with quote

New problem. When I have post count disabled in OT they receive no post count increase. (of course) but if they get a post deleted from OT their post count goes down. Is there a workaround for this. Conceivably someone could end up with a neg. post count. Thanks!
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Oct 12, 2003 10:42 am Reply with quote

blith wrote:
New problem. When I have post count disabled in OT they receive no post count increase. (of course) but if they get a post deleted from OT their post count goes down. Is there a workaround for this. Conceivably someone could end up with a neg. post count. Thanks!
This seems to be a dichotomy. If they delete a post that was counted in their total before you implemented it, you might want to see the decrease. However, if it was afterwards, then you wouldn't. I've had no experience with the mod you are using so I'd have to get it and look at it to see how to stop it all together. It seems that that situation should be easy enough to test though. Does the count decrease if you delete it from the forum that you are not allowing increases in?
 
View user's profile Send private message
blith







PostPosted: Mon Oct 13, 2003 7:29 am Reply with quote

Yes, the decrease in post count is in a forum that has post count increase disabled. I appreciate you looking into it, Raven.

In fact I just conducted the test. I entered a post in my OT forum, where post count increase is disabled, no increase in post count. I then deleted the same post in OT and my post count decreased by one.
 
Raven







PostPosted: Mon Oct 13, 2003 7:34 am Reply with quote

Just test it. Create a test forum and set the forum to not increase. Then add a couple of test posts and delete them to see what happens.
 
blith







PostPosted: Mon Oct 13, 2003 7:40 am Reply with quote

That is what I did in the post above... maybe you were typing as I was editing... Very Happy
 
Raven







PostPosted: Mon Oct 13, 2003 7:47 am Reply with quote

Continue to delete to see if the post count for that forum goes negative. I'll check back later. Packing up to head back to Kansas.
 
blith







PostPosted: Mon Oct 13, 2003 8:26 am Reply with quote

Okay, I created a new forum that had post count increase disabled. I started out with 269 posts. I created two posts and my post count did NOT go up. I then deleted those posts and my post count did NOT go down. So in conclusion... sounds professional doesn't it Wink , if you delete posts in a forum that post count increase was not implemented from the start your post count will be decreased due to the surplus of posts you have from prior to the disabling. Does that sound about right? Confused
 
Raven







PostPosted: Mon Oct 13, 2003 9:19 pm Reply with quote

Sounds logical to me.
 
blith







PostPosted: Thu Nov 06, 2003 12:47 pm Reply with quote

Okay, new problem same topic. Is there a way to remove post count all together? So it doesn't show up anywhere? even under the avatar of a user? thanks
 
Raven







PostPosted: Thu Nov 06, 2003 1:03 pm Reply with quote

Try this. Edit Forums/viewtopic.php. Find this code on or about line 871
Code:
        $poster_posts = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $postrow[$i]['user_posts'] : '';

and modify it to read
Code:
        $poster_posts = ''/*( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $postrow[$i]['user_posts'] : ''*/;
 
Raven







PostPosted: Thu Nov 06, 2003 1:06 pm Reply with quote

Oops. Just saw the avatar question also. I'm assuming you mean in my Site Info block. Change this line
Code:
   $posts = $row[posts];
to
Code:
   $posts = 0/*$row[posts]*/;
 
blith







PostPosted: Thu Nov 06, 2003 3:46 pm Reply with quote

Thanks Raven! Are they still increasing and just can't be seen? Or are they disabled all together?
 
Raven







PostPosted: Thu Nov 06, 2003 3:48 pm Reply with quote

Still doing whatever they were before, just being masked.
 
blith







PostPosted: Thu Nov 06, 2003 4:33 pm Reply with quote

fantastic!! just what I want.. people get so obsessed with post counts... Rolling Eyes
 
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Thu Nov 06, 2003 5:15 pm Reply with quote

You are all so brilliant ... hanging out here has to be good for me. Idea
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©