Page 1 of 1

Request: Stop Post Increasing in certain threads

Posted: Sun Jan 04, 2004 7:20 am
by L0cke
I searched, but everytime I do, I get that stupid Internal 500 error. And you can only be so damned specific.

I'm looking for a way to stop posts from increasing while posting in a specific thread. I have a games thread that has over 6,000 replies. My users love the game, but I hate the post whoring. They say that I could stop the post count and they'd still play, so I want to do this.


Posted: Sun Jan 04, 2004 10:20 pm
by L0cke

Posted: Wed Jan 07, 2004 5:40 am
by L0cke

Posted: Wed Jan 07, 2004 9:06 am
by LifeIsPain
If someone wants to take a crack at it, it really wouldn't be that hard (yet I have duties to attend to, and sleep) and I would look at using parts of New Post Type and then specifying that these topics don't increase the post count. So anyway, this would be fairly simple (or perhaps request a feature addon to GPH, or perhaps wait a bit).

I personally don't care how my people get their post counts, but hey, why not?

Posted: Thu Jan 08, 2004 3:09 am
by L0cke
It doesn't even have to have a friendly interface, really.
Hard coded would be fine.

I wouldn't mind having to put a code in like..

{ else if
thread = "name of thread"
post count = doesn't increase }

Rofl. I know that wouldn't work, but I don't know PHP. :oops:

Posted: Thu Jan 08, 2004 8:53 am
by LifeIsPain

Code: Select all

#-----[ OPEN ]-----

#-----[ FIND ]-----
	if ($mode != 'poll_delete')
		$sql = "UPDATE " . USERS_TABLE . "

#-----[ REPLACE WITH ]-----
	if ($mode != 'poll_delete' && $topic_id != '99')
		$sql = "UPDATE " . USERS_TABLE . "
Replace the 99 with your topic number. I don't see why this wouldn't work, even if I never would validate this to hit the database here (and not tested).

Posted: Fri Jan 09, 2004 8:04 pm
by L0cke
Okay, so this code will stop posts from increasing within that certain topic? Awesome, thanks! :D

Just a general question. Will this decrease the user's post count for the posts that are already within that thread?

Posted: Mon Jan 12, 2004 4:52 am
by LifeIsPain
No it will not, it will only affect future posts being made.

Posted: Tue Jan 13, 2004 6:21 pm
by L0cke
It isn't working. The post count is still increasing.
Does it have anything to do with where the code is located? "Poll_delete" seems like a funny place to stop a post count. But I dunno PHP. :oops:

Posted: Tue Jan 13, 2004 6:26 pm
by L0cke
Hmm, nevermind. It seems to work now.

Posted: Tue Jan 13, 2004 6:38 pm
by L0cke
Would disabling points (Point System) in the specific post consist of the same type of procedure?

Posted: Wed Jan 14, 2004 7:25 am
by LifeIsPain
Probably, but I do not have a running install of Points, so I couldn't check the code there.