Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 10:01:28 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155537
Posts in
21714
Topics by
7737
Members
Latest Member:
chris85
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
HTTPS modification
Pages: [
1
]
Go Down
Author
Topic: HTTPS modification (Read 1012 times)
Drew2k
Offline
Posts: 6
HTTPS modification
«
on:
March 23, 2010, 11:48:23 AM »
Hello WB Users, i started using WB a while back, however was disappointed to see no support for secure web pages. I searched and searched, however could not find any usful information.
This lead me to dive into the code of WB 2.8.1 RC2 at the time, and see what i could do.
I managed to change some settings around, to give the option of a page being secure or none secure in the administration panel, as well as change some backend files to change internal links to https or http depending on this setting.
This modification was quite simple, but a lot of line changes, so before posting it, i want to ensure people are interested. Also, need to ensure im posting in the right board.
Logged
Boudi
Addon Team
Offline
Posts: 816
Re: HTTPS modification
«
Reply #1 on:
March 23, 2010, 12:52:58 PM »
Well, I'm mucho interested!
I've got several WB websites now running completey under SSL. And that sucks because then the sites are slower and within search engines a good ranking is a complete crime.
For a few months ago I posted a
topic
regarding SSL and if it was possible to enable just the pages you would like. But that seemed a problem.
So if you really have the solution then that is really a blast and the holy grale of websites with Bakery!
Boudi
«
Last Edit: March 23, 2010, 12:54:32 PM by Boudi
»
Logged
...:: Bake the Unbakable ::...
Drew2k
Offline
Posts: 6
Re: HTTPS modification
«
Reply #2 on:
March 23, 2010, 01:26:39 PM »
Ok, instead of writing all the changes in a post here, i've added an attachment with the Convert IT report changes between the 2.8.1 RC2 branch and my changes for SSL.
To make sure the changes work, you need to add a new field to the pages database
Field securepage
Type INT
Default 0
If you load up the files, you can clearly see the changes. The code line number may be different in earlier or later releases, although a quick search on the nearing code show locate where the lines need to go.
Any problems, just ask and i'll try and answer them.
PS. I can not be held responsable for third party modules working with this mod. If they dont, let me know and i can see if i can help. Majority of problems come down to the WBURL prefix in the main code. As you will see in some of the changes i have made, i have had to remove this.
Logged
Boudi
Addon Team
Offline
Posts: 816
Re: HTTPS modification
«
Reply #3 on:
March 23, 2010, 01:34:06 PM »
Thnx man!
Right now we're full of deadlines but as soon as we find time we will test it.
Of course when there are other testers please share the results.
Drew, thnq for your help regarding websitebaker.
Logged
...:: Bake the Unbakable ::...
Drew2k
Offline
Posts: 6
Re: HTTPS modification
«
Reply #4 on:
March 23, 2010, 01:40:57 PM »
Not a problem, now i can start working on my next modification for changing the way urls are used to make WB more SEO friendly (well, more friendly than it already is)
Logged
Boudi
Addon Team
Offline
Posts: 816
Re: HTTPS modification
«
Reply #5 on:
March 23, 2010, 01:45:50 PM »
Indeed. To my knowledge there were some topics about this but that too was kinda difficult.
Good luck and again, thnq for your contributions.
Tip: create a new topic about SEO when you have some news
Boudi
Logged
...:: Bake the Unbakable ::...
Boudi
Addon Team
Offline
Posts: 816
Re: HTTPS modification
«
Reply #6 on:
March 29, 2010, 08:43:21 PM »
Hi Drew,
I did all the steps you asked but I can't see any differences??
Where do I have to look for??
Boudi
Logged
...:: Bake the Unbakable ::...
Drew2k
Offline
Posts: 6
Re: HTTPS modification
«
Reply #7 on:
April 02, 2010, 08:48:17 PM »
In the admin panel, if you go into a page settings, their will be a new dropdown menu for Secure or None Secure.
Logged
Boudi
Addon Team
Offline
Posts: 816
Re: HTTPS modification
«
Reply #8 on:
April 02, 2010, 09:17:38 PM »
I don't see any difference. Even after a reload.
Boudi
Logged
...:: Bake the Unbakable ::...
Drew2k
Offline
Posts: 6
Re: HTTPS modification
«
Reply #9 on:
April 04, 2010, 07:56:03 AM »
Are you using the wb_theme admin theme?
In the report, the \wb_theme\templates\pages_settings.htt.htm change is for the wb_theme. If your using a different admin theme, you need to make the changes to that themes page_settings.htt file.
Logged
Boudi
Addon Team
Offline
Posts: 816
Re: HTTPS modification
«
Reply #10 on:
April 04, 2010, 09:16:34 PM »
Yes I do.
What I did:
- Did a fresh 2.8.1. Revision 1287 install with the wb_theme as admin template
- uploaded your files
- reload all
- create a page
No change at all
See att.
Logged
...:: Bake the Unbakable ::...
Drew2k
Offline
Posts: 6
Re: HTTPS modification
«
Reply #11 on:
April 18, 2010, 07:48:51 AM »
Hi, the files in my archive are reports. you load them into IE or Firefox and they show the differences between the old code and my changes. - You cant just upload the files, you need to physically change the lines in the original files.
Logged
Boudi
Addon Team
Offline
Posts: 816
Re: HTTPS modification
«
Reply #12 on:
April 18, 2010, 06:36:00 PM »
Your changes referers to the RC2 version which is not the final stable version.
Besides that some files cannot be changed because some files of the final version do not match the files you changed.
I would suggest you take the final version, change the files, zip them so we can download and upload them for testing.
Thank you.
Best regards,
Boudi
Logged
...:: Bake the Unbakable ::...
Argos
Moderator
Offline
Posts: 2161
Re: HTTPS modification
«
Reply #13 on:
July 27, 2011, 02:26:50 PM »
Well, 2.8.2 final is out so now is the time to update this!
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...