Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Badges

Any minute now…

derekdon

Username
derekdon
Joined
Visits
48
Last Active
Roles
Member
Badges
0
Points
0
Posts
80

Comments

  • Above comments are continued at http://vanillaforums.org/discussion/10572/enabling-ssl-in-vanilla-2
  • Interesting. It should work. What's the value of $Configuration['Garden']['Domain'] in your config file?
  • Thanks for letting me know S...
  • @basb - Any chance you could provide a link to see for myself what's happening? I will try to have a look at this in the next couple of days, but I imagine it's probably to do with the WebRoot and Domain methods of the /library/core/class.url.php fi…
  • @basb - When you say it doesn't work, are you getting the same parse error??? Can you post the body of that function here so I can check it... I assume you have cleared your cache etc.
  • @basb - Sorry! Try this... if(substr($URL, 0, 8) == $this->_HTTPS_PROTOCOL) $URL = 'www.ssl-id.de/' . substr($URL, 8);
  • If so I may add an SSL suffix variable to the code for you and other users to set...
  • @basb - As a quick and dirty test... change line 168 of the plugin's default.php to read... if(substr($URL, 0, 8) == $this->_HTTPS_PROTOCOL) $URL = www.ssl-id.de/ . substr($URL, 8); and enable the plugin. Let me know if that works for you.
  • @basb -Does your forum work as expected for an entire session by accessing https://www.ssl-id.de/forum.xxxxx.de/? Can you browse the forum and does the url stay at https://www.ssl-id.de/forum.xxxxx.de or does it redirect to your sub url? I could ad…
  • @basb - What is the value of $Configuration['Garden']['Domain'] in your /conf/config.php file?
  • @garymardell - Cheers, I'll look into it...
  • Thanks guys. Anyone know on average how many time a sitemap.xml file is likely to be requested in a given day by robots? If it happens a number of times and you had a lot of discussions, maybe it would be better if sitemap.xml was a flat file genera…
  • Plugin added: http://vanillaforums.org/addon/514/sslcontrollers Once people start using it and providing feedback we may learn of a better way to handle the popup problem.
  • Changes committed!
  • @Mark, @Dinoboff Okay, I got this working in the end with the following js in sslcontrollerhelper.js. jQuery(document).ready(function($) { // The following getJSON snippet is based on the AnonymizeURLs Plugin js snippet. var WebRoot = '';…
  • @Mark, @Dinoboff The plugin now has a protected $_UsePopups = TRUE; this is added to the config.php file, and the $Sender->AddDefinition('UsePopups', $UsePopups); is set, along with a custom js file, $Sender->AddJsFile('plugins/SSLControllers…
  • @Mark Sweet! Thanks!
  • @Mark Would it be possible to read a variable from the config.php within my custom js file for this plugin? I was thinking I could use the existing popup class hooks to trigger a custom popup/link function in the custom js, that checked if a "use po…
  • @Mark Yeah I guess I could add some js that overrides the default... Would it make any sense to add a TermsOfService() and PrivacyPolicy() method to the EntryController that could load those views without calling the HomeController or duplicating a…
  • @bean, @Dinoboff Fair enough... any ideas on opening the TermsOfService from the https register form?
  • @bean It sounded like you were going to say mod_proxy shouldn't be used because it's apache specific... is that what you meant or are you saying that it IS probably the right approach? Sorry just want to be clear. Have you tried SSLControllers yet? …
  • @Mark Thanks for clearing this up for me. I've dealt with cross domain policy quite a bit in Flash, but like I said I don't use Ajax a great deal so this is news to me. Any idea what the best way to tackle this might be? I came across a post, http:…
  • @Mark Did you get a chance to try this yet? Just noticed that if you are in the process of joining (under https) and click to read the terms of service ( exists under home/) which would be a http page, the popup just keeps showing the spinner. This…
  • latest class.controller.php is also needed... sorry forgot.
  • @Mark - Don't worry about it! I'm based in Dublin, Ireland, on GMT. But I start early... Finally! To anyone who might be interested is this functionality, @Mark @Minisweeper @bean @Dinoboff @fredwufredwu The plugin is now available here - http://g…
  • @Mark Before you spend time answering these questions, I think I may have figured out the problem... give me a little while to cross check.
  • @Mark Can you tell me if.... Base_Render_Before(&$Sender) { // Add protocol webroot definition $Sender->AddDefinition('WebRoot', $this->_WebRoot()); ... will set the definition in time for the /js/global.js file's and some of the other …
  • Sorry for the length of my posts... Just to check everything again I disabled my plugin's main logic by doing this... public function Base_Render_Before(&$Sender) { // Add protocol webroot definition $Sender->AddDefinition('…
  • I did some digging and it looks like the parsererror is coming from the httpData() method. I found these refs on the following lines in the jquery library files. Line 250, jquery.form.js: data = $.httpData(xhr, opts.dataType); Line scrambled (compr…
  • "Maybe the utility controller needs to be added to the SecureControllers array? I’ll check that… Ah bingo! That was it…" Actually that has stopped any errors from popping up during registration alright, but no matter what you enter the it's says Us…