PDA

View Full Version : Request: Force Users to Reply to Threads They Read


Suave
03-18-2005, 03:46 AM
Request: Force Users to Reply to Threads They Read

I'm looking for a modification which will force users to respond to the thread they just viewed before they are allowed to make any other movements with in the entire forum cummunity.

Marco van Herwaarden
03-18-2005, 03:54 AM
I think this would be a move that will drive your members away from your board.

For example i am used to go to the new posts page, then click all new thread, opening them in a seperate window (tab page) and then go read them all. This would be impossible because after i have opened the first it wouldn't let me open any other.

And you will get more bogus replies then any serious stuff. There is just no way to force people to make good contributions, they must want to do it themself.

Suave
03-18-2005, 01:39 PM
I asked for a mod request not a phychologist :)
I'm fully aware of possible backlash I just need to code

amykhar
03-18-2005, 01:50 PM
It can't be done. All they would have to do is close the browser window.

Marco van Herwaarden
03-18-2005, 01:51 PM
Not playing psychologist, but you are asking for a coder who will write you a hack for free. Chance is big that only a coder who will see this as a good addition (maybe to his own board) will want to work on that condition.

Just giving you advice, and by the number of replies you got it looks like i was right.

Suave
03-18-2005, 02:56 PM
no problem im not debating just in a need for a code lol

unixdotcom
03-18-2005, 06:04 PM
It is not possible to force users who open a thread to actually reply to the thread... you do not control their fingers and what they will do.

Think about it.

You could, however, have forums that when someone opens a thread, it goes straight to:

newreply.php .....

Someone might do that for you for a small fee in the service request forum.

Suave
03-18-2005, 06:20 PM
It is not possible to force users who open a thread to actually reply to the thread... you do not control their fingers and what they will do.

Think about it.

You could, however, have forums that when someone opens a thread, it goes straight to:

newreply.php .....

Someone might do that for you for a small fee in the service request forum.

actually it is possible, that's why you call it a MOD
anythign is possible. I guess you'd say the same thing to the require update profile hack to ha? Just becuase you don't agree with the mod dosen't mean you have to automatically jump up and say it won't ever work. In fact, i'm pretty suficcient in coding so, yes, I have the code working wonderfully.
Thanks.

Tekton
03-18-2005, 06:38 PM
actually it is possible, that's why you call it a MOD
anythign is possible. I guess you'd say the same thing to the require update profile hack to ha? Just becuase you don't agree with the mod dosen't mean you have to automatically jump up and say it won't ever work. In fact, i'm pretty suficcient in coding so, yes, I have the code working wonderfully.
Thanks.

It's possible; by adding a field to the user table and storing a threadid in it. Then in the global.php, add a condition that if that field >0 to redirect to the newreply.php file with that threadid as the thread to post in.

From there, you need to set it to zero when the reply is actually made (in the newreply.php file).

You also need to get add something to the view topic php file that updates that threadid field (that was added to the user table) to equal whatever thread is being viewed (unless the field is greater than zero -- in which caseit would redirect them to the newreply page, of course).

I would also agree with the other people and strongly recommend not doing this of course~ :)

Revan
03-18-2005, 06:40 PM
The profile hack you are referring to is something different, because it is actually possible to detect whether or not an user has filled out said field.
There COULD be, however, a couple of column added to the user table, one for 'lastreadthread' and one for 'didreply'.
Whenever someone read a thread, they would get that threadid inserted in #1, and if they replied, they would get the same threadid inserted into #2.
So a check could be made whether or not the two are equal, if not then redirect to the thread in question.
Also this code could be placed in global.php to ensure users couldn't escape.
Also, to avoid infinite redirection loop, a check would be made against whether or not the script is showthread.php AND $_GET['threadid'] (or whatever) === $bbuserinfo['lastreadthread']

Of course this is just me thinking out loud.

Suave
03-19-2005, 02:50 PM
uppin my code seemed to corrupt the database but I got the database fixed but not the mod any additional assistance?

tnguy3n
03-19-2005, 04:24 PM
you can write a lockdown hack that allows only users who replied to the thread in order to read it.

rapcriminals
03-20-2005, 12:35 AM
i actuallly like a code that people cant vote on a poll unless they reply. Something like this. So pretty much they ahve to reply on the poll threads. thats all im asking.

Suave
03-23-2005, 04:36 PM
yea.

Steve F
03-24-2005, 03:47 AM
I can see this mod working on one of my forums too :)
Clan - match thread 'are you available'. My clan members never bother to reply lol so make them ;)