vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to make vbulletin not detect HTTPS URLs and not prefix it https automatically? (https://vborg.vbsupport.ru/showthread.php?t=321791)

postcd 02-12-2016 09:08 AM

How to make vbulletin not detect HTTPS URLs and not prefix it https automatically?
 
Hello,

my vbulletin 4.2.x site is using https by default and for future accessibility i would like to use HTTP in all links in the posts.

When i, composing some post and pasting some internal forum url (to another topic for example), the vbulletin detects https in url and add https prefix, which i do NOT want. and it bothers me to countlessly change to http. Any way to stop vbulletin detecting whether pasted URL is https?

Thank you alot

Skyrider 02-12-2016 09:31 AM

/admincp/options.php?do=options&dogroup=address

Check out the URL options in there, and also make sure to check out the "Always use Forum URL as Base Path" option. Reminder though, that if by any chance the host is forced to use https by the apache OR nginx settings, then altering the base / forum url will break your forums.

As for the https as replies? in posts. That has to be changed by a search/replace Database Query.

On both methods, I recommend a file/database backup.

postcd 02-12-2016 10:04 AM

"Forum URL" is https://***
"Always use Forum URL as Base Path" is yes

PS: i dont need help with replacing already existing post links, i just want prevent vbulletin to detect https urls and auto add https prefix to the links in the Add link form. ... as mentioned in my initial post.

Skyrider 02-12-2016 10:20 AM

Hence I added a question mark at "replies?" as I was merely wondering if you were referring to replies as well. Either way, change the https:// to http:// and change "Always use Forum URL as Base Path" to no. This way, users can use both http & https. If you want people to force to use http over https (EG, when people enter a https:// site, they'll be moved to http:// ) , change "Always use Forum URL as Base Path" to yes.

Make sure to change the URL under the option "Homepage URL" also http://

Zachery 02-12-2016 03:06 PM

Do you mean urls used in the bbcode?

postcd 02-18-2016 04:06 PM

Skyrider: thank You

Quote:

Originally Posted by Zachery (Post 2564732)
Do you mean urls used in the bbcode?

yes please..


All times are GMT. The time now is 08:14 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.02408 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete