Bravo List
Register
Go Back   > Bravo List > Sourcecode > Torrent Trader > Mods & Themes
Reply
  #1  
Old 15-03-17, 20:44
XGODY's Avatar
XGODY
Guest
 
Posts: n/a
Thumbs up SSl modifications
What is thinking of the ssl for longing and to use allover the site and download so I want to do away with the old so I can use the ssl I've download from the grub today and I wondered if anyone as this modifications for me please it be very helpful for me then I can start work on it not till I have this. Forgot it's for torrent trader 208
Reply With Quote
  #2  
Old 16-03-17, 21:13
artifici's Avatar
artifici artifici is offline
Member
 
Join Date: Jan 2011
P2P
Posts: 9
Default
Quote:
Originally Posted by XGODY View Post
What is thinking of the ssl for longing and to use allover the site and download so I want to do away with the old so I can use the ssl I've download from the grub today and I wondered if anyone as this modifications for me please it be very helpful for me then I can start work on it not till I have this. Forgot it's for torrent trader 208
The words that you put in this post have no relation between them, so what you've written has no logic whatsoever. If your English is not that good, you should use short sentences and present your situation and what you tried to accomplish in a list form.

Example how you should present your current situation:
1. I want to add SSL/TLS for my site
2. I want to block HTTP access/redirect to the HTTPS version
3. I tried to install my certificate on the server but I encountered the following error: "This certificate is not valid"

If you would ask for help in an English that can be understood, people would be glad to help you.
Reply With Quote
  #3  
Old 16-03-17, 22:18
XGODY's Avatar
XGODY
Guest
 
Posts: n/a
Default
I think I have said what I'm looking for a ssl mod thats it full stop
Reply With Quote
  #4  
Old 17-03-17, 08:39
artifici's Avatar
artifici artifici is offline
Member
 
Join Date: Jan 2011
P2P
Posts: 9
Default
Quote:
Originally Posted by XGODY View Post
I think I have said what I'm looking for a ssl mod thats it full stop
So you are looking for http://www.modssl.org/ ?
TorrentTrader doesn't interact directly with the HTTP/HTTPS protocol. The webserver parses the HTTP requests and sends them to your application and maybe not even the php engine would know that it responds to HTTPS requests.
You need to present your current network architecture, more precisely: do you have load balancers? do you have tls terminaton proxies? will there be unencrypted traffic between some of the servers? what kind of webserver software do you use?
Reply With Quote
  #5  
Old 17-03-17, 10:56
XGODY's Avatar
XGODY
Guest
 
Posts: n/a
Default
I'll check it out but I know there is of ways to do this without the above . On my web server I do have ssl certificate so it's the files from the torrent trader I need to modify up
Reply With Quote
  #6  
Old 17-03-17, 20:24
DND's Avatar
DND DND is offline
Support
 
Join Date: Dec 2008
Posts: 943
Default
Are ya talking about a modification that will allow members to choose between https and non-https ?
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. TBDev Support
  5. Gazelle Support Install
  6. TSSE Install Support
Reply With Quote
  #7  
Old 17-03-17, 21:38
XGODY's Avatar
XGODY
Guest
 
Posts: n/a
Default
Quote:
Originally Posted by DND View Post
Are ya talking about a modification that will allow members to choose between https and non-https ?
Yes mate this is what I looking for before I start to code it up.we are looking at the Signup takesignup and functions phps too and more files to endit so on

Last edited by XGODY; 18-03-17 at 11:51.
Reply With Quote
  #8  
Old 18-03-17, 21:51
artifici's Avatar
artifici artifici is offline
Member
 
Join Date: Jan 2011
P2P
Posts: 9
Default
Quote:
Originally Posted by XGODY View Post
Yes mate this is what I looking for before I start to code it up.we are looking at the Signup takesignup and functions phps too and more files to endit so on
I don't know if there is a mod for this but it is really simple to do it:
1. create a method in functions.php like getSiteUrl() in which you will check for your user settings to see if he has SSL enabled/disabled and return the correct URL
2. replace in all files $site_config['SITEURL'] with getSiteUrl()
3. alter the SQL user table to add the SSL option
4. add in the user settings page a new option for enable/disable SSL

Good practices:
1. add in config.php $site_config['SITEURLSSL'] the HTTPS url and use it in getSiteUrl() <- this way you will have all your config options in one file
2. set SSL enabled by default
Reply With Quote
Reply

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 04:08. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2017, vBulletin Solutions Inc.