Skip to content

Flarum - WordPress Journey

WordPress
59 2 22.2k 1
  • @Sala not sure what you mean? I need the headers you specified in your .htaccess file (I’m assuming Apache here).

    wrote on last edited by
    #49

    @phenomlab I have forwarded to you the headers found in htaccess

  • @phenomlab I have forwarded to you the headers found in htaccess

    wrote on last edited by
    #50

    @Sala thanks. I’ve checked the headers and again and I can’t see anything in the specific code I provided that would cause the bbcode to not display.

    Does it work if you remove all the headers? If this is the case, my recommendation would be to enable them one by one and find out which one actually causes the issue. Once we know which one it is, we can then modify it to allow the display of bbcode.

    It just seems odd to me that everything works fine on a new post, but not on reply. This would tell me they it’s not the headers, but I could be wrong. You may want to try disabling wp-rocket to see if that resolves the issue rather than removing the headers.

  • @Sala thanks. I’ve checked the headers and again and I can’t see anything in the specific code I provided that would cause the bbcode to not display.

    Does it work if you remove all the headers? If this is the case, my recommendation would be to enable them one by one and find out which one actually causes the issue. Once we know which one it is, we can then modify it to allow the display of bbcode.

    It just seems odd to me that everything works fine on a new post, but not on reply. This would tell me they it’s not the headers, but I could be wrong. You may want to try disabling wp-rocket to see if that resolves the issue rather than removing the headers.

    wrote on last edited by
    #51

    @phenomlab yesterday I fix 2 bugs on just at the time you needed an answer for the headers, I immediately knew this one needed a test of one by one bcoz it could be the Defer for Js .

  • @phenomlab yesterday I fix 2 bugs on just at the time you needed an answer for the headers, I immediately knew this one needed a test of one by one bcoz it could be the Defer for Js .

    wrote on last edited by
    #52

    @Sala yes, deferring JS can have a negative effect on functionality. For speed reasons, you typically place JS in the footer rather than the header, but this then means it’s not executed in time and in the DOM when needed.

    Another potentially damaging feature is minifying JS to reduce it’s size. Whilst wp-rocket offers several mechanisms to make the site load faster, you’d need to test each one of these settings to ensure it doesn’t negatively impact the site.

  • @Sala yes, deferring JS can have a negative effect on functionality. For speed reasons, you typically place JS in the footer rather than the header, but this then means it’s not executed in time and in the DOM when needed.

    Another potentially damaging feature is minifying JS to reduce it’s size. Whilst wp-rocket offers several mechanisms to make the site load faster, you’d need to test each one of these settings to ensure it doesn’t negatively impact the site.

    wrote on last edited by phenomlab
    #53

    @phenomlab Hurray!
    We have found the line that blocked the icons, it was this one:-

    Header set Permissions-Policy "geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()" 
    

    Now it’s your part to come up with another config line 🙏

  • @phenomlab Hurray!
    We have found the line that blocked the icons, it was this one:-

    Header set Permissions-Policy "geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()" 
    

    Now it’s your part to come up with another config line 🙏

    wrote on last edited by phenomlab
    #54

    It’s solved
    Demoted the above line and re- modified the

    Header set Feature-Policy "geolocation 'self' https://sopriza.com/" 
    

    To

    Permissions-Policy: geolocation=(self "https://sopriza.com") 
    

    A+

  • It’s solved
    Demoted the above line and re- modified the

    Header set Feature-Policy "geolocation 'self' https://sopriza.com/" 
    

    To

    Permissions-Policy: geolocation=(self "https://sopriza.com") 
    

    A+

    wrote on last edited by
    #55

    @Sala yes, that will resolve the status rating, but that header doesn’t have any impact against JS loading.

    Very odd.

  • @Sala yes, that will resolve the status rating, but that header doesn’t have any impact against JS loading.

    Very odd.

    wrote on last edited by Sala
    #56

    @phenomlab I’ll be happy if you can help me with the Js link which was causing that, i will be able to exclude it and stop any future problems

  • @phenomlab I’ll be happy if you can help me with the Js link which was causing that, i will be able to exclude it and stop any future problems

    wrote on last edited by
    #57

    @Sala Sorry - which JS link ?

  • @Sala Sorry - which JS link ?

    wrote on last edited by
    #58

    @phenomlab the one which enables the bbcode icons to populate

  • @phenomlab the one which enables the bbcode icons to populate

    wrote on last edited by
    #59

    @Sala I will likely need admin access to your site for this.


Related Topics
  • Flarum itself can not run on 4 core 6gb ram vps!

    Discussion flarum vps
    5
    1
    3 Votes
    5 Posts
    2k Views
    phenomlab
    @crazycells I know that Flarum has (or had) an extension that lists the users. That wasn’t even in the core - as basic as that is.
  • WordPress and NodeBB on different machines

    Solved WordPress
    10
    2 Votes
    10 Posts
    4k Views
    cagatay
    @phenomlab thank you for information.
  • WordPress site

    General wordpress
    118
    10 Votes
    118 Posts
    61k Views
    JAC
    @jac said in WordPress site: It’s Wordpress OUT, and Ghost IN it seems! *preference based . Even County’s site uses Wordpress . Although that does serve it’s purpose.
  • move out from flarum to wordpress

    WordPress wordpress flarum migration
    87
    52 Votes
    87 Posts
    45k Views
    phenomlab
    @Hari Glad to see this went so well, and that you’ve finally departed the Flarum ecosystem
  • Hardening WordPress - Reducing the attack vector

    Blog wordpress hardening
    13
    1
    1 Votes
    13 Posts
    5k Views
    JAC
    @phenomlab said in Hardening WordPress - Reducing the attack vector: @jac Microsoft’s and Google’s Authenticator both support TOTP - essentially, a time based system that changes every 30 seconds. The main principle here is that the device itself carrying the One Time Passcode only needs to be in sync with the source server in terms of time, and can be completely offline with no internet access. Provided the time matches on both devices, the One Time Passcode will be accepted. Applications such as Microsoft Authenticator and Authy also support push notification meaning you just choose either yes or no on your device when prompted, and then that response is sent back to the origin which then determines if access is granted or not. One of the best looking password less authentication models was CLEF - sadly, this product died out due to a lack of funding (if I recall correctly) although some open source implementations of this have appeared quite recently. Essentially, both products will achieve the same goal. TOTP is an industry standard, and widely accepted across the board. Not all services offer push confirmation. Many thanks for the detailed reply mate. There’s some great advice in there that will help me secure my accounts.
  • Creating posts from RSS feeds in Flarum

    Blog flarum rss
    1
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • WordPress installation

    WordPress wordpress
    6
    0 Votes
    6 Posts
    2k Views
    JAC
    @phenomlab said in WordPress installation: @jac that plugin is for single sign on between WordPress and NodeBB. The plugin you really need is this Brilliant, that does look good!
  • Why is the phenomlab/fancybox-wrapper repo removed?

    Solved General
    6
    4 Votes
    6 Posts
    3k Views
    phenomlab
    @katos Thanks