vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Request: Force Users to Reply to Threads They Read (https://vborg.vbsupport.ru/showthread.php?t=78302)

Suave 03-18-2005 03:46 AM

Request: Force Users to Reply to Threads They Read
 
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

Quote:

Originally Posted by unixdotcom
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

Quote:

Originally Posted by Suave
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.


All times are GMT. The time now is 02:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01075 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete