XF 2.1 How to get 'enable push notifications' button in preferences?

Hilary

Member
Hi,

I've enabled push notifications in admin, but the button to enable push notifications still doesn't show up under 'preferences' on the front end. This is a brand new forum: one user, one thread, no add-ons. What else do I need to do to get this to appear?
 
I spoke too soon - that still doesn't do it. I've set it to 'yes' for both admins and (in case I misunderstood permission inheritance) registered users, but the option still doesn't appear. Should I open a support ticket?
 
Additionally, your site must be running over HTTPS with a valid SSL certificate, and you must have support for the GMP extension.
Ah. That seems to be it. I got my host to enable gmp, and the site is running on https with a valid certificate, but 'basic board information' said the forum was installed at http://, and that's what was displaying. Add an https in the address bar, and push notifications work.

However, after editing 'basic board information' to https, domain.com/xf/ still defaults to http instead of https . On any other page of my site, it will default to https. How can I fix that?
 
I already have that*. It works for every page of my big, fat website except the new /xf directory. If I create a new empty directory, it works for that too.

Something about XenForo overrides it.

*Well, I have
Code:
# Get visitors to use https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
which I'm guessing amounts to the same thing, though I have no idea what's going on there...
 
Back
Top Bottom