vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Captcha Login ? (https://vborg.vbsupport.ru/showthread.php?t=284353)

bigs15 01-22-2013 12:55 AM

any one please

Simon Lloyd 01-22-2013 03:48 AM

You could always try this https://vborg.vbsupport.ru/showthread.php?t=254671 or https://vborg.vbsupport.ru/showthread.php?t=265892

bigs15 01-23-2013 04:13 AM

why u guys never understand why we need captcha upon login.lol/. i will make video why.hope some one release it.

Simon Lloyd 01-23-2013 04:37 AM

Go here http://www.phpcaptcha.org/download/ download the latest, upload all the files to forum root, create a plugin using login_process as the hook and enter the below code
PHP Code:

require_once 'securimage.php';

    
$image = new Securimage();

    
$image->show();

    
// Code Validation

    
$image = new Securimage();
    if (
$image->check($_POST['code']) == False) {
      echo 
"Sorry, wrong code.";
    } 

Change the echo's for a header redirect to login.php if they get it wrong, should work for you :)

bigs15 02-09-2013 02:24 PM

Quote:

Originally Posted by Simon Lloyd (Post 2398894)
Go here http://www.phpcaptcha.org/download/ download the latest, upload all the files to forum root, create a plugin using login_process as the hook and enter the below code
PHP Code:

require_once 'securimage.php';

    
$image = new Securimage();

    
$image->show();

    
// Code Validation

    
$image = new Securimage();
    if (
$image->check($_POST['code']) == False) {
      echo 
"Sorry, wrong code.";
    } 

Change the echo's for a header redirect to login.php if they get it wrong, should work for you :)


i tried this code is not working can u please check it again ia m waiting for this from many days.

Simon Lloyd 02-09-2013 02:36 PM

It's not just that code!, you need to download and upload all those other files...etc

bigs15 02-09-2013 02:41 PM

Quote:

Originally Posted by Simon Lloyd (Post 2403077)
It's not just that code!, you need to download and upload all those other files...etc

ya i did it. But its not working.

Simon Lloyd 02-09-2013 02:47 PM

Unfortunately i cant help you with that as it's not my code :(

--------------- Added [DATE]1360424963[/DATE] at [TIME]1360424963[/TIME] ---------------

Make sure this is the right path for where you uploaded the files
HTML Code:

require_once 'securimage.php';

bigs15 02-09-2013 02:56 PM

Quote:

Originally Posted by Simon Lloyd (Post 2403080)
Unfortunately i cant help you with that as it's not my code :(

--------------- Added [DATE]1360424963[/DATE] at [TIME]1360424963[/TIME] ---------------

Make sure this is the right path for where you uploaded the files
HTML Code:

require_once 'securimage.php';

securimage.php is in right path.

Code:

header("Location: http://localhost/login.php");
Is redirected to index page :( ...

--------------- Added [DATE]1360426365[/DATE] at [TIME]1360426365[/TIME] ---------------

Now another problem when i click on login it redirected to a page http://localhost/login.php?do=login and stucked there and its showing captcha .No box to type the captcha.


http://img12.imageshack.us/img12/671/43682560.png

Uploaded with ImageShack.us

Simon Lloyd 02-09-2013 03:27 PM

Right, follow this http://www.phpcaptcha.org/documentat...ckstart-guide/ and you should be good :)


All times are GMT. The time now is 11:29 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.01020 seconds
  • Memory Usage 1,749KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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