Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
just some signup/login layout stuff (TES
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Mods in Progress

2019-03-31 22:16:55
anyone wanna test this and make it better? I was just bored and interested in seeing how this could work, so I did this with some files arne sent me. Upload everything, the only 3 files I was editing are account-signup, account-recover and account-login. The rest is css and images and stuff that the html uses. try it and see if its worth continuing to play with this, or I should just move on to something else. I get sidetracked and spend way too much time on silly things, but this looks very nice. Backup your files and try this. its just a quick example, and I know it can be alot better, but decent for a start anyways.

[URL unfurl="true"]http://www.mediafire.com/file/0l9p2h4ffo529cz/signup+tests.rar[/url]
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2019-04-01 10:37:30
Well This is how it looks like with restrict from gusets mod.
[ATTACH type="full" alt="2603"]4996._xfImport[/ATTACH]

More refresh needed since we want the login page cover the full area masking the site theme which is necessary for mobile responsiveness. I also cleaned up a bit so now the logo and 3rd party signup is not showing. replace the attached 3 files and you will see.
download.png
download.png
refined signup page.zip
Download
2019-04-01 15:42:18
Had a quick look at this, wanted to see the Google & Facebook login not sure how hard that would be to get going, it looks nice but there's 60+ files all though it could be slimmed down its got potential but you can center current code and add a background image giving the same effect, I like to keep my files slimmed down now on my 2.08 i had loads of files and half started code lol
2019-04-01 16:55:53
"m-jay,  post: 66360, member: 20288":

Had a quick look at this, wanted to see the Google & Facebook login not sure how hard that would be to get going, it looks nice but there's 60+ files all though it could be slimmed down its got potential but you can center current code and add a background image giving the same effect, I like to keep my files slimmed down now on my 2.08 i had loads of files and half started code lol

It can be slimmed down. Just needs some time. With this and a webkit we can move torrenttrader to a fully bootstrapped theme
2019-04-01 19:26:16
I'm not familiar with bootstrap is this for the purpose of making mobile friendly because I might know another way
2019-04-01 21:08:14
im not familiar with bootstrap either. Im not good at any of that stuff honestly. i usually just keep fiddling around till something looks good
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2019-04-02 05:20:44
well that will do either...
2019-04-02 11:24:02
for mobile friendly i would use @media with a metatag this is two screenshots of the login page you will see the blocks and header will create a issue





ive been playing with this and you could hide divs using @media you could also change the css for certain screen lengths

if you right click on the page and select inspect you can see when you change size it hides the columns


heres my test account
[url='http://www.test20182018.dx.am/account-login.php?returnto=%2Findex.php']http://www.test20182018.dx.am/account-login.php?returnto=/index.php[/url]

If you open that link with a mobile I have two different views if the phone is upwards or sideways
Unknown User
2019-04-02 13:21:56
just looked its a mass that theme also the code is lol call your self a coder lol want to be one
2019-04-02 13:47:51
The code is perfect the theme is the basic one I was just testing on it,  there is 1 addition to the theme.css and then a few edits to block.php theys lots to do though, if your such a great coder why don't you post your work I have seen nothing that is yours and your TT was very poor maybe your not as good as you claim

I suppose you already have a mobile friendly TT lol this is my own code
2019-04-02 21:17:01
Nice stuff m-jay. I need to try it on a mobile, but my phone is complete shit. Im sposed to get a new one from work, they havent given me one yet. Mine barely makes phone calls. And just ignore the asshat, he never contributes anything anyways.
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2019-04-02 21:30:22
I do have this file, tho I forget why I have it or how it was set up. Im still going through old drives of old backups to figure out what this even was, but here is the code. It was called facebook.php and was in the backend folder
<?php
   
    /*
    * TorrentTrader v2.xx
    * http://www.torrenttrader.org/
    * By Lee Howarth.
    */
   
    class Facebook
    {
        private $_path = array(
          'login' => 'https://www.facebook.com/dialog/oauth?',
          'token' => 'https://graph.facebook.com/oauth/access_token?',
          'graph' => 'https://graph.facebook.com/me?'
        );  
       
        private $_info = array(
          'apikey' => 'key_here',
          'secret' => 'key_here'
        );
       
        public function getAuth()
        {
            $data = array
            (
               'client_id'     => $this->_info['apikey'],
               'redirect_uri'  => 'http://site.com/account-signup.php?do=facebook',
               'scope'         => 'email,offline_access,publish_stream'
            );
           
            header('Location: ' . $this->_path['login'] . http_build_query($data));
        }
       
        public function getToken($code = null)
        {
            $data = array
            (
               'client_id'     => $this->_info['apikey'],
               'redirect_uri'  => 'http://site.com/account-signup.php?do=facebook',
               'client_secret' => $this->_info['secret'],
               'code'          => $code
            );
                 
            $path = $this->_path['token'] . http_build_query($data);
           
            if (($token = $this->_request($path)) && ($user = $this->_request($this->_path['graph'] . $token)))
            {
                 return array('token' => $token, 'user' => json_decode($user));
            }    
 
            return ( bool ) false;
        }
       
        private function _request($path)
        {                
            if (extension_loaded('curl'))
            {
                $ch = curl_init();
                curl_setopt($ch, CURLOPT_URL, $path);
                curl_setopt($ch, CURLOPT_HEADER, false);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
                curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
                curl_setopt($ch, CURLOPT_TIMEOUT, 10);
                $data = curl_exec($ch);
                curl_close($ch);
            }
            else
            {
                $data = file_get_contents($path);
            }
           
            return $data;
        }
    }
   ?>

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2019-04-02 21:37:58
arne said this was ok, here are all the templates that he sent me, feel free to try a few different ones out. I only tried the one template number 14
iofrmtemplates.rar
Download

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728