The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Secure or not Secure thats my question
is it possible to have a forum both HTTPS and HTTP
i know you can have it but can you have it without the privacy reports when you switch from one to the other ? i get alot of privacy reports when i am not using https and that shows up all the images as being https cheers i would like to have the option of either if possible Regards Mickie |
#2
|
||||
|
||||
Any item included via HTML on a HTTPS page that is on a HTTP URL will generate a warning if the user has selected for there browser to warn them.
|
#3
|
|||
|
|||
ok then i was thinking this
making 2 sections of the forums like this forum forums and editing the php file that calls the settings db and the style db calls so it hard calls maybe settings and settings1 and style and style1 (settings1 and style1 are copies of settings and style from the DB) now they are complete copies of each other apart from the fact that one has https and the other has http URLS basicly i dont like all the privacy reports stopping my https and vice versa anyway thats what i am after doing and if i had the time i would probably do it myself but i dont know if its a problem with vbulletin to run to copies even though they are the same forum ? and also i dont know which files and i am sure it will be lots of them aswell |
#4
|
||||
|
||||
Hmm ...
What about replacing all hard-coded http:// in the PHP-Files & Templates with $protocol and then set $portocol at the beginning of global.php to either http:// or https:// depending on the value of getenv('SERVER_PORT')? (And for the URLs in array vboptions too) This way you would not have to duplicate anything but it should still have http or https only. |
#5
|
|||
|
|||
see i knew there was an easier way lol i can code a small amount of php and in my spare time i teach myself
i have seen a hack b4 that used the same server_port code so help me out with this then please m8 PHP Code:
|
#6
|
|||
|
|||
ok after more attempts i came up with this (with help from another source aswell)
but i cant get it to work anyone have any ideas why i am getting parse errors ? PHP Code:
|
#7
|
||||
|
||||
PHP Code:
PHP Code:
|
#8
|
|||
|
|||
cheers m8 i will give that a try.
and try and get it working with the styles lol thanks again |
#9
|
|||
|
|||
i was just thinking does the style take the vboptions if there is no hard coded http in the style settings ??
i.e it normally would look like /images/misc/ if you get my drift ? |
#10
|
||||
|
||||
If its not a full URL, ie its /images/misc and not http://mydomain.com/images/misc then it will automaticlly use HTTPS.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|