2014-06-13, 04:42 PM
SSL disincentive
|
2014-06-13, 04:49 PM
(2014-06-13, 04:42 PM)DennisR Wrote:(2014-06-13, 04:32 PM)JordanMussi Wrote: Why do you want to delete templates? That wouldn't work at all. You still need the templates irregardless of weather or not you're using SSL. Most things do work on SSL, this is just a quirk. Most forums don't use SSL so this went not noticed. (2014-06-13, 03:57 PM)DennisR Wrote:(2014-06-13, 06:43 AM)StefanT Wrote: Please note not all video providers support SSL. Therefor be careful when changing all these templates. Not sure what you mean there. You can't access a non-SSL video provider with SSL, and vice-versa. The templates are required for normal operation, if you want to delete a video provider you could definitely go about that, but deleting these templates isn't the proper way to do that.
2014-06-13, 05:02 PM
(2014-06-13, 04:49 PM)Rymax99 Wrote: Not sure what you mean there. .. if you want to delete a video provider you could definitely go about that, but deleting these templates isn't the proper way to do that. OK I may have misstated. My assumption was that removing the template would prevent that provider from being presented to the user. I don't care if the template is deleted or not. My objective is that the list of video providers presented to user consist only of ones compatible with an SSL forum. If the way to express that intent is that I want to delete a video provider, then is there an Admin CP approach to do that? I looked through all the config settings and did not see how. (2014-06-13, 05:02 PM)DennisR Wrote:(2014-06-13, 04:49 PM)Rymax99 Wrote: Not sure what you mean there. .. if you want to delete a video provider you could definitely go about that, but deleting these templates isn't the proper way to do that. You can indeed do that, it'll require editing the JavaScript file for the editor. You can do this by navigating to the 'jscripts' sub-directory of your forum and then editing the 'editor.js' file. Navigate to line 129 and you should see this: Simply remove or comment out the code for the video editors you don't want.
2014-06-13, 05:31 PM
If you also want to remove the non-ssql providers from past posts you may edit the template and add <!-- at the beginning and --> at the end! or just simply remove all content from the template.
2014-06-13, 05:45 PM
Replacing it with a notice would probably more helpful for the users of the forum.
(2014-06-13, 05:10 PM)Rymax99 Wrote: Navigate to line 129 and ... Simply remove or comment out the code for the video editors you don't want. Thank you. This did not accomplish what I wanted. It looks like the JS code edits the page after load. The MySpace editor appears to be on the original page. Commenting out the JS, merely prevents altering the entry already there. In the inc/languages directory tree, I found two instances of the string "MySpace TV". I changed them both to the string "removed". Selecting this link does not change its behavior but the "removed" text should be sufficient notice to user to not have great expectations that the link does anything useful. The JS patch might prevent the languages patch from getting overwritten on load. MyBB devs: It would have been better to be able to actually delete the entry. (2014-06-13, 05:31 PM)JordanMussi Wrote: add <!-- ... --> [or] remove all content from the template. Thanks for the suggestion. I am in beta right now and the postings are throw-away at this point. The only video provider used is YouTube and with the template edit of http to https, it is working just fine. (2014-06-13, 06:29 PM)DennisR Wrote:(2014-06-13, 05:10 PM)Rymax99 Wrote: Navigate to line 129 and ... Simply remove or comment out the code for the video editors you don't want. Both of the solutions can be used in conjunction, but editing the JavaScript would be the only thing that's needed if you don't have any existing videos using non-SSL capable services. You might want to combine the solution with removing the content of the templates, but I'd just remove it from the editor as if you don't have any existing posts using that then the content of the template will never be shown to anyone. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)