Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   SSl modifications (http://www.bvlist.com/showthread.php?t=11115)

XGODY 15th March 2017 20:44

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

artifici 16th March 2017 21:13

Quote:

Originally Posted by XGODY (Post 50077)
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.

XGODY 16th March 2017 22:18

I think I have said what I'm looking for a ssl mod thats it full stop

artifici 17th March 2017 08:39

Quote:

Originally Posted by XGODY (Post 50081)
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?

XGODY 17th March 2017 10:56

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

DND 17th March 2017 20:24

Are ya talking about a modification that will allow members to choose between https and non-https ?

XGODY 17th March 2017 21:38

Quote:

Originally Posted by DND (Post 50084)
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

artifici 18th March 2017 21:51

Quote:

Originally Posted by XGODY (Post 50085)
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


All times are GMT +2. The time now is 17:27.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.