Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #21  
Old 21st June 2018, 11:40
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
dudes this is the confermation code it works with the first half that Botanicar posted http://www.bvlist.com/showpost.php?p=51659&postcount=63 he posted the theme part that you half to edit the templates the part I posted works after you hit login
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
papad (21st June 2018)
  #22  
Old 21st June 2018, 19:21
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
Ill do more test as im doing the repo very too for all to download for free mate
I hope everyone can wait for my new repo

Bump: http://fmdition.net/?p=home&pid=1

The above link is to show you all the new repack only up for a day or so then on i go to do a code for a mate
Reply With Quote
  #23  
Old 21st June 2018, 23:02
Botanicar's Avatar
Botanicar Botanicar is offline
Senior Member
 
Join Date: Jun 2013
Croatia
Posts: 127
Default
Code:
You did not complete the CAPTCHA verification properly. Please try again.
Reply With Quote
  #24  
Old 21st June 2018, 23:57
thartley55 thartley55 is offline
Senior Member
 
Join Date: Mar 2012
P2P
Posts: 204
Default
Get the following message...EVERY time.

attention

Attention

You did not complete the CAPTCHA verification properly. Please try again.



Reply With Quote
  #25  
Old 22nd June 2018, 02:50
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
ok lets start all this from the begining
#1 you must have a V2 puplic and private key!!!!!!!!
#2 the site you are testing this on MUST be setup in
Your reCAPTCHA sites

open
ajax/forgot_password.php and find
Code:
if( !$verifyCaptcha->verifyCaptcha($recaptcha_challenge_field, $recaptcha_response_field) )
and make it
Code:
        if( !$verifyCaptcha->verifyCaptcha($recaptcha_challenge_field, $_POST["g-recaptcha-response"]) )
now open ajax/signup.php and do the same find
Code:
if( !$verifyCaptcha->verifyCaptcha($recaptcha_challenge_field, $recaptcha_response_field) )
and make it
Code:
        if( !$verifyCaptcha->verifyCaptcha($recaptcha_challenge_field, $_POST["g-recaptcha-response"]) )
open library/classes/class_captcha.php
and replace the content with
Code:
<?php 

class TSUE_captcha
{
    private $apiURL = "https://www.google.com/recaptcha/api/siteverify?secret=";
    private $privatekey = "";//PUT YOUR PRIVATE KEY HERE
    public $status = false;
    public $error = "";

    public function verifyCaptcha($recaptcha_challenge_field = "", $recaptcha_response_field = "")
    {
        global $_POST;
                $ip = $_SERVER['REMOTE_ADDR'];
                $response=file_get_contents($this->apiURL.$this->privatekey."&response=".$recaptcha_response_field."&remoteip=".$ip);
                $responseKeys = json_decode($response,true);         
                $this->status = intval($responseKeys["success"]) !== 1 ? false : true;
                if(!$this->status)
                {
                    $this->error = $responseKeys['error-codes'][0];
                }

        return $this->status;
    }

}
?>
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following 3 Users Say Thank You to joeroberts For This Useful Post:
BamBam0077 (22nd June 2018), Botanicar (22nd June 2018), papad (22nd June 2018)
  #26  
Old 22nd June 2018, 10:10
Botanicar's Avatar
Botanicar Botanicar is offline
Senior Member
 
Join Date: Jun 2013
Croatia
Posts: 127
Default
something missing in the code


Click the image to open in full size.
Reply With Quote
  #27  
Old 22nd June 2018, 12:02
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
You have made the edit in the templates?
Paste this snippet before the closing
Code:
</head>
tag on your HTML template:
Code:
<script src='https://www.google.com/recaptcha/api.js'></script>
Paste this snippet at the end of the
Code:
<form>
where you want the reCAPTCHA widget to appear:
Code:
<div class="g-recaptcha" data-sitekey="YOUR PUBLIC KEY"></div>
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #28  
Old 22nd June 2018, 15:25
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
http://fmdition.net/index.php?p=home&pid=1

Ok testing signups on demo site
Reply With Quote
  #29  
Old 22nd June 2018, 16:30
hart's Avatar
hart hart is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 51
Default
Quote:
Originally Posted by Napon View Post
http://fmdition.net/index.php?p=home&pid=1

Ok testing signups on demo site
Napon your site not working

maybe you could run your own website like that
Reply With Quote
  #30  
Old 22nd June 2018, 17:03
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
It was not lol as i was editing files on signup ok try now to signup all good to go
Reply With Quote
Reply

Tags
22 , recaptcha , tsue

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:07. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.