vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Secure or not Secure thats my question (https://vborg.vbsupport.ru/showthread.php?t=61925)

Mickie D 02-28-2004 07:40 AM

PHP Code:

if ($_SERVER['SERVER_PORT'] == 80) { 
    
$vboptions['bburl'] = 'http://mydomain.com/forums'


i have my doman setup for https so vboptions is https://mydomain.com

so i changed the above code around

this is not working :(, it does not change the url as it still calls https and changes over to https when i just visit from http

i hope that makes sense ?

thanks again for your help

Regards
Mickie

NTLDR 02-28-2004 06:35 PM

Where have you added this code?

Mickie D 02-28-2004 11:29 PM

forums/global.php

i hope thats the right one lol

Andreas 02-29-2004 01:14 AM

Should be the right place - if you put it somewhere after

PHP Code:

require_once('./includes/init.php'); 

Otherweise init.php will unset $vboptions and then populate it with the values from the database.

Mickie D 02-29-2004 10:12 PM

ahhh i c i put it at the bloody top of the file thanks very much for your insight i will give it a try now :)

hopefully this is useful for others aswell as me :)

Mickie D 02-29-2004 11:19 PM

Brilliant this is almost complete :)

all i gotta do is sort out the navbar as that must be calling stuff not using the vboptions i think

thanks again its gr8 now you can switch between https or http with no privacy reports and just a padlock or no padlock

now i gotta work out how to port this into photopost and thats the whole site covered ;)

Regards
Mickie

Mickie D 02-29-2004 11:42 PM

Right the NavBar is being a right pain in the backside :(

i have gone through it and found all the hrefs are pointing to $vboptions[bburl]/etc/etc

and i am getting the MS popup to display non secure items :(

i checked all the src= and they are pointing to the $style whatever ?

and the links on the navbar when i am in https still show http ? but everywhere else on the site is fine ? .. can secure sites not use java ?

thanks for all the help people

Regards
Mickie

Andreas 02-29-2004 11:56 PM

@MickieD
Can you post the URL of your board? So I could check which elements (Images, etc.) cause problems.

Mickie D 03-01-2004 09:52 PM

cee we are moving server and its on my spare box (linux) at home waiting to be transfered but i know the only problem is the navbar

but i have looked at the navbar and they all seem to have vbulletinoptions for the links

but i did check the other navbar template and it has a $nav_url insert and i cannot find any reference to this anywhere ?

thanks again i cant move until i fix the ssl and i am not making much progress, but thanks for your help its much appreicated :)

Regards
Mickie

Mickie D 03-02-2004 09:55 PM

anyone got any ideas why my https wont work with the navbar ??

thanks in advance :)


All times are GMT. The time now is 08:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01022 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete