vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   User need to click agreement before posting a Thread (https://vborg.vbsupport.ru/showthread.php?t=280055)

osix 03-15-2012 04:08 AM

User need to click agreement before posting a Thread
 
I know there is VSA advance forum rules .

is the something like User need to Click on a Box

And maybe Answer a Question before being allow to make a post .

i try the Captcha but is too complex and is not good for new forum as it do not improve posting rate form new user .

so i am looking for a much simple process

making user Click on a Box just like DP new thread .

and maybe adding a Human verification in a form of answering a Random question

Max Taxable 03-15-2012 05:12 AM

Nonsensical.

This is much better and won't inconvenience any humans:

IsBot - Registration Time Check

Stop the bots from registering, stop 99% of the spam.

kh99 03-15-2012 01:15 PM

Quote:

Originally Posted by osix (Post 2309572)
I know there is VSA advance forum rules .

is the something like User need to Click on a Box

And maybe Answer a Question before being allow to make a post .


Look at Settings > Options > Human Verification Options, you can require human verification for posting. But you can only choose one type of verification to use at a time, and a given user group has to use all or none of them.


Quote:

Originally Posted by Max Taxable (Post 2309577)
This is much better and won't inconvenience any humans:


But it only works for registration.

Max Taxable 03-15-2012 03:05 PM

Quote:

Originally Posted by kh99 (Post 2309652)
But it only works for registration.

Right. If they can't register, they can't post. Unless of course the board is set to allow guest posting.

kh99 03-15-2012 03:38 PM

Quote:

Originally Posted by Max Taxable (Post 2309685)
Right. If they can't register, they can't post. Unless of course the board is set to allow guest posting.

OK, I see where you did say that, I thought I was clarifying because the OP specifically asked about posting.

Simon Lloyd 03-15-2012 09:32 PM

You could do this:
In forum display find:
HTML Code:

$headinclude
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if></title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>

and directly below add
HTML Code:

<script type="text/javascript">

function show_confirm()
{
var r=confirm("You need to answer yes or no to this question");
if (r==true)
  {
    document.location.href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]";
  }
else
  {
  document.location.href="index.php";
  }
}
</script>

then find
HTML Code:

<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
and replace it with
HTML Code:

<if condition="$show['newthreadlink']"><a href="#" onclick="return show_confirm();"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
search for second instance of
HTML Code:

<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
which is below
HTML Code:

<!-- controls below thread list -->
and again replace with
HTML Code:

<if condition="$show['newthreadlink']"><a href="#" onclick="return show_confirm();"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
now before starting a new thread they will be asked whatever question you set :) but the buttons cannot be changed as they are for a html alertbox.


All times are GMT. The time now is 06:42 AM.

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.01117 seconds
  • Memory Usage 1,735KB
  • 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
  • (7)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete