Go Back   vb.org Archive > Community Discussions > Forum and Server Management

Reply
 
Thread Tools Display Modes
  #21  
Old 12-01-2016, 10:18 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post

I cannot understand why everything is messed up in Chrome.. looks like my entire theme is screwed up.
Looks OK to me.
Reply With Quote
  #22  
Old 12-01-2016, 10:19 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I fixed that.. just had to add the full url to those images for the theme.

I just need to figure out my htaccess next and done.
Reply With Quote
  #23  
Old 12-01-2016, 10:19 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hate chrome dude ... I stay with firefox exclusively ...
Reply With Quote
Благодарность от:
In Omnibus
  #24  
Old 12-01-2016, 10:23 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CAG CheechDogg View Post
I hate chrome dude ... I stay with firefox exclusively ...
I usually do but lately firefox has been sluggish and laggy mostly due to my speeddials and the sheer amount of tabs I have open at any one time.

Chrome seems to handle it ok but it is not always so friendly.

I have actually tried the latest IE and it is pretty quick but it doesn't have the tools I need, webdeveloper tool bar, Firebug, etc..

Anyways I use Firefox mostly still though my sites have to be user friendly to everyone.
Reply With Quote
  #25  
Old 12-01-2016, 10:27 PM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my .htaccess:

Quote:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.christforums\.org [OR,NC]
RewriteCond %{HTTPS} off
RewriteRule ^ https://www.christforums.org%{REQUEST_URI} [NE,R=301,L]
Regarding Browsers, I now use Brave. Ex Mozilla CEO Is Back

For a direct link to Brave: https://brave.com/

I haven't any issue now with Cloudflare, though I did have to create a pagerule for the admincp. Rocket Loader is off for pages that have the Ckeditor, but overall Cloudflare has increased performance and lowered my page load time by several seconds. My load times are consistently under two seconds.

Enjoy,
Shim
Reply With Quote
Благодарность от:
MarkFL
  #26  
Old 12-01-2016, 10:37 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I got a working solution. I did this myself and I am not very skilled at htaccess so please let me know if this is ok:

PHP Code:
Options +FollowSymLinksRewriteEngine onRewriteBase /RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]RewriteRule ^(.*)$ https://mysite.com/$1 [L,R=301] 
--------------- Added [DATE]1480654997[/DATE] at [TIME]1480654997[/TIME] ---------------

The solution I found that works better than htaccess is to use page rules in cloudflare. The only issue is that browsers will still have issues with mixed content such as images from third party sites not using https..

I have been using that import plug in for years so hopefully we will not have an issue with this. The plug in has a url replace setting so just put in your https://yoursite.XXX

--------------- Added [DATE]1480656801[/DATE] at [TIME]1480656801[/TIME] ---------------

Hmmmmm

I have everything set I believe but I am having issues now with both browsers in the admincpanel.

I cannot rebuild the search table because it will not load the next page. This is javascript..

When updating settings I do not ever get to the new page once completed.

I did update some of the urls for jquery, etc to include https


##Dave I did incorporate your change but it has helped this issue..

--------------- Added [DATE]1480658962[/DATE] at [TIME]1480658962[/TIME] ---------------

Quote:
Originally Posted by Dave View Post
I also encountered problems in the AdminCP with HTTPS and Cloudflare. This is what I had to change:

/admincp/index.php look around line 495, and replace the $mainframe variable with
PHP Code:
$mainframe "<frame src="" . str_replace("http://", "https://", iif(!empty($vbulletin->GPC['loc']) AND !preg_match('#^[a-z]+:#i', $vbulletin->GPC['loc']), create_full_url($vbulletin->GPC['loc']), "index.php?" . $vbulletin->session->vars['sessionurl'] . "do=home")) . "" name="main" scrolling="yes" frameborder="0" marginwidth="10" marginheight="10" border="no" />\n"; 
When I use this I get:
PHP Code:
PHP Warningtrim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032 
when saving admincp options..
Reply With Quote
2 благодарности(ей) от:
KevinL, MarkFL
  #27  
Old 12-02-2016, 08:53 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything seems to be working fine except for the admincp.. I can see that the the url that pushes to the next page as in the image below are not https:// for some reason..
Attached Images
File Type: jpg vBulletin_Options_-_MuscleMecc2016-12-02_05-51-39.jpg (13.3 KB, 0 views)
Reply With Quote
  #28  
Old 12-02-2016, 01:04 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error
HTML Code:
PHP Warning: trim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032
Seems to be caused by a plugin because it happens in the validate_setting_value function.
Reply With Quote
  #29  
Old 12-03-2016, 07:31 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the htaccess I ended up using. This redirects everything to https://

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Reply With Quote
Благодарность от:
CAG CheechDogg
  #30  
Old 12-07-2016, 06:46 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am still having some issues inside the admincp.

I cannot use the user search now. In firefox it will not search at all and in Chrome the section where the search is shows up blank once I trigger a search.

Also, if I edit a forum it never finishes and redirects back. Same thing when I edit an option in the settings. Then if I look at the link below where it says the following:

If you are not automatically redirected, please click here.
Processing Complete - Proceed

Both of those links show no https://

I really need these functions fixed. Especially the user search. Some help would be appreciated please.


Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05012 seconds
  • Memory Usage 2,298KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (3)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete