id
stringlengths
32
32
text
stringlengths
0
895k
name
stringlengths
0
33k
domain
stringlengths
5
44
bucket
stringclasses
19 values
answers
list
da5ab86a3dbaeddae5da528a26c1e9ea
wondering why is google analytics getting blocked by the ad blockers? (is it because of http security headers?) url <https://forum.acehsc.net> ### i realised this problem when i was "universal analytics" with minimal analytics using (<https://minimalanalytics.com>). ![img](https://i.ibb.co/y8vncmm/blocked-by-client.png) i thought there was a problem with the snippet, so i decided to move to google analytics 4. added the default code, provided by google. with ga4 it was getting "blocked by client ", when ad blocker is enabled. (however i have few websites that have ga4, but the adblocker doesn't block it ) ### braver browser when their ad blocker is enabled ![imh](https://i.ibb.co/nwsqgnx/image.png) ### opera browser when their ad blocker is enabled ![eg](https://i.ibb.co/fdv7ydd/image.png)
why is google analytics getting "blocked by client"
metabullet.com
2021.39
[ { "text": "[sallymelek](https://metabullet.com/d/17/1) this is usually always because of the pop-up blocker on the client side. in the brave browser, you can disable the shields. does that then work as expected ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/17/2) my concern, is if the google analytics is blocked, how could i track the users browsing my forum (if their ad blocker is enabled)\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/17/3) you can't. this is the ethic behind privacy tools like blockers. you in fact should offer users the choice to opt out as this is a legal requirement in most countries now - particularly european ones where gdpr applies. admittedly, nsw doesn't fail into gdpr, but the privacy aspect remains. it's a personal right and you as a web site provider have no jurisdiction in terms of being able to override that.\n\n\nif your are using ga that needs to be included in your privacy policy.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/17/4)\n\n\nthanks for the info,\n\n\nyeah done some research about ad blockers blocking ga. didn't know about this before\n\n\ni should include ga in my privacy policy\n\n", "name": "", "is_accepted": false } ]
48aaac86595c3a45c04abb7a34dde682
i had emails working with my google workspace account for seek adventure but i am missign something for my new google workspace account for ten digit grid: ![mail settings](https://s3.amazonaws.com/seekadventure.net.storage/screen+shot+2021-06-07+at+2.33.16+pm.png) when i try to send a test email, i get an error. when i check my logs it looks like it's having issue authenticating: ``` [2021-06-07 21:25:39] flarum.error: swift_transportexception: failed to authenticate on smtp server with username "[email protected]" using 3 possible authent> 535 5.7.8 https://support.google.com/mail/?p=badcredentials o12sm10517266qki.44 - gsmtp ". authenticator plain returned expected response code 235 but got code "535", with message "535-5.7.8 username and password not accepted. learn more at 535 5.7.8 https://support.google.com/mail/?p=badcredentials o12sm10517266qki.44 - gsmtp ". authenticator xoauth2 returned expected response code 250 but got code "535", with message "535-5.7.8 username and password not accepted. learn more at 535 5.7.8 https://support.google.com/mail/?p=badcredentials o12sm10517266qki.44 - gsmtp ". in /var/www/tendigitgrid.com/vendor/swiftmailer/swiftmailer/lib/classes/swift/transport/esmtp/authhandler.php:191 stack trace: ``` i feel like i am missing one or two steps....
smtp set up with google workplace email
metabullet.com
2021.39
[ { "text": "[mikejones](https://metabullet.com/d/668/1) before we go any further, dumb question. is the username and password combination correct, and does the new domain have the permission to send email ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/668/2) it's correct, i just solved my issue after reading the link in the error message lol\n\n", "name": "", "is_accepted": false } ]
0bfcd33bb786361cfea49391cfc62c4a
i was curious if anyone has a vpn setup so you can access your home network so you can access your files from somewhere else. i was thinking of setting that up, but not sure how secure the setup is and if it is even worth it. currently i use dropbox, onedrive and such.
personal vpn
metabullet.com
2021.31
[ { "text": "[madchatthew](https://metabullet.com/d/730/1) this is certainly possible, although with today’s file sharing methods (such as you’ve identified), a vpn is somewhat inflexible and only really required if you require direct access to your machine (even then, there are other ways to access securely). if it’s just for files, my advice would be to continue down the current track. setting up a vpn is simple enough (depending on your requirements, and could be an issue with a dynamic ip address) but if you only require access to files on the move, then you already have the most flexible option.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/730/2) that is kind of what i was thinking. the services in already in place are probably the best route.\n\n ", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/730/3) yes, i don’t see the need to create any further complexity here. as long as the data is secured and encrypted at rest, then this is generally enough.\n\n", "name": "", "is_accepted": false } ]
1fafa0d71729790ace14940749dd4cef
my website is getting stuck (sometimes) at http page while logging out
metabullet.com
2021.43
[ { "text": "i'm using cloudlfare and htaccess to forward all request to https my flarum is in subdirectory\n\n\ni am not sure about the configuration please correct me where i am doing wrong.\n\n\n![](https://i.imgur.com/baflyug.png)\n\n\npublic \\_ html .htaccess\n\n\n\n```\n#expires headers configuration added by speed of light plugin\n<ifmodule mod_expires.c>\n expiresactive on\n expiresdefault a2592000\n expiresbytype application/javascript \"access plus 30 days\"\n expiresbytype text/javascript \"access plus 30 days\"\n expiresbytype text/css \"access plus 30 days\"\n expiresbytype image/jpeg \"access plus 30 days\"\n expiresbytype image/png \"access plus 30 days\"\n expiresbytype image/gif \"access plus 30 days\"\n expiresbytype image/ico \"access plus 30 days\"\n expiresbytype image/x-icon \"access plus 30 days\"\n expiresbytype image/svg+xml \"access plus 30 days\"\n expiresbytype image/bmp \"access plus 30 days\"\n</ifmodule>\n#end of expires headers configuration\n\n# begin wordpress\n# the directives (lines) between \"begin wordpress\" and \"end wordpress\" are\n# dynamically generated, and should only be modified via wordpress filters.\n# any changes to the directives between these markers will be overwritten.\n<ifmodule mod_rewrite.c>\nrewriteengine on\nrewritecond %{http_host} ^domain.com [nc]\nrewriterule ^(.*)$ https://www.domain.com/$1 [l,r=301]\n\nrewriterule .* - [e=http_authorization:%{http:authorization}]\nrewritebase /\nrewriterule ^index\\.php$ - [l]\nrewritecond %{request_filename} !-f\nrewritecond %{request_filename} !-d\nrewriterule . /index.php [l]\n</ifmodule>\n\n# end wordpress\n# begin enable gzip compression\n# the directives (lines) between `begin enable gzip compression` and `end enable gzip compression` are\n# dynamically generated, and should only be modified via wordpress filters.\n# any changes to the directives between these markers will be overwritten.\n<ifmodule mod_deflate.c>\naddoutputfilterbytype deflate text/text text/html text/plain text/xml text/css application/x-javascript application/javascript\n</ifmodule>\n# end enable gzip compression\n```\n\nsubdirectory ht access (flarum)\n\n\n\n```\n\n<ifmodule mod_rewrite.c>\n rewriteengine on\n\n rewritecond %{http_host} ^domain.com/ask [nc]\n rewriterule ^(.*)$ https://www.domain.com/ask/$1 [l,r=301]\n\n # ensure the authorization http header is available to php\n rewriterule .* - [e=http_authorization:%{http:authorization}]\n\n # uncomment the following lines if you are not using a `public` directory\n # to prevent sensitive resources from being exposed.\n rewriterule /\\.git / [f,l]\n rewriterule ^composer\\.(lock|json)$ / [f,l]\n rewriterule ^config.php$ / [f,l]\n rewriterule ^flarum$ / [f,l]\n rewriterule ^storage/(.*)?$ / [f,l]\n rewriterule ^vendor/(.*)?$ / [f,l]\n\n # pass requests that don't refer directly to files in the filesystem to index.php\n rewritecond %{request_filename} !-f\n rewritecond %{request_filename} !-d\n rewriterule ^ index.php [qsa,l]\n</ifmodule>\n\n# disable directory listings\noptions -indexes\n\n# multiviews can mess up our rewriting scheme\noptions -multiviews\n\n# the following directives are based on best practices from h5bp apache server configs\n# https://github.com/h5bp/server-configs-apache\n\n# expire rules for static content\n<ifmodule mod_expires.c>\n expiresactive on\n expiresdefault \"access plus 1 month\"\n expiresbytype text/css \"access plus 1 year\"\n expiresbytype application/atom+xml \"access plus 1 hour\"\n expiresbytype application/rdf+xml \"access plus 1 hour\"\n expiresbytype application/rss+xml \"access plus 1 hour\"\n expiresbytype application/json \"access plus 0 seconds\"\n expiresbytype application/ld+json \"access plus 0 seconds\"\n expiresbytype application/schema+json \"access plus 0 seconds\"\n expiresbytype application/vnd.geo+json \"access plus 0 seconds\"\n expiresbytype application/vnd.api+json \"access plus 0 seconds\"\n expiresbytype application/xml \"access plus 0 seconds\"\n expiresbytype text/calendar \"access plus 0 seconds\"\n expiresbytype text/xml \"access plus 0 seconds\"\n expiresbytype image/vnd.microsoft.icon \"access plus 1 week\"\n expiresbytype image/x-icon \"access plus 1 week\"\n expiresbytype text/html \"access plus 0 seconds\"\n expiresbytype application/javascript \"access plus 1 year\"\n expiresbytype application/x-javascript \"access plus 1 year\"\n expiresbytype text/javascript \"access plus 1 year\"\n expiresbytype application/manifest+json \"access plus 1 week\"\n expiresbytype application/x-web-app-manifest+json \"access plus 0 seconds\"\n expiresbytype text/cache-manifest \"access plus 0 seconds\"\n expiresbytype text/markdown \"access plus 0 seconds\"\n expiresbytype audio/ogg \"access plus 1 month\"\n expiresbytype image/bmp \"access plus 1 month\"\n expiresbytype image/gif \"access plus 1 month\"\n expiresbytype image/jpeg \"access plus 1 month\"\n expiresbytype image/png \"access plus 1 month\"\n expiresbytype image/svg+xml \"access plus 1 month\"\n expiresbytype image/webp \"access plus 1 month\"\n expiresbytype video/mp4 \"access plus 1 month\"\n expiresbytype video/ogg \"access plus 1 month\"\n expiresbytype video/webm \"access plus 1 month\"\n expiresbytype application/wasm \"access plus 1 year\"\n expiresbytype font/collection \"access plus 1 month\"\n expiresbytype application/vnd.ms-fontobject \"access plus 1 month\"\n expiresbytype font/eot \"access plus 1 month\"\n expiresbytype font/opentype \"access plus 1 month\"\n expiresbytype font/otf \"access plus 1 month\"\n expiresbytype application/x-font-ttf \"access plus 1 month\"\n expiresbytype font/ttf \"access plus 1 month\"\n expiresbytype application/font-woff \"access plus 1 month\"\n expiresbytype application/x-font-woff \"access plus 1 month\"\n expiresbytype font/woff \"access plus 1 month\"\n expiresbytype application/font-woff2 \"access plus 1 month\"\n expiresbytype font/woff2 \"access plus 1 month\"\n expiresbytype text/x-cross-domain-policy \"access plus 1 week\"\n</ifmodule>\n\n# gzip compression\n<ifmodule mod_deflate.c>\n <ifmodule mod_filter.c>\n addoutputfilterbytype deflate \"application/atom+xml\" \\\n \"application/javascript\" \\\n \"application/json\" \\\n \"application/ld+json\" \\\n \"application/manifest+json\" \\\n \"application/rdf+xml\" \\\n \"application/rss+xml\" \\\n \"application/schema+json\" \\\n \"application/vnd.geo+json\" \\\n \"application/vnd.ms-fontobject\" \\\n \"application/wasm\" \\\n \"application/x-font-ttf\" \\\n \"application/x-javascript\" \\\n \"application/x-web-app-manifest+json\" \\\n \"application/xhtml+xml\" \\\n \"application/xml\" \\\n \"font/collection\" \\\n \"font/eot\" \\\n \"font/opentype\" \\\n \"font/otf\" \\\n \"font/ttf\" \\\n \"image/bmp\" \\\n \"image/svg+xml\" \\\n \"image/vnd.microsoft.icon\" \\\n \"image/x-icon\" \\\n \"text/cache-manifest\" \\\n \"text/calendar\" \\\n \"text/css\" \\\n \"text/html\" \\\n \"text/javascript\" \\\n \"text/plain\" \\\n \"text/markdown\" \\\n \"text/vcard\" \\\n \"text/vnd.rim.location.xloc\" \\\n \"text/vtt\" \\\n \"text/x-component\" \\\n \"text/x-cross-domain-policy\" \\\n \"text/xml\"\n </ifmodule>\n</ifmodule>\n\n# fix for https://httpoxy.org vulnerability\n<ifmodule mod_headers.c>\n requestheader unset proxy\n</ifmodule>\n```\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-07-17/1626528461-828348-image.png)\n\n\nagain facing this issue\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/3) does it happen here or on your own website ? from the title, it looks like it's your own site, but the screenshot looks like it's from here ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/4) no the meta bullet screenshot was about other issue. you have asked me to keep a eye on it.\n\n\nsir, meta bullet will not be available for indian users? looks like it's blocked by cloudflare.\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/5) issue resolved after refering to this doc\n\n\n<https://support.cloudways.com/en/articles/5128831-how-to-redirect-http-to-https>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/745/5) no the meta bullet screenshot was about other issue. you have asked me to keep a eye on it.\n> \n> \n\n\nok. thanks\n\n\n\n> [hari](https://metabullet.com/d/745/5) sir, meta bullet will not be available for indian users? looks like it’s blocked by cloudflare.\n> \n> \n\n\nbased on recent events involving abuse of the platform by one user based in india who was suspended from the site (and then subsequently deleted at his request), i have taken the decision to geo block india. this decision was not taken lightly, and is the direct result of various attack attempts on this site from differing ip addresses all with their origins in india.\n\n\nwhilst this is the direct result of one or more individuals' activity, the result is the geo block. i realise that this impacts other users in the same region, and this decision will be reviewed in the coming days with a view to talking a less \"blanket\" approach.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/7) 🙄 this news is really scaring me. hope i did not hurt or annoy anyone.\n\n\n🙏\n\n\nhave a great weekend sir.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/6) great. i'll mark this as resolved\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/9)\n\n\nimportant\n\n\nif you are using any waf services such as cloudflare, sucuri, etc or if you are implementing any custom https redirection using any application plugin, or by modifying the .htaccess file of your application, then you do not need to force https redirection from cloudways platform because your website may run into errors or get stuck in redirection loops because of too many redirects. but, if you want to force https redirection from the cloudways platform, then you need to disable any redirection mechanism working elsewhere first and then follow this article for guidance.\n\n\n\n\n---\n\n\ni am again facing the same issue, as mentioned in the important notes i disabled ht access rewrite for the subdirectory.\n\n\nshall i also remove rewrite from main domain htacess and only relay on cloudflare rule?\n\n\nor shall remove cloudflare rule, htacess and enable at the server level?\n\n\n![](https://downloads.intercomcdn.com/i/o/321965538/3e45e95e86dc2974c1f48b31/8.png)\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/11) i'd be inclined to do this at the cf level rather than the server. there's a setting under ssl where you can force https.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/12) so what about the public\\_html htaceess, should i just remove the rewrite since i am doing it at cloudflare level?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/13) that would be my suggestion, yes.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/14) ok, these are my current settings\n\n\n![](https://metabullet.com/assets/files/2021-07-19/1626725603-453509-screenshot-249.png)\n\n\nand what is the best way to redirect to www. ? i have added blow page rule for www. redirection (i think this is causing the issue)\n\n\n![](https://metabullet.com/assets/files/2021-07-19/1626725813-997554-screenshot-248.png)\n\n\ni have removed below code from public \\_html htacess\n\n\n\n```\n#rewritecond %{http_host} ^domain.com [nc]\n#rewriterule ^(.*)$ https://www.domain.com/$1 [l,r=301]\n```\n\nnow the current htacess is like this\n\n\n\n```\n<ifmodule mod_rewrite.c>\nrewriteengine on\n\n\nrewriterule .* - [e=http_authorization:%{http:authorization}]\nrewritebase /\nrewriterule ^index\\.php$ - [l]\nrewritecond %{request_filename} !-f\nrewritecond %{request_filename} !-d\nrewriterule . /index.php [l]\n</ifmodule>\n```\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/15) that should in fact work. i take it you're looking to forward non www to www ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/16) yes correct `non www to www` , at this moment i am only worried about www.\n\n\nif flarum (subdirectory) is opened without www. its not going to www. and all icons will get broken\n\n\ni need some rule to forward everthing to www. maybe root level htacess or a cl page rule\n\n\nsir do you think cl is the best way to do it? shall i test this for 2-3 days?\n\n\n-\n\n\non the other hand i also have doubt on my isp , he is just failing to forward to https sometimes. do you think this could be because of google dns?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/745/18) i need some rule to forward everthing to www. maybe root level htacess or a cl page rule\n> \n> \n\n\ncan you remove the cf page file and place this in your `.htaccess`\n\n\n\n```\nrewriteengine on\n\nrewritecond %{http_host} !^www\\. [nc]\nrewriterule ^(.*)$ http://www.example.com/$1 [l,r=301]\n\nrewritecond %{https} off\nrewriterule ^(.*)$ https://www.example.com/$1 [l,r=301]\n```\n\n\n> [hari](https://metabullet.com/d/745/18) sir do you think cl is the best way to do it? shall i test this for 2-3 days?\n> \n> \n\n\ncf rules are usually instant, so if it's not working now, it won't work at all\n\n\n\n> [hari](https://metabullet.com/d/745/18) on the other hand i also have doubt on my isp , he is just failing to forward to https sometimes\n> \n> \n\n\ncan you confirm if the `www` record in your dns is a `cname` or an `a` record ?\n\n\n\n> [hari](https://metabullet.com/d/745/18) do you think this could be because of google dns?\n> \n> \n\n\nno, not at all\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/745/19) ok, let me express what i have understood.\n> \n> \n\n\nthis will redirect everything to <http://www>.\n\n\n\n```\nrewritecond %{http_host} !^www\\. [nc]\nrewriterule ^(.*)$ http://www.example.com/$1 [l,r=301]\n```\n\nthen cloudflare will step in and make sure its using https .\n\n\nand blow code will stop the redirection loop, we are adding it just in case am i right?\n\n\n\n```\nrewritecond %{https} off\nrewriterule ^(.*)$ https://www.example.com/$1 [l,r=301]\n```\n\n\n\n---\n\n\nupdate// i have disabled the cloudflare page rule and custom purge the flarum url.\n\n\nupdated the above mentioned htacces rule in public\\_html\n\n\nentier site is not opening\n\n\nshall i just go with cloudflare's page rule since is not failing, is it a healthy approch?\n\n\n---\n\n\n//update // i have removed the htacess rewirte rules, disabled the cloudflare page rules.\n\n\nand site is going to www. perfectly even when we visit non www.\n\n\nnow the only problem is with flarum subdirectory `non www to www.`redirection its not working.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/20) can you provide me the domain information via discord ? i may need to login myself if ok with you to have a look at this. if flarum resides in a subfolder, you may need a page rule to reflect this.\n\n\ni'll need to understand a bit more about the structure.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/745/21) if flarum resides in a subfolder, you may need a page rule to reflect this.\n> \n> \n\n\nyea, i have removed the htacess rewrite code forwarding using cf rule . i will text you in discord\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/22) thanks\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/22) just following up ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/24) sorry sir, i got sick. fever, cold, vomiting what not. i was completely in bed, the good thing is it's not covid. and this https issue was running in my brain 😅 i thought of informing you in discord saying i got sick but i don't know you are from uk or us don't want to text you in odd timing so didn't messaged you.\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/25) i am from the uk, correct - i wouldn't have minded you sending me messages at odd hours, so no issues. i see you've contacted me on discord, so i'll follow up there when i have a free moment.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/25) just curious if this is still an issue or not ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/27) yes, i am still facing this issue. i have almost 500 unattended posts which are need to close first. i will come back to this thread in 1-2 days. thanks for the ping. 🙂\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/28) no issues. let me know when you're ready to pick this up again.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/745/29) i do have another thought on this, in 1-2 months we will be switching to nginx & a new server i am assuming everything can be handled there easily.\n\n\nsir, do you think it needs to be addressed right away?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/30) i guess it really depends on how prevalent the issue is. if it doesn't happen every time, you can probably live with it, but this would also depend on the timeline you have in mind to replace the servers. if you are copying the config from the old servers to replacements, it's also possible that you may take this bug with you :)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/745/31) it’s also possible that you may take this bug with you 🙂\n> \n> \n\n\nin that case, i should give priority to this, shall we pick this topic today and look into it?\n\n\n(my profile pic was gone, any migration works are in progress now?)\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/745/32) sorry. i accidentally stripped your profile pic whilst trying to debug some css 🤭\n\n", "name": "", "is_accepted": false } ]
229b9ff68a8e6701af0cb366c12cfe76
hey, need help on installing on brotli... however im on ubuntu 20.04 lts, will the following guide help? <https://www.vultr.com/docs/add-brotli-support-to-nginx-on-ubuntu-18-04>
how to add brotli to nginx on ubuntu
metabullet.com
2021.39
[ { "text": "[sallymelek](https://metabullet.com/d/69/1) yes, but you only need steps 3 and 4. please don't do the other steps, as this will render your current install inoperable.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/2)\n\n\nthanks\n\n\nstuck in this step;\n\n\n\n> compile the ngx\\_brotli as a dynamic module and copy it to the standard directory for nginx modules, /etc/nginx/modules. \n> \n> ![](https://metabullet.com/assets/files/2021-02-05/1612552894-628581-image.png)\n> \n> \n\n\nalso from the guide, i saw the git that was being been <https://github.com/eustas/ngx_brotli> (but seen it was archieved) so i used this to download to the serve; <https://github.com/google/ngx_brotli>. will it cause an problem?\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/3) that won't cause a problem, no - unless you upgrade nginx and that compiled version isn't supported.\n\n\nthe reason why you get the compliation error is because there is no complier installed on your system\n\n\nyou could resolve this with `sudo apt install build-essential` which includes a compiler.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/4)\n\n\nso i need to check if th git package is compatible whenever i upgrade my nginx.\n\n\nalso currently im in`root@forum: '' /nginx-1.15.2#` so install `sudo apt install build-essential` do i need to go to the root directory? if you so what is code to go there?\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/5) you can run the apt command from the current directory you are in. take a backup first though before you do anything just in case. the gcc compiler won't hurt your system, but best to be safe.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/6)\n\n\ngreat thank also i already have a backup done, it's waiting for any mistakes. 😆\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/6)\n\n\nis there a problem here?\n\n\n![](https://metabullet.com/assets/files/2021-02-05/1612554766-3823-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/8) looks like the directory doesn't exist. i think you'll need to create it\n\n", "name": "", "is_accepted": false }, { "text": "how?\n\n\n[phenomlab](https://metabullet.com/d/69/9)\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/10) try `sudo mkdir /etc/nginx/modules`. then try the compile again\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/11) \n\non the current directory ?\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/12) yes.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/13)\n\n\nthen do this step again right? \n\n![](https://metabullet.com/assets/files/2021-02-05/1612557745-343424-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab)\n\n\nseems i finished step 3.\n\n\nso for step 4 it states to configure `sudo vim /etc/nginx/nginx.conf` do i need to do this instead `sudo vim /etc/nginx/sites-enabled/flarum.conf`\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/15) it's typically done at the nginx.conf level.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/16) \n\ni added\n\n\n\n```\nload_module modules/ngx_http_brotli_filter_module.so;\nload_module modules/ngx_http_brotli_static_module.so;\n```\n\n![](https://metabullet.com/assets/files/2021-02-05/1612560877-685587-image.png)\n\n\nhowever getting this error,\n\n\n\n```\nroot@forum:~# sudo nano /etc/nginx/nginx.conf\nroot@forum:~# sudo nginx -t\nnginx: [emerg] dlopen() \"/usr/share/nginx/modules/ngx_http_brotli_filter_module. so\" failed (/usr/share/nginx/modules/ngx_http_brotli_filter_module.so: cannot op en shared object file: no such file or directory) in /etc/nginx/nginx.conf:6\nnginx: configuration file /etc/nginx/nginx.conf test failed\n```\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/69/17) `/usr/share/nginx/modules/`\n> \n> \n\n\nwhat's the content of this directory ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/18)\n\n\ni dont know, im just following the guide\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/19) right. i had a look at this, and it seemed to be purely a case of the modules being in the wrong location. i copied these to the right places\n\n\n![](https://metabullet.com/assets/files/2021-02-06/1612611448-968476-image.png)\n\n\nhowever, when i executed `nginx -t` i received the error message indicated. on checking, it's because the build environment for the modules which you created does not match the installed version of nginx\n\n\n<https://www.nginx.com/blog/failed-nginx-plus-upgrade-module-version-x-instead-of-y/>\n\n\nbased on this, i've commented out the modules in the `nginx.conf` file and tested with `nginx -t` - result below\n\n\n![](https://metabullet.com/assets/files/2021-02-06/1612611589-326184-image.png)\n\n\ndebugging this will be *very* invasive, and will require (probably) a replacement build of nginx with the brotli modules compiled to be created. as your forum is live, i strongly advise that you **do not do this** on the current droplet you have, but perhaps test it on a replica where if it *does* go wrong, it doesn't matter because it can simply be discarded.\n\n\ni want to play safe here :) the advantages of brotli speak for themselves, but the reward of having brotli will never take preference over a site being functional or not.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/69/20) \n\nohhh i see, thanks\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/69/21) let me know what route you'd like to take with this. i'm happy to support either way\n\n", "name": "", "is_accepted": false }, { "text": "for anyone else following this thread - we decided to install nginx from source (compliled) with brotli support. \n\n<https://metabullet.com/d/72-help-with-new-nginx-build>\n\n", "name": "", "is_accepted": false } ]
859f0d4bdb0f6339dfde63dce997b31f
hi [@phenomlab](https://metabullet.com/u/phenomlab) , ![](https://metabullet.com/assets/files/2021-07-12/1626116273-45847-f7189ac4-9f6e-4245-bd73-32031dd8b6cd.png) i see the green dot free to move into the forum 🤪 , and mentions appear like this ![](https://metabullet.com/assets/files/2021-07-12/1626116347-42001-05b46557-1d06-4b9e-90b0-28664374bcf7.png)
online dot css issue
metabullet.com
2021.39
[ { "text": "[justoverclock](https://metabullet.com/d/724/1) i'm aware of both of these and will address.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/724/2) sir, you can go with default theme na so there will be no issues :d\n\n\nonce i hit reply it's posting but i could not able to see the posting effect. in fact, getting an error message and i had to open a new tab to check whether it's posted or not :d\n\n\nhope miserable extension is not enabled. 😄\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/724/3) sir, you can go with default theme na so there will be no issues\n> \n> \n\n\ni'm not experiencing any issues ? can you elaborate ?\n\n\n\n> [hari](https://metabullet.com/d/724/3) hope miserable extension is not enabled\n> \n> \n\n\nno. never.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/724/4) i don't know i am using large screen 17'' it is that i got used to flarum view or website starches too much .. i feel a bit differently.\n\n\nregarding the error, while posting its happing in the day time.. next time i will take a screenshot and post you the console errors if any\n\n\n![](https://metabullet.com/assets/files/2021-07-12/1626125990-866845-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/724/4) i don't know i am using large screen 17'' it is that i got used to flarum view or website starches too much .. i feel a bit differently.\n\n\nregarding the error, while posting its happing in the day time.. next time i will take a screenshot and post you the console errors if any\n\n\n![](https://metabullet.com/assets/files/2021-07-12/1626125990-866845-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-07-12/1626126052-306869-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "see it automatically posted two times\n\n", "name": "", "is_accepted": false }, { "text": "its not closing after posting , the window still stays and we can able to add extra text too\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/724/8) that's very odd ! can you try an incognito tab and see if that same issue happens ? i can't reproduce that here.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/724/9) i've visited this site 6months ago and i don't clean cookies and history maybe its due to cache .. in private window its not happening\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/724/10) yeah, i think that's the issue. i'm not seeing any issues here but i'll keep an eye on it. thanks for the report.\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/724/10) i just realised that i'd left `recache` active 🤦‍♂️\n\n\ni've now removed that, so can you try again with another test in your usual browser session ?\n\n\nthanks\n\n", "name": "", "is_accepted": false }, { "text": "yes, same here whenever i post it goes in infinite loading and it shows oops something went wrong and then i have to open a new tab to see if its posted or not\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/724/13) can you also try the same as i suggested to [@hari](https://metabullet.com/u/hari) as i believe this to be cache related. i can't reproduce it.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/724/12) test test\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/724/12) now it's working without any issues\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/724/16) good thanks\n\n", "name": "", "is_accepted": false }, { "text": "[@justoverclock](https://metabullet.com/u/justoverclock) the css \"dot\" issue is resolved\n\n\n![](https://metabullet.com/assets/files/2021-07-13/1626169199-46301-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "test\n\n\nedit yes that infinite loading is gone. now i can post smoothly.\n\n", "name": "", "is_accepted": false } ]
a3a799f1309f9c03e47c0a1d02574d35
guys, i really need help on a little backend part on feedback extension that i'm trying to make for the community. i have a form, and i need to send a mail through an api endpoint. someone that want to cooperate? <https://github.com/justoverclockl/flarum-ext-feedback> is a sketch now, i need to translate all and put controls on admin panel (this part is simple). but i really need to send this form through flarum mailer.
someone with backend experience?
metabullet.com
2021.43
[ { "text": "[justoverclock](https://metabullet.com/d/688/1) i can possibly help with that.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/688/2) wondeful, here the updated code\n\n\n<https://github.com/justoverclockl/flarum-ext-feedback>\n\n", "name": "", "is_accepted": false }, { "text": "i can't edit a post but remember that u can listen to an event also\n\n\n\n```\nconst email = this.options.emailfield ? document.getelementbyid('feedback-email').value : undefined\n\n\n\t\tconst data = {\n\t\t\t\tid: this.options.id,\n\t\t\t\temail: email,\n\t\t\t\tfeedbacktype: this.current,\n\t\t\t\turl: window.location.href,\n\t\t\t\tmessage: message\n\t\t\t}\n\n\t\t\tif (this.options.events) {\n\t\t\t\tconst event = new customevent('feedback-submit', { detail: data })\n\t\t\t\twindow.dispatchevent(event)\n\t\t\t\tthis._rendersuccess()\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.send(data.feedbacktype, data.message, data.url, data.email)\n```\n", "name": "", "is_accepted": false } ]
601a185118fba991a281a3f24ec9bdf1
hi to all, in my flarum's forum i got a welcome hero css for welcome message and a banner. this css broke my fof/nightmode or dark mode. how can i fix this css? thank you. ``` .welcomehero { background-image: url('/assets/bg.jpg'); color:#996676; text-align:center; background-size:cover !important; color:#ffffff; height:200px; text-shadow:1px 1px 2px #000,0 0 25px #000,0 0 5px #000; background-position: center;} .containernarrow{padding-top:20px;max-width:700px}.hero-title{font-size:2.0rem;font-weight:100}.hero-subtitle{font-size:1.0rem} @media (max-width: 767px){ .app-content { background: #eff3f7;}} ``` ![](https://metabullet.com/assets/files/2021-01-21/1611258699-909205-screenshot-2021-01-21-20-43-58-22.jpg)
welcome hero css broke night mode
metabullet.com
2021.39
[ { "text": "[gatsu](https://metabullet.com/d/39/1) are you referring to the dark colour of the buttons ? if so, what colour would you like them to be ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/39/2) if i remove welcome hero css, the fof/nightmode works well. \n\nso i think there is some code in the css that breaks night mode.\n\n\n![](https://metabullet.com/assets/files/2021-01-21/1611259498-226906-screenshot-2021-01-21-21-03-36-42.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "[gatsu](https://metabullet.com/d/39/3) can you provide a forum url ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/39/4) <https://www.nuovacaptur.it>\n\n", "name": "", "is_accepted": false }, { "text": "\n```\n> .hero {\n> background: linear-gradient(rgba(0,0,0,0.95), rgba(0,0,0,0.45)),url(/assets/bg.jpg) !important;\n> background-repeat: no-repeat !important;\n> background-size: cover !important;\n> color: #ffffff;\n> padding-top: 53px;\n> height: 206px;\n> }\n```\n\ni partially solved. now everything works but the image is dark, how can i make it light / natural? \n\n![](https://metabullet.com/assets/files/2021-01-22/1611302061-559292-screenshot-2021-01-22-08-52-55-17.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "[gatsu](https://metabullet.com/d/39/6) this line is your problem\n\n\n`background: linear-gradient(rgba(0,0,0,0.95), rgba(0,0,0,0.45)),url(/assets/bg.jpg) !important;`\n\n\nyou're using a background image, but applying a gradient to darken it. replace the css so it looks like this\n\n\n`background: url(/assets/bg.jpg)!important;`\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611310374-727474-image.png)\n\n\nhowever, taking this approach makes the white text difficult to read in my view. you may want to consider using `text-shadow` as a means of making the text easier to read if you remove the overlay gradient.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/39/7) thank you very much!\n\n", "name": "", "is_accepted": false } ]
20b473b3a710a0540cccceab0aabb107
i have just tested a sign up email with a gmail account, i've gone to activate the confirmation link, checked the inbox, nothing. i then looked in my spam folder and it's unfortunately been sent there. am i best to look at setting up a dkim key and spf? thanks :)
flarum emails to gmail email are going to spam folder
metabullet.com
2021.39
[ { "text": "\n> [jac](https://metabullet.com/d/38/1) am i best to look at setting up a dkim key and spf?\n> \n> \n\n\nspf, 100% - i'd hold back on dkim unless you have to, as it's complex to setup and is key based. you'll also want to look at dmarc\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/38/2) thanks mark, is this something that can be set up quite easily?\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/3) yes. detail below\n\n\n\n```\ntype: txt\nhost/name: countyfans.com\nvalue: \"v=spf1 a mx ip4:109.228.47.156 ~all\"\n```\n\n", "name": "", "is_accepted": false }, { "text": "thanks very much!\n\n\nis the: a mx a:109.228.47.156 all a separate entry?\n\n\n![](https://metabullet.com/assets/files/2021-01-21/1611248997-883236-screenshot-2021-01-21-domains-ssl-ionos.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/5) no - it's all one line.\n\n", "name": "", "is_accepted": false }, { "text": "when inputted in one line the following error is shown\n\n\n![](https://metabullet.com/assets/files/2021-01-21/1611254874-105733-screenshot-2021-01-21-flarum-emails-to-gmail-email-are-going-to-spam-folder.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/38/6) no - it’s all one line.\n> \n> \n\n\ni've tried a few more things out and can't see where the text is wrong?\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/8) yes, i've seen this happen on some hosts.\n\n\ntry using quotes around the value, so \n\n`\"v=spf1 a mx a:109.228.47.156 ~all\"`\n\n", "name": "", "is_accepted": false }, { "text": "thanks mark,\n\n\nunfortunately it is still coming up with this error even with the quotation marks:\n\n\nthe value \"v=spf1 a mx a:109.228.47.156 all\" is not valid. please check your entry.\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/10) can you try \n\n`\"v=spf1 a mx ip4:109.228.47.156 ~all\"`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/38/11)\n\n\nthanks very much mark, that has worked :d\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/12) good, thanks. i've updated the original answer to reflect the correct settings\n\n", "name": "", "is_accepted": false }, { "text": "thanks mark, i'll sign up with a gmail account and see how it goes. 🤞\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/14) heads up that gmail may also completion that the ipv6 or aaa host record is missing in dns. let me know if you experience that.\n\n ", "name": "", "is_accepted": false }, { "text": "cheers mark, will do.\n\n\ni'll see if it goes into the spam folder or not :)\n\n", "name": "", "is_accepted": false }, { "text": "just tried the gmail account, still going to spam unfortunately, is there any other method to stop this from happening?\n\n ", "name": "", "is_accepted": false }, { "text": "as i'm using my gmail account on here i thought i'd try resetting the password etc, all have gone directly to my inbox so the settings you have must be perfect :d 😛\n\n ", "name": "", "is_accepted": false }, { "text": "i'm still having trouble wit the dmarc/spf configuration, i have set up the spf record as followed last night, now i'm adding the dmarc, following the instructions here- - <https://dmarcguide.globalcyberalliance.org> and here <https://www.logicalfeed.com/posts/1225/how-to-avoid-your-emails-going-to-recipient-s-spam-folder>.\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611325244-681847-screenshot-2021-01-22-dmarc-guide-global-cyber-alliance-email-authentication-made-easy.png)\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611325495-196453-screenshot-2021-01-22-network-tools-dnsipemail.png) - policy not enabled? 😕\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/20) right. can you try the following\n\n\n1. open your webmail under your domain\n2. try to send a message to any gmail account\n3. let me know if you receive an undeliverable bounce back\n4. post the response of that bouce back here\n\n\nmy thoughts are that you are potentially missing an ipv6 aaa record as i previously mentioned\n\n\nthanks\n\n", "name": "", "is_accepted": false }, { "text": "ok thanks,\n\n\nso i sent an email to my gmail account and that too went to spam.\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611325735-153879-screenshot-2021-01-22-test-joncrook2493-gmail-com-gmail.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "these are the following settings i have on dns of note.\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611325885-894208-screenshot-2021-01-22-domains-ssl-ionos.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/23) well, the good news is that your ip address isn't on any blacklists\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611326470-897152-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "that's great!\n\n\noh no! emails to live.com account also going to the spam folder! 😅\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/25) yes, and here's why\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611326747-480721-image.png)\n\n\nthe dmarc policy is missing (which we know about) but, there's also no `ptr` record (this is a \"pointer\" record in dns, and virtually every single mail server on the planet will perform a reverse lookup). as this is missing (or likely misconfigured), mail will be sent to spam.\n\n\n<https://mxtoolbox.com/emailhealth/countyfans.com/>\n\n", "name": "", "is_accepted": false }, { "text": "wow, thanks for finding that.\n\n\nok, so how do i go about adding the records that are missing?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/38/27) ok, so how do i go about adding the records that are missing?\n> \n> \n\n\ni can give you the details to login if that helps(if easier)? or i can input the information myself :p\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/28) let's start with the dmarc. there's a great wizard [here](https://dmarcian.com/dmarc-record-wizard/) that will help you generate\n\n ", "name": "", "is_accepted": false }, { "text": "thanks mark, i already have an dmarc record, that was generated by a similar site.\n\n\nthe record i have is: \\_dmarc \"v=dmarc1; p=none; sp=none; ri=86400\"\n\n\nbut now i believe that is incorrect?\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/30) yes, it is. use the information i provided at <https://metabullet.com/d/38-flarum-emails-to-gmail-email-are-going-to-spam-folder/29> to generate a correct one.\n\n", "name": "", "is_accepted": false }, { "text": "ok thanks, i have generated different settings, the dmarc record suggested was: v=dmarc1; p=quarantine; rua=mailto:[[email protected]](mailto:[email protected]); adkim=s;\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/32) good. update your existing record, with the same 1 minute ttl, then check the state again. once you have that down, we will then focus on the reverse dns record. it's going to mean some changes to plesk also, but nothing too major\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/38/33) once you have that down, we will then focus on the reverse dns record. it’s going to mean some changes to plesk also, but nothing too major\n> \n> \n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611329081-822612-screenshot-2021-01-22-domain-health-check-online-domain-tools-blacklist-email-website-dns-mxtoolbox.png) 👍️ down to 3 issues.\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/34) good. let's deal with the reverse dns next. as you re using ionos, there's a good guide [here](https://www.ionos.co.uk/help/server-cloud-infrastructure/dedicated-servers-for-servers-purchased-before-281018/network/setting-reverse-mapping-for-a-dedicated-ip-address/).\n\n\n", "name": "", "is_accepted": false }, { "text": ":d thanks, just going to look now.\n\n", "name": "", "is_accepted": false }, { "text": "i don't see any of that - in the server administration section, click ip addresses.\n\n\nselect the ip address for which you want to set the reverse entry and then click reverse mapping.\n\n\nnow enter the domain for which you want to set the entry in the reverse mapping field, and click ok to confirm. i just see what's below. 🙂\n\n\nip:\n\n\nipv4 address:\n\n\n\n```\n109.228.47.156\n```\n\nipv6 address: \n\nno ipv6 address available\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611337037-791592-screenshot-2021-01-22-cloud-panel.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/37) are you looking in the right place ?\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611337102-486934-screenshot-20210122-173517.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "thanks, i am now :p\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-22/1611337362-723540-screenshot-2021-01-22-cloud-panel2.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/40) you'll need to change that. there will be a conflict with the a record you are using for the site itself, so change it to `vps.countyfans.com` and then also create another a record called `vps` in your dns console that points to the same address.\n\n\nonce you've completed that, and you're sure that the change has taken effect (which you can test [here](https://www.whatsmydns.net/#a/vps.countyfans.com)), you need to make the same change in plesk so that the mail banner matches when that's checked\n\n\n### in plesk\n\n\nto change your server’s host name:\n\n\n* log in to server administration panel.\n* go to tools & settings > server settings.\n* enter the new host name in the full hostname field.\n* this should be a fully qualified host name, but without an ending dot (for example, host.example.com).\n* click ok.\n\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-22/1611338136-136005-img-20210122-175428.jpg) \n\n![](https://metabullet.com/assets/files/2021-01-22/1611338148-739860-img-20210122-175336.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "so far\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611338289-269131-img-20210122-175745.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/43) should replicate quickly with a low ttl\n\n\nyou'll also want to secure the plesk installation. to do this\n\n\n* go to <https://vps.countyfans.com/admin/ssl-certificate/list>. it'll probably complain that the site isn't secure, but proceed anyway\n* pay attention to this section\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611338581-627249-screenshot-20210122-180206.png)\n\n\nhere, you can create a new lets encrypt cert for `vps.countyfans.com` and then assign it to plesk so it can be used to secure the session.\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-22/1611338496-491149-img-20210122-180123.jpg)\n\n\nso i just remove the details at the top and keep everything checked?\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/45) yes\n\n", "name": "", "is_accepted": false }, { "text": "great, that's changed to vps.countyfans.com :d\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/47) now you need to secure it. see my previous post.\n\n", "name": "", "is_accepted": false }, { "text": "just looking for the settings now as i'm looking via the plesk app for a moment.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/38/44) go to <https://vps.countyfans.com/admin/ssl-certificate/list>. it’ll probably complain that the site isn’t secure, but proceed anyway \n> \n> pay attention to this section\n> \n> \n\n\nwhen i go to this page i am unable to proceed as my antivirus seems to block it?\n\n\n![](https://metabullet.com/assets/files/2021-01-22/1611340009-94739-screenshot-2021-01-22-certificate-verification-problem-detected.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/50) yes, that's correct. you'll need to whitelist it in your av (temporarily), or even disable it to proceed. or, you'll need to access plesk via the ip address which you'll find in the console.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/38/51) thanks mark, i'll try this soon just in-between doing that and making the tea! 😁\n\n ", "name": "", "is_accepted": false }, { "text": "\n***update: accessed via plesk now***\n\n\n\n\n---\n\n\ndid not connect: potential security issue\n\n\nfirefox detected a potential security threat and did not continue to vps.countyfans.com because this website requires a secure connection.\n\n\nwhat can you do about it?\n\n\nvps.countyfans.com has a security policy called http strict transport security (hsts), which means that firefox can only connect to it securely. you can’t add an exception to visit this site.\n\n\nthe issue is most likely with the website, and there is nothing you can do to resolve it. you can notify the website’s administrator about the problem.\n\n\nlearn more…\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-22/1611343942-324894-screenshot-2021-01-22-ssl-tls-certificates-plesk-obsidian-18-0-32.png)\n\n\nhopefully i've done that right.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/38/54) hopefully i’ve done that right.\n> \n> \n\n\nvps.mydomain.com takes me to plesk so i presume that worked?\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/55) yes, that looks great.\n\n\nnow - back to the gmail issue. does it work properly now ?\n\n", "name": "", "is_accepted": false }, { "text": "apologies for the delay, i'll try a test now.\n\n ", "name": "", "is_accepted": false }, { "text": "still going to spam i'm afraid. ☹️\n\n ", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-22/1611352128-275461-screenshot-2021-01-22-domain-health-check-online-domain-tools-blacklist-email-website-dns-mxtoolbox1.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/38/58) now that the dns changes we've made are fully replicated (hopefully), let's test this again. i see no immediate reason as to why this will not work now.\n\n", "name": "", "is_accepted": false }, { "text": "thanks, will try now.\n\n ", "name": "", "is_accepted": false }, { "text": "it's worked!!!\n\n\ncan't thank you enough mark for all the help with that! :d\n\n", "name": "", "is_accepted": false }, { "text": "solved: added dmarc to dns, set reverse dns, changed a few settings in plesk (as above) to reflect the changes made.\n\n\nlet for the dns change to propagate: mail sent to gmail account now doesn't go to spam.\n\n\ncan't thank you enough mark for all the help yet again! 😀\n\n ", "name": "", "is_accepted": false } ]
94bbcb8ca158f3e5fe4ab6d73b105b79
since my signup i did not enable email notifications, i've used login with google so i don't know about earlier situations but recently i have enabled email notifications on this website .. the emails are going to spam , so i just wanted to report here :) ![](https://metabullet.com/assets/files/2021-08-02/1627910981-379422-image.png)
metabullet.com emails are going to spam
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/749/1) interesting - thanks. dkim, dmarc and spf records are intact and valid, no not sure what's causing that. are you able to provide the headers for that message please (via discord) ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/2)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-03/1628001013-237873-image.png)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-03/1628001037-968187-image.png)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-03/1628001096-197277-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "sir, you can test this with long messages, i think the clipping is causing the problem\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/4) google mail is clipping the message, so it's not that. messages i recieve contain the full text :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/5) i think this is happening because the email is not signed by the domain?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628056261-616383-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/6) no, it won't be that. the email is in fact signed, but doesn't always show (my mail server is configured to not send this information) that is is. what's more likely is this \n\n<https://support.google.com/mail/answer/81126?hl=en>\n\n\nhowever, none of these are applicable :)\n\n\nthe reverse dns is valid (points back to the mx record in the dns zone which is the correct ip<>hostname ptr)\n\n\nthe domain is also clean according to google\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628076546-748939-image.png)\n\n\ndmarc verification is also valid\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628076715-873701-image.png)\n\n\nas is dkim\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628076777-418789-image.png)\n\n\nand spf\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628076809-899737-image.png)\n\n\nclearly, google's somewhat bizarre algorythm isn't working as well as it should be.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/7) i have experienced a similar issue and forcefully i had to switch to elastic email now paying 0.10$ / 1000 emails :)\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/8) well, gmail is the only place this happens. i'll make some changes and test with my own gmail account, but i'm not going to move the mailing elsewhere.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/9) i've started this discussion to understand the weird gmail algorithm :d . sometimes outlook does push my own domain emails to the spam box. i have no choice because of the transactional email needs! :)\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/10) does your domain have spf, dmarc and dkim records ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/11) yes, it's a long story we used to rely on zfast.co.uk but they do change their ip always :/ and i had to update the same ip in cloudflare.\n\n\ncloudways hosting \n\nzfast email server\n\n\nit's a bit complicated configuration and i don't want to keep tracking it, two days ago switch to elastic email for outgoing (for flarum and other signups only) and rackspace (for regular conversation using smtp) 1 mailbox is $1 / month. in rackspace they have a feature to capture all emails and forwarding them to my gmail box.\n\n\nbut, i am linking this ❤ less stress-free configuration.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/749/12) yes, it’s long story we used to relay on zfast.co.uk but they do change their ip always :/ and i had to updated the same ip in cloudflare.\n> \n> \n\n\nwhy would you use an ip ? that's the point of dns hostnames ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/13) yes, if i am not hosting with zfast but i still want to use their email server i think it is the best way to do it?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/14) you should never use an ip address as these are subject to change without notice (as you are well aware !)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/15) in that case how do i use their email server without hosting with them?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/16) you can't. my point was that instead of using x.x.x.x as an ip address, you'd use something like mail.host.com\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/17) got it, i will point my mail.domain.com with them and will configure.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/18) this way, if they change the ip address, it doesn't matter as the hostname will remain the same.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/749/19) they are suggesting to enter the ip address for mail? is that local ip or my mail server ip?\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/749/20) this isn't the right way of doing things. if you follow this route, you'll gain nothing. it should work like this\n\n\n* find the hostname that the mail service uses\n* use that in the mx record when you create it\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628083116-392445-image.png)\n\n\nso, for example\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628083187-363740-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "solved\n\n\n* unable to select best answer\n", "name": "", "is_accepted": false } ]
9e32f102689a621979faec01ec617dcb
can the previously closed welcome bar be shown again to everyone? i want the welcome bar to never close again. can anyone share their css codes? i am grateful for the help.
welcome bar (flarum)
metabullet.com
2021.31
[ { "text": "\n> [dursuncan](https://metabullet.com/d/57/1) i want the welcome bar to never close again. \n> \n> can anyone share their css codes?\n> \n> \n\n\nhere you go\n\n\n\n```\n.welcomehero .container button.hasicon {\n display: none;\n}\n```\n\nthe closed hero state is saved in the session cookie, so the only way to get the `welcome hero` back is to clear the cache in your browser.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/57/2) isn’t there anything that can be done for users who have turned off the welcome bar? \n\nhow can i set the articles on the welcome bar not to be clicked?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [dursuncan](https://metabullet.com/d/57/3) isn’t there anything that can be done for users who have turned off the welcome bar?\n> \n> \n\n\nsadly, no. the only way i know of is to clear the browser cache. you can test this yourself by going to your own site in an incognito tab, and you’ll see the welcome bar again.\n\n\n\n> [dursuncan](https://metabullet.com/d/57/3) how can i set the articles on the welcome bar not to be clicked?\n> \n> \n\n\ncan you clarify this ? i’m not sure i understand what you mean.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/57/4) how to set the welcome text and title not to be copied?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [dursuncan](https://metabullet.com/d/57/5) how to set the welcome text and title not to be copied?\n> \n> \n\n\nyou could use simple js to obtain this functionality, although i wouldn’t completely trust it. why do you want visitors to not be able to copy the text in the header ?\n\n", "name": "", "is_accepted": false }, { "text": "[dursuncan](https://metabullet.com/d/57/3) actually, just circling back on this. it seems you can use this somewhat dirty “hack” in the footer, so in admin->apperance->custom footer, you could add this\n\n\n`<script>window.localstorage.removeitem('welcomehidden');</script>`\n\n\nthis would then force the `localstorage` to be cleared meaning the welcome header will return.\n\n ", "name": "", "is_accepted": false } ]
c3bdb7ccdb021a80f875cf846c0665ab
how to check redis is working for flarum or not?
metabullet.com
2021.43
[ { "text": "hello, i'm new here hope all the rules are the same as flarum 😄\n\n\ni have installed [redis](https://discuss.flarum.org/d/21873-redis-sessions-cache-queues) extension by luceos sir & configured as mentioned below\n\n\n\n```\nreturn [\n (new blomstra\\redis\\extend\\redis([\n 'host' => '127.0.0.1',\n 'password' => null,\n 'port' => 6379,\n 'database' => 1,\n ]))\n ->usedatabasewith('cache', 1)\n ->usedatabasewith('session', 3)\n ->disable('queue')\n];\n```\n\nwhen i use cli monitor its showing my root wordpress redis too.\n\n\nhow can i know is it working for flarum or not?\n\n\nif i do not want queues i don't need deamon and need not to maintain anything right?\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/1) welcome ! does your wordpress instance use the same redis database as flarum ? if that's the case, you should change it so that it uses its own.\n\n\nin terms of monitoring a specific database, redis doesn't have a defined command for this, but you can always use\n\n\n`redis-cli monitor |grep '(db 1)'`\n\n\nobviously, replacing 1 with the database you want to target.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/721/1) if i do not want queues i don’t need deamon and need not to maintain anything right?\n> \n> \n\n\ncorrect.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/2) my root wp is using 0 db .. the wordpress redis plugin hope that doen't conflicts\n\n\n\n> [phenomlab](https://metabullet.com/d/721/2) redis-cli monitor |grep '(db 1)'\n> \n> \n\n\nshould i run this in sub directory (my flarum) or root?\n\n\nedit: error\n\n\n\n```\n[0]:ask$ redis-cli monitor |grep ‘(db 1)’\nbash: syntax error near unexpected token `(' \n[0]:ask$ redis-cli monitor | grep ‘(db 1)’\nbash: syntax error near unexpected token `(' \n```\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/721/4) should i run this in sub directory (my flarum) or root?\n> \n> \n\n\nshouldn't matter\n\n\n\n> [hari](https://metabullet.com/d/721/4) edit: error\n> \n> \n\n\ncan you provide sample output of `redis-cli monitor` ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/5) once i enter that command its flooding so i had to hit ctrl + c\n\n\n\n```\n[0]:ask$ redis-cli monitor\nok \n112725.466754 [0 127.0.0.1:12368] \"ping\" \n115454545.096535 [0 127.0.0.1:12368] \"info\" \n115454545.097820 [0 127.0.0.1:12368] \"get\" \"abcdefg:default:is_blog_installed\" \n115454545.105210 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:notoptions\" \n115454545.105619 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:alloptions\" \n115454545.106806 [0 127.0.0.1:12368] \"get\" \"abcdefg:site-options:1-notoptions\" \n115454545.109148 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:uninstall_plugins\" \n115454545.109428 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:adbc_settings\" \n115454545.118376 [0 127.0.0.1:12368] \"get\" \"abcdefg:transient:jetpack_autoloader_plugin_paths\" \n115454545.150546 [0 127.0.0.1:12368] \"get\" \"abcdefg:users:1\" \n115454545.150847 [0 127.0.0.1:12368] \"get\" \"abcdefg:user_meta:1\" \n115454545.154273 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:adbc_security_folder_code\" \n115454545.160019 [0 127.0.0.1:12368] \"get\" \"abcdefg:transient:jetpack_file_data_9.9\" \n115454545.162431 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:perfmatters_version\" \n115454545.166233 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:loginpress_hidelogin\" \n115454545.188578 [0 127.0.0.1:12368] \"mget\" \"abcdefg:posts:4105\" \"abcdefg:posts:2919\" \"abcdefg:posts:4104\" \"abcdefg:posts:1660\" \"abcdefg:posts\n:4103\" \"abcdefg:posts:1443\" \n115454545.191158 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:can_compress_scripts\" \n115454545.249456 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:last_changed\" \n115454545.249632 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:get_terms-114ef251ed33be5485f344bb9067d54c-0.44432000 1626006946\" \n115454545.260686 [0 127.0.0.1:12368] \"get\" \"abcdefg:transient:doing_cron\" \n115454545.261010 [0 127.0.0.1:12368] \"set\" \"abcdefg:transient:doing_cron\" \"115454545.2583169937133789062500\" \n115454545.432003 [0 127.0.0.1:12386] \"ping\" \n115454545.432157 [0 127.0.0.1:12386] \"info\" \n115454545.433326 [0 127.0.0.1:12386] \"get\" \"abcdefg:default:is_blog_installed\" \n115454545.446276 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:notoptions\" \n115454545.446748 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:alloptions\" \n115454545.447974 [0 127.0.0.1:12386] \"get\" \"abcdefg:site-options:1-notoptions\" \n115454545.450214 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:uninstall_plugins\" \n115454545.450494 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:adbc_settings\" \n115454545.459437 [0 127.0.0.1:12386] \"get\" \"abcdefg:transient:jetpack_autoloader_plugin_paths\" \n115454545.492232 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:last_changed\" \n115454545.492487 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:get_page_by_path-afbca93b765a014e34c3b6820b03ae61-0.48068700 1626006946\" \n115454545.495225 [0 127.0.0.1:12386] \"get\" \"abcdefg:users:1\" \n115454545.495467 [0 127.0.0.1:12368] \"set\" \"abcdefg:posts:get_page_by_path-afbca93b765a014e34c3b6820b03ae61-0.48068700 1626006946\" \"4892\" \n115454545.495649 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:4892\" \n115454545.496960 [0 127.0.0.1:12386] \"get\" \"abcdefg:user_meta:1\" \n115454545.500257 [0 127.0.0.1:12368] \"get\" \"abcdefg:category_relationships:4892\" \n115454545.500433 [0 127.0.0.1:12368] \"get\" \"abcdefg:post_tag_relationships:4892\" \n115454545.501028 [0 127.0.0.1:12368] \"get\" \"abcdefg:post_meta:4892\" \n115454545.501209 [0 127.0.0.1:12368] \"mget\" \"abcdefg:post_meta:4892\" \n115454545.501786 [0 127.0.0.1:12368] \"set\" \"abcdefg:post_meta:4892\" \"a:6:{s:12:\\\"_dp_original\\\";a:4:{i:0;s:4:\\\"3169\\\";i:1;s:4:\\\"3169\\\";i:2;s:4:\\\"3169\\\";i:3;s:4:\\\"\n3169\\\";}s:10:\\\"_edit_lock\\\";a:1:{i:0;s:12:\\\"1610025253:1\\\";}s:10:\\\"_edit_last\\\";a:1:{i:0;s:1:\\\"1\\\";}s:26:\\\"_yoast_wpseo_content_score\\\";a:1:{i:0;s:2:\\\"30\\\";}s:18:\\\"_yoa\nst_wpseo_title\\\";a:1:{i:0;s:72:\\\"test site name | %%sitename%%\\\";}s:25:\\\"_last_editor_used_jetpack\\\";a:1:{i:0;s:14:\\\"classic-\neditor\\\";}}\" \"nx\" \n115454545.503347 [0 127.0.0.1:12368] \"get\" \"abcdefg:category_relationships:4892\" \n115454545.503623 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:get_terms-6e1d53aea9493791c55e9de090e28339-0.44432000 1626006946\" \n115454545.504485 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:adbc_security_folder_code\" \n115454545.505288 [0 127.0.0.1:12368] \"set\" \"abcdefg:terms:33\" \"o:8:\\\"stdclass\\\":9:{s:7:\\\"term_id\\\";s:2:\\\"33\\\";s:4:\\\"name\\\";s:10:\\\"cate\\\";s:4:\\\"slug\\\";s:10:\\\n\"ns\\\";s:10:\\\"term_group\\\";s:1:\\\"0\\\";s:16:\\\"term_taxonomy_id\\\";s:2:\\\"33\\\";s:8:\\\"taxonomy\\\";s:8:\\\"category\\\";s:11:\\\"description\\\";s:0:\\\"\\\";s:6:\\\"parent\\\";s:1:\\\"0\\\n\";s:5:\\\"count\\\";s:3:\\\"162\\\";}\" \"nx\" \n115454545.505590 [0 127.0.0.1:12368] \"mget\" \"abcdefg:term_meta:33\" \n115454545.505783 [0 127.0.0.1:12368] \"set\" \"abcdefg:terms:get_terms-6e1d53aea9493791c55e9de090e28339-0.44432000 1626006946\" \"a:1:{i:0;o:8:\\\"stdclass\\\":9:{s:7:\\\"te\nrm_id\\\";s:2:\\\"33\\\";s:4:\\\"name\\\";s:10:\\\"nas\\\";s:4:\\\"slug\\\";s:10:\\\"cat\\\";s:10:\\\"term_group\\\";s:1:\\\"0\\\";s:16:\\\"term_taxonomy_id\\\";s:2:\\\"33\\\";s:8:\\\"taxonomy\\\"\n;s:8:\\\"category\\\";s:11:\\\"description\\\";s:0:\\\"\\\";s:6:\\\"parent\\\";s:1:\\\"0\\\";s:5:\\\"count\\\";s:3:\\\"162\\\";}}\" \"ex\" \"86400\" \"nx\" \n115454545.506041 [0 127.0.0.1:12368] \"set\" \"abcdefg:category_relationships:4892\" \"a:1:{i:0;i:33;}\" \"nx\" \n115454545.506230 [0 127.0.0.1:12368] \"get\" \"abcdefg:post_tag_relationships:4892\" \n115454545.506500 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:get_terms-1b6ab1c307b19f0c438ecd2794aff698-0.44432000 1626006946\" \n115454545.507805 [0 127.0.0.1:12368] \"set\" \"abcdefg:terms:get_terms-1b6ab1c307b19f0c438ecd2794aff698-0.44432000 1626006946\" \"a:0:{}\" \"ex\" \"86400\" \"nx\" \n115454545.507999 [0 127.0.0.1:12368] \"set\" \"abcdefg:post_tag_relationships:4892\" \"a:0:{}\" \"nx\" \n115454545.523354 [0 127.0.0.1:12386] \"get\" \"abcdefg:transient:jetpack_file_data_9.9\" \n115454545.525892 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:perfmatters_version\" \n115454545.534638 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:5925\" \n115454545.535679 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:loginpress_hidelogin\" \n115454545.541282 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:get_pages-070af02634fc362c1dcc5616bee98a48-0.48068700 1626006946\" \n115454545.544924 [0 127.0.0.1:12368] \"set\" \"abcdefg:posts:get_pages-070af02634fc362c1dcc5616bee98a48-0.48068700 1626006946\" \"a:0:{}\" \n^c \n[0]:ask$ \n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/6) thanks. let's do it a simpler way. disable redis on the wordpress install then run\n\n\n`redis-cli flushall` from the cli. this will truncate the redis database. then run\n\n\n`redis-cli monitor` with only flarum running\n\n\ndo you see any activity ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/7) thats really a good idea sir\n\n\ni have disabled the redis plugin in wp root\n\n\nand when i run flush all and monitor it was black for a while, so i opened my flarum in private windows its showing some lines i think its seems to be working.\n\n\n\n```\nwecw\\\";s:6:\\\"_flash\\\";a:2:{s:3:\\\"old\\\";a:0:{}s:3:\\\"new\\\";a:0:{}}}\\\";\" \n1694.157636 [3 127.0.0.1:33612] \"setex\" \"yadsfsdfdsfsdfrmlkhyvohn9rt8lp\" \"7200\" \"s:118:\\\"a:2:{s:6:\\\"_token\\\";s:40:\\\"kigxddfdsfasjbxvs7puw\nwecw\\\";s:6:\\\"_flash\\\";a:2:{s:3:\\\"old\\\";a:0:{}s:3:\\\"new\\\";a:0:{}}}\\\";\" \n1694.278286 [0 127.0.0.1:33758] \"select\" \"3\" \n1694.278850 [3 127.0.0.1:33758] \"get\" \"yadsfsdfdsfsdfrmlkhyvohn9rt8lp\" \n1694.431113 [0 127.0.0.1:33762] \"select\" \"3\" \n```\n\n", "name": "", "is_accepted": false }, { "text": "now i have enabled wp redis at root.\n\n\ni think both are working .. unable to select best answer. do mark this as solved.\n\n\nthanks to metabullet.com ❤❤\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/8) yes. for a better idea, clear the flarum cache and reload the forum. you can also check `storage/cache` - you should find that no new entries are in there as redis has assumed control over the cache.\n\n\nyou should 100% split wordpress and flarum so they don't use the same database.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/10) yes, wordpress uses 0 number db and flarum uses 1 & 2.\n\n\ni have cleared cache files by running flarum clear cache\n\n\nafter fresh reload i still see cache files in storage is it happening since i am not using redis for queue?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/11) are they old files, or new ? can you also confirm you are using `blomstra/flarum-redis` ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/12) yes i am using blomstra/flarum-redis . they are newly created files after the clear cache.\n\n\n![](https://metabullet.com/assets/files/2021-07-12/1626076533-405485-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/13) hmm... i'm not entirely convinced this is working as expected. if it were, then there should be no new files in the cache directory as that is being handled by redis.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/14) shall i wait for the new gb redis setup extension, ian sir said it will be updated in a couple of days. (he might be got stuck with another work)\n\n\nor there is any other way to handle this?\n\n\nas of now cpu usage and ram everything is low, shall i just continue with current settings?\n\n\n-\n\n\nthanks a lot for the extended help & support 👍\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/15) is there any reason as to why you aren't using cloudflare (i assume) to speed up your website ? redis is a cache, yes, but it's not a cdn or edge device like cf is, and won't make much difference to the overall speed.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/16) we are using cloudflare since 2017 😀 and cloudways has a built-in cdn addon too .. how can we apply cdn url to flarum? i'm using fof upload* with imgur.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/17) if you are using cloudflare, then i don't understand why you need redis ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/18) i don't know, i thought redis is just like wp total cache. 🙆\n\n\nso i don't need flarum recache too?\n\n\ni don't need any cache plugins and extensions too?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/19) if you're using cloudflare, then no. unless your host is underpowered. are things that slow?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/20)\n\n\nroot > cloudflare + redis + wordpress working awsome\n\n\nwithout redis wordpress is not working as expected - after enabling redis with wp my positions got improved\n\n\nsubdirectory > cloudflare + redis + flarum = actually don't know its working or not but i will uninstall bloomantra during the next flarum update\n\n\ni don't think i need redis for flarum.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/21) i don't think you need redis for wordpress either. ask [@justoverclock](https://metabullet.com/u/justoverclock) about what i did to improve justoverclock.it 😃\n\n", "name": "", "is_accepted": false }, { "text": "[unknown] please also tell me what you did?\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/721/23) all you have to do is [search](https://metabullet.com/d/79-increase-wordpress-speed/20)\n\n", "name": "", "is_accepted": false } ]
6930abc07044458d622e6b118100e380
here i am with another question, because i just want to learn ho to do stuff by myself :) this is my website, and my question is: is possible to change header of my theme, using a simple hero header with a simple navbar? to do that i need to work on header.php? (what happen if i replace this file with my own html and css hero header?)
change header on wordpress theme
metabullet.com
2021.43
[ { "text": "[justoverclock](https://metabullet.com/d/82/1) this is certainly possible - probably with the elementor site builder you have. have you looked there ? it should be possible to set a global header that works across the site.\n\n ", "name": "", "is_accepted": false }, { "text": "yes probably, but i want to use a simple html/css across all site, what if i write an header and navbar, and paste the code into header.php? it will works?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/82/3) much of this depends on the theme your are using. in most cases, you can create a child theme and modify the header.php file from there. essentially, you'll be creating a template from this file which would then be used globally across the site itself.\n\n ", "name": "", "is_accepted": false } ]
09b85fb8477981ee44561c9fa7e27d10
<https://docs.flarum.org/install.html#url-rewriting> i am in this doc now, i have excuted `composer create-project flarum/flarum .` in my domain root and also moved public folder files to public\_html the .htaccess file has rewrite engine on where do i need to update this line? ![](//cdn.metabullet.com/assets/files/2021-08-06/1628257419-171570-image.png) ![](//cdn.metabullet.com/assets/files/2021-08-06/1628257542-599944-image.png) > add the following to your server's configuration block: > > `include /path/to/flarum/.nginx.conf;` where?
how do i configure nginx for flarum?
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/764/1) .htaccess is for apache2 - disregard this, as you are using nginx. you need to add the flarum configuration file inside the `server` block, so something like this (obviously modify your paths to suit\n\n\n\n```\nserver {\n\tserver_name domain.com www.domain.com;\n\tlisten x.x.x.x;\n\troot /home/domain/flarum/public;\n include /home/domain/flarum/.nginx.conf;\n```\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/2) so i need to delete .htacess from www folder? (i have moved the contents of the public folder to www it has htacess file too)\n\n\nwhat is mean by block? is it a folder?\n\n\nor i need to add those lines* in this file?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628257862-541403-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/3)\n\n\n\n> [hari](https://metabullet.com/d/764/3) what is mean by block? is it a folder?\n> \n> \n\n\nno. the `server` block will be located in webmin->servers->nginx web server->edit configuration files then from the drop-down list, choose the `.nginx.conf` file for your site\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/764/3) so i need to delete .htacess from www folder? (i have moved the contents of the public folder to www it has htacess file too)\n> \n> \n\n\nno - leave that as it. it just won't be used.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/4) am i correctly doing it? listen supposed to be xxxx?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628258467-430720-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/6) no. it's supposed to be the ip address you have. i only used x.x.x.x to remove attrubution.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/7) am i missing anything?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628258885-191457-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/8) yes, it looks like you've tried to add another server block - can you post what you have ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/9)\n\n\n\n```\nuser www-data;\nworker_processes auto;\npid /run/nginx.pid;\ninclude /etc/nginx/modules-enabled/*.conf;\n\nevents {\n\tworker_connections 768;\n\t# multi_accept on;\n}\n\nhttp {\n\n\t##\n\t# basic settings\n\t##\n\n\tsendfile on;\n\ttcp_nopush on;\n\ttcp_nodelay on;\n\tkeepalive_timeout 65;\n\ttypes_hash_max_size 2048;\n\t# server_tokens off;\n\n\t# server_names_hash_bucket_size 64;\n\t# server_name_in_redirect off;\n\n\tinclude /etc/nginx/mime.types;\n\tdefault_type application/octet-stream;\n\n\t##\n\t# ssl settings\n\t##\n\n\tssl_protocols tlsv1 tlsv1.1 tlsv1.2 tlsv1.3; # dropping sslv3, ref: poodle\n\tssl_prefer_server_ciphers on;\n\n\t##\n\t# logging settings\n\t##\n\n\taccess_log /var/log/nginx/access.log;\n\terror_log /var/log/nginx/error.log;\n\n\t##\n\t# gzip settings\n\t##\n\n\tgzip on;\n\n\t# gzip_vary on;\n\t# gzip_proxied any;\n\t# gzip_comp_level 6;\n\t# gzip_buffers 16 8k;\n\t# gzip_http_version 1.1;\n\t# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;\n\n\t##\n\t# virtual host configs\n\t##\n\n\tinclude /etc/nginx/conf.d/*.conf;\n\tinclude /etc/nginx/sites-enabled/*;\n\tserver_names_hash_bucket_size 128;\n}\n\n\n#mail {\n#\t# see sample authentication script at:\n#\t# http://wiki.nginx.org/imapauthenticatewithapachephpscript\n# \n#\t# auth_http localhost/auth.php;\n#\t# pop3_capabilities \"top\" \"user\";\n#\t# imap_capabilities \"imap4rev1\" \"uidplus\";\n# \n#\tserver {\n#\t\tlisten localhost:110;\n#\t\tprotocol pop3;\n#\t\tproxy on;\n#\t}\n# \n#\tserver {\n#\t\tlisten localhost:143;\n#\t\tprotocol imap;\n#\t\tproxy on;\n#\t}\n#}\n\nserver {\n\tserver_name rvatest.tk www.rvatest.tk;\n\tlisten 10.20.30.10;\n\troot /home/rvatest/public_html/flarum/public;\n include /home/rvatest/public_html/flarum/.nginx.conf;\n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/10) that's the default conf file. you can't post it there - remove that and save.\n\n\nthen, select the conf file from the drop down list that actually corresponds to the site you want to modify\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628259214-82144-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "also, when editing the existing block\n\n\n\n```\nserver {\n\tserver_name rvatest.tk www.rvatest.tk;\n\tlisten 10.20.30.10;\n\troot /home/rvatest/public_html/flarum/public;\n include /home/rvatest/public_html/flarum/.nginx.conf;\n```\n\nyou do not need `server {` as you will use what is already there. in your case, you are simply adding\n\n\n\n```\ninclude /home/rvatest/public_html/flarum/.nginx.conf;\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/12)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628260296-219578-image.png)\n\n\n\n```\n\nserver {\n\tserver_name rvatest.tk www.rvatest.tk;\n\tlisten 10.20.30.10;\n\troot /home/rvatest/public_html;\n\troot /home/rvatest/public_html/flarum/public;\n include /home/rvatest/public_html/flarum/.nginx.conf;\n\tindex index.php index.htm index.html;\n\taccess_log /var/log/virtualmin/rvatest.tk_access_log;\n\terror_log /var/log/virtualmin/rvatest.tk_error_log;\n\tfastcgi_param gateway_interface cgi/1.1;\n\tfastcgi_param server_software nginx;\n\tfastcgi_param query_string $query_string;\n\tfastcgi_param request_method $request_method;\n\tfastcgi_param content_type $content_type;\n\tfastcgi_param content_length $content_length;\n\tfastcgi_param script_filename /home/rvatest/public_html$fastcgi_script_name;\n\tfastcgi_param script_name $fastcgi_script_name;\n\tfastcgi_param request_uri $request_uri;\n\tfastcgi_param document_uri $document_uri;\n\tfastcgi_param document_root /home/rvatest/public_html;\n\tfastcgi_param server_protocol $server_protocol;\n\tfastcgi_param remote_addr $remote_addr;\n\tfastcgi_param remote_port $remote_port;\n\tfastcgi_param server_addr $server_addr;\n\tfastcgi_param server_port $server_port;\n\tfastcgi_param server_name $server_name;\n\tfastcgi_param path_info $fastcgi_path_info;\n\tfastcgi_param https $https;\n\tlocation ~ \\.php(/|$) {\n\t\ttry_files $uri $fastcgi_script_name =404;\n\t\tfastcgi_pass unix:/var/php-nginx/16281600848163.sock/socket;\n\t}\n\tfastcgi_split_path_info ^(.+\\.php)(/.+)$;\n\tlisten 10.10.10.10:443 default ssl;\n\tssl_certificate /home/rvatest/ssl.cert;\n\tssl_certificate_key /home/rvatest/ssl.key;\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/13) remove this line\n\n\n\n```\nroot /home/rvatest/public_html;\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/14) still i am getting the same error\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628264326-403520-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/15) if you look at the error message, it's telling you that the directory path is invalid :)\n\n\nthis is the issue\n\n\n\n```\nroot /home/rvatest/public_html/flarum/public;\ninclude /home/rvatest/public_html/flarum/.nginx.conf;\n```\n\none of these paths is incorrect.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/16) i think i have to move file `.nginx.conf` from public to flarum folder?\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/17) yep :p\n\n\nand change the path to suit in the conf file of course.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/18)\n\n\n\n```\n\troot /home/rvatest/public_html/public;\n include /home/rvatest/public_html/.nginx.conf;\n```\n\njust now realised, there is no flarum folder 😛\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/18) domain is showing 403? i think i need to do something at cf?\n\n\nrvatest[.]tk/\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/20) that's a forbidden message. can you provide the domain's `nginx.conf` file ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/21)\n\n\n\n```\n# pass requests that don't refer directly to files in the filesystem to index.php\nlocation / {\n try_files $uri $uri/ /index.php?$query_string;\n}\n\n# uncomment the following lines if you are not using a `public` directory\n# to prevent sensitive resources from being exposed.\n# location ~* ^/(\\.git|composer\\.(json|lock)|auth\\.json|config\\.php|flarum|storage|vendor) {\n# deny all;\n# return 404;\n# }\n\n# the following directives are based on best practices from h5bp nginx server configs\n# https://github.com/h5bp/server-configs-nginx\n\n# expire rules for static content\nlocation ~* \\.(?:manifest|appcache|html?|xml|json)$ {\n add_header cache-control \"max-age=0\";\n}\n\nlocation ~* \\.(?:rss|atom)$ {\n add_header cache-control \"max-age=3600\";\n}\n\nlocation ~* \\.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {\n add_header cache-control \"max-age=2592000\";\n access_log off;\n}\n\nlocation ~* \\.(?:css|js)$ {\n add_header cache-control \"max-age=31536000\";\n access_log off;\n}\n\nlocation ~* \\.(?:ttf|ttc|otf|eot|woff|woff2)$ {\n add_header cache-control \"max-age=2592000\";\n access_log off;\n}\n\n# gzip compression\ngzip on;\ngzip_comp_level 5;\ngzip_min_length 256;\ngzip_proxied any;\ngzip_vary on;\ngzip_types\n application/atom+xml\n application/javascript\n application/json\n application/ld+json\n application/manifest+json\n application/rss+xml\n application/vnd.geo+json\n application/vnd.ms-fontobject\n application/x-font-ttf\n application/x-web-app-manifest+json\n application/xhtml+xml\n application/xml\n font/opentype\n image/bmp\n image/svg+xml\n image/x-icon\n text/cache-manifest\n text/css\n text/plain\n text/vcard\n text/vnd.rim.location.xloc\n text/vtt\n text/x-component\n text/x-cross-domain-policy;\n```\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628266233-47128-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/22) that is the flarum nginx.conf file. i need the one for the domain itself (where you included the flarum nginx.conf file)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/23) i have deleted virtualmin html file from public\\_html to make folder empty for flarum\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628267267-726078-image.png)\n\n\n\n```\nuser www-data;\nworker_processes auto;\npid /run/nginx.pid;\ninclude /etc/nginx/modules-enabled/*.conf;\n\nevents {\n\tworker_connections 768;\n\t# multi_accept on;\n}\n\nhttp {\n\n\t##\n\t# basic settings\n\t##\n\n\tsendfile on;\n\ttcp_nopush on;\n\ttcp_nodelay on;\n\tkeepalive_timeout 65;\n\ttypes_hash_max_size 2048;\n\t# server_tokens off;\n\n\t# server_names_hash_bucket_size 64;\n\t# server_name_in_redirect off;\n\n\tinclude /etc/nginx/mime.types;\n\tdefault_type application/octet-stream;\n\n\t##\n\t# ssl settings\n\t##\n\n\tssl_protocols tlsv1 tlsv1.1 tlsv1.2 tlsv1.3; # dropping sslv3, ref: poodle\n\tssl_prefer_server_ciphers on;\n\n\t##\n\t# logging settings\n\t##\n\n\taccess_log /var/log/nginx/access.log;\n\terror_log /var/log/nginx/error.log;\n\n\t##\n\t# gzip settings\n\t##\n\n\tgzip on;\n\n\t# gzip_vary on;\n\t# gzip_proxied any;\n\t# gzip_comp_level 6;\n\t# gzip_buffers 16 8k;\n\t# gzip_http_version 1.1;\n\t# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;\n\n\t##\n\t# virtual host configs\n\t##\n\n\tinclude /etc/nginx/conf.d/*.conf;\n\tinclude /etc/nginx/sites-enabled/*;\n\tserver_names_hash_bucket_size 128;\n}\n\n\n#mail {\n#\t# see sample authentication script at:\n#\t# http://wiki.nginx.org/imapauthenticatewithapachephpscript\n# \n#\t# auth_http localhost/auth.php;\n#\t# pop3_capabilities \"top\" \"user\";\n#\t# imap_capabilities \"imap4rev1\" \"uidplus\";\n# \n#\tserver {\n#\t\tlisten localhost:110;\n#\t\tprotocol pop3;\n#\t\tproxy on;\n#\t}\n# \n#\tserver {\n#\t\tlisten localhost:143;\n#\t\tprotocol imap;\n#\t\tproxy on;\n#\t}\n#}\n```\n\n\n\n---\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628267326-721602-image.png)\n\n\n\n```\n\n# pass requests that don't refer directly to files in the filesystem to index.php\nlocation / {\n try_files $uri $uri/ /index.php?$query_string;\n}\n\n# uncomment the following lines if you are not using a `public` directory\n# to prevent sensitive resources from being exposed.\n# location ~* ^/(\\.git|composer\\.(json|lock)|auth\\.json|config\\.php|flarum|storage|vendor) {\n# deny all;\n# return 404;\n# }\n\n# the following directives are based on best practices from h5bp nginx server configs\n# https://github.com/h5bp/server-configs-nginx\n\n# expire rules for static content\nlocation ~* \\.(?:manifest|appcache|html?|xml|json)$ {\n add_header cache-control \"max-age=0\";\n}\n\nlocation ~* \\.(?:rss|atom)$ {\n add_header cache-control \"max-age=3600\";\n}\n\nlocation ~* \\.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {\n add_header cache-control \"max-age=2592000\";\n access_log off;\n}\n\nlocation ~* \\.(?:css|js)$ {\n add_header cache-control \"max-age=31536000\";\n access_log off;\n}\n\nlocation ~* \\.(?:ttf|ttc|otf|eot|woff|woff2)$ {\n add_header cache-control \"max-age=2592000\";\n access_log off;\n}\n\n# gzip compression\ngzip on;\ngzip_comp_level 5;\ngzip_min_length 256;\ngzip_proxied any;\ngzip_vary on;\ngzip_types\n application/atom+xml\n application/javascript\n application/json\n application/ld+json\n application/manifest+json\n application/rss+xml\n application/vnd.geo+json\n application/vnd.ms-fontobject\n application/x-font-ttf\n application/x-web-app-manifest+json\n application/xhtml+xml\n application/xml\n font/opentype\n image/bmp\n image/svg+xml\n image/x-icon\n text/cache-manifest\n text/css\n text/plain\n text/vcard\n text/vnd.rim.location.xloc\n text/vtt\n text/x-component\n text/x-cross-domain-policy;\n```\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/764/24) can you contact me on discord - i'll need to login to the virtualmin server to see what's happening here.\n\n", "name": "", "is_accepted": false }, { "text": "after checking the server directly (info provided via discord), it seems that several php extensions are missing - most notably, curl. installed\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628269826-353542-image.png)\n\n\nthe vendor directory is also somehow missing. reinstated with `composer install` in flarum root\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628269884-65283-image.png)\n\n\nthe `nginx.conf` file needed to be adjusted to point to to the correct paths\n\n\n\n```\nserver {\n\tserver_name rvatest.tk www.rvatest.tk;\n\tlisten x.x.x.x;\t\n\troot /home/rvatest/public_html/public;\n include /home/rvatest/public_html/.nginx.conf;\n\tindex index.php index.htm index.html;\n\taccess_log /var/log/virtualmin/rvatest.tk_access_log;\n\terror_log /var/log/virtualmin/rvatest.tk_error_log;\n\tfastcgi_param gateway_interface cgi/1.1;\n\tfastcgi_param server_software nginx;\n\tfastcgi_param query_string $query_string;\n\tfastcgi_param request_method $request_method;\n\tfastcgi_param content_type $content_type;\n\tfastcgi_param content_length $content_length;\n\tfastcgi_param script_filename /home/rvatest/public_html/public$fastcgi_script_name;\n\tfastcgi_param script_name $fastcgi_script_name;\n\tfastcgi_param request_uri $request_uri;\n\tfastcgi_param document_uri $document_uri;\n\tfastcgi_param document_root /home/rvatest/public_html/public;\n\tfastcgi_param server_protocol $server_protocol;\n\tfastcgi_param remote_addr $remote_addr;\n\tfastcgi_param remote_port $remote_port;\n\tfastcgi_param server_addr $server_addr;\n\tfastcgi_param server_port $server_port;\n\tfastcgi_param server_name $server_name;\n\tfastcgi_param path_info $fastcgi_path_info;\n\tfastcgi_param https $https;\n\tlocation ~ \\.php(/|$) {\n\t\ttry_files $uri $fastcgi_script_name =404;\n\t\tfastcgi_pass localhost:8000;\n\t}\n\tfastcgi_split_path_info ^(.+\\.php)(/.+)$;\n\tlisten 159.65.145.68:443 default ssl;\n\tssl_certificate /home/rvatest/ssl.cert;\n\tssl_certificate_key /home/rvatest/ssl.key;\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "flarum is now functional on this host. marking as resolved.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/764/27) thanks a lot for the extended support ❤️❤️🙏\n\n", "name": "", "is_accepted": false } ]
8c0cca1fa0c7f7eff241eebc26924466
hi, is it possible to send the first topic post to your twitter account? thanks.
new posts to twitter? (flarum)
metabullet.com
2021.43
[ { "text": "[jac](https://metabullet.com/d/61/1) automated, or manual ? if manual, you can use `fof/share-social` as this will allow you to post to twitter.\n\n\nif you're looking for something automated, then this is also possible, but would either require an extension, or perhaps a script to execute.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/61/2) id be looking for automated if possible yes.\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/61/3) this is possible, yes. however, there are some small nuances in the sense that the script i have currently auto posts directly for the feed items it receives. it doesn't tweet the first post of every thread for example.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/61/4) it's not 100% necessary for now it would be a nice feature to have, but as flarum progresses it's possible someone will release an extension.\n\n\nautomated is preferred but for now i can just tweet the ones i wish to via social share as you suggested above 👍🏻\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/61/5) just circling back here to let you know that version 2 of my rss parser script now includes the ability to automatically tweet the post itself. subsequent tweets can be completed using the `fof/share-social` extension manually.\n\n\nedit - here's the link <https://metabullet.com/blog/78-creating-posts-from-rss-feeds-in-flarum>\n\n", "name": "", "is_accepted": false } ]
65992293ae46f31476e18428a26798fd
hi, looking to take a databse backup in plesk as i've read it's easier/quicker that way than using the backup console in ionos? thanks :)
how to take databse backups within plesk
metabullet.com
2021.43
[ { "text": "[jac](https://metabullet.com/d/41/1) follow these steps\n\n\nlogin to plesk \n\nopen the domain you want to focus on, then file manager \n\ninside the file manager, navigate to the root of the domain tree - not `httpdocs` as we do not want this script to be executable or even visible to the web server\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579505-751967-image.png)\n\n\ncreate a new directory called \"backups\"\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579546-701412-image.png)\n\n\nnow create a new file, and call it `backup.sh`\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579597-855432-image.png)\n\n\ncopy and paste the below code into the file editor\n\n\n\n```\n#!/bin/bash\ntoday=`date '+%y-%m-%d-%h-%m-%s'`;\ncd /var/www/vhosts/countyfans.com/backups/database && /usr/sbin/plesk db -e \"show databases\" | grep -v -e \"^database|information_schema|performance_schema|phpmyadmin\" > dblist.txt\ncat /var/www/vhosts/countyfans.com/backups/database/dblist.txt | while read i; do /usr/sbin/plesk db dump \"$i\" > /var/www/vhosts/countyfans.com/backups/database/\"$i\"-\"$today\".sql; done\n```\n\nsave the file\n\n\nnow go to the scheduled tasks (cron jobs) menu\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579913-368662-image.png)\n\n\ncreate a new scheduled task as shown below\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611580008-737931-image.png)\n\n\nthe command needs to be `sh /var/www/vhosts/countyfans.com/backup.sh`\n\n\nclick save\n\n\nopen the scheduled task you've just created, and click run now\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611580072-725086-image.png)\n\n\ngo back to to the file manager, and navigate to the path you created earlier\n\n\nyou should now see that dumps of each available database have been taken\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611580182-532285-image.png)\n\n\nthe scheduled task will run at 10pm each night. note, that there is no automatic purging of backups past x date, so keep an eye on your storage levels. you also need to ensure that you include this new path in the ionos backup console if you are backing up (and you should be) at \"brick level\" (files and folders).\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/41/2) thank you very much for the great insight and advice.\n\n\nso would you say doing this as oppose to backing the site up via ionos allows you to back up the database or is this something the backup manager in ionos is capable of?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/41/3) so would you say doing this as oppose to backing the site up via ionos allows you to back up the database or is this something the backup manager in ionos is capable of?\n> \n> \n\n\nyes. the ionos backup console has a plugin for microsoft sql, but not one for mysql or mariadb. taking this route enables you to export a flat file backup of the databases per day, and ensure they are included as part of your backup and overall recovery program.\n\n", "name": "", "is_accepted": false } ]
22590457fa8b354475aaf0c4eaa18155
hi, how's your day going? firstly, thanks for providing this platform. i need help with my nginx config file, where i'm learning these stuff now because my server was created by my friend. (currently, where he is inaccessible and that's i'm trying tackle this stuff myself) after getting my site tested on securityheaders.com (the results are below) after i was like let me input these headers into the config file. so i inserted the headers into the config file, after testing it with sudo nginx -t , it showed there was a duplicate, so i removed the headers in inputted and test it again, it showed the same duplicate thing. [![](https://i.ibb.co/rzccnfr/image.png)](https://i.ibb.co/rzccnfr/image.png) so yesterday research for a couple of hours, i had no luck, so that’s i requested help, also when get my site scanned on migratetoflarum it shows the “multiple urls” i assume its a problem with config file. [![](https://i.ibb.co/cjy8snb/image.png)](https://i.ibb.co/cjy8snb/image.png) ``` i assume these are header codes for the security headers add_header x-frame-options sameorigin; add_header x-content-type-options nosniff; add_header referrer-policy "no-referrer"; add_header feature-policy "geolocation none;midi none;notifications none;push none;sync-xhr none;microphone none;camera none;magnetometer none;gyroscope none;speaker self;vibrate none;fullscreen self;payment none;"; ``` and my nginx config file. so i need help fixing the nginx conf file error and add the security headers. ``` user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept on; } } http { ## # basic settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; add_header x-frame-options sameorigin; ## # ssl settings ## ssl_protocols tlsv1.2 tlsv1.3; # dropping sslv3, ref: poodle, tlsv1 tlsv1.1 ssl_prefer_server_ciphers on; ## # logging settings ## access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ## # gzip settings ## gzip on; gzip_vary on; gzip_proxied any; gzip_comp_level 9; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js; gzip_disable "msie [1-6]\.(?!.*sv1)"; ## # virtual host configs ## include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; } #mail { # # see sample authentication script at: # # http://wiki.nginx.org/imapauthenticatewithapachephpscript # # # auth_http localhost/auth.php; # # pop3_capabilities "top" "user"; # # imap_capabilities "imap4rev1" "uidplus"; # # server { # listen localhost:110; # protocol pop3; # proxy on; # } # # server { # listen localhost:143; # protocol imap; # proxy on; # } ```
help with fixing my nginx config.file
metabullet.com
2021.39
[ { "text": "[sallymelek](https://metabullet.com/d/6/1) anything useful from the log file here `/var/log/nginx/error.log` ? also, have to specified the headers in any of the included config files ?\n\n", "name": "", "is_accepted": false }, { "text": "[![](https://media.discordapp.net/attachments/787282233198772244/791624413425827900/unknown.png)](https://media.discordapp.net/attachments/787282233198772244/791624413425827900/unknown.png)\n\n\n[phenomlab](https://metabullet.com/d/6/4)\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/5) start by removing the extra \"{\" from the conf file\n\n\n\n```\nevents {\n worker_connections 768;\n # multi_accept on;\n}\n}\n```\n\nshould be\n\n\n\n```\nevents {\n worker_connections 768;\n # multi_accept on;\n}\n```\n\nsave the config file, then restart nginx\n\n\n", "name": "", "is_accepted": false }, { "text": "thanks but i recieving this after `sudo nginx -t` \n\n[![](https://i.ibb.co/qyt7kw0/image.png)](https://i.ibb.co/qyt7kw0/image.png)\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/7) can you post the content of the above please rather than a screenshot ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/8) im sorry\n\n\n\n```\nnginx: [warn] duplicate mime type \"text/html\" in /etc/nginx/nginx.conf:57\nnginx: [warn] the \"ssl\" directive is deprecated, use the \"listen ... ssl\" directive instead in /etc/nginx/sites-enabled/flarum.conf:52\nnginx: the configuration file /etc/nginx/nginx.conf syntax is ok\nnginx: configuration file /etc/nginx/nginx.conf test is successful\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/9) thanks. this isn't anything that is going to stop nginx from working, but nonetheless, it's referring to the ssl config in your flarum nginx configuration.\n\n\nyou appear to have text/html specified twice in your config. the second entry will be ignored, but you should remove it. are you using a text editor with the conf file that supports line numbers ? this will make it much easier to spot errors as the log file will show the line number where the error occurs.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/10)\n\n\ni normally copy and paste config file to html editor\n\n\nwondering what should i remove?\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/11) can you comment out this line \n\n`gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;`\n\n\nlet me know if the error concerning the duplicate goes away\n\n", "name": "", "is_accepted": false }, { "text": "thanks, the duplicate goes away now, however now there's the \"ssl\" thing\n\n\n[phenomlab](https://metabullet.com/d/6/12)\n\n\n\n```\nroot@forum:~# sudo nano /etc/nginx/nginx.conf\nroot@forum:~# sudo nginx -t\nnginx: [warn] the \"ssl\" directive is deprecated, use the \"listen ... ssl\" directive instead in /etc/nginx/sites-enabled/flarum.conf:52\nnginx: the configuration file /etc/nginx/nginx.conf syntax is ok\nnginx: configuration file /etc/nginx/nginx.conf test is successful\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/13) can you post your flarum conf file ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/14) what do i need do to output the **flarum conf file**\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/15) try `sudo nano /etc/nginx/sites-enabled/flarum.conf`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/16) thanks\n\n\n\n```\nserver {\n\n listen [::]:80;\n listen 80;\n\n server_name forum.blank.net;\n return 301 https://$host$request_uri;\n root /var/www/flarum/public;\n\n index index.php;\n\n location / {\n try_files $uri $uri/ /index.php?$query_string;\n }\n\n location ~* \\.php$ {\n fastcgi_pass unix:/run/php/php7.4-fpm.sock;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n location ~* \\.(jpg|jpeg|png|gif|ico|css|js|woff2)$ {\n expires 365d;\n }\n\n\n}\n\nserver {\n\n listen 443;\n\n server_name forum.blank.net;\n root /var/www/flarum/public;\n\n index index.php;\n\n location / {\n try_files $uri $uri/ /index.php?$query_string;\n }\n\n location ~* \\.php$ {\n fastcgi_pass unix:/run/php/php7.4-fpm.sock;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n\n ssl on;\n ssl_certificate /etc/nginx/ssl/forum_acehsc_net.pem;\n ssl_certificate_key /etc/nginx/ssl/forum_blank_net.key;\n ssl_prefer_server_ciphers on;\n ssl_buffer_size 4k;\n ssl_ecdh_curve auto;\n\n ## ocsp stapling\n ssl_stapling on;\n ssl_stapling_verify on;\n resolver 1.1.1.1 valid=300s;\n resolver_timeout 5s;\n ssl_trusted_certificate /etc/nginx/ssl/forum_blank_net.pem;\n\n ssl_session_cache builtin:1000 shared:ssl:10m;\n ssl_session_timeout 10m;\n ssl_session_tickets off;\n\n add_header strict-transport-security \"max-age=31536000; includesubdomains;\";\n add_header content-security-policy \"upgrade-insecure-requests\" always;\n\n ssl_dhparam /etc/nginx/ssl/dhparam-2048.pem;\n\n\n location ~* \\.(jpg|jpeg|png|gif|ico|css|js|woff2)$ {\n expires 365d;\n }\n\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/17) edit your listen statement as below. change\n\n\n`listen 443;` to `listen 443 ssl;`\n\n\ndelete `ssl on;`\n\n\ncheck nginx -t again.\n\n\nlet me know if this works ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/18) many thanks received the \"test is successful\"\n\n\n\n```\nroot@forum:~# sudo nginx -t\nnginx: the configuration file /etc/nginx/nginx.conf syntax is ok\nnginx: configuration file /etc/nginx/nginx.conf test is successful\nroot@forum:~#\n```\n\nalso wondering, im getting the following problem when i run my forum on <https://lab.migratetoflarum.com/>\n\n\n\n> **multiple urls** \n> \n> this flarum is accepting connections via multiple urls which will result in an invalid config.url value being used for some of them. this will also impact your search engine ranking by creating duplicate content. setup redirects so only the url defined in your config.php (<https://forum.blank.net>) can be used to access the forum to fix it.\n> \n> \n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/19) looks like it's responding on both www and non-www connections. can you post the output of\n\n\n`curl -i https://yourdomainurl.com` and `curl -i https://www.yourdomainurl.com`\n\n\nobviously, \"yourdomainurl.com\" is the actual url of your forum.\n\n ", "name": "", "is_accepted": false }, { "text": "\n```\nroot@forum:~# ​curl -i https://forum.blank.net\n\ncommand '​curl' not found, did you mean:\n\n command 'curl' from deb curl (7.68.0-1ubuntu2.4)\n\ntry: apt install <deb name>\n\nroot@forum:~# curl -i https://www.forum.blank.net\nhttp/1.1 200 ok\nserver: nginx/1.18.0 (ubuntu)\ndate: mon, 28 dec 2020 21:18:04 gmt\ncontent-type: text/html; charset=utf-8\nconnection: keep-alive\nvary: accept-encoding\nx-csrf-token: yiuquaafcu3mjzwebe86bvlytnxba2ko0yvihqua\nset-cookie: flarum_session=61rvjoocbfjstmbtma3y02e4vvmwmw0dojjkmpvf; path=/; exp ires=mon, 28 dec 2020 23:18:04 gmt; max-age=7200; secure; httponly; samesite=lax\nstrict-transport-security: max-age=31536000; includesubdomains;\ncontent-security-policy: upgrade-insecure-requests\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/23) and the non-www ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/24) sorry about that i thought i attached it\n\n\n\n```\nroot@forum:~# curl -i https://forum.blank.net\nhttp/1.1 200 ok\nserver: nginx/1.18.0 (ubuntu)\ndate: tue, 29 dec 2020 00:08:40 gmt\ncontent-type: text/html; charset=utf-8\nconnection: keep-alive\nvary: accept-encoding\nx-csrf-token: pjwdodyakguhnzxjkyt7mouphf3q2ikmvqmsvxgn\nset-cookie: flarum_session=8kd9dmrgrujfyky82mawne9xkom8kbbgh9kyvumc; path=/; expires=tue, 29 dec 2020 02:08:40 gmt; max-age=7200; secure; httponly; samesite=lax\nstrict-transport-security: max-age=31536000; includesubdomains;\ncontent-security-policy: upgrade-insecure-requests\n```\n\n", "name": "", "is_accepted": false }, { "text": "ok. the issue here is that your forum is responding to both www and non-www. the main problem with this is that the forum's assets won't be loaded correctly when using a url that is different to that contained in config.php.\n\n\nto work around this, you'll need to create a 301 redirect that sends traffic destined for the www address to the non-www. do you need help creating this ?\n\n ", "name": "", "is_accepted": false }, { "text": "firstly i would like to appreciate your time for helping a newbie out.\n\n\nyes, how could i resolve this issue?\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/27) this should help. essentially, you'll need to replace the listen 80 block you have with this\n\n\n\n```\nserver {\n\tserver_name yourdomain.com www.yourdomain.com;\n\tlisten <ip address>:80;\n rewrite ^/(.*) https://yourdomain.com/$1 permanent;\n\taccess_log /var/log/yourdomain.com_access_log;\n\terror_log /var/log/yourdomain.com_error_log;\n\tif ($scheme = http) {\n\t\trewrite ^/(?!.well-known)(.*) https://yourdomain.com/$1 break;\n\t}\n}\n```\n\nyou'll also need to define the `access_log` and `error_log` locations as the ones shown above are an example only.\n\n\nessentially, this will force all non https traffic on either non-www or www into <https://yourdomain.com>\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/28) once again thank you very much.\n\n\nokay i get it but also confused at the same time\n\n\n1. how do i add this snippet to `flarum conf file` or `nginx config.file` ?\n2. what do you mean with `you’ll need to replace the listen 80 block you have with this` i see that i need to replace <ip address> with the server's ip address how about the `80` value?\n\n\nis the following the `access_log` and `error_log` location?\n\n\n\n> [sallymelek](https://metabullet.com/d/6/1) \n> \n> access\\_log /var/log/nginx/access.log; \n> \n> error\\_log /var/log/nginx/error.log;\n> \n> \n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/6/29) how do i add this snippet to flarum conf file or nginx config.file ?\n> \n> \n\n\nyou should be able to add this into the server block in your nginx conf file.\n\n\nfor #2, if you have an existing server block for 80, you'll need to replace it with the one i suggested\n\n\nfor #3, you need to include those locations in replacement for those i placed in the sample block\n\n\nlet me know if you get stuck 😁\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/30)\n\n\nsorry i'm still stuck\n\n\n#2. currently, there isn't any server block for 80 in the nginx conf file. so i'm going add it on the bottom on nginx conf file. \n\n#3 where do i find those locations. in my current server, there's just the flarum forum running that's it.\n\n\ntried adding the snippet to the nginx config\n\n\nreceived the following error\n\n\n\n```\nroot@forum:~# sudo nginx -t\nnginx: [emerg] \"server\" directive is not allowed here in /etc/nginx/nginx.conf:77\nnginx: configuration file /etc/nginx/nginx.conf test failed\n```\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/6/31) #2. currently, there isn’t any server block for 80 in the nginx conf file. so i’m going add it on the bottom on nginx conf file.\n> \n> \n\n\nyes, this is fine. i don't expect any issues here.\n\n\n\n> [sallymelek](https://metabullet.com/d/6/31) #3. where do i find those locations. in my current server, there’s just the flarum forum running that’s it.\n> \n> \n\n\naren't these the log locations you provided to me ?\n\n\n\n> [sallymelek](https://metabullet.com/d/6/31) received the following error\n> \n> \n\n\nsend me the \"incorrect\" version of the config file - i'll need to see where you've placed the new code.\n\n\nthanks\n\n\n", "name": "", "is_accepted": false }, { "text": "\n\n```\n gnu nano 4.8 /etc/nginx/nginx.conf modified\nuser www-data;\nworker_processes auto;\npid /run/nginx.pid;\ninclude /etc/nginx/modules-enabled/*.conf;\n\nevents {\n worker_connections 768;\n # multi_accept on;}\n}\nhttp {\n\n ##\n # basic settings\n ##\n\n sendfile on;\n tcp_nopush on;\n tcp_nodelay on;\n keepalive_timeout 65;\n types_hash_max_size 2048;\n # server_tokens off;\n\n # server_names_hash_bucket_size 64;\n # server_name_in_redirect off;\n\n include /etc/nginx/mime.types;\n default_type application/octet-stream;\n\n\n add_header x-frame-options \"sameorigin\" always;\n add_header x-xss-protection \"1; mode=block\";\n add_header x-download-options \"noopen\" always;\n add_header x-content-type-options \"nosniff\" always;\n add_header content-security-policy \"upgrade-insecure-requests\" always;\n add_header referrer-policy 'no-referrer' always;\n add_header permissions-policy 'geolocation=(self \"https://forum.acehsc.net\"), microphone=()' always;\n add_header x-powered-by \"coffee... lots of it\" always;\n add_header access-control-allow-origin \"https://forum.blank.net\" always;\n add_header x-permitted-cross-domain-policies \"none\" always;\n add_header strict-transport-security \"max-age=63072000; includesubdomains;\" always;\n\n ##\n # ssl settings\n ##\n\n ssl_protocols tlsv1.2 tlsv1.3; # dropping sslv3, ref: poodle, tlsv1 tlsv1.1\n ssl_prefer_server_ciphers on;\n\n\n # logging settings\n ##\n\n access_log /var/log/nginx/access.log;\n error_log /var/log/nginx/error.log;\n\n ##\n # gzip settings\n ##\n\n gzip on;\n\n gzip_vary on;\n gzip_proxied any;\n gzip_comp_level 9;\n gzip_buffers 16 8k;\n gzip_http_version 1.1;\n gzip_disable \"msie [1-6]\\.(?!.*sv1)\";\n\n ##\n # virtual host configs\n ##\n\n include /etc/nginx/conf.d/*.conf;\n include /etc/nginx/sites-enabled/*;\n}\n\nserver {\n server_name forum.blank.net www.forum.blank.net;\n listen <45.46.338.545>:80;\n rewrite ^/(.*) https://forum.blank.net/$1 permanent;\n access_log /var/log/forum.blank.net_log;\n error_log /var/log/forum.blank.net_error_log;\n if ($scheme = http) {\n rewrite ^/(?!.well-known)(.*) https://forum.blank.net/$1 break;\n }\n}\n\n#mail {\n# # see sample authentication script at:\n# # http://wiki.nginx.org/imapauthenticatewithapachephpscript\n#\n# # auth_http localhost/auth.php;\n# # pop3_capabilities \"top\" \"user\";\n# # imap_capabilities \"imap4rev1\" \"uidplus\";\n#\n# server {\n# listen localhost:110;\n# protocol pop3;\n# proxy on;\n# }\n#\n# server {\n# listen localhost:143;\n# protocol imap;\n# proxy on;\n# }\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/33) thanks. this makes sense. the problem is that you are already including other nginx.conf files (see `include /etc/nginx/conf.d/*.conf;` for example) that probably already have the server block defined. it's going to be a case of adding the below block to one of the config files that already has this defined.\n\n\n\n```\nserver {\n server_name forum.blank.net www.forum.blank.net;\n listen <45.46.338.545>:80;\n rewrite ^/(.*) https://forum.blank.net/$1 permanent;\n access_log /var/log/forum.blank.net_log;\n error_log /var/log/forum.blank.net_error_log;\n if ($scheme = http) {\n rewrite ^/(?!.well-known)(.*) https://forum.blank.net/$1 break;\n }\n}\n```\n\nif you look inside the path of `/etc/nginx/conf.d/`, you'll probably see other config files - for example, `nginx.conf`, and you should be able to add that block there.\n\n\nlet me know how you get on.\n\n\n", "name": "", "is_accepted": false }, { "text": "i checked inside of the paths \n\n`/etc/nginx/conf.d/`\n\n\n`include /etc/nginx/conf.d/*.conf;`\n\n\nthese are both empty\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/35) i think it's in the path we referenced here \n\n<https://metabullet.com/d/6-help-with-fixing-my-nginx-configfile/16>\n\n\nso, you'll replace this\n\n\n\n```\nserver {\n\n listen [::]:80;\n listen 80;\n\n server_name forum.blank.net;\n return 301 https://$host$request_uri;\n root /var/www/flarum/public;\n\n index index.php;\n\n location / {\n try_files $uri $uri/ /index.php?$query_string;\n }\n\n location ~* \\.php$ {\n fastcgi_pass unix:/run/php/php7.4-fpm.sock;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n location ~* \\.(jpg|jpeg|png|gif|ico|css|js|woff2)$ {\n expires 365d;\n }\n\n\n}\n```\n\nwith this\n\n\n\n```\nserver {\n\tserver_name yourdomain.com www.yourdomain.com;\n\tlisten <ip address>:80;\n rewrite ^/(.*) https://yourdomain.com/$1 permanent;\n\taccess_log /var/log/yourdomain.com_access_log;\n\terror_log /var/log/yourdomain.com_error_log;\n\tif ($scheme = http) {\n\t\trewrite ^/(?!.well-known)(.*) https://yourdomain.com/$1 break;\n\t}\n}\n```\n\ndoes that make sense ?\n\n\n", "name": "", "is_accepted": false }, { "text": "ohhh so meant the `/etc/nginx/sites-enabled/flarum.conf`\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/37) yep :)\n\n", "name": "", "is_accepted": false }, { "text": "for the `listen <ip address>:80;` do i need to replace `<ip address>` with host ip address or leave as `<ip address>` \n\nbecause received the following after replacing `<ip address>` with host ip address\n\n\n\n```\nnginx: [emerg] host not found in \"<45.46.338.545>:80\" of the \"listen\" directive in /etc/nginx/sites-enabled/flarum.conf:3\nnginx: configuration file /etc/nginx/nginx.conf test failed\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/39) sorry ! yes - you need to use your ip address. the text of <ip address> is meant to show you where you need to place your own address (without the <>)\n\n", "name": "", "is_accepted": false }, { "text": "thanks for being this annoying.\n\n\nafter inserting the code, ran a test on <https://lab.migratetoflarum.com/>\n\n\nreceiving the same issue [sallymelek](https://metabullet.com/d/6/19)\n\n\nyes i also cleared the cache too\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/41) did you stop and restart the nginx service ? the new config won't apply unless you do that.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/42) \n\noh, i just restarted it without stopping it.\n\n\nlike in `/etc/nginx/sites-enabled/flarum.conf` the ip address is written `(without the <>)`\n\n\nnow i can't start it\n\n\n\n```\nroot@forum:~# sudo service nginx stop\nroot@forum:~# sudo service nginx restart\njob for nginx.service failed because the control process exited with error code.\nsee \"systemctl status nginx.service\" and \"journalctl -xe\" for details.\nroot@forum:~# ^c\nroot@forum:~# systemctl status nginx.service\n● nginx.service - a high performance web server and a reverse proxy server\n loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)\n active: failed (result: exit-code) since thu 2020-12-31 10:23:37 -10; 8s ago\n docs: man:nginx(8)\n process: 268840 execstartpre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/failure)\n\n\ndec 31 10:23:37 forum.acehsc.net systemd[1]: starting a high performance web server and a reverse proxy server...\ndec 31 10:23:37 forum.acehsc.net nginx[268840]: nginx: [emerg] unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\ndec 31 10:23:37 forum.acehsc.net nginx[268840]: nginx: configuration file /etc/nginx/nginx.conf test failed\ndec 31 10:23:37 forum.acehsc.net systemd[1]: nginx.service: control process exited, code=exited, status=1/failure\ndec 31 10:23:37 forum.acehsc.net systemd[1]: nginx.service: failed with result 'exit-code'.\ndec 31 10:23:37 forum.acehsc.net systemd[1]: failed to start a high performance web server and a reverse proxy server.\nroot@forum:~# ^c\nroot@forum:~# sudo nano /etc/nginx/nginx.conf\nroot@forum:~# ^c\nroot@forum:~# sudo nano /etc/nginx/sites-enabled/flarum.conf\nroot@forum:~#\n```\n\n### `/etc/nginx/sites-enabled/flarum.conf`\n\n\n\n```\nserver {\n server_name forum.blank.net www.forum.blank.net;\n listen 45.46.338.545:80;\n rewrite ^/(.*) https://forum.blank.net/$1 permanent;\n access_log /var/log/forum.blank.net_log;\n error_log /var/log/forum.blank.net_error_log;\n if ($scheme = http) {\n rewrite ^/(?!.well-known)(.*) https://forum.blank.net/$1 break;\n }\n}\n\nserver {\n\n listen 443 ssl ;\n\n server_name forum.blank.net;\n root /var/www/flarum/public;\n\n index index.php;\n\n location / {\n try_files $uri $uri/ /index.php?$query_string;\n }\n\n location ~* \\.php$ {\n fastcgi_pass unix:/run/php/php7.4-fpm.sock;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n\n ssl_certificate /etc/nginx/ssl/forum_blank_net.pem;\n ssl_certificate_key /etc/nginx/ssl/forum_blank_net.key;\n ssl_prefer_server_ciphers on;\n ssl_buffer_size 4k;\n ssl_ecdh_curve auto;\n\n ## ocsp stapling\n ssl_stapling on;\n ssl_stapling_verify on;\n resolver 1.1.1.1 valid=300s;\n resolver_timeout 5s;\n ssl_trusted_certificate /etc/nginx/ssl/forum_blank_net.pem;\n\n ssl_session_cache builtin:1000 shared:ssl:10m;\n ssl_session_timeout 10m;\n ssl_session_tickets off;\n\n add_header strict-transport-security \"max-age=31536000; includesubdomains;\";\n add_header content-security-policy \"upgrade-insecure-requests\" always;\n\n ssl_dhparam /etc/nginx/ssl/dhparam-2048.pem;\n\n\n location ~* \\.(jpg|jpeg|png|gif|ico|css|js|woff2)$ {\n expires 365d;\n }\n}\n```\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/43) can you post the output of \n\n`systemctl status nginx.service` ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/44) i already did, check the previous post i done\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/45) sorry. my bad. shouldn't \n\n`listen<45.46.338.545>:80`\n\n\nactually be\n\n\n`listen 45.46.338.545:80` ??\n\n\n😁\n\n", "name": "", "is_accepted": false }, { "text": " it already like that in the `/etc/nginx/sites-enabled/flarum.conf`\n\n\n \n\n\n```\nserver {\n server_name forum.blank.net www.forum.blank.net;\n listen 45.46.338.545:80;\n rewrite ^/(.*) https://forum.blank.net/$1 permanent;\n access_log /var/log/forum.blank.net_log;\n error_log /var/log/forum.blank.net_error_log;\n if ($scheme = http) {\n rewrite ^/(?!.well-known)(.*) https://forum.blank.net/$1 break;\n }\n}\n```\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/47) that config file looks ok - did you restart nginx again ? also, can you post what's in the nginx error log file ?\n\n", "name": "", "is_accepted": false }, { "text": "actually, remove the ip address so the line just reads `listen 80` - does nginx then start ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/49)\n\n\nyou mean like this `listen :80;`\n\n\nedit: change the snippet like this\n\n\n\n```\nserver {\n server_name forum.blank.net www.forum.blank.net;\n listen 80;\n rewrite ^/(.*) https://forum.blank.net/$1 permanent;\n access_log /var/log/forum.blank.net_log;\n error_log /var/log/forum.blank.net_error_log;\n if ($scheme = http) {\n rewrite ^/(?!.well-known)(.*) https://forum.blank.net/$1 break;\n }\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/50) no. as i defined\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/6/50) edit: change the snippet like this\n> \n> \n\n\nyep..\n\n", "name": "", "is_accepted": false }, { "text": "so i meant **changed**\n\n\nthis is the error log\n\n\n\n```\nroot@forum:~# sudo service nginx restart\njob for nginx.service failed because the control process exited with error code.\nsee \"systemctl status nginx.service\" and \"journalctl -xe\" for details.\nroot@forum:~# cat /var/log/nginx/error.log\n2020/12/31 00:26:30 [crit] 250858#250858: *25 ssl_do_handshake() failed (ssl: error:141cf06c:ssl routines:tls_parse_ctos_key_share:bad key share) while ssl handshaking, client: 178.62.106.190, server: 0.0.0.0:443\n2020/12/31 00:51:38 [emerg] 253396#253396: \"server\" directive is not allowed here in /etc/nginx/nginx.conf:97\n2020/12/31 00:51:52 [error] 250858#250858: *26 fastcgi sent in stderr: \"unable to open primary script: /var/www/flarum/public/vendor/phpunit/phpunit/src/util/php/eval-stdin.php (no such file or directory)\" while reading response header from upstream, client: 45.155.205.108, server: forum.blank.net, request: \"get /vendor/phpunit/phpunit/src/util/php/eval-stdin.php http/1.1\", upstream: \"fastcgi://unix:/run/php/php7.4-fpm.sock:\", host: \"45.46.338.545:443\"\n2020/12/31 00:51:53 [error] 250858#250858: *27 fastcgi sent in stderr: \"unable to open primary script: /var/www/flarum/public/vendor/phpunit/phpunit/src/util/php/eval-stdin.php (no such file or directory)\" while reading response header from upstream, client: 45.155.205.108, server: forum.blank.net, request: \"post /vendor/phpunit/phpunit/src/util/php/eval-stdin.php http/1.1\", upstream: \"fastcgi://unix:/run/php/php7.4-fpm.sock:\", host: \"45.46.338.545:443\"\n2020/12/31 03:13:33 [error] 253436#253436: *181 fastcgi sent in stderr: \"unable to open primary script: /var/www/flarum/public/wp-login.php (no such file or directory)\" while reading response header from upstream, client: 54.38.65.127, server: forum.blank.net, request: \"get /wp-login.php http/1.1\", upstream: \"fastcgi://unix:/run/php/php7.4-fpm.sock:\", host: \"forum.blank.net\", referrer: \"http://forum.blank.net/wp-login.php\"\n2020/12/31 03:57:27 [error] 253436#253436: *191 fastcgi sent in stderr: \"unable to open primary script: /var/www/flarum/public/wp-login.php (no such file or directory)\" while reading response header from upstream, client: 35.178.16.1, server: forum.blank.net, request: \"get /wp-login.php http/1.1\", upstream: \"fastcgi://unix:/run/php/php7.4-fpm.sock:\", host: \"forum.blank.net\"\n2020/12/31 07:43:47 [crit] 253436#253436: *248 ssl_do_handshake() failed (ssl: error:141cf06c:ssl routines:tls_parse_ctos_key_share:bad key share) while ssl handshaking, client: 159.65.90.122, server: 0.0.0.0:443\n2020/12/31 08:26:50 [emerg] 265858#265858: \"server\" directive is not allowed here in /etc/nginx/nginx.conf:77\n2020/12/31 08:29:10 [error] 253436#253436: *255 open() \"/var/www/flarum/public/favicon.ico\" failed (2: no such file or directory), client: 175.37.237.46, server: forum.blank.net, request: \"get /favicon.ico http/1.1\", host: \"forum.blank.net\", referrer: \"https://forum.blank.net/p/14-test\"\n2020/12/31 09:30:12 [emerg] 267200#267200: host not found in \"<45.46.338.545>:80\" of the \"listen\" directive in /etc/nginx/sites-enabled/flarum.conf:3\n2020/12/31 10:19:41 [emerg] 268616#268616: unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\n2020/12/31 10:20:26 [emerg] 268647#268647: unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\n2020/12/31 10:23:37 [emerg] 268840#268840: unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\n2020/12/31 10:47:48 [emerg] 269423#269423: unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\n2020/12/31 10:51:17 [emerg] 269519#269519: unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\n2020/12/31 10:54:58 [emerg] 269593#269593: unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\nroot@forum:~#\n```\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/53) and it still doesn't start ? is the ip address correct ? there's an entry in the log that mentions the host cannot be found.\n\n", "name": "", "is_accepted": false }, { "text": "nah it doesnt start\n\n\ni edited out the ip address\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/55) very odd. can you provide the final config so i can review offline ? for the time being, it makes sense to remove the config so your forum can at least function. i want to see if i can replicate this issue in a test environment.\n\n\ncan you also let me know which version of nginx you are running ?\n\n", "name": "", "is_accepted": false }, { "text": "yes, it's odd, i don't understand. i have removed the snippet too and an error still appears after `sudo nginx -t` .\n\n\nim wondering if i provide you with the root details (i sent you a friend request on discord)\n\n\nerror after removing the snippet\n\n\n\n```\nnginx: [emerg] unknown directive \"listen<45.46.338.545>:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\nnginx: configuration file /etc/nginx/nginx.conf test failed\n```\n\nbelow is `/etc/nginx/sites-enabled/flarum.conf`\n\n\n\n```\nserver {\n server_name forum.blank.net www.forum.blank.net;\n listen 80;\n rewrite ^/(.*) https://forum.blank.net/$1 permanent;\n access_log /var/log/forum.blank.net_log;\n error_log /var/log/forum.blank.net_error_log;\n if ($scheme = http) {\n rewrite ^/(?!.well-known)(.*) https://forum.blank.net/$1 break;\n }\n}\n\n\n\nserver {\n\n listen 443 ssl ;\n\n server_name forum.blank.net;\n root /var/www/flarum/public;\n\n index index.php;\n\n location / {\n try_files $uri $uri/ /index.php?$query_string;\n }\n\n location ~* \\.php$ {\n fastcgi_pass unix:/run/php/php7.4-fpm.sock;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n\n ssl_certificate /etc/nginx/ssl/forum_blank_net.pem;\n ssl_certificate_key /etc/nginx/ssl/forum_blank_net.key;\n ssl_prefer_server_ciphers on;\n ssl_buffer_size 4k;\n ssl_ecdh_curve auto;\n\n ## ocsp stapling\n ssl_stapling on;\n ssl_stapling_verify on;\n resolver 1.1.1.1 valid=300s;\n resolver_timeout 5s;\n ssl_trusted_certificate /etc/nginx/ssl/forum_blank_net.pem;\n\n ssl_session_cache builtin:1000 shared:ssl:10m;\n ssl_session_timeout 10m;\n ssl_session_tickets off;\n\n add_header strict-transport-security \"max-age=31536000; includesubdomains;\";\n add_header content-security-policy \"upgrade-insecure-requests\" always;\n\n ssl_dhparam /etc/nginx/ssl/dhparam-2048.pem;\n\n\n location ~* \\.(jpg|jpeg|png|gif|ico|css|js|woff2)$ {\n expires 365d;\n }\n\n}\n```\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/57) i think this might be the way forward. i've accepted the friend request, so feel free to provide the credentials.\n\n ", "name": "", "is_accepted": false }, { "text": "[@sallymelek](https://metabullet.com/u/sallymelek) nginx is now started on your site. the reason for this is that your configuration is actually being taken from `sudo nano /etc/nginx/sites-enabled/flarum.conf.save` and not `sudo nano /etc/nginx/sites-enabled/flarum.conf.` :)\n\n\nthis took me a few attempts to figure out initially - until i read the `systemctl status nginx.service` message\n\n\n\n```\njob for nginx.service failed because the control process exited with error code.\nsee \"systemctl status nginx.service\" and \"journalctl -xe\" for details.\nroot@forum:~# systemctl status nginx.service\nnginx.service - a high performance web server and a reverse proxy server\n loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)\n active: failed (result: exit-code) since fri 2021-01-01 07:46:17 -10; 4s ago\n docs: man:nginx(8)\n process: 297587 execstartpre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/failure)\n\njan 01 07:46:17 forum.acehsc.net systemd[1]: starting a high performance web server and a reverse proxy server...\njan 01 07:46:17 forum.acehsc.net nginx[297587]: nginx: [emerg] unknown directive \"listen:80\" in /etc/nginx/sites-enabled/flarum.conf.save:3\njan 01 07:46:17 forum.acehsc.net nginx[297587]: nginx: configuration file /etc/nginx/nginx.conf test failed\njan 01 07:46:17 forum.acehsc.net systemd[1]: nginx.service: control process exited, code=exited, status=1/failure\njan 01 07:46:17 forum.acehsc.net systemd[1]: nginx.service: failed with result 'exit-code'.\njan 01 07:46:17 forum.acehsc.net systemd[1]: failed to start a high performance web server and a reverse proxy server.\nroot@forum:~# sudo nano /etc/nginx/sites-enabled/flarum.conf.save\nroot@forum:~# sudo service nginx start\nroot@forum:~# \n```\n\nif you look closely, you'll see it references the .save file as the one in use.\n\n\nwhilst i was there, i also sorted your security headers :)\n\n\n![](https://metabullet.com/assets/files/2021-01-01/1609524131-104564-untitled.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "once again thank you very much. you're a lifesaver.\n\n\nlast thing, confused where do i place this snippet? (for fof sitemap)\n\n\n1. `sudo nano /etc/nginx/sites-enabled/flarum.conf.save`\n2. `sudo nano /etc/nginx/sites-enabled/flarum.conf.`\n3. `sudo nginx /etc/nginx/nginx.conf`\n\n\n![](https://metabullet.com/assets/files/2021-01-01/1609532174-437658-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/60) place it in both 1 and 2. it's not needed in the main conf file.\n\n ", "name": "", "is_accepted": false }, { "text": "will do thanks\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/6/61)\n\n\nan error appears when insert the snippet on 1 and 2\n\n\n\n```\nroot@forum:~# sudo nano /etc/nginx/sites-enabled/flarum.conf.save\nroot@forum:~# sudo nginx -t\nnginx: [emerg] \"location\" directive is not allowed here in /etc/nginx/sites-enabled/flarum.conf.save:69\nnginx: configuration file /etc/nginx/nginx.conf test failed\nroot@forum:~# sudo nano /etc/nginx/sites-enabled/flarum.conf.save\nroot@forum:~# sudo nano /etc/nginx/sites-enabled/flarum.conf\nroot@forum:~# sudo nginx -t\nnginx: [emerg] \"location\" directive is not allowed here in /etc/nginx/sites-enabled/flarum.conf:59\nnginx: configuration file /etc/nginx/nginx.conf test failed\nroot@forum:~#\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/63) where are you inserting this ?\n\n", "name": "", "is_accepted": false }, { "text": "`sudo nano /etc/nginx/sites-enabled/flarum.conf.save` \n\n`sudo nano /etc/nginx/sites-enabled/flarum.conf.` \n\nin the bottom of conf file\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/6/65) you should define it so that the sitemap location block is adjacent to the main location block. try something like this\n\n\n\n```\nlocation / {\n\ttry_files $uri $uri/ /index.php?$query_string;\n}\nlocation = /sitemap.xml {\n\ttry_files $uri $uri/ /index.php?$query_string;\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[@sallymelek](https://metabullet.com/u/sallymelek) just circling back on this - did you manage to get the sitemap.xml location working ?\n\n\nedit: just checked the site, and it appears to be working, so i'll mark this as completed :)\n\n", "name": "", "is_accepted": false } ]
0cdede1cc915bf03932ed22c1ac5004a
hi, looking to take a databse backup in plesk as i’ve read it’s easier/quicker that way than using the backup console in ionos? thanks 🙂
how to take databse backups within plesk
metabullet.com
2021.31
[ { "text": "[nodebbfan](https://metabullet.com/d/41/1) follow these steps\n\n\nlogin to plesk \n\nopen the domain you want to focus on, then file manager \n\ninside the file manager, navigate to the root of the domain tree - not `httpdocs` as we do not want this script to be executable or even visible to the web server\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579505-751967-image.png)\n\n\ncreate a new directory called “backups”\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579546-701412-image.png)\n\n\nnow create a new file, and call it `backup.sh`\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579597-855432-image.png)\n\n\ncopy and paste the below code into the file editor\n\n\n\n```\n#!/bin/bash\ntoday=`date '+%y-%m-%d-%h-%m-%s'`;\ncd /var/www/vhosts/countyfans.com/backups/database && /usr/sbin/plesk db -e \"show databases\" | grep -v -e \"^database|information_schema|performance_schema|phpmyadmin\" > dblist.txt\ncat /var/www/vhosts/countyfans.com/backups/database/dblist.txt | while read i; do /usr/sbin/plesk db dump \"$i\" > /var/www/vhosts/countyfans.com/backups/database/\"$i\"-\"$today\".sql; done\n```\n\nsave the file\n\n\nnow go to the scheduled tasks (cron jobs) menu\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611579913-368662-image.png)\n\n\ncreate a new scheduled task as shown below\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611580008-737931-image.png)\n\n\nthe command needs to be `sh /var/www/vhosts/countyfans.com/backup.sh`\n\n\nclick save\n\n\nopen the scheduled task you’ve just created, and click run now\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611580072-725086-image.png)\n\n\ngo back to to the file manager, and navigate to the path you created earlier\n\n\nyou should now see that dumps of each available database have been taken\n\n\n![](https://metabullet.com/assets/files/2021-01-25/1611580182-532285-image.png)\n\n\nthe scheduled task will run at 10pm each night. note, that there is no automatic purging of backups past x date, so keep an eye on your storage levels. you also need to ensure that you include this new path in the ionos backup console if you are backing up (and you should be) at “brick level” (files and folders).\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/41/2) thank you very much for the great insight and advice.\n\n\nso would you say doing this as oppose to backing the site up via ionos allows you to back up the database or is this something the backup manager in ionos is capable of?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [nodebbfan](https://metabullet.com/d/41/3) so would you say doing this as oppose to backing the site up via ionos allows you to back up the database or is this something the backup manager in ionos is capable of?\n> \n> \n\n\nyes. the ionos backup console has a plugin for microsoft sql, but not one for mysql or mariadb. taking this route enables you to export a flat file backup of the databases per day, and ensure they are included as part of your backup and overall recovery program.\n\n", "name": "", "is_accepted": false } ]
175e4842db57ee4600964c0602badabb
i was curious if anyone has a vpn setup so you can access your home network so you can access your files from somewhere else. i was thinking of setting that up, but not sure how secure the setup is and if it is even worth it. currently i use dropbox, onedrive and such.
personal vpn
metabullet.com
2021.39
[ { "text": "[madchatthew](https://metabullet.com/d/730/1) this is certainly possible, although with today's file sharing methods (such as you've identified), a vpn is somewhat inflexible and only really required if you require direct access to your machine (even then, there are other ways to access securely). if it's just for files, my advice would be to continue down the current track. setting up a vpn is simple enough (depending on your requirements, and could be an issue with a dynamic ip address) but if you only require access to files on the move, then you already have the most flexible option.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/730/2) that is kind of what i was thinking. the services in already in place are probably the best route.\n\n ", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/730/3) yes, i don't see the need to create any further complexity here. as long as the data is secured and encrypted at rest, then this is generally enough.\n\n", "name": "", "is_accepted": false } ]
06405ac00cebc71d31397db2a493e0b1
hey, just figured to connect my mysql via putty. > found this video on youtube: > > > > but i need to remove a column pmsetup column “shout extension= flarum” ![img](https://media.discordapp.net/attachments/803960481349894164/804116568958959626/unknown.png?width=1034&height=610)
connecting to mysql and deleting a column from the database
metabullet.com
2021.31
[ { "text": "[sallymelek](https://metabullet.com/d/54/3)\n\n\n\n> [sallymelek](https://metabullet.com/d/54/3) do you run php flarum migrate after deleting the column. (this was instructed by kyrne - i think i didn’t tell you)\n> \n> \n\n\nyep 🙂\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829003-99492-image.png)\n\n\n\n> [sallymelek](https://metabullet.com/d/54/3) kyrne recommends having the “let users make their own password - sso compatibility” enabled?\n> \n> \n\n\nit’s enabled now\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829100-153905-image.png)\n\n\n\n> [sallymelek](https://metabullet.com/d/54/3) as you left the “let users make their own password - sso compatibility” disabled, i need to make enabled all times. i think i need to reset extension again, in case if any users started with it. should i reset it again incase?\n> \n> \n\n\nno. any affected users can logout, and back in again.\n\n\ni’ve just tested this by specifying the password for your admin user (previously provided), and this works fine\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829228-254914-image.png)\n\n\n", "name": "", "is_accepted": true }, { "text": "[sallymelek](https://metabullet.com/d/54/1) resolved. i’ve connected to your server, taken a backup of the database (in case), and removed the column in question\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827400-466972-image.png)\n\n\nonce logged in, you’d need to execute\n\n\n`show databases;`\n\n\nthis lists all of the databases present in the system\n\n\n`use aceforums;`\n\n\nthis selects the database in question\n\n\n\n```\nalter table `users` drop `pmsetup`;\n```\n\nthis command drops the column needed\n\n\ni then ran into this\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827656-211378-image.png)\n\n\nso, we need to drop this column also\n\n\n\n```\nalter table `users` drop `unread_messages`;\n```\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827736-298293-image.png)\n\n\nthe migration now completes successfully\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827800-259089-image.png)\n\n\nextension `kyrne/shout` has been re-enabled\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611828182-997313-image.png)\n\n\ni’ve not enabled the “let users make their own password - sso compatibility” as i don’t want to impact any users on your forum. i’ll leave that part for you.\n\n\nlet me know if you need any further assistance.\n\n\n", "name": "", "is_accepted": false }, { "text": "thank you very much, mark.\n\n\n1. do you run `php flarum migrate` after deleting the column. (this was instructed by kyrne - i think i didn’t tell you)\n2. kyrne recommends having the `“let users make their own password - sso compatibility”` enabled?\n3. as you left the “let users make their own password - sso compatibility” disabled, i need to make enabled all times. i think i need to reset extension again, in case if any users started with it. should i reset it again incase?\n", "name": "", "is_accepted": false }, { "text": "perfect i will check it, with my moderators, too.\n\n\nonce again thank you very much.\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/5) if you really want to be sure it’s forced across the board, you can execute the below query in mysql\n\n\n\n```\nupdate users set pmsetup = 1 \n```\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829411-208797-image.png)\n\n\nthis then means that all of your users who connect will need to specify the password they want to use. however, be careful with this, because if anyone signed up without using ouath, then you may run into issues. in which case, you’d have to set the affected user’s `pmsetup` to be 0.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/6)\n\n\nwait, i think 3-5 users used oauth to sign up.\n\n\nhowever, after 6 users signing up, i decided to remove fof/oauth.\n\n\nnow im confused what you actually mean\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/7) you can put `fof/oauth` back as this will enable social logins, and will expand your forum. those users who signed up without it should have `pmsetup = 0` in the database. those who did use oauth to signup need `pmsetup = 1` in the database.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/8)\n\n\nhonestly, i don’t trust `fof/oauth` , like for discuss.flarum.org i can’t even log in. give me errors. so my plan was to to keep `fof/oauth` now i don’t trust it.\n\n\nso now what do you recommend me doing?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/54/9) honestly, i don’t trust fof/oauth , like for discuss.flarum.org i can’t even log in. give me errors. so my plan was to to keep fof/oauth now i don’t trust it.\n> \n> \n\n\nwhy ? it works fine for me 🙂\n\n", "name": "", "is_accepted": false }, { "text": "however, i can’t log via facebook into flarum discuss on my phone.\n\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab)\n\n\nalso had this issue too \n\n<https://discuss.flarum.org/d/25182-friendsofflarum-oauth/73>\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/11) any error message, or anything in the logs ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/13) i think there wasn’t any\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/14) ok, but there needs to be something at least - otherwise, you’ll have no idea of what went wrong 🙂\n\n", "name": "", "is_accepted": false }, { "text": "like these were the replies i recieved \n\n![](https://metabullet.com/assets/files/2021-01-28/1611835583-573780-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/16) yes, i saw the posts on flarum, but there should be an error recorded in the oauth callback. is there anything in your nginx error log ?\n\n", "name": "", "is_accepted": false }, { "text": "this happened maybe 2 weeks before, also tried it another flarum platform, i think it was flarumtr.\n\n", "name": "", "is_accepted": false }, { "text": "at the current moment can i stick with normal login, maybe after i will re-install `fof/oauth`\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/19) yes, that should be fine.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/20)\n\n\nso do i need to additional step to stick with default, while i have few users on fof/oauth created accounts.\n\n\nlike you were saying the following statements; \n\n[phenomlab](https://metabullet.com/d/54/6) \n\n[phenomlab](https://metabullet.com/d/54/8)\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/54/21) so do i need to additional step to stick with default, while i have few users on fof/oauth created accounts.\n> \n> \n\n\nyou shouldn’t need to do anything.\n\n", "name": "", "is_accepted": false }, { "text": "perfect thanks\n\n", "name": "", "is_accepted": false } ]
b70b41f6daab8a6ecb77f93a7981d454
hi all, in addition to the community forum here, i have started putting together a blog section, where i have published (and will continue to publish) articles around the multi-faceted topic of information technology, security, and anything that has a plug on it - even those without a plug given wireless, and iot 🙂 some of these articles will be based around my own experiences over my career, whilst others are my thoughts around how things should be done in order to ensure success the first time. here’s a sneak preview 😃 ![](https://metabullet.com/assets/files/2021-03-09/1615304637-300561-image.png) why not take a look ? you can get there via the “blog” selection in the menu, or directly [here](https://metabullet.com/blog). interested in a particular subject ? just ask me ! i’m happy to provide articles based on what people are interested in reading.
new blog :)
metabullet.com
2021.31
[ { "text": "there are 9 or more articles in the blog section for those interested. there’s also a topic around the first kit you used - i’d love to hear other stories of how you got started.\n\n ", "name": "", "is_accepted": false }, { "text": "mark this looks awesome, thanks for these set of free resources. 😀\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/50/4) no problems. there’s much more to come !\n\n", "name": "", "is_accepted": false }, { "text": "i would love to know how to set up a blog for my forum also! please teach me (and others).\n\n", "name": "", "is_accepted": false }, { "text": "[mventures](https://metabullet.com/d/50/6) the first thing to do would be to enable this extension in flarum \n\n<https://discuss.flarum.org/d/25392-blog-adds-a-blog-section-to-your-community>\n\n", "name": "", "is_accepted": false }, { "text": "i’m adding more articles here weekly - stay tuned 🙂\n\n", "name": "", "is_accepted": false } ]
8a89de8d6be17169248c9af7e28be288
i’ve known about it for years but i’ve recently started using duckduckgo again because of it’s stance on privacy. i’ll admit sometimes google is the better option because it yields more results, but i’m really enjoying ddg right now on android and web. so which search engine do you use? 😀
which search engine do you use?
metabullet.com
2021.31
[ { "text": "[nodebbfan](https://metabullet.com/d/474/1) i’m using duckduckgo. i like the privacy aspect of it, but have to admit that the search results are nothing like the ones you get from google. being the privacy advocate i am, the last thing i want is tailored ads based on my search results…\n\n", "name": "", "is_accepted": false }, { "text": "i use duckduckgo as well. just like you i like the privacy aspect of it. i also use brave as my browser. i have been thinking about getting a vpn to further protect our web surfing and such. just haven’t done that yet. those are probably for another topic though.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/474/3) i have been thinking about getting a vpn to further protect our web surfing and such. just haven’t done that yet. those are probably for another topic though.\n> \n> \n\n\ntake a look at nord vpn. it’s what i use, and i can certainly attest to it’s effectiveness and security.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/474/4) nice, thank you. i will check them out.\n\n", "name": "", "is_accepted": false }, { "text": "in terms of results, google wins hands down. with the resources they have and their investments in ai they will probably keep its search engine as the most effective for a long time.\n\n\nanother one i like is qwant - very privacy conscious.\n\n\n![](//cdn.metabullet.com/assets/files/2021-04-20/1618946609-49645-image.png)\n\n\n<https://www.qwant.com/>\n\n\n", "name": "", "is_accepted": false }, { "text": "[x-plorer](https://metabullet.com/d/474/6) good points - thanks. i’ve since chosen duckduckgo as my default search engine, but will certainly look at quant also.\n\n ", "name": "", "is_accepted": false }, { "text": "just a quick note, if you like the google resources, so you can use brave to black trackers. ezee\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/474/8) brave isn’t as secure as you think it is. true security when accessing the web only comes from using a vpn.\n\n", "name": "", "is_accepted": false } ]
4bbc613a14d2989d27e0821d4204f59e
i wanna add ads between discussion, below main\_title and between discussions and replies. what is the best way to do it? `flagrow/ads` isn’t compatible for latest version of flarum, what to do?
how can i add google ads between discussions and discussions list?
metabullet.com
2021.31
[ { "text": "[bishwasbh](https://metabullet.com/d/19/1) see <https://extiverse.com/?filter%5bq%5d=ads&sort=-created_at&filter%5bis%5d%5b%5d=-flarum&filter%5btype%5d=>\n\n", "name": "", "is_accepted": true } ]
45f188685c123ebd196f1e93ecb23a47
i would like to load my flarum into a subdirectory domain.com/flarum from a different server is that possible? if yes how?
can i point i subdirectory from different server using nginx?
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/765/1) possible, yes, but can you elaborate on \"another server\" ? typically, the flarum installation would need to reside on the same box for the subfolder to work. a better way of doing this would be to use a subdomain like flarum.domain.com which could then point elsewhere but be under the same domain space.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/765/2) yeah, we thought of subdomain but we want to stick with sub folder structure.\n\n\n\n> [phenomlab](https://metabullet.com/d/765/2) the flarum installation would need to reside on the same box for the subfolder to work.\n> \n> \n\n\nℹ️\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/765/3) it's certainly possible, but only if the main site and subfolders are on the same server\n\n", "name": "", "is_accepted": false } ]
5288c9e88029d59661b37cbeb7bbec27
hi [@phenomlab](https://metabullet.com/u/phenomlab), actually i'm working for an important telco company in italy, and i have a forum for our customer located here: <https://www.timbari.it/public/> i really need to use your "post from rss feed", but i think is too complicated for me. here the rss feed: <https://community.tim.it/vwknt69845/rss/board?board.id=news_mondo_tim> i need your magic hand :d
help with configuration of post from rss feed
metabullet.com
2021.39
[ { "text": "[justoverclock](https://metabullet.com/d/204/1) i need a bit more information. do you want these to appear in any specific tag or subtag ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/204/2) yes i have a tag for this purpose:\n\n\n<https://www.timbari.it/public/t/news-da-tim>\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/3) yes, i see it. how many items per \"run\" (in other words, how many posts should it collect all at once) and at what frequency (hour, day, etc) ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/204/4) i think 10 post every day will be good\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/5) great. let me have a look at your host.\n\n", "name": "", "is_accepted": false }, { "text": "seems there's a fair bit of work here, given the host. when do you need this by ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/204/7) when u are available :)\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/5) can you please perform the following on your host via ssh (i'm having issues accessing it)\n\n\n1. change directory to `system` (so `timbari.it\\public_html\\system`)\n2. install `composer require maicol07/flarum-api-client`\n3. install `composer require simplepie/simplepie`\n\n\nlet me know once ready.\n\n\nthanks\n\n", "name": "", "is_accepted": false }, { "text": "so do you want that i move all forum into system folder?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/10) no. just run those composer commands in that directory. nothing else.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/204/11) done!\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/12) i think you may have placed these in the wrong location :) it's working now though (i have shell access).\n\n\n![](https://metabullet.com/assets/files/2021-03-16/1615896256-444805-screenshot-20210316-120325.png)\n\n\ni think this is what you are looking for :d\n\n\ni've created a scheduled task (cron) to run once daily that will pull 10 updates (provided they have not been processed already)\n\n\n![](https://metabullet.com/assets/files/2021-03-16/1615896383-388682-image.png)\n\n\nhowever, i have auto translate enabled, so you may want to check these yourself to ensure they are formatted correctly?\n\n\nthanks\n\n\n", "name": "", "is_accepted": false }, { "text": "looks like the parser may need some adjustment here\n\n\n![](https://metabullet.com/assets/files/2021-03-16/1615896498-126041-image.png)\n\n\nthe text being returned isn't valid rss / atom so we probably need to make changes.\n\n", "name": "", "is_accepted": false }, { "text": "now i see all conversation from rss deleted \n\n![](https://metabullet.com/assets/files/2021-03-16/1615907741-368046-immagine-2021-03-16-161524.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/15) correct. i'm re-writing some of the functions to make the posts compatible. they'll be back :)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/204/16) correct. i’m re-writing some of the functions to make the posts compatible. they’ll be back\n> \n> \n\n\ni can't wait :), this is an awesome extension!\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/17) ok, i think i'm done.\n\n\n![](https://metabullet.com/assets/files/2021-03-16/1615912928-178639-image.png)\n\n\nif you check the newly created feeds at <https://www.timbari.it/public/t/news-da-tim> they should be accurate.\n\n\ni also substituted \"link to original article\" (hard coded english) to be italian - but, i have \"trusted\" google translate here, so feel free to change if required\n\n\n![](https://metabullet.com/assets/files/2021-03-16/1615913028-229053-image.png)\n\n\nif you do need to change it, the script is located here (line 42) :)\n\n\n![](https://metabullet.com/assets/files/2021-03-16/1615913146-972422-image.png)\n\n\nthe scheduler will run daily as per my previous post. keep an eye on this though - if the posts do not increase on a daily basis, then it's likely that either the cron job isn't working, or there's nothing new in the feed.\n\n\nthis was in fact much harder to implement than i imagined.\n\n\nenjoy :)\n\n\n", "name": "", "is_accepted": false }, { "text": "oh my god i have no word about your work! this will help my staff a lot, thanks!\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab) just to learn something more, \n\nits easy to change the rss address?\n\n\nfor example if i need to change this address after one month, how can i do this?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/21) yes, very easy. inside the `system` folder in your domain root, you'll find a file called `newpost.sh`. you can modify the feed url there. don't modify anything else though s this is the scheduler file that actually connects to the feed you specify.\n\n\nhowever, it's important to note that your version of the rss parser was modified to embed images directly. i don't see to much of an issue with this, but your should experiment little with a new feed url to ensure it looks how you expect.\n\n\nif it doesn't, we'd need to make some more changes to resolve that.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/204/22) perfect, i will make a backup of this file.\n\n\nother questions:\n\n\n* is possible to add more than 1 rss source?\n* if i change the source, old post will be deleted?\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/204/23) is possible to add more than 1 rss source?\n> \n> \n\n\nyes, you just copy the existing lines and create a new one with the different url\n\n\n\n> [justoverclock](https://metabullet.com/d/204/23) if i change the source, old post will be deleted?\n> \n> \n\n\nno. any posts created by the parser will remain intact on the forum\n\n", "name": "", "is_accepted": false }, { "text": "so, as u know i have another website with flarum (forum.justoverclock.it)\n\n\nif i copy the file on that server is possible to parse the wordpress news?\n\n\nor this need to be rewrited?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/204/25) it'll need to be modified. you can copy all the files across to another forum but it won't work without some intervention. mostly because the `api_key` doesn't exist on the new forum, and the tag id numbers won't match.\n\n ", "name": "", "is_accepted": false } ]
ed75c186314108ec6dd9a6a502ba0c85
can the previously closed welcome bar be shown again to everyone? i want the welcome bar to never close again. can anyone share their css codes? i am grateful for the help.
welcome bar (flarum)
metabullet.com
2021.43
[ { "text": "\n> [dursuncan](https://metabullet.com/d/57/1) i want the welcome bar to never close again. \n> \n> can anyone share their css codes?\n> \n> \n\n\nhere you go\n\n\n\n```\n.welcomehero .container button.hasicon {\n display: none;\n}\n```\n\nthe closed hero state is saved in the session cookie, so the only way to get the `welcome hero` back is to clear the cache in your browser.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/57/2) isn't there anything that can be done for users who have turned off the welcome bar? \n\nhow can i set the articles on the welcome bar not to be clicked?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [dursuncan](https://metabullet.com/d/57/3) isn’t there anything that can be done for users who have turned off the welcome bar?\n> \n> \n\n\nsadly, no. the only way i know of is to clear the browser cache. you can test this yourself by going to your own site in an incognito tab, and you'll see the welcome bar again.\n\n\n\n> [dursuncan](https://metabullet.com/d/57/3) how can i set the articles on the welcome bar not to be clicked?\n> \n> \n\n\ncan you clarify this ? i'm not sure i understand what you mean.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/57/4) how to set the welcome text and title not to be copied?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [dursuncan](https://metabullet.com/d/57/5) how to set the welcome text and title not to be copied?\n> \n> \n\n\nyou could use simple js to obtain this functionality, although i wouldn't completely trust it. why do you want visitors to not be able to copy the text in the header ?\n\n", "name": "", "is_accepted": false }, { "text": "[dursuncan](https://metabullet.com/d/57/3) actually, just circling back on this. it seems you can use this somewhat dirty \"hack\" in the footer, so in admin->apperance->custom footer, you could add this\n\n\n`<script>window.localstorage.removeitem('welcomehidden');</script>`\n\n\nthis would then force the `localstorage` to be cleared meaning the welcome header will return.\n\n ", "name": "", "is_accepted": false } ]
39dbbfd809f5bfa57a2a493f8dcd51b3
the day mode/ nightmare setting isn't saving. i keep selecting day mode in. my user profile for your site but it keeps reverting back to night mode. also noticed i uploaded an avatar and it doesn't look like that is staying either.... update: avatar looks like its staying now! still issues with day and night mode. its like its switching back and forth... its odd it keeps changing between the two depending if i do a car refresh or not.
day night mode setting not working here
metabullet.com
2021.39
[ { "text": "[mikejones](https://metabullet.com/d/95/1) odd - seems to work fine for me ? i am enforcing night mode - does it work if you choose \"day mode\" from the user menu rather than the profile settings ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/95/2) i feel like there are some cacheing issues. i keep seeing posts that we both replied to and i don't see all the replied then i dot a command-r to force refresh and all the replies come back.\n\n ", "name": "", "is_accepted": false }, { "text": "just noticed it only is happening in safari web browser. chrome seems ok for me now but i will keep testing.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/95/4) thanks.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/95/3) same here. i am investigating\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/95/3) i think this is sorted now ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/95/7) i think i am good now. hasn't which back to dark mode. but i will keep watching it for now.\n\n ", "name": "", "is_accepted": false }, { "text": "it came back to dark mode but just cleared safari cache as recommended and testing another post.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/95/9) thanks\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/95/9) a note to everyone else here. there has been a caching issue which i *think* is being caused by `fof/nightmode` so it has been removed. for the time being, dark mode is in force :)\n\n", "name": "", "is_accepted": false }, { "text": "just circling back on this. i've not experienced any caching issues since disabling this extension, so i think (unless there is a desire for it to remain as an option in the community) i'm not going to be putting this back.\n\n", "name": "", "is_accepted": false } ]
53f2e95f5ff3a5f180ee36fa59f3a917
i'm putting together a completely free platform designed to mentor and nurture people looking to get into #technology and / or #infosec,. will you use it ? the platform is free, and always will be. all help and assistance is provided here under the "pro bono" banner - see <https://metabullet.com/p/8-faq> many people have had their careers displaced, and income seriously affected by #covid19, so to me, this feels like the right thing to do in an effort to help others who have suddenly found themselves in a position where they need to reinvent. 30 years of extensive and solid experience "in the trenches" waiting to be tapped here. mostly in finance and manufacturing industries #giveback.
need to reinvent yourself ?
metabullet.com
2021.43
[ { "text": "i am currently a nurse doing bedside care. i have been doing bedside care for almost 10 years, this includes my cna experience. i am getting tired of bedside nursing and looking to get back into technology. before i became a nurse i was in it. i have done everything from build computers from the ground up to troubleshooting networks, servers, printers and whatever else was thrown at me. i have over 18 years of technology experience and i have found it hard to get back into the field. i continue working on things and updating my knowledge on newer software and such.\n\n\ni have also been looking into getting into nursing informatics. that isn't easy either. i will continue trying and won't give up. thank you for this website. i look forward to learning more.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/5/3) i'm wondering what made you leave the technology field and get into nursing to start with ? i'm in awe of you to be honest as what you are currently doing given the state of the world today in relation to the pandemic is nothing short of heroic in my view.\n\n\nwhat direction are your specifically looking to take in terms of kick starting your technology journey again ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/5/4) thank you, i really appreciate that. my wife received a job offer that we couldn't refuse in the journalism and the town we moved to has a state university. i applied to a lot of different places and didn't receive one call. i talked to a couple of friends and they pretty much said that if you don't have a four year degree from the university or know someone then you won't get hired. i was finding that to be true and needed a job so i accepted one as a cna. at the time i didn't want to go back to school for computers and am now finding out that was a mistake. being a nurse has been a good experience along with being able to meet a lot of amazing people and has allowed me to do some things that i wouldn't have otherwise. nursing has never been my passion and i applaud and have great respect for those that absolutely love bedside nursing.\n\n\ni have been thinking about that a lot lately. i have been looking into the security side of things, managing networks and servers and i have been teaching myself web development. i was thinking that if i could get back into the technology field and continue increasing my knowledge, then hopefully have an easier time getting into other areas of technology. i have applied for various it and web development positions and have been able to interview every time so far. there just seems to be someone who is more up to date on the latest technology. with that being said, i am a very fast learner, especially when it comes to software and tech. i love technology so that probably plays a big part in that.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/5/5) i talked to a couple of friends and they pretty much said that if you don’t have a four year degree from the university or know someone then you won’t get hired\n> \n> \n\n\ni've heard this also. to me, this is a completely stupid approach. i personally prefer to hire on drive, passion, and overall aptitude rather than insist on degrees. a degree (to me) means absolutely nothing other than you completed a full term of university or college, and graduated as a result. this isn't meant to be disparaging to anyone who has a degree - i, in fact, do not possess one, and i'm here to tell you that a lack of a recognisable degree is not a bar to gaining entry into any field.\n\n\n\n> [madchatthew](https://metabullet.com/d/5/5) i was thinking that if i could get back into the technology field and continue increasing my knowledge, then hopefully have an easier time getting into other areas of technology\n> \n> \n\n\nyou're definitely on the right bus here. that's exactly what this site and i personally want to promote and help people achieve. the problem across the board is that hiring managers seem to want experience and a degree - in my view, you can't have both - it's going to be one or the other. my career spans 30 years in it and i'm living proof that it's entirely possible to succeed with enough drive, effort, and passion. to me, you seem to have all three of these.\n\n\n\n> [madchatthew](https://metabullet.com/d/5/5) there just seems to be someone who is more up to date on the latest technology. with that being said, i am a very fast learner, especially when it comes to software and tech. i love technology so that probably plays a big part in that.\n> \n> \n\n\nthis is the key part. you're getting noticed, and also bring offered interviews, so what we need to do now is to figure out how we can dine the clear passion for technology you have into your resume / cv, and make yours stand out amongst the others. in addition, it's important to sell yourself, but not overdo it.\n\n\nthe overall point i'd make here is fire. this is what is going to make you stand out amongst other candidates, and will ultimately give you the edge. you just need that foot in the door and then you'll get to show that same firm what you're made of, and why they made the right choice in hiring you.\n\n\ninterestingly, your experience seems to echo something that happened to me back in 2003, which i wrote about here.\n\n\n<https://metabullet.com/blog/200-the-infosec-recruitment-process-is-broken-heres-why>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/5/6) interestingly, your experience seems to echo something that happened to me back in 2003, which i wrote about here.\n> \n> \n> <https://metabullet.com/blog/200-the-infosec-recruitment-process-is-broken-heres-why>\n> \n> \n\n\nthat is a great article. at the time i had over 10 years experience in different environments. i have always been of the thought that a piece of paper doesn't tell who you are, not only as a person but what you are capable of becoming or have become. if more companies would have these kinds of thoughts, i would be working somewhere in this industry. i have been reading articles about how the programming world is falling more into line with this kind of thinking. they are looking at what a programmer has accomplished in their portfolio and looking at code rather than the degree they have or don't have. i thought that it was very progressive of them to change how they think and it opens up a larger door for possibilities.\n\n\n\n> [phenomlab](https://metabullet.com/d/5/6) i’ve heard this also. to me, this is a completely stupid approach. i personally prefer to hire on drive, passion, and overall aptitude rather than insist on degrees. a degree (to me) means absolutely nothing other than you completed a full term of university or college, and graduated as a result. this isn’t meant to be disparaging to anyone who has a degree - i, in fact, do not possess one, and i’m here to tell you that a lack of a recognizable degree is not a bar to gaining entry into any field.\n> \n> \n\n\ni totally agree with you on this. a case in point - my mom is an assistant teacher as a private school. she called me one day and said that their network printer and external file drives weren't accessible after the internet company came in and changed some hardware. the teacher and some others call various other people to fix it for them and they couldn't figure it out. after she told me what happened i knew immediately what the issue was and proceeded to walk her though changing the internal ip addresses on the different devices so they could access them via the network again. i was able to do that based off my experience. those others were unable to do so. i am not mentioning this to pat myself on the back, but just to back-up what we agree upon.\n\n\n\n> [phenomlab](https://metabullet.com/d/5/6) you’re definitely on the right bus here. that’s exactly what this site and i personally want to promote and help people achieve.\n> \n> \n\n\ni greatly appreciate this! thank you!\n\n\n\n> [phenomlab](https://metabullet.com/d/5/6) this is the key part. you’re getting noticed, and also bring offered interviews, so what we need to do now is to figure out how we can dine the clear passion for technology you have into your resume / cv, and make yours stand out amongst the others. in addition, it’s important to sell yourself, but not overdo it.\n> \n> \n\n\nthis is one of things i have been working on as well. i even revamped and updated my resume from what it looked like and how it was layed out. i know it can always be improved.\n\n\n\n> [phenomlab](https://metabullet.com/d/5/6) the overall point i’d make here is fire. this is what is going to make you stand out amongst other candidates, and will ultimately give you the edge. you just need that foot in the door and then you’ll get to show that same firm what you’re made of, and why they made the right choice in hiring you.\n> \n> \n\n\ni may not have the piece of paper, but i do have the fire and passion when it comes to technology. it is almost like technology and i have a bond. that might be a little over the top, but just saying.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/5/7) you've certainly for the right mindset and approach here. clearly the only thing missing is that bit of polish to make the finished product.\n\n\nyou're right about developers using their previous projects as ways of getting into organisations. to me, this signals actual working knowledge and merit. a computer science degree doesn't make you a brilliant developer - that's a skill that is acquired along with experience.\n\n\nthat same mantra applies to the technology industry as a whole. what we typically witness is that hiring managers have no real concept of what a particular department requires in terms of a candidate - they are actually looking for keyword matches in most cases, and this is where a significant chunk of the talent pool is effectively overlooked - or worse still, totally ignored.\n\n\nthose looking to hire should not rely on others to perform the vetting. not should they simply decline someone based on what's in their cv or resume because they consider it \"irrelevant\". just because it's not a direct match doesn't mean that person is unsuitable for the role. all this simply confirms is that hiring managers are dismissing those people with spark and ambition just because the quaint they have used doesn't match their somewhat insane algorithm.\n\n\nas with any industry, there are always those candidates who are exceptional. my personal preference is to ask a question, and then use the response to that same question as an indicator of suitability. for example, i once asked a candidate what he would do if a printer wasn't working.\n\n\nrather than recommending the initial troubleshooting steps like checking network cables, ensuring the machine had a valid ip address, or if the printers are connected to a central printing server, that the spooler for example is running....... this guy confidently informed me that he'd reinstall active directory 😲\n\n\nit was pretty clear that this guy want going to be a good fit based on the response. that would have been like using a bulldozer to pick up a china cup - not to mention the fallout and complete disintegration of the directory services !\n\n\nmy point here is that i'd have preferred a not structured approach. when i interview candidates, i'm much more interested in their thought process and methodology rather than a simple \"right\" answer they found during a google search. to me, is you understand the underlying participles of how printers work, it's much easier to find the root problem and much quicker than coming up with a draconian approach like reinstalling windows ad.\n\n\n", "name": "", "is_accepted": false }, { "text": "nothing against that candidate, but reinstalling active directory would not have been my first go to. i totally agree with you. i wish all companies would start thinking this way.\n\n", "name": "", "is_accepted": false }, { "text": "[@madchatthew](https://metabullet.com/u/madchatthew) looking to resurrect this discussion if you're still interested. :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/5/10) sorry that this took me so long to reply. working nights and having to sleep all day messes up my timeline. i am usually not even sure what day it is...haha. i am interested and i am hoping someday to either do the technology side of nursing with the software and such, but maybe even actually getting out of nursing altogether.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/5/11) sounds great. would be honoured to help you on that journey.\n\n", "name": "", "is_accepted": false }, { "text": "i will have to upload my current resume and see what you think about it and how i could make some changes to it. i also need to continue working on the revamp of my portfolio web page. so much to do. i wish i never had to sleep. i would get so much done.\n\n", "name": "", "is_accepted": false } ]
47ded1894ff283eeb100626be8900fc3
hey, just figured to connect my mysql via putty. > found this video on youtube: > > > > but i need to remove a column pmsetup column "shout extension= flarum" ![img](https://media.discordapp.net/attachments/803960481349894164/804116568958959626/unknown.png?width=1034&height=610)
connecting to mysql and deleting a column from the database
metabullet.com
2021.43
[ { "text": "[sallymelek](https://metabullet.com/d/54/1) resolved. i've connected to your server, taken a backup of the database (in case), and removed the column in question\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827400-466972-image.png)\n\n\nonce logged in, you'd need to execute\n\n\n`show databases;`\n\n\nthis lists all of the databases present in the system\n\n\n`use aceforums;`\n\n\nthis selects the database in question\n\n\n\n```\nalter table `users` drop `pmsetup`;\n```\n\nthis command drops the column needed\n\n\ni then ran into this\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827656-211378-image.png)\n\n\nso, we need to drop this column also\n\n\n\n```\nalter table `users` drop `unread_messages`;\n```\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827736-298293-image.png)\n\n\nthe migration now completes successfully\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611827800-259089-image.png)\n\n\nextension `kyrne/shout` has been re-enabled\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611828182-997313-image.png)\n\n\ni've not enabled the \"let users make their own password - sso compatibility\" as i don't want to impact any users on your forum. i'll leave that part for you.\n\n\nlet me know if you need any further assistance.\n\n\n", "name": "", "is_accepted": false }, { "text": "thank you very much, mark.\n\n\n1. do you run `php flarum migrate` after deleting the column. (this was instructed by kyrne - i think i didn't tell you)\n2. kyrne recommends having the `“let users make their own password - sso compatibility”` enabled?\n3. as you left the \"let users make their own password - sso compatibility\" disabled, i need to make enabled all times. i think i need to reset extension again, in case if any users started with it. should i reset it again incase?\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/3)\n\n\n\n> [sallymelek](https://metabullet.com/d/54/3) do you run php flarum migrate after deleting the column. (this was instructed by kyrne - i think i didn’t tell you)\n> \n> \n\n\nyep :)\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829003-99492-image.png)\n\n\n\n> [sallymelek](https://metabullet.com/d/54/3) kyrne recommends having the “let users make their own password - sso compatibility” enabled?\n> \n> \n\n\nit's enabled now\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829100-153905-image.png)\n\n\n\n> [sallymelek](https://metabullet.com/d/54/3) as you left the “let users make their own password - sso compatibility” disabled, i need to make enabled all times. i think i need to reset extension again, in case if any users started with it. should i reset it again incase?\n> \n> \n\n\nno. any affected users can logout, and back in again.\n\n\ni've just tested this by specifying the password for your admin user (previously provided), and this works fine\n\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829228-254914-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "perfect i will check it, with my moderators, too.\n\n\nonce again thank you very much.\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/5) if you really want to be sure it's forced across the board, you can execute the below query in mysql\n\n\n\n```\nupdate users set pmsetup = 1 \n```\n\n![](https://metabullet.com/assets/files/2021-01-28/1611829411-208797-image.png)\n\n\nthis then means that all of your users who connect will need to specify the password they want to use. however, be careful with this, because if anyone signed up without using ouath, then you may run into issues. in which case, you'd have to set the affected user's `pmsetup` to be 0.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/6)\n\n\nwait, i think 3-5 users used oauth to sign up.\n\n\nhowever, after 6 users signing up, i decided to remove fof/oauth.\n\n\nnow im confused what you actually mean\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/7) you can put `fof/oauth` back as this will enable social logins, and will expand your forum. those users who signed up without it should have `pmsetup = 0` in the database. those who did use oauth to signup need `pmsetup = 1` in the database.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/8)\n\n\nhonestly, i don't trust `fof/oauth` , like for discuss.flarum.org i can't even log in. give me errors. so my plan was to to keep `fof/oauth` now i don't trust it.\n\n\nso now what do you recommend me doing?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/54/9) honestly, i don’t trust fof/oauth , like for discuss.flarum.org i can’t even log in. give me errors. so my plan was to to keep fof/oauth now i don’t trust it.\n> \n> \n\n\nwhy ? it works fine for me :)\n\n", "name": "", "is_accepted": false }, { "text": "however, i can't log via facebook into flarum discuss on my phone.\n\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab)\n\n\nalso had this issue too \n\n<https://discuss.flarum.org/d/25182-friendsofflarum-oauth/73>\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/11) any error message, or anything in the logs ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/13) i think there wasn't any\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/14) ok, but there needs to be something at least - otherwise, you'll have no idea of what went wrong :)\n\n", "name": "", "is_accepted": false }, { "text": "like these were the replies i recieved \n\n![](https://metabullet.com/assets/files/2021-01-28/1611835583-573780-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/16) yes, i saw the posts on flarum, but there should be an error recorded in the oauth callback. is there anything in your nginx error log ?\n\n", "name": "", "is_accepted": false }, { "text": "this happened maybe 2 weeks before, also tried it another flarum platform, i think it was flarumtr.\n\n", "name": "", "is_accepted": false }, { "text": "at the current moment can i stick with normal login, maybe after i will re-install `fof/oauth`\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/54/19) yes, that should be fine.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/54/20)\n\n\nso do i need to additional step to stick with default, while i have few users on fof/oauth created accounts.\n\n\nlike you were saying the following statements; \n\n[phenomlab](https://metabullet.com/d/54/6) \n\n[phenomlab](https://metabullet.com/d/54/8)\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/54/21) so do i need to additional step to stick with default, while i have few users on fof/oauth created accounts.\n> \n> \n\n\nyou shouldn't need to do anything.\n\n", "name": "", "is_accepted": false }, { "text": "perfect thanks\n\n", "name": "", "is_accepted": false } ]
33abec0f9c93716156636c58e7a31d46
hello sir, i hope you recognize me... i'm here to get help regarding nginx configuration file. actually i checked that you're using nginx server, inspired by you i setup a server with nginx and php-fpm but unable to run flarum smoothly on that... issue is whenever i click anything except homepage, it give me 404 error, after spending almost 12+ hours, i'm totally unable to make it work, can you share your experience or guide over this. thanks
nginx configuration file issues
metabullet.com
2021.39
[ { "text": "[mohdkhan](https://metabullet.com/d/495/1) can you paste the contents of your nginx config file and the content from the webpage config file in your sites-available/sites-enabled folder. these are found in your nginx folder.\n\n\nnginx.conf \n\n/sites-available/whateveryounamedthefile.conf\n\n", "name": "", "is_accepted": false }, { "text": "[mohdkhan](https://metabullet.com/d/495/1) i'm guessing you perhaps forgot to include the flarum `.nginx.conf` file in your overall config - can you confirm, and as [@madchatthew](https://metabullet.com/u/madchatthew) advises, send your existing file ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/495/3)\n\n\n\n```\n #=======================================================================#\n# default web domain template #\n# do not modify this file! changes will be lost when rebuilding domains #\n#=======================================================================#\n\nserver {\n listen xxx.xxx.xxx.xxx:80;\n server_name sub.domain.tld ;\n root /home/user/web/sub.domain.tld/public_html;\n index index.php index.html index.htm;\n access_log /var/log/nginx/domains/sub.domain.tld.log combined;\n access_log /var/log/nginx/domains/sub.domain.tld.bytes bytes;\n error_log /var/log/nginx/domains/sub.domain.tld.error.log error;\n \n include /home/user/conf/web/sub.domain.tld/nginx.forcessl.conf*;\n\n location / {\n\n location ~* ^.+\\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {\n expires max;\n fastcgi_hide_header \"set-cookie\";\n \t\t}\n\n location ~ [^/]\\.php(/|$) {\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n if (!-f $document_root$fastcgi_script_name) {\n return 404;\n }\n\n fastcgi_pass unix:/run/php/php8.0-fpm-sub.domain.tld.sock;\n fastcgi_index index.php;\n include /etc/nginx/fastcgi_params;\n include /home/user/conf/web/sub.domain.tld/nginx.fastcgi_cache.conf*; \n }\n }\n\n location /error/ {\n alias /home/user/web/sub.domain.tld/document_errors/;\n }\n\n location ~ /\\.(?!well-known\\/) { \n deny all; \n return 404;\n }\n\n location /vstats/ {\n alias /home/user/web/sub.domain.tld/stats/;\n include /home/user/web/sub.domain.tld/stats/auth.conf*;\n }\n\n include /etc/nginx/conf.d/phpmyadmin.inc*;\n include /etc/nginx/conf.d/phppgadmin.inc*;\n include /home/user/conf/web/sub.domain.tld/nginx.conf_*;\n}\n```\n\nand .nginx.conf\n\n\n\n```\n # pass requests that don't refer directly to files in the filesystem to index.php\nlocation / {\n try_files $uri $uri/ /index.php?$query_string;\n}\n\n# uncomment the following lines if you are not using a `public` directory\n# to prevent sensitive resources from being exposed.\n# location ~* ^/(\\.git|composer\\.(json|lock)|auth\\.json|config\\.php|flarum|storage|vendor) {\n# deny all;\n# return 404;\n# }\n\n# the following directives are based on best practices from h5bp nginx server configs\n# https://github.com/h5bp/server-configs-nginx\n\n# expire rules for static content\nlocation ~* \\.(?:manifest|appcache|html?|xml|json)$ {\n add_header cache-control \"max-age=0\";\n}\n\nlocation ~* \\.(?:rss|atom)$ {\n add_header cache-control \"max-age=3600\";\n}\n\nlocation ~* \\.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {\n add_header cache-control \"max-age=2592000\";\n access_log off;\n}\n\nlocation ~* \\.(?:css|js)$ {\n add_header cache-control \"max-age=31536000\";\n access_log off;\n}\n\nlocation ~* \\.(?:ttf|ttc|otf|eot|woff|woff2)$ {\n add_header cache-control \"max-age=2592000\";\n access_log off;\n}\n\n# gzip compression\ngzip on;\ngzip_comp_level 5;\ngzip_min_length 256;\ngzip_proxied any;\ngzip_vary on;\ngzip_types\n application/atom+xml\n application/javascript\n application/json\n application/ld+json\n application/manifest+json\n application/rss+xml\n application/vnd.geo+json\n application/vnd.ms-fontobject\n application/x-font-ttf\n application/x-web-app-manifest+json\n application/xhtml+xml\n application/xml\n font/opentype\n image/bmp\n image/svg+xml\n image/x-icon\n text/cache-manifest\n text/css\n text/plain\n text/vcard\n text/vnd.rim.location.xloc\n text/vtt\n text/x-component\n text/x-cross-domain-policy;\n```\n\nerror when i simply include it with default configuration file for the domain is : nginx: [emerg] “location” directive is not allowed here in /home/{user}/web/{domain}/public\\_html/.nginx.conf:2\n\n", "name": "", "is_accepted": false }, { "text": "[mohdkhan](https://metabullet.com/d/495/4) seems like you are editing the default nginx file. is there one that is directly related to your domain ? for example, `domain.conf.nginx` ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/495/5)\n\n\n\n> [mohdkhan](https://metabullet.com/d/495/4)\n> \n> \n> \n> ```\n> >#=======================================================================#\n> > # default web domain template #\n> > # do not modify this file! changes will be lost when rebuilding domains #\n> > #=======================================================================#\n> ```\n> \n\n\nthis is default nginx configuration file for domain.\n\n", "name": "", "is_accepted": false }, { "text": "[mohdkhan](https://metabullet.com/d/495/6) yes, but\n\n\n\n```\n# do not modify this file! changes will be lost when rebuilding domains\n```\n\nthis makes me think there should be another. can you provide a bit more information about your server ? for example, any control panel, etc ?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mohdkhan](https://metabullet.com/d/495/4) location / { \n> \n> try\\_files $uri $uri/ /index.php?$query\\_string;\n> \n> \n\n\ni thing this is the issue, duplicate root reference but no luck even if i combined these files.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/495/7) sure\n\n\nos : ubuntu 20.04 lts \n\ncp : hestiacp <https://github.com/hestiacp/hestiacp> \n\nserver setup - nginx + php-fpm \n\nphp v - 8.0\n\n", "name": "", "is_accepted": false }, { "text": "[mohdkhan](https://metabullet.com/d/495/9) i might need to take a look at this directly. do you have access to discord ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/495/10) yes... i have\n\n", "name": "", "is_accepted": false }, { "text": "[mohdkhan](https://metabullet.com/d/495/11) good. can you contact me directly on phenomlab#4801 ? send me a friend request. we'll need to take this offline as i will need to login to your server and take a look around - obviously, we don't want credentials being provided here :\n\n", "name": "", "is_accepted": false }, { "text": "the main issue here is the usage of vestacp / hestiacp. both are as equally useless as each other. the recommendation via discord is to ditch this platform and go for virtualmin\n\n", "name": "", "is_accepted": false }, { "text": "to close this off, here's a list of works completed\n\n\n1. server re-imaged with ubuntu\n2. virtualmin and webmin installed\n3. virtualmin and webmin secured\n4. virtual domain created for `fl.mohdkhan.in` with custom nginx configuration\n5. flarum installed, configured, and tested\n6. handed back to [@mohdkhan](https://metabullet.com/u/mohdkhan) with all necessary credentials\n\n\n", "name": "", "is_accepted": false }, { "text": "i appreciate help and support provided by [@phenomlab](https://metabullet.com/u/phenomlab) in setting my server to serve users and also super-secured with all necessary step. \n\ni would like to thanks [@phenomlab](https://metabullet.com/u/phenomlab) for investing his precious time in configuring my server... \n\none thing i just love is that i just provide a newly installed server unable to anything except ssh and he made it usable and secure for public use.. \n\nwhat i found unique and undoubtedly awesome support via discord and all for فِي سَبِيلِ ٱللَّٰهِ (fī sabīli llāh) [free of cost] \n\nsuch a wonderful experience, also i realized why i should ditch vestacp and it forks and move for another solutions. \n\nfrom now it give a way to learn more about servers and webmin/virtualmin... \n\nwords are not enough to define tremendous help i received... thank you again...\n\n", "name": "", "is_accepted": false }, { "text": "[mohdkhan](https://metabullet.com/d/495/16) thanks very much for the kind words. i've added this to <https://metabullet.com/p/11-testamonials>\n\n", "name": "", "is_accepted": false } ]
ab3db336b5ed5ca9a0bd4f2800f4c4ac
<http://stackblitz.com/> i think that i love this! what do you thinks about this service?
developer environment in your browser
metabullet.com
2021.31
[ { "text": "[justoverclock](https://metabullet.com/d/653/1) first time i’ve seen it, but it does look really good.\n\n", "name": "", "is_accepted": false }, { "text": "i think that is awesome, live preview, shareable link, dependencies manager….its paradise for a developer xd\n\n", "name": "", "is_accepted": false } ]
d506226895d730b9f519ed65a210885a
we've recently added full cdn capabilities to metabullet.com :) this means that we are now in a position to deliver this platform's key assets (required for it to function) from a geographical region closest to your own. here's an example ![](//cdn.metabullet.com/assets/files/2021-08-03/1627986107-762339-image.png) taking this route makes the metabullet platform more accessible to users all over the world 👍️ enjoy
cdn (content delivery network) active
metabullet.com
2021.39
[ { "text": "[phenomlab](https://metabullet.com/d/756/1) how can i add to my site? i am using stack path for my main wp installation\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/756/2) this is a custom extension which was created by one of the flarum developers at my request. it's not mainstream (yet), but i expect this to be available soon. in any case, the extension won't be free - it will be premium. i have financed the initial development and metabullet.com is the only site where it is currently active.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/756/3) could you share dashboard screenshots 😍 i will wait for it to see it in <https://extiverse.com/>\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/756/4) there are none ! only the link to the cdn you want to target. the screenshot in the original post is from bunnycdn, the vendor i have chosen to partner with for cdn services.\n\n", "name": "", "is_accepted": false }, { "text": "here's a bit of \"eye candy\" or \"speed porn\" for those interested post cdn implementation\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628078508-597006-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "here's some more eye candy. after a week or so of running this new cdn, here's where the bulk of the assets are being served from. note, this this is indicative of nearest \"pop\" (point of presence) and not an indicator of the actual location.\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-09/1628521744-300620-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/756/1) love it mark 😁.\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/756/8) thanks\n\n", "name": "", "is_accepted": false } ]
5074d30f747974ac1d4b32ea7b1661a4
hi, i'm seeking some css help to make my flarum forum really stand out. for starters, i have used the standard 'inspect element' function with firefox to sample some changes. i'm looking to separate the menu and the welcome message with a line of yellow. the standard flarum welcome message is in light blue as seen in the image below. ![](https://metabullet.com/assets/files/2021-01-12/1610478589-315480-screenshot-2021-01-12-stockport-county-fans-forum2.png) i'm looking to change the colour from the light blue, to a darker blue (#0569a3) that matches the clubs colours, as seen below in the image. ![](https://metabullet.com/assets/files/2021-01-12/1610478719-156821-screenshot-2021-01-12-stockport-county-fans-forum3.png) as you will see, it's very much a clash of the same colour, so if it's possible i'm looking to add a line of yellow (fdcc00). as well as that, i'm looking to really make the fonts stand out, i think the statistics say (and correct me if i'm wrong) that it's the first few seconds on the eye that will determine whether or not you stay on a website or not, so this is definitely an important aspect. thank you in advance :)
customising my flarum forum
metabullet.com
2021.43
[ { "text": "[jac](https://metabullet.com/d/21/1)\n\n\nfor the line between the header and welcome message\n\n\n\n```\n.app-header {\n border-bottom: 3px solid #ffff00;\n}\n```\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/21/2) thank you very much, i'll give that a try shortly :)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/21/1) as well as that, i’m looking to really make the fonts stand out, i think the statistics say (and correct me if i’m wrong) that it’s the first few seconds on the eye that will determine whether or not you stay on a website or not, so this is definitely an important aspect.\n> \n> \n\n\nif you want the fonts to stand out, consider the use of `text-shadow`. see [here](https://css-tricks.com/snippets/css/css-text-shadow/) for an example. however, don't \"overuse\" this - only on the text you really want to stand out. it's difficult to get the effect you want, and i'd also recommend you don't use this across the entire site.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/21/4) thanks for the advice, i'll try that later :).\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/21/4) if you want the fonts to stand out, consider the use of text-shadow. see [here](https://css-tricks.com/snippets/css/css-text-shadow/) for an example. however, don’t “overuse” this - only on the text you really want to stand out. it’s difficult to get the effect you want, and i’d also recommend you don’t use this across the entire site.\n> \n> \n\n\nthank you for expanding on this further over on discord.\n\n\ni am at the stage now where i need to create the replica of the forum and wordpress installment, is there any steps on how to do this?\n\n\nthanks.\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/21/6) yes. first thing is to create an a record in your dns that points to the same ip address as what you already have, so, for example,. `dev.mydomain.com`\n\n\nthen, create a new subdomain in plesk as detailed [here](https://docs.plesk.com/en-us/obsidian/customer-guide/websites-and-domains/domains-and-dns/adding-subdomains.65180/)\n\n\nfinally, create a staging (dev and test) website by referring to [this](https://docs.plesk.com/en-us/obsidian/customer-guide/websites-and-domains/extended-website-management/working-with-a-staging-site.66505/)\n\n\nfinally, you'll want to protect the site with any access password to prevent google from crawling it - otherwise, you'll land up with duplicate content which google will penalise you for.\n\n ", "name": "", "is_accepted": false }, { "text": "password protection for a website can be completed as per the video below\n\n\n", "name": "", "is_accepted": false }, { "text": "thank you, just following all the helping advice given, thanks again :)\n\n", "name": "", "is_accepted": false }, { "text": "i'm seeking to change the text link and icons colour in the header menu, and then to follow on and change the hover colour too!\n\n\nhow can i do this?\n\n\nthanks :)\n\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-14/1610653501-969549-screenshot-2021-01-14-stockport-county-fans-forum2.png) - this\n\n\n![](https://metabullet.com/assets/files/2021-01-14/1610653501-939270-screenshot-2021-01-14-stockport-county-fans-forum3.png) - to this\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/21/11) try this\n\n\n\n```\na.linksbutton.splitdropdown-button.button.button--link {\n color: #ffffff;\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "great, that's worked!\n\n\nthanks :)\n\n", "name": "", "is_accepted": false }, { "text": "is there any way to change the colour of these too?\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610707389-898624-screenshot-2021-01-15-stockport-county-fans-forum.png)\n\n\nand the drop down arrows?\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610707480-512945-screenshot-2021-01-15-stockport-county-fans-forum1.png)\n\n\nmany thanks 😁\n\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-15/1610709020-930701-screenshot-2021-01-15-stockport-county-fans-forum2.png)\n\n\nseeking to change the welcome header colour too along with the font colour/ font itself and the x colour and hover colour.\n\n\nfont colour to #ffffff \n\nheader colour to: #0569a3 \n\nx (cross) colour to: #ffffff \n\nand the x (cross) hover colour to: #fdcc00\n\n\nif this / i am being too demanding please say, i don't want to come across that way, i'm just getting great help here!\n\n", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/21/14) and the drop down arrows?\n> \n> \n\n\n\n```\nbutton.dropdown-toggle.button.button--icon.button--link {\n color: #ffffff;\n}\n```\n\n\n> [jac](https://metabullet.com/d/21/14) is there any way to change the colour of these too?\n> \n> \n\n\nyou'll need to tread carefully here, as changes can impact other elements on the site which will be unexpected, and difficult to troubleshoot if you don't fully understand the css heirarchy.\n\n\npress f12 in the browser, and switch the the \"elements\" view (it's the default), or you can right click the icon in question, and choose \"inspect\" which will do the same thing\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610708971-950539-image.png)\n\n\nwith the inspector running, click the icon shown below in the toolbar so it turns blue. now you should be able to hover over elements on the page, and select them as targets\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709099-74655-image.png)\n\n\non the right hand side of the developer tools (assuming you have the tools docked to the bottom - it may be on the right), you should see this\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709219-297456-image.png)\n\n\nclick the \"+\" symbol, and this will create a class for the element selected\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709254-916974-image.png)\n\n\nin that new class, type \"color\" then press enter\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709287-510342-image.png)\n\n\nnow define the colour (notice that the css standard uses us english :)) as shown below\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709340-265442-image.png)\n\n\ntypically, we want more control, so we'll use the hex colour reference. for laziness, i'm choosing \"green\"\n\n\nyou should now see\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709457-53406-image.png)\n\n\nbut at this point, you'll probably also notice that the icons haven't changed colour :). the reason for this is that we need to more specific in our targeting. these icons are created by font awesome, which in turn, uses the css class of `i`. so, we need to change the target by appending an `i` at the end of it, like the below\n\n\nclick the element name\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709545-825218-image.png)\n\n\nuse the arrow key (or mouse) to move to the right, and insert a space, then `i`\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709579-819300-image.png)\n\n\npress enter\n\n\nif all went well, you'll notice that the notification icon has turned green :)\n\n\n![](https://metabullet.com/assets/files/2021-01-15/1610709612-805880-image.png)\n\n\nof course, there are thousands of shades of green! what if we want a *specific* colour ? good question. there's a good hex colour reference chart [here](https://hexcolorcodes.org/)\n\n\ncss takes a lot of practice, experimentation, and patience to get right. this is why you have a dev site :d\n\n\n", "name": "", "is_accepted": false }, { "text": "wow, thank you very much for such a detailed response! :d\n\n", "name": "", "is_accepted": false }, { "text": "thanks again mark for the help given today via discord 😁\n\n\n \n\ni still need to try everything suggested above, but regarding mobile view is there a separate css file for that?\n\n\ni want to make the views in blue and then replies in yellow is this possible with mobile format?\n\n\n![](https://metabullet.com/assets/files/2021-01-17/1610889496-100286-img-20210117-131301.jpg)\n\n\nthanks :d\n\n\n \n\nno idea why that went the thread above 😅\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/21/18) yes, you can do this, but you'll need to leverage something known as `@media` in css to accomplish that. add much as i dislike w3schools, a good example of how that works can be found [here](https://www.w3schools.com/css/css_rwd_mediaqueries.asp)\n\n", "name": "", "is_accepted": false }, { "text": "thank you for the reply, i'll have a look and will try accomplish that later/ tomorrow :)\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab) i'm back, with your help with css.\n\n\ni want to get `article.post.eventpost {` to `padding-left: 20px !important;` when there is `flagrow-ads-fake-poststream-item`. the whole idea is get the ad banner center, because in default `padding-left is 106px`\n\n\nbecause when i input the following css code, then these moves ![](https://metabullet.com/assets/files/2021-01-21/1611236918-274189-image.png)\n\n\n\n```\narticle.post.eventpost {\npadding-left: 20px !important;\n```\n\npage url: <https://forum.acehsc.net/d/59-introduce-yourself-to-the-community/2>\n\n\n![](https://metabullet.com/assets/files/2021-01-21/1611236481-733983-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/21/23) can you provide me with a url where the \"locked the discussion\" is present ?\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/21/23) you could try this\n\n\n\n```\n.flagrow-ads-fake-poststream-item, .flagrow-ads-under-header {\n margin-left: -80px;\n}\n```\n\nit will give the same effect\n\n\n![](https://metabullet.com/assets/files/2021-01-21/1611237545-111035-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/21/25)\n\n\nno way, i didnt think about that.\n\n\nonce again thanks.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/21/26) no way, i didnt think about that.\n> \n> \n\n\n:) you might need to adjust the margin slightly to get the centre positioning you're after. i took \"a guess\"\n\n", "name": "", "is_accepted": false } ]
7075489e165138978b9435cd813f979c
interested what you use for your font css here. your font is super readable.... i didn't realize how tiny the text was on my own flarum until i have been reading things here 😆 now i am thinking i need to tweak mine a little.
css for your font?
metabullet.com
2021.39
[ { "text": "\n> [mikejones](https://metabullet.com/d/166/1) interested what you use for your font css here.\n> \n> \n\n\nthe font used here is \"poppins\" (as in \"mary\") - it's a google font, and available [here](https://fonts.google.com/specimen/poppins?preview.text_type=custom). however, i have \"tailored\" this font somewhat in terms of letter spacing, and line height. the css i use for that is here (it's set at `body` level meaning i don't need to worry about individual classes)\n\n\n\n```\nbody {\n font-family: \"poppins\";\n color: #cccccc;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n letter-spacing: .0125em;\n background: #242425;\n}\n```\n\ni elected to host this font locally, in order to reduce unnecessary http requests. in the custom footer of this site, i use\n\n\n\n```\n<style>\n/* poppins-regular - latin */\n@font-face {\n font-family: 'poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url('/fonts/poppins-v15-latin-regular.eot'); /* ie9 compat modes */\n src: local(''),\n url('/fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* ie6-ie8 */\n url('/fonts/poppins-v15-latin-regular.woff2') format('woff2'), /* super modern browsers */\n url('/fonts/poppins-v15-latin-regular.woff') format('woff'), /* modern browsers */\n url('/fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* safari, android, ios */\n url('/fonts/poppins-v15-latin-regular.svg#poppins') format('svg'); /* legacy ios */\n}\n}\n</style>\n```\n\nand to download the fonts locally, you can use the google font helper [here](https://google-webfonts-helper.herokuapp.com/fonts)\n\n\ni've played with various fonts over the years, and was looking for the ultimate in readability. i think i've finally found it, and am using it here :) the key to getting the font size right is to use `em` rather than `px`. it scales well on mobile devices, and i use it as follows in css. one final touch is to use a `text-shadow` css class. i've avoided it here, but it's useful in headers to make text stand out. a word of warning though - don't *overuse* it.\n\n\n\n```\n font-size: 1rem;\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/2) awesome thanks! when i have some free time i may give this a try on my flarum.\n\n\nhope you don't mind me copying the fonts 😃\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/3) hope you don’t mind me copying the fonts\n> \n> \n\n\nnot at all !! feel free.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/166/2) in the custom footer of this site, i use\n> \n> \n\n\nis there a reason why you host the font style in the footer and not someplace else like the head?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/5) is there a reason why you host the font style in the footer and not someplace else like the head?\n> \n> \n\n\nyes, i do that so i can defer the font meaning that the page renders before the font loads, and meaning there is no reliance on it. the overall impact is page speed and ttfb when content is being rendered (prevents blocking)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/166/2) and to download the fonts locally, you can use the google font helper [here](https://google-webfonts-helper.herokuapp.com/fonts)\n> \n> \n\n\nso i downloaded the font using the helper as you suggested. would i just drop this folder into my flarum storage directory? i guess i am a little confused on where it should go in the flarum file structure.\n\n\n\n> [phenomlab](https://metabullet.com/d/166/6) yes, i do that so i can defer the font meaning that the page renders before the font loads, and meaning there is no reliance on it.\n> \n> \n\n\ngotcha, that makes sense, thanks!\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/7) so i downloaded the font using the helper as you suggested. would i just drop this folder into my flarum storage directory? i guess i am a little confused on where it should go in the flarum file structure.\n> \n> \n\n\nyou can place it wherever you want. the key here is to ensure that the relative path is correct. i typically take the following route\n\n\n1. use the google font helper, but when you've selected the font you require, designate a path. in my case, i chose \"fonts\" (how imaginative :)) and then specified that in the css\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615389706-894934-image.png)\n\n\nnote, that i removed the prior `../` as this means \"two back\" - we want the relative path, so this becomes `/fonts/`\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615389772-649914-image.png)\n\n\n2. now save the downloaded zip, and extract to `<flarumroot>/fonts`\n3. save the css as it is in the panel, and add that to the footer\n4. finally, change your body css so that it uses `font-family: \"poppins\"` as i defined in the first post.\n\n\nthat's it.\n\n", "name": "", "is_accepted": false }, { "text": "well i am almost there... tried to curl it to my server and it didn't like trying to unzip the file:\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo curl https://discord.com/channels/703436505619759185/819232307986694194/819232399539175454 -o poppins-v15-latin.zip\n % total % received % xferd average speed time time time current\n dload upload total spent left speed\n100 4465 100 4465 0 0 87549 0 --:--:-- --:--:-- --:--:-- 87549\nubuntu@ip-172-31-92-154:/var/www/seekadventure.net$ ls\n changelog.md composer.lock flarum public vendor workbench\n composer.json config.php license readme.md vendor2\n composer.json.save extend.php poppins-v15-latin.zip storage 'view?usp=sharing'\nubuntu@ip-172-31-92-154:/var/www/seekadventure.net$ sudo unzip poppins-v15-latin.zip \narchive: poppins-v15-latin.zip\n end-of-central-directory signature not found. either this file is not\n a zipfile, or it constitutes one disk of a multi-part archive. in the\n latter case the central directory and zipfile comment will be found on\n the last disk(s) of this archive.\nunzip: cannot find zipfile directory in one of poppins-v15-latin.zip or\n poppins-v15-latin.zip.zip, and cannot find poppins-v15-latin.zip.zip, period.\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/9) why is the curl path `https://discord.com/channels/703436505619759185/819232307986694194/819232399539175454` ?\n\n\nwouldn't using\n\n\n\n```\nwget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip&subsets=latin&variants=regular\n```\n\nmake more sense ?\n\n\nactually, that still might cause issues. probably quicker to download it locally, then transfer it to the aws instance via scp ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/10) because i like making things harder for myself 😆\n\n\nso i tried that and i look stuck on my terminal window now so i did a ctr-c and not sure if this looks right now...\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo wget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip&subsets=latin&variants=regular\n[1] 135354\n[2] 135355\nubuntu:/var/www/seekadventure.net$ \nredirecting output to ‘wget-log’.\n^c\n[1]- done sudo wget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip\n[2]+ done subsets=latin\nubuntu:/var/www/seekadventure.net$ ^c\nubuntu:/var/www/seekadventure.net$ ls\n changelog.md composer.lock flarum public vendor workbench\n composer.json config.php license readme.md vendor2\n composer.json.save extend.php 'poppins?download=zip' storage wget-log\nubuntu:/var/www/seekadventure.net$ \n```\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/11) so i tried that and i look stuck on my terminal window now so i did a ctr-c and not sure if this looks right now…\n> \n> \n\n\nnope. try\n\n\n\n```\nwget http://metabullet.com/fonts/poppins-v15-latin.zip\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/12) that worked!\n\n\nwhen i unzipped it it through the files out... assume i should try again and unzip into a folder called fonts right?\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo unzip poppins-v15-latin.zip \narchive: poppins-v15-latin.zip\n inflating: poppins-v15-latin-regular.eot \n inflating: poppins-v15-latin-regular.woff \n inflating: poppins-v15-latin-regular.woff2 \n inflating: poppins-v15-latin-regular.ttf \n inflating: poppins-v15-latin-regular.svg \nubuntu:/var/www/seekadventure.net$ ls\nchangelog.md config.php poppins-v15-latin-regular.eot poppins-v15-latin-regular.woff2 storage\ncomposer.json extend.php poppins-v15-latin-regular.svg poppins-v15-latin.zip vendor\ncomposer.json.save flarum poppins-v15-latin-regular.ttf public vendor2\ncomposer.lock license poppins-v15-latin-regular.woff readme.md workbench\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "so i think i got it working.... font dedf changed. but its not as big or clear as yours.... the only code i changed from your css was i removed the background line because i didn't want to change the color of my background...\n\n\ni don't think that would have affected the size?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/14) shouldn't have done - is it live now ?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/14) are you sure the fonts are in fact in that location ? i'm getting a 404\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615393826-733792-image.png) \n\n![](https://metabullet.com/assets/files/2021-03-10/1615393955-209507-image.png)\n\n\nthe times new roman fallback font is also being loaded because of the 404\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615394031-145966-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "hmmm its in a fonts folder... maybe not publicly accessible? maybe move to the flarum public folder?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/13) assume i should try again and unzip into a folder called fonts right?\n> \n> \n\n\nyes, correct. the \"fonts\" folder needs to be in the flarum root\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/17) maybe not publicly accessible? maybe move to the flarum public folder?\n> \n> \n\n\nwho owns the folder ? should be your www-user\n\n\ncan you send me the output of `ls -la` from the flarum root ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/19) yep looks like root root....\n\n\n`drwxr-xr-x 2 root root 4096 mar 10 16:01`\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/20) that's the problem. you'll need to change the owner from root to your www-user\n\n\nso, if your nginx user is `www-data`, you'd use `sudo chown -r www-data:www-data /flarumroot/fonts/`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/21) so i was close at trying this before you came in lol. let me try your code above. i tried this...\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -l\ntotal 556\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\ndrwxr-xr-x 2 root root 4096 mar 10 16:01 fonts\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench\nubuntu:/var/www/seekadventure.net$ chown -r www-data:fonts \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/22) if you execute the command from there, it can simply be `sudo chown -r www-data:www-data /fonts`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/23) so i ran it successfully then cleared my cache and i still get the 404 on the fonts...\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/24) can you send me an `ls -la` again please ?\n\n", "name": "", "is_accepted": false }, { "text": "also, dumb question, but \"fonts\" is a directory, and not a file ?? send also an `ls -lap`. this will place a \"/\" after each actual directory, so you'll easily see if it's a directory or a file.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/26) of course:\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -la\ntotal 576\ndrwxrwxr-x 8 www-data www-data 4096 mar 10 16:00 .\ndrwxr-xr-x 5 root root 4096 dec 19 2018 ..\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 354 dec 6 2018 .editorconfig\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\n-rw-r--r-- 1 root root 1024 dec 21 2018 .flarum.swp\ndrwxr-xr-x 2 www-data www-data 4096 mar 10 16:01 fonts\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 www-data www-data 1509 dec 6 2018 .nginx.conf\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/27) and `ls -lap` please. also useful, would be\n\n\n\n```\ncd fonts\ndir\n```\n\nthanks\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/28)\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -lap\ntotal 576\ndrwxrwxr-x 8 www-data www-data 4096 mar 10 16:00 ./\ndrwxr-xr-x 5 root root 4096 dec 19 2018 ../\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 354 dec 6 2018 .editorconfig\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\n-rw-r--r-- 1 root root 1024 dec 21 2018 .flarum.swp\ndrwxr-xr-x 2 www-data www-data 4096 mar 10 16:01 fonts/\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 www-data www-data 1509 dec 6 2018 .nginx.conf\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public/\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage/\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor/\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2/\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench/\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/29) and\n\n\n\n```\ncd fonts\ndir\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/30)\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ cd fonts/\nubuntu:/var/www/seekadventure.net/fonts$ dir\npoppins-v15-latin-regular.eot poppins-v15-latin-regular.ttf poppins-v15-latin-regular.woff2\npoppins-v15-latin-regular.svg poppins-v15-latin-regular.woff poppins-v15-latin.zip\n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/31) very odd. can you restart nginx ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/32) just ran a `sudo systemctl restart nginx` and still same error....\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/33) i just signed up to your forum (phenomlab). can you make me an admin please ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/34) permissions granted 😀\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/35) i don't have admin. you're using recache, yes ? can you execute `php flarum recache:clear` as it appears your cache is out of sync\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/36) should be good now?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/37) can you provide a copy of your `nginx.conf` file ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/38) the. file under sites-available?\n\n\nif so:\n\n\n\n```\nserver {\n server_name seekadventure.net;\n return 301 https://www.seekadventure.net$request_uri;\n\n listen 443 ssl; # managed by certbot\n ssl_certificate /etc/letsencrypt/live/seekadventure.net/fullchain.pem; # managed by certbot\n ssl_certificate_key /etc/letsencrypt/live/seekadventure.net/privkey.pem; # managed by certbot\n include /etc/letsencrypt/options-ssl-nginx.conf; # managed by certbot\n ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by certbot\n\n # security headers\n add_header strict-transport-security \"max-age=31536000; includesubdomains; preload\";\n \nclient_max_body_size 300m;\n\n location ~* ^/(composer\\.(json|lock)|config\\.php|flarum|storage|vendor) {\n deny all;\n return 404;\n}\n\n\n\n}\n\nserver {\n # security headers\n add_header strict-transport-security \"max-age=31536000; includesubdomains; preload\";\n\n \n root /var/www/seekadventure.net/public;\n index index.php index.html index.htm;\n error_log /var/log/nginx/error.log error;\n\n server_name www.seekadventure.net;\n \n client_max_body_size 300m;\n\n\n location / { try_files $uri $uri/ /index.php?$query_string; }\n \n \n\n location /flarum {\n deny all;\n return 404;\n }\n\n location ~ .php$ {\n fastcgi_split_path_info ^(.+.php)(/.+)$;\n fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;\n fastcgi_index index.php;\n include fastcgi_params;\n\n\n\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n location ~* \\.html$ {\n expires -1;\n }\n\n location ~* \\.(css|js|gif|jpe?g|png)$ {\n expires 1m;\n add_header pragma public;\n add_header cache-control \"public, must-revalidate, proxy-revalidate\";\n }\n\n location ~* ^/(composer\\.(json|lock)|config\\.php|flarum|storage|vendor) {\n deny all;\n return 404;\n }\n\n gzip on;\n gzip_http_version 1.1;\n gzip_vary on;\n gzip_comp_level 6;\n gzip_proxied any;\n gzip_types application/atom+xml\n application/javascript\n application/json\n application/vnd.ms-fontobject\n application/x-font-ttf\n application/x-web-app-manifest+json\n application/xhtml+xml\n application/xml\n font/opentype\n image/svg+xml\n image/x-icon\n text/css\n text/plain\n text/xml;\n gzip_buffers 16 8k;\n gzip_disable \"msie [1-6]\\.(?!.*sv1)\";\n\n\n\n listen 443 ssl; # managed by certbot\n ssl_certificate /etc/letsencrypt/live/seekadventure.net/fullchain.pem; # managed by certbot\n ssl_certificate_key /etc/letsencrypt/live/seekadventure.net/privkey.pem; # managed by certbot\n include /etc/letsencrypt/options-ssl-nginx.conf; # managed by certbot\n ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by certbot\n\n\n}\n\n\nserver {\n if ($host = seekadventure.net) {\n return 301 https://$host$request_uri;\n } # managed by certbot\n\n\n listen 80;\n server_name seekadventure.net;\n return 404; # managed by certbot\n\n\n}\n\nserver {\n if ($host = www.seekadventure.net) {\n return 301 https://$host$request_uri;\n } # managed by certbot\n\n\n listen 80;\n\n server_name www.seekadventure.net;\n return 404; # managed by certbot\n\n\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/39) thanks. something i want to test here. can you\n\n\n1. add this line into your server block, under `location /flarm`\n\n\n\n```\n location /fonts {\n }\n```\n\n2. add a basic .txt file into the /fonts folder, so `sudo touch /fonts/test.txt`\n3. issue `chown -r www-data:www-data /fonts`\n4. restart nginx\n\n\nif all goes well, i should be able to reach the test.txt file from any browser.\n\n\nwhat i think is happening here is that all folder requests are being redirected to `index.php` meaning flarum is expecting to serve this subfolder.\n\n\nif this last test fails, we can \"cheat\" and move the fonts to the `assets` folder and then change the css to suit. however, let's try with steps 1-4 first.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/40) so i just moved the fonts folder to the public folder and everything i think is working now! i didn't change the path of the css though.... but i guess it found it 🤷‍♂️\n\n\nthe font is bigger now but it still looks. a little smaller than your font.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/41) so i just moved the fonts folder to the public folder and everything i think is working now! i didn’t change the path of the css though…. but i guess it found it\n> \n> \n\n\nand there's the disconnect ! you are using `/public` whereas i don't, so the `fonts` folder should have been in the `public` directory :)\n\n\n\n> [mikejones](https://metabullet.com/d/166/41) the font is bigger now but it still looks. a little smaller than your font.\n> \n> \n\n\nlet me check\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/41) looks like i've set an additional inheritance in css so that `.post-body` adopts `body`. i've added the below css to to your forum\n\n\n\n```\n.post-body {\n font-size: inherit;\n}\n```\n\nreload your page - is this what you wanted ?\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/43) yep, that looks awesome!!! thanks! i feel like my forum's much more easily readable especially on mobile device now!\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/44) no problem. one thing i did notice is that the increase in font size has a negative impact on larger screens.\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615400407-364497-image.png)\n\n\nyou can fix that with this css\n\n\n\n```\n@media (min-width: 1100px) {\n.container {\n width: 1200px;\n}\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/45) on how big of screen. i am on my laptop and things look pretty good.\n\n\nis that css just making the post container wider?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/46) on how big of screen. i am on my laptop and things look pretty good.\n> \n> \n\n\n2560 x 1440 :) i have a large monitor\n\n\n\n> [mikejones](https://metabullet.com/d/166/46) is that css just making the post container wider?\n> \n> \n\n\nyes - only by 100px but enough to throw it out of line and make it look bad. adding 100px fixes that\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/46) much better :)\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615400625-590435-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "everything is looking great! one thing i noticed is if you scroll down to the bottom of this article: <https://www.seekadventure.net/d/192-pakayak-142-review-first-look>\n\n\nand see the details tag i use for \"more kayaking adventures\" it shows a down arrow on desktop but not on mobile anymore...\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/49) i don't see it on mobile view, and it's not in the html from what i can see ?\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615400909-550791-image.png)\n\n\nare you sure it's actually there ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/51) here is a screenshot from desktop:\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615401098-195642-screen-shot-2021-03-10-at-103101-am.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/52) can you clear your browser cache and try again? i do not see this listed in an incognito session.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/53) what browser are you using, firefox?\n\n\ni think if i remember correctly that firefox doesn't shiw the arrow of the details extension\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/54) i'm using chrome. tried from firefox, chromium, brave, and edge. the icon isn't even loaded with the html, so it's not there 🤷‍♂️\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/55) odd shows up for me on safari and chrome on my laptop...\n\n\ni will have to check out the discuss discussion on the extension i think there were some possible css solutions to get it to work on firefox so maybe i will try that as the default\n\n ", "name": "", "is_accepted": false }, { "text": "odd thing is that it shows on mobile for me\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615403223-868461-screenshot-20210310-190626.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/56) try disabling recache also as a test\n\n", "name": "", "is_accepted": false }, { "text": "i tried changing some css didn't work.\n\n\ni assume my phone screen is smaller than yours and maybe that's why i am not seeing it with the larger font....\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/59) could be the case, yes.\n\n", "name": "", "is_accepted": false }, { "text": "i just have to say that i like the chosen font and the spacing and size. so very easy to read. i also like that you didn't make the text color white. i like that the text font isn't so bright. also makes it easy to read, imho.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/166/61) yes, i'm a bit obsessive with fonts and readability, and it took me a while to settle on this one. ironically, this one was chosen at random as i saw a preview of it elsewhere and instantly liked the way it looked. i have adjusted the line height and letter spacing from the original though, but not by that much.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/62) it was a very good choice. well done!\n\n", "name": "", "is_accepted": false } ]
d8f97bc4e91219638efe7e267de874e2
hello fellow metabulleters! i am currently looking for some advice with regards to an rmm-style solution for home / family use. i have been tasked with building a desktop for my nephew, and i’m pre-empting the inevitable support calls. the requirements are rather basic, but i need some of the following: * restrict sites by category. * remote patching / application management * logging (used for security investigation in the event of a problem) * remote support thanks in advance! 🙂
rmm for family
metabullet.com
2021.31
[ { "text": "[phenomlab](https://metabullet.com/d/85/6) i needed to log metrics, and see trends and historical data. \n\ni decided to settle on itarian, and remote powershell 🙂\n\n\n", "name": "", "is_accepted": true }, { "text": "[katos](https://metabullet.com/d/85/1) by rmm, are you referring to remote monitoring and management ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/85/2) sorry, yes i am 🙂\n\n\n", "name": "", "is_accepted": false }, { "text": "[katos](https://metabullet.com/d/85/3) are you looking to manage multiple systems, and are they windows ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/85/4) windows, and potentially managing 3 devices, but certainly 1 for now.\n\n ", "name": "", "is_accepted": false }, { "text": "[katos](https://metabullet.com/d/85/5) if you are targeting just the one pc for now, wouldn’t remote assistance be the simplest route ?\n\n ", "name": "", "is_accepted": false } ]
7bf549cbe5d1ef66b5a0c377b1633489
![hiring!](https://i.imgur.com/5kedzee.png) ### creators wave is hiring! creators wave is hiring to help support our continued development and expansion! this includes the **paid** position of flarum development. we are still looking for the extension development posted above, and also for further development to better the competitiveness of our site in a crowded market. flarum developer (freelance) - **paid** we are recruiting for flarum developers to assist in the customization and development of creators wave. *responsibilities* * creating flarum extensions for use on creators wave * creating a bespoke layout for creators wave, making use of local extenders and making substantial changes to the front end. * creating additional pages for creators wave to assist in our content delivery. * extending community extensions for betterment for the use-case at creators wave. read more about our open roles today: <https://creatorswave.com/blog/279-creators-wave-is-hiring>
creators wave - hiring developers
metabullet.com
2021.43
[ { "text": "we are also recruiting for other positions, so if interested please check out our blog post! :)\n\n\n", "name": "", "is_accepted": false }, { "text": "to ensure that we are being transparent with regards to the requirements of creators wave extensions, please see the below break-down. \n\nnote that the **signature extension** is now completed, and no longer required.\n\n\n[![](https://i.ibb.co/xskhb7n/extensions.png)](https://ibb.co/hr6s4ms)\n\n", "name": "", "is_accepted": false } ]
6f8188d5ca531c677f2674802a513ded
hi [@phenomlab](https://metabullet.com/u/phenomlab) - it's flarumfan from the flarum forum here. thank you very much for the offer of help to update flarum. for now i am running `"/usr/bin/php73 -d memory_limit=-1 -f /usr/bin/composer require fof/forum-statistics-widget:"*""` in order for composer to install flarum extensions because i'm still using beta 13. from what i gather i need to uninstall any incompatible extensions (something i've never done), and then i am able to go ahead and update the version of flarum, but i would have to update to beta 14 first and then 15? many thanks jon
updating flarum from beta 13 to 15
metabullet.com
2021.39
[ { "text": "\n> [jac](https://metabullet.com/d/15/1) from what i gather i need to uninstall any incompatible extensions (something i’ve never done), and then i am able to go ahead and update the version of flarum, but i would have to update to beta 14 first and then 15?\n> \n> \n\n\ncorrect. there is a process you'll need to follow in order to get this to work. essentially, we need to remove the extensions which are not classed as compatible. do you have an extiverse login from <https://extiverse.com/> ? the first things you should do are\n\n\n1. create an account on extiverse\n2. get the extiverse helper from here installed onto the system you are using - for example, a vps, or shared hosting - <https://discuss.flarum.org/d/25246-extiverse-helper>\n3. get a token from extiverse that enables you to use the checker utility using `php extiverse auth` . this will then allow you to submit your current extensions into extiverse, which will then respond with a list of what is compatible, and what is not\n4. remove the incompatible extensions (make a note of them as there are [in most cases] available updates which can be installed once you've completed the core upgrade)\n5. update the core - you can go from beta 13 to beta 15 without issues\n6. re-add the updated extensions\n\n\nthis can be a little daunting f you've not done it before, but it's the safest way to complete the upgrade. to cut out some of the complexity, can you post the output of `php flarum info` here ? this will allow me to quickly determine which extenions may not be compatible.\n\n\n", "name": "", "is_accepted": false }, { "text": "thank you very much for all the information, i will do this later and get back to you on here 😃\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/3) pleasure. let me know how it goes. in the meantime, if you provide the output of `php flarum info` i can give you detail in advance of what you'll need to disable to complete the upgrade.\n\n", "name": "", "is_accepted": false }, { "text": "ok, i've signed up to extiverse and completed the next step here - <https://discuss.flarum.org/d/25246-extiverse-helper>\n\n\nunfortunately i'm pretty clueless with this sort of thing and am stuck with where to run the command of \"php extiverse auth\"\n\n\ni don't even think i've uploaded the file to the server properly. ![](https://metabullet.com/assets/files/2021-01-06/1609970475-849600-screenshot-2021-01-06-my20i-file-manager.png)\n\n\ni really do apologise that i've not done this before and have got stuck at the first step essentially 😅\n\n\nmany thanks, (absolutely love what you have done with the styling!)\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/5) you'll need to run the extiverse binary from cli - the command prompt if this is windows. i'll need to know a bit more about your environment first before i provide the next steps.\n\n ", "name": "", "is_accepted": false }, { "text": "unfortunately i've tried to follow the steps in the document but i don't seem to be able to even run the binary.\n\n\ni'm using shared hosting with 20i, apologies if that's not what you meant.\n\n\ni realise i may be starting to sound very thick, it's just something i've not done before and am struggling to get my head around 😆\n\n ", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-07/1610019836-730012-4.png)\n\n\ni am unsure what to add next to run the command.\n\n\nwould i be better using putty?\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/8) this looks like the command prompt from your own pc ? what we need is ssh (secure shell) access to the actual web server that is running the site. i'm 100% sure that 20i provide ssh access, and found this \n\n<https://www.20i.com/support/reseller-hosting/connect-via-ssh>\n\n\nwe need to get this setup first, as everything we are going to need is from the cli (command line interface). you may already have ssh via the console itself, so this is also worth checking (by console, i mean the 20i admin portal).\n\n\nlet me know ?\n\n", "name": "", "is_accepted": false }, { "text": "[@jac](https://metabullet.com/u/jac) as a side note, is there any reason why you chose 20i for hosting ? their plans are incredibly expensive for what they are. i'd strongly recommend you take a look at ionos or hetzner (the old disadvantage with hetzner is that they are based in nuremberg, but don't let that put you off).\n\n\ni've just been looking at their pricing, and it's eye watering ! 😠\n\n ", "name": "", "is_accepted": false }, { "text": "i'm on shared hosting and pay £10.79 pm. i do notice sometimes it is quite slow to load but i just put that down to the loading of flarum or wordpress.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/15/9) this looks like the command prompt from your own pc ?\n> \n> \n\n\ni do apologise for getting mixed up, i am able to access ssh which i have used before to generate the key for the putty console.\n\n\ndo i need to do similar and load up putty and enter the information to access my flarum installation?\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/12) yes, exactly that. before we start, can you access the web server using ssh, change to the flarum directory, then run `php flarum info` and post the result here ?\n\n\nthanks\n\n", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/15/11) i’m on shared hosting and pay £10.79 pm. i do notice sometimes it is quite slow to load but i just put that down to the loading of flarum or wordpress.\n> \n> \n\n\nflarum is known for being lightweight. i've viewed the forum you have, and yes, is is really slow - this isn't normal. do you know which package you have ? if it's shared hosting, it's highly likely this isn't enough - especially if you are running wordpress on that same host. i'm more than happy to help you transition to a new one. there are much cheaper solutions out there that perform much better than this. the hosting performance for being in the uk is way under par.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/15/13) yes, exactly that. before we start, can you access the web server using ssh, change to the flarum directory, then run php flarum info and post the result here ?\n> \n> \n\n\ni can connect to putty via ssh details\n\n\n![](https://metabullet.com/assets/files/2021-01-07/1610028512-394464-capture3.png)\n\n\nother than that i can't get past that bit would i enter public\\_html (that's where my flarum is installed). apologies that i do seem to be really bad at this, i usually use wordpress mostly so all of this is very new.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/15/14) there are much cheaper solutions out there that perform much better than this. the hosting performance for being in the uk is way under par.\n> \n> \n\n\nthat would be very kind of you, i have a tendency to stick with uk hosting but i am defiantly up for looking into different hosting providers for the better.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/15/15) can’t get past that bit would i enter public\\_html\n> \n> \n\n\ndo you know the exact location as to where flarum is installed ? typically, it probably is inside public\\_html so you'd need to enter this location in order to execute the `php flaum info` command (plus all other commands as they need to be executed from the flarum root directory).\n\n\nif you look at the screenshot you posted with the extiverse binary, you'll see that \"public\\_html\" is referenced there. if you go one step back, this should give you the path you need.\n\n\nhowever, you could \"cheat\" here and use `find`\n\n\nfor example, we'll try and target the `flarum` binary\n\n\n![](https://metabullet.com/assets/files/2021-01-07/1610030332-632902-image.png)\n\n\nso, at the cli prompt, you'll enter `find . -name \"flarum\"` then press enter. the resultant paths shown are where this file is located. so, in this instance (screenshot), the path is `/var/www/vhosts/metabullet.com/httpdocs`. yours will no doubt be different, but this is where you'll need to execute commands from. once you've got this detail, you can simply perform `cd /var/www/vhosts/metabullet.com/httpdocs`\n\n\nlet me know how you get on.\n\n\n", "name": "", "is_accepted": false }, { "text": "wow, i'll try work my way through that when possible later tonight.\n\n\nas always, many thanks for the help!\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/18) no problems. let me know.\n\n", "name": "", "is_accepted": false }, { "text": "thanks, going to attempt it later tonight.\n\n\ni guess once past this step it's a matter of uninstalling old plugins (something i've never done too) and then updating to beta 15 and then reinstalling the plugins you need?\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/20) ummm - no, not really :) it's more complex than that, and you can't remove extensions from the gui either. there is an \"uninstall\" option, but all this does is undo the db migrations meaning that same extension probably won't work afterwards. you have to remove the extensions from the cli at the flarum root, so, for example `composer remove fof/gamification`. the upgrade process is well documented, although depending on what extensions you have (which is why i keep asking for the output of `php flarum info` :)) it won't go as smoothly as you expect...\n\n\nseriously - if you can get the me detail of that output asap, i could save you a raft of issues.\n\n", "name": "", "is_accepted": false }, { "text": "sure, i can attempt it myself or i am more than happy to send you login details, however i do understand that it may be getting frustrating for you that i'm not understanding correctly / can't get on with it, it's just something i haven't done before so i keep getting stuck but i do of course appreciate all the help! 😄\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/15/22) however i do understand that it may be getting frustrating for you that i’m not understanding correctly / can’t get on with it, it’s just something i haven’t done before so i keep getting stuck but i do of course appreciate all the help!\n> \n> \n\n\n[@jac](https://metabullet.com/u/jac) the entire purpose of this site is to avoid the frustrations that typically other sites display (yes, stack overflow, i'm looking at you :)). here, we (well, just me for the moment) actually want to help others on their journey, and we're all here to learn. i can of course do this for you if you want to provide the details, but i firmly believe that real learning comes from doing yourself.\n\n\nif you'd prefer i did it, this is absolutely fine - just let me know. i can work on it now even :p\n\n\nyou can reach me on discord - `phenomlab#4801` - just send me an friend request in the flarum channels\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/15/23) thanks very much, it really is a great idea what you have set out to do by helping people is commended.\n\n\nwhat information do you need and where would you like me to send it to?\n\n\nwhat about using something like teamviewer so i could see how everything was done or if that's not something you wish to do that's fine, i have to say i usually don't put myself down with doing wordpress etc and building sites but i admit when flarum works it's fantastic but actually the basis of it is completely new to me, using composer to install extensions etc, but i'm loving everything since using it for the last six months or so, but i would say this is the first time i feel lost with it but once i get over that step of updating etc i'm sure it'll all be fine 😅\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/15/24) what information do you need and where would you like me to send it to?\n> \n> \n\n\nideally, i'll need the login details (username, password etc) for the web server in order to reach it via ssh (need access to the command shell). we;'ll need to setup a secure channel to do this. let me revert.\n\n\n\n> [jac](https://metabullet.com/d/15/24) what about using something like teamviewer\n> \n> \n\n\ni'm happy with that, but if you want to do this, it'll need to be scheduled in to fit around other commitments.\n\n\n\n> [jac](https://metabullet.com/d/15/24) when flarum works it’s fantastic but actually the basis of it is completely new to me, using composer to install extensions etc, but i’m loving everything since using it for the last six months or so, but i would say this is the first time i feel lost with it but once i get over that step of updating etc i’m sure it’ll all be fine\n> \n> \n\n\nyes, it's a learning curve, but not insurmountable. as you become more comfortable with the process, it's like riding a bike :)\n\n\n", "name": "", "is_accepted": false }, { "text": "[@jac](https://metabullet.com/u/jac) can you please reload your browser, then click the speech bubble icon in the top bar where you see your login name ? you'll be asked to enter your login password again to setup a secure and encrypted chat session. let me know once completed, and i'll send you a message. this will not appear here - it is designed to be completely secured.\n\n", "name": "", "is_accepted": false }, { "text": "thank you, i will send the details over now.\n\n\n\n> [phenomlab](https://metabullet.com/d/15/25) ’m happy with that, but if you want to do this, it’ll need to be scheduled in to fit around other commitments.\n> \n> \n\n\nthat's no problem, of course, i understand 😀\n\n\n\n> [phenomlab](https://metabullet.com/d/15/25) yes, it’s a learning curve, but not insurmountable. as you become more comfortable with the process, it’s like riding a bike\n> \n> \n\n\nof course, it's like anything you have to learn the process, but help is definitely nice sometimes along the way 😉\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/15/26) can you please reload your browser, then click the speech bubble icon in the top bar where you see your login name ? you’ll be asked to enter your login password again to setup a secure and encrypted chat session. let me know once completed, and i’ll send you a message. this will not appear here - it is designed to be completely secured.\n> \n> \n\n\nunfortuantly i can't see the bubble icon you mentioned. \n\n![](https://metabullet.com/assets/files/2021-01-07/1610041854-636117-screenshot-2021-01-07-metabullet.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/28) it's here ?\n\n\n![](https://metabullet.com/assets/files/2021-01-07/1610041915-992532-image.png)\n\n\nif you don't see it, reload your browser.\n\n", "name": "", "is_accepted": false }, { "text": "i still don't see it i'm afraid. i just see the screenshot below. i've tried a few different browsers too and cleared the cache and still the same. are the permissions correct?\n\n\n![](https://metabullet.com/assets/files/2021-01-07/1610042234-328278-screenshot-2021-01-07-metabullet1.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/30) duh :( they are now !! reload your page again.\n\n", "name": "", "is_accepted": false }, { "text": "that's great, done!\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/32) i've sent you a message. have a look.\n\n", "name": "", "is_accepted": false }, { "text": "[@jac](https://metabullet.com/u/jac) as discussed on secure chat, the upgrade has been completed. for anyone else watching this thread, there's the steps i took to complete\n\n\n`bash-4.1$ /usr/bin/php74 -f composer.phar update --no-install --with-all-dependencies`\n\n\nthis downloaded the updated files\n\n\n\n```\nloading composer repositories with package information\nupdating dependencies\nlock file operations: 3 installs, 69 updates, 12 removals\n - removing amaurycarrade/flarum-ext-syndication (v0.3.1)\n - removing erusev/parsedown (1.7.4)\n - removing flagrow/ads (0.2.4)\n - removing flarum/auth-facebook (v0.1.0-beta.13)\n - removing flarum/auth-github (v0.1.0-beta.13)\n - removing flarum/auth-twitter (v0.1.0-beta.13)\n - removing kylekatarnls/update-helper (1.2.1)\n - removing kyrne/ext-core (0.1.2)\n - removing league/oauth1-client (v1.8.2)\n - removing league/oauth2-client (2.6.0)\n - removing league/oauth2-facebook (2.0.3)\n - removing league/oauth2-github (2.0.0)\n - upgrading askvortsov/flarum-categories (v1.0.4 => v2.0.0)\n - upgrading clarkwinkelmann/flarum-ext-who-read (1.2.0 => 1.2.2)\n - upgrading components/font-awesome (5.9.0 => 5.15.1)\n - upgrading dflydev/fig-cookies (v1.0.2 => v2.0.3)\n - upgrading doctrine/inflector (1.4.3 => 2.0.3)\n - upgrading flarum/approval (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/bbcode (v0.1.0-beta.12 => v0.1.0-beta.15)\n - upgrading flarum/core (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/emoji (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/flags (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/lang-english (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/likes (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/lock (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/markdown (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/mentions (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/pusher (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/statistics (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/sticky (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/subscriptions (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/suspend (v0.1.0-beta.13 => v0.1.0-beta.15)\n - upgrading flarum/tags (v0.1.0-beta.13.2 => v0.1.0-beta.15)\n - upgrading flarumite/simple-discussion-views (0.1.1 => 0.2.3)\n - upgrading fof/analytics (0.9.1 => 0.11.0)\n - upgrading fof/best-answer (0.1.12 => 0.3.2)\n - upgrading fof/components (0.1.1 => 0.2.0)\n - upgrading fof/console (0.5.3 => 0.6.2)\n - upgrading fof/cookie-consent (0.2.0 => 0.4.0)\n - upgrading fof/custom-footer (0.1.3 => 0.3.0)\n - upgrading fof/formatting (0.1.5 => 0.3.1)\n - upgrading fof/forum-statistics-widget (0.2.0 => 0.4.0)\n - upgrading fof/frontpage (0.1.4 => 0.3.0)\n - upgrading fof/gamification (0.1.9 => 0.4.2)\n - upgrading fof/links (0.3.0 => 0.5.0)\n - upgrading fof/pages (0.4.0 => 0.6.0)\n - upgrading fof/polls (0.1.5 => 0.3.2)\n - upgrading fof/realtimedate (0.1.3 => 0.2.1)\n - upgrading fof/recaptcha (0.1.2 => 0.3.1)\n - upgrading fof/share-social (0.1.2 => 0.3.0)\n - upgrading fof/sitemap (0.5.3 => 0.6.0)\n - upgrading fof/socialprofile (0.1.2 => 0.2.0)\n - upgrading fof/spamblock (0.2.2 => 0.4.0)\n - upgrading fof/upload (0.9.2 => 0.12.1)\n - upgrading fof/user-bio (0.2.0 => 0.4.1)\n - upgrading guzzlehttp/guzzle (6.5.5 => 7.2.0)\n - upgrading illuminate/bus (v5.7.28 => v6.20.9)\n - upgrading illuminate/cache (v5.7.28 => v6.20.9)\n - upgrading illuminate/config (v5.7.28 => v6.20.9)\n - upgrading illuminate/console (v5.7.28 => v6.20.9)\n - upgrading illuminate/container (v5.7.28 => v6.20.9)\n - upgrading illuminate/contracts (v5.7.28 => v6.20.9)\n - upgrading illuminate/database (v5.7.28 => v6.20.9)\n - upgrading illuminate/events (v5.7.28 => v6.20.9)\n - upgrading illuminate/filesystem (v5.7.28 => v6.20.9)\n - upgrading illuminate/hashing (v5.7.28 => v6.20.9)\n - upgrading illuminate/mail (v5.7.28 => v6.20.9)\n - upgrading illuminate/pipeline (v5.7.28 => v6.20.9)\n - upgrading illuminate/queue (v5.7.28 => v6.20.9)\n - upgrading illuminate/session (v5.7.28 => v6.20.9)\n - upgrading illuminate/support (v5.7.28 => v6.20.9)\n - upgrading illuminate/translation (v5.7.28 => v6.20.9)\n - upgrading illuminate/validation (v5.7.28 => v6.20.9)\n - upgrading illuminate/view (v5.7.28 => v6.20.9)\n - upgrading kyrne/shout (0.1.19 => 0.2.8)\n - locking league/commonmark (1.5.7)\n - upgrading nesbot/carbon (1.39.1 => 2.43.0)\n - locking psr/http-client (1.0.1)\n - upgrading symfony/config (v3.4.47 => v4.4.18)\n - upgrading symfony/filesystem (v4.4.18 => v5.2.1)\n - upgrading symfony/translation (v3.4.47 => v4.4.18)\n - locking symfony/translation-contracts (v2.3.0)\n - upgrading symfony/yaml (v3.4.47 => v4.4.18)\n - upgrading v17development/flarum-seo (1.3.1 => 1.5.1)\n```\n\nthen\n\n\n`bash-4.1$ /usr/bin/php74 -f composer.phar install --prefer-dist --no-dev -a`\n\n\n\n```\ninstalling dependencies from lock file\nverifying lock file contents can be installed on current platform.\npackage operations: 3 installs, 69 updates, 12 removals\n - downloading symfony/yaml (v4.4.18)\n - downloading symfony/translation-contracts (v2.3.0)\n - downloading symfony/translation (v4.4.18)\n - downloading symfony/filesystem (v5.2.1)\n - downloading symfony/config (v4.4.18)\n - downloading nesbot/carbon (2.43.0)\n - downloading illuminate/contracts (v6.20.9)\n - downloading doctrine/inflector (2.0.3)\n - downloading illuminate/support (v6.20.9)\n - downloading illuminate/filesystem (v6.20.9)\n - downloading illuminate/container (v6.20.9)\n - downloading illuminate/events (v6.20.9)\n - downloading illuminate/view (v6.20.9)\n - downloading illuminate/translation (v6.20.9)\n - downloading illuminate/validation (v6.20.9)\n - downloading illuminate/session (v6.20.9)\n - downloading illuminate/pipeline (v6.20.9)\n - downloading illuminate/database (v6.20.9)\n - downloading illuminate/console (v6.20.9)\n - downloading illuminate/queue (v6.20.9)\n - downloading league/commonmark (1.5.7)\n - downloading illuminate/mail (v6.20.9)\n - downloading illuminate/hashing (v6.20.9)\n - downloading illuminate/config (v6.20.9)\n - downloading illuminate/cache (v6.20.9)\n - downloading illuminate/bus (v6.20.9)\n - downloading dflydev/fig-cookies (v2.0.3)\n - downloading components/font-awesome (5.15.1)\n - downloading flarum/core (v0.1.0-beta.15)\n - downloading flarum/tags (v0.1.0-beta.15)\n - downloading askvortsov/flarum-categories (v2.0.0)\n - downloading clarkwinkelmann/flarum-ext-who-read (1.2.2)\n - downloading flarum/flags (v0.1.0-beta.15)\n - downloading flarum/approval (v0.1.0-beta.15)\n - downloading flarum/bbcode (v0.1.0-beta.15)\n - downloading flarum/emoji (v0.1.0-beta.15)\n - downloading flarum/lang-english (v0.1.0-beta.15)\n - downloading flarum/likes (v0.1.0-beta.15)\n - downloading flarum/lock (v0.1.0-beta.15)\n - downloading flarum/markdown (v0.1.0-beta.15)\n - downloading flarum/mentions (v0.1.0-beta.15)\n - downloading flarum/pusher (v0.1.0-beta.15)\n - downloading flarum/statistics (v0.1.0-beta.15)\n - downloading flarum/subscriptions (v0.1.0-beta.15)\n - downloading flarum/suspend (v0.1.0-beta.15)\n - downloading flarumite/simple-discussion-views (0.2.3)\n - downloading fof/components (0.2.0)\n - downloading fof/analytics (0.11.0)\n - downloading fof/console (0.6.2)\n - downloading fof/best-answer (0.3.2)\n - downloading fof/cookie-consent (0.4.0)\n - downloading fof/custom-footer (0.3.0)\n - downloading fof/formatting (0.3.1)\n - downloading fof/forum-statistics-widget (0.4.0)\n - downloading flarum/sticky (v0.1.0-beta.15)\n - downloading fof/frontpage (0.3.0)\n - downloading fof/gamification (0.4.2)\n - downloading fof/links (0.5.0)\n - downloading fof/pages (0.6.0)\n - downloading fof/polls (0.3.2)\n - downloading fof/realtimedate (0.2.1)\n - downloading fof/recaptcha (0.3.1)\n - downloading fof/share-social (0.3.0)\n - downloading fof/sitemap (0.6.0)\n - downloading fof/socialprofile (0.2.0)\n - downloading fof/spamblock (0.4.0)\n - downloading psr/http-client (1.0.1)\n - downloading guzzlehttp/guzzle (7.2.0)\n - downloading fof/upload (0.12.1)\n - downloading fof/user-bio (0.4.1)\n - downloading kyrne/shout (0.2.8)\n - downloading v17development/flarum-seo (1.5.1)\n - removing league/oauth2-github (2.0.0)\n - removing league/oauth2-facebook (2.0.3)\n - removing league/oauth2-client (2.6.0)\n - removing league/oauth1-client (v1.8.2)\n - removing kyrne/ext-core (0.1.2)\n - removing kylekatarnls/update-helper (1.2.1)\n - removing flarum/auth-twitter (v0.1.0-beta.13)\n - removing flarum/auth-github (v0.1.0-beta.13)\n - removing flarum/auth-facebook (v0.1.0-beta.13)\n - removing flagrow/ads (0.2.4)\n - removing erusev/parsedown (1.7.4)\n - removing amaurycarrade/flarum-ext-syndication (v0.3.1)\n - upgrading symfony/yaml (v3.4.47 => v4.4.18): extracting archive\n - installing symfony/translation-contracts (v2.3.0): extracting archive\n - upgrading symfony/translation (v3.4.47 => v4.4.18): extracting archive\n - upgrading symfony/filesystem (v4.4.18 => v5.2.1): extracting archive\n - upgrading symfony/config (v3.4.47 => v4.4.18): extracting archive\n - upgrading nesbot/carbon (1.39.1 => 2.43.0): extracting archive\n - upgrading illuminate/contracts (v5.7.28 => v6.20.9): extracting archive\n - upgrading doctrine/inflector (1.4.3 => 2.0.3): extracting archive\n - upgrading illuminate/support (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/filesystem (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/container (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/events (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/view (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/translation (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/validation (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/session (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/pipeline (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/database (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/console (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/queue (v5.7.28 => v6.20.9): extracting archive\n - installing league/commonmark (1.5.7): extracting archive\n - upgrading illuminate/mail (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/hashing (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/config (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/cache (v5.7.28 => v6.20.9): extracting archive\n - upgrading illuminate/bus (v5.7.28 => v6.20.9): extracting archive\n - upgrading dflydev/fig-cookies (v1.0.2 => v2.0.3): extracting archive\n - upgrading components/font-awesome (5.9.0 => 5.15.1): extracting archive\n - upgrading flarum/core (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/tags (v0.1.0-beta.13.2 => v0.1.0-beta.15): extracting archive\n - upgrading askvortsov/flarum-categories (v1.0.4 => v2.0.0): extracting archive\n - upgrading clarkwinkelmann/flarum-ext-who-read (1.2.0 => 1.2.2): extracting archive\n - upgrading flarum/flags (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/approval (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/bbcode (v0.1.0-beta.12 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/emoji (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/lang-english (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/likes (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/lock (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/markdown (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/mentions (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/pusher (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/statistics (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/subscriptions (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarum/suspend (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading flarumite/simple-discussion-views (0.1.1 => 0.2.3): extracting archive\n - upgrading fof/components (0.1.1 => 0.2.0): extracting archive\n - upgrading fof/analytics (0.9.1 => 0.11.0): extracting archive\n - upgrading fof/console (0.5.3 => 0.6.2): extracting archive\n - upgrading fof/best-answer (0.1.12 => 0.3.2): extracting archive\n - upgrading fof/cookie-consent (0.2.0 => 0.4.0): extracting archive\n - upgrading fof/custom-footer (0.1.3 => 0.3.0): extracting archive\n - upgrading fof/formatting (0.1.5 => 0.3.1): extracting archive\n - upgrading fof/forum-statistics-widget (0.2.0 => 0.4.0): extracting archive\n - upgrading flarum/sticky (v0.1.0-beta.13 => v0.1.0-beta.15): extracting archive\n - upgrading fof/frontpage (0.1.4 => 0.3.0): extracting archive\n - upgrading fof/gamification (0.1.9 => 0.4.2): extracting archive\n - upgrading fof/links (0.3.0 => 0.5.0): extracting archive\n - upgrading fof/pages (0.4.0 => 0.6.0): extracting archive\n - upgrading fof/polls (0.1.5 => 0.3.2): extracting archive\n - upgrading fof/realtimedate (0.1.3 => 0.2.1): extracting archive\n - upgrading fof/recaptcha (0.1.2 => 0.3.1): extracting archive\n - upgrading fof/share-social (0.1.2 => 0.3.0): extracting archive\n - upgrading fof/sitemap (0.5.3 => 0.6.0): extracting archive\n - upgrading fof/socialprofile (0.1.2 => 0.2.0): extracting archive\n - upgrading fof/spamblock (0.2.2 => 0.4.0): extracting archive\n - installing psr/http-client (1.0.1): extracting archive\n - upgrading guzzlehttp/guzzle (6.5.5 => 7.2.0): extracting archive\n - upgrading fof/upload (0.9.2 => 0.12.1): extracting archive\n - upgrading fof/user-bio (0.2.0 => 0.4.1): extracting archive\n - upgrading kyrne/shout (0.1.19 => 0.2.8): extracting archive\n - upgrading v17development/flarum-seo (1.3.1 => 1.5.1): extracting archive\ngenerating optimized autoload files\n81 packages you are using are looking for funding.\nuse the `composer fund` command to find out more!\n```\n\nhowever, not all components were upgraded, so the process didn't complete correctly. resolved this by editing `composer.json` and changing all versions to \"*\"\n\n\n\n```\n \"askvortsov/flarum-categories\": \"*\",\n \"clarkwinkelmann/flarum-ext-who-read\": \"*\",\n \"flarum/approval\": \"*\",\n \"flarum/bbcode\": \"*\",\n \"flarum/core\": \"*\",\n \"flarum/emoji\": \"*\",\n \"flarum/flags\": \"*\",\n \"flarum/lang-english\": \"*\",\n \"flarum/likes\": \"*\",\n \"flarum/lock\": \"*\",\n \"flarum/markdown\": \"*\",\n \"flarum/mentions\": \"*\",\n \"flarum/statistics\": \"*\",\n \"flarum/sticky\": \"*\",\n \"flarum/subscriptions\": \"*\",\n \"flarum/suspend\": \"*\",\n \"flarum/tags\": \"*\",\n \"flarumite/simple-discussion-views\": \"*\",\n \"fof/analytics\": \"*\",\n \"fof/best-answer\": \"*\",\n \"fof/cookie-consent\": \"*\",\n \"fof/custom-footer\": \"*\",\n \"fof/formatting\": \"*\",\n \"fof/forum-statistics-widget\": \"*\",\n \"fof/frontpage\": \"*\",\n \"fof/gamification\": \"*\",\n \"fof/links\": \"*\",\n \"fof/pages\": \"*\",\n \"fof/polls\": \"*\",\n \"fof/realtimedate\": \"*\",\n \"fof/recaptcha\": \"*\",\n \"fof/share-social\": \"*\",\n \"fof/sitemap\": \"*\",\n \"fof/socialprofile\": \"*\",\n \"fof/spamblock\": \"*\",\n \"fof/upload\": \"*\",\n \"fof/user-bio\": \"*\",\n \"kyrne/shout\": \"**\",\n \"v17development/flarum-seo\": \"*\"\n },\n```\n\nthen re-run `bash-4.1$ /usr/bin/php74 -f composer.phar install --prefer-dist --no-dev -a` followed by `php flarum migrate`\n\n\n\n```\nnothing to migrate.\nmigrating extension: flarum-approval\nnothing to migrate.\nmigrating extension: flarum-emoji\nnothing to migrate.\nmigrating extension: flarum-flags\nnothing to migrate.\nmigrating extension: flarum-likes\nnothing to migrate.\nmigrating extension: flarum-lock\nnothing to migrate.\nmigrating extension: flarum-mentions\nnothing to migrate.\nmigrating extension: flarum-sticky\nnothing to migrate.\nmigrating extension: flarum-suspend\nnothing to migrate.\nmigrating extension: flarum-tags\nnothing to migrate.\nmigrating extension: flarum-subscriptions\nnothing to migrate.\nmigrating extension: fof-upload\nnothing to migrate.\nmigrating extension: fof-sitemap\nnothing to migrate.\nmigrating extension: fof-pages\nmigrated: 2020_09_09_173600_increase_char_limit\nmigrating extension: fof-share-social\nnothing to migrate.\nmigrating extension: fof-polls\nnothing to migrate.\nmigrating extension: fof-gamification\nmigrated: 2020_07_07_000000_add_prefix_to_all_settings\nmigrated: 2020_07_09_000000_change_post_votes_type_column\nmigrated: 2020_07_11_000000_change_permission_name\nmigrated: 2020_08_25_000000_update_tag_permission_names\nmigrating extension: fof-links\nmigrated: 2020_09_10_000000_add_icon_to_links_table\nmigrating extension: askvortsov-categories\nnothing to migrate.\nmigrating extension: fof-best-answer\nnothing to migrate.\nmigrating extension: fof-socialprofile\nnothing to migrate.\nmigrating extension: fof-user-bio\nmigrated: 2020_07_01_000000_create_bio_column\nmigrating extension: fof-analytics\nnothing to migrate.\nmigrating extension: v17development-blog\nnothing to migrate.\nmigrating extension: fof-recaptcha\nmigrated: 2020_01_03_000000_default_permissions\nmigrating extension: fof-frontpage\nnothing to migrate.\nmigrating extension: fof-forum-statistics-widget\nnothing to migrate.\nmigrating extension: clarkwinkelmann-who-read\nnothing to migrate.\npublishing assets...\ndone.\n```\n\nthis then completed the upgrade\n\n\nsome residual issues were caused by older extensions being incompatible. these were moved, cache cleared, then all good.\n\n\n", "name": "", "is_accepted": false }, { "text": "thank you very much for all the help!\n\n\njust looking into ionos now as discussed in chat. 😀\n\n ", "name": "", "is_accepted": false }, { "text": "i do have a few questions about ionos, but i realise this is going off the thread topic.\n\n\nunable to chat because it is showing \"system message: encryption sync lost and recovered\".\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/15/36) open a new topic.\n\n ", "name": "", "is_accepted": false }, { "text": "[@jac](https://metabullet.com/u/jac) one thing i forgot. you'll need to install `fof/oauth (composer require fof/oauth)` as i recall you had twitter, google, and github enabled. this extension replaces all three of them, and if you want to continue supporting social login, you;ll need this extension :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/15/39) there are also extenders for linkedin and google. i expect these to be pr need at some point. soon, the extenders and social auth will be available here.\n\n ", "name": "", "is_accepted": false } ]
f3b25e640530f2708cfac6689ad84b09
as u know, can i use this: ``` "require": { flarum/core: >=0.1.0-beta.15 <0.1.0-beta.16 ``` to make an extension compatible with both beta 15 and beta 16? or maybe ``` "require": { "flarum/core": ">=0.1.0-beta.16 <=0.1.0" }, ```
make extension compatible with multiple version
metabullet.com
2021.39
[ { "text": "[justoverclock](https://metabullet.com/d/240/1) depends on the extension. which one is it ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/240/2) my language pack\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/240/1) you could use this? - should work in theory at it expects anything higher than 15\n\n\n\n```\n \"require\": {\n \"flarum/core\": \"^0.1.0-beta.15\"\n },\n```\n\n", "name": "", "is_accepted": false } ]
cff643fd5e3386e96ebfe285a21de47f
so i have added the security headers on nginx config.file but its not working. (yes i have restarted nginx) i have added the nginx config.file below, wondering what have i done wrong? <https://securityheaders.com/> [![](https://i.ibb.co/rzccnfr/image.png)](https://i.ibb.co/rzccnfr/image.png) ``` user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept on;} } http { ## # basic settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; add_header x-frame-options sameorigin; add_header x-content-type-options nosniff; add_header referrer-policy "no-referrer"; add_header feature-policy "geolocation none;midi none;notifications none;push none;sync-xhr none;microphone none;camera none;magnetometer none;gyroscope none> ## # ssl settings ## ssl_protocols tlsv1.2 tlsv1.3; # dropping sslv3, ref: poodle, tlsv1 tlsv1.1 ssl_prefer_server_ciphers on; ## # logging settings ## access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ## # gzip settings ## gzip on; gzip_vary on; gzip_proxied any; gzip_comp_level 9; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_disable "msie [1-6]\.(?!.*sv1)"; ## # virtual host configs ## include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; } #mail { # # see sample authentication script at: # # http://wiki.nginx.org/imapauthenticatewithapachephpscript # # # auth_http localhost/auth.php; # # pop3_capabilities "top" "user"; # # imap_capabilities "imap4rev1" "uidplus"; # # server { # listen localhost:110; # protocol pop3; # proxy on; # } # # server { # listen localhost:143; # protocol imap; # proxy on; # } ```
configuring security headers on nginx config.file
metabullet.com
2021.39
[ { "text": "[sallymelek](https://metabullet.com/d/10/1) try adding the headers like the below\n\n\n\n```\n\tadd_header x-frame-options \"sameorigin\" always;\n\tadd_header x-xss-protection \"1; mode=block\";\n\tadd_header x-download-options \"noopen\" always;\n\tadd_header x-content-type-options \"nosniff\" always;\n\tadd_header content-security-policy \"upgrade-insecure-requests\" always;\n\tadd_header referrer-policy 'no-referrer' always;\n\tadd_header permissions-policy 'geolocation=(self \"https://yourdomain.com\"), microphone=()' always;\n\tadd_header x-powered-by \"coffee... lots of it\" always;\n\tadd_header access-control-allow-origin \"https://yourdomain.com\" always;\n\tadd_header x-permitted-cross-domain-policies \"none\" always;\n\tadd_header strict-transport-security \"max-age=63072000; includesubdomains;\" always;\n```\n\nadjust to suit your own preferences. the line \"x-powered-by\" will remove the nginx version which is always useful when you don't want attackers knowing which version of nginx you are running - which makes it easier for them to target known vulnerabilities.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/10/2) \n\nonce again thanks for your reply,\n\n\nwill i be all good if add all of them to my nginx config.file? (once i read that security headers are fine but can potentially break sections of your site depending on you’re calling external resources. like i will relying google analytics and google adsense as external resources)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/10/3) yes, you should be. for most security headers, it's a case of setting them, then seeing if anything is impacted. in most cases, they work without issue.\n\n", "name": "", "is_accepted": false }, { "text": "thank you.\n\n\nwishing you happy new year\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/10/6) and to you !\n\n", "name": "", "is_accepted": false } ]
468f368c5dcf2d17b7d8f42ff721e7cc
anyone know a good code to create an auto popup (after 5 second maybe) that invite user tu signup on flarum? i'm trying something but nothing works
eye catching popup that invite signup
metabullet.com
2021.39
[ { "text": "[justoverclock](https://metabullet.com/d/94/1) you could try modifying this - <https://metabullet.com/d/68-how-did-you-set-up-the-cookies-message/5>\n\n\ni can also have a look at this too, as it's a good idea (but you don't want it to fire if logged in obviously) :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/94/2) i still wait for your version, will be better for sure :d\n\n", "name": "", "is_accepted": false }, { "text": "maybe could be integrated with this: \n\n<https://discuss.flarum.org/d/25767-direct-links>\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/94/4) correct. this was going to my one of my suggestions also.\n\n", "name": "", "is_accepted": false }, { "text": "i have some ideas as to how this could work, but it's in early development stages currently. i'll post an update here as soon as i have something worthy of preview and testing.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/94/3) i still wait for your version, will be better for sure\n> \n> \n\n\nhaven't forgot - just very busy :)\n\n", "name": "", "is_accepted": false }, { "text": "i will follow this discussion :)\n\n", "name": "", "is_accepted": false } ]
e25a6ce79674c600c32a39ac30a43142
i’ve heard about ghost cms, and seems to be really amazing (like flarum), anyone have done some test on it? the really worst thing is that can’t be used on shared hosting, only on vps (and i do not have experience to this)
what u think about ghost cms?
metabullet.com
2021.31
[ { "text": "[justoverclock](https://metabullet.com/d/545/1) two things spring to mind here.\n\n\n1. ghost cms leverages nodejs but still uses mysql as it’s database backend. however, it doesn’t use php meaning it will be inherently faster than wordpress (and flarum - this is the reason why i’m using nodebb at <https://phenomlab.com>)\n2. you can get a very cheap vps from hetzner. learning how to work with such technology is made much easier by leveraging open source control panels such as webmin and virtualmin\n\n\ni’m going to be assisting [@nodebbfan](https://metabullet.com/u/nodebbfan) with a nodebb project he’s going to be starting soon, and would be happy to assist you also.\n\n ", "name": "", "is_accepted": false }, { "text": "for now its impossible, because i need to think about two problem:\n\n\n* if is possible for me to migrate on a vps (3 website at moment)\n* if its possible to migrate from wordpress (that i actually hate) to ghost cms\n* if will cost the same as now (35€/month)\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/545/3) if is possible for me to migrate on a vps (3 website at moment)\n> \n> \n\n\nyes, no problems\n\n\n\n> [justoverclock](https://metabullet.com/d/545/3) if its possible to migrate from wordpress (that i actually hate) to ghost cms\n> \n> \n\n\ni think it’s possible, but haven’t tried this myself\n\n\n\n> [justoverclock](https://metabullet.com/d/545/3) if will cost the same as now (35€/month)\n> \n> \n\n\nhalf that amount 👍\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/545/4) really half that amount??? so…basically a vps is more performant that my actual shared hosting…right? \n\ni need really to learn something more about this possibility!\n\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/545/5) really half that amount???\n> \n> \n\n\nyes.\n\n\n\n> [justoverclock](https://metabullet.com/d/545/5) so…basically a vps is more performant that my actual shared hosting…right?\n> \n> \n\n\nyes\n\n\n\n> [justoverclock](https://metabullet.com/d/545/5) i need really to learn something more about this possibility!\n> \n> \n\n\nyes 🙂\n\n", "name": "", "is_accepted": false } ]
34c49c7d71554c01e2e1d12856a2b567
![](https://metabullet.com/assets/files/2021-01-12/1610470011-953565-screenshot-2021-01-12-my20i-transfer-domain.png) i'm looking to port my domains over from 20i to ionos, i'm facing an issue because the option to transfer the domain says it is locked. what steps would i take to unlock it? thanks
porting domains from 20i to ionos
metabullet.com
2021.39
[ { "text": "\n> [jac](https://metabullet.com/d/20/1) what steps would i take to unlock it?\n> \n> \n\n\nthis is now unlocked (a simple unticking of the box :p) and i'm just accessing the domain authorization code.\n\n ", "name": "", "is_accepted": false }, { "text": "ok, before i confirm everything are these settings all ok?\n\n\n![](https://metabullet.com/assets/files/2021-01-12/1610470389-927186-screenshot-2021-01-12-ionos-customer-shop.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/20/2) yes, by default, the domains will be locked. in general, removing the tick from the box is sufficient.\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/20/3) yes, that's all good. in theory, transferring the domain will also take a copy of the \"zone file\" used by dns, so there won't be any issues with the domain services once the transfer is completed - this typically takes around 48 hours. after this, you'll need to re-create the redirects for the older domains we set earlier, as once you lose access to the current maintainer for the domains, the redirects will no longer work.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/20/5) fter this, you’ll need to re-create the redirects for the older domains we set earlier, as once you lose access to the current maintainer for the domains, the redirects will no longer work.\n> \n> \n\n\nthank you very much for all the advice :).\n\n", "name": "", "is_accepted": false }, { "text": "after following the steps, i am taken to a screen to pay for the domains instead of them being free as still very much active domains.\n\n\n![](https://metabullet.com/assets/files/2021-01-12/1610473607-595873-screenshot-2021-01-12-ionos-customer-shop1.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/20/7) that's normal. they won't be free, but will be treated as a new order because you are changing the registrar.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/20/8) ok thanks, so the £9 per domain stands?\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/20/9) yes ☹️\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/20/8) that’s normal. they won’t be free, but will be treated as a new order because you are changing the registrar.\n> \n> \n\n\ni would only keep them if they are registered for free, to then use them as a redirect, but although the websites have been around for 6 months+ i haven't' told many people about them anyway so there's only a few users on the forum for example than can use the current redirect that's in place and then once the domain expires i will have the new domain live by then anyway.\n\n\nso either way i am happy to keep the following redirects and transfer them over if free, alternatively if not free then i wouldn't be looking to pay to bring them over to ionos.\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/20/11) ok. my only other guidance would be to adjust your ga (google analytics) if necessary so the correct domain is reflected. i noticed you are using the seo extension in flarum, so you might want to postpone your decision to delete the other domains for a month, and tell google you're transferring domains. otherwise, the existing entries in google will show a 404, and won't look good - particularly as there will be duplicate content under a different domain\n\n\nhave a look at [this](https://www.google.co.uk/search?source=hp&ei=vlosx8byb6gwlwtdh4jicq&q=site%3astockportcountyforum.com&btnk=google+search&gs_ssp=ejzj4tlp1tcon6nkyys0yptitswussxsyczoscwfagctcfe&oq=aktar+is&gs_lcp=cgzwc3ktywiqaxgamggilhdjaxctajiccaaycaguemcbek8bmgiiadiccaayaggamgiiadiicc4qxweqrweyaggamgiiadolcaaqsqmqgweqyqm6cagaeledeimbogsilhcxaxdharcjajoicc4qsqmqgwe6dggueledeimbemcbekmcoguiabcxazolcc4qsqmqyqmqkwi6bqgueledogiiljoocc4qxweqrweqyqmqkwi6cwgueledemcbek8bogoilhdharcvarakukcdwommyimiaabwahgagagyaygbkwesaqmyljayaqcgaqgqaqdnd3mtd2l6&sclient=psy-ab)\n\n\nyou'll see what i mean. there are an abundance of links crawled by google, and it makes sense to have them redirected.\n\n", "name": "", "is_accepted": false }, { "text": "thank you for the advice, so this so this is something i can adjust now and then leave it a few weeks to reflect the change and then cancel with 20i?\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/20/13) yes. you can track the progress in the ga console, and use the same link i provided above. if you click them once the 20i service has been cancelled and removed, they should redirect automatically to the new domains. this is known as a 301 redirect (seo friendly), but you need to have it in place for a while (and at the time of the execution of the move on ga) for it work.\n\n", "name": "", "is_accepted": false } ]
81716a260fd69a97a50e8d295a3d457e
hello, i cannot get the image displayed in desktop mode. in mobile it is seen correctly. also, what text shadow do you recommend to set to have the discussion titles read correctly? this is my css: ``` .hero { background: url(/assets/bg.jpg)!important; background-repeat: no-repeat !important; background-size: cover !important; color: #ffffff; padding-top: 20px; height: 200px; } ``` this is a screen in desktop mode ![](https://metabullet.com/assets/files/2021-01-22/1611331315-857477-screenshot-2021-01-22-16-58-20-07.jpg)
center banner in desktop mode
metabullet.com
2021.39
[ { "text": "[gatsu](https://metabullet.com/d/40/1) this is being governed by the screen resolution - the setting you are using is missing. what screen size do you have, or do you have the browser session in window mode and made smaller ?\n\n\nin addition, it's possible to move the image around using `background-position: 50% 30% !important` (as an example - you play with the percentages until you get the part of the image you want) - however, it's important to note that you are using `background-size: cover` so this will cause the image to stretch to the available screen estate.\n\n\nfor the `text-shadow` i'd recommend something like this\n\n\n\n```\n.hero h2 {\n font-size: 22px;\n text-shadow: 2px 2px #111111;\n}\n.hero-subtitle {\n font-size: 15px;\n text-shadow: 2px 2px #111111;\n}\n```\n\n![](https://metabullet.com/assets/files/2021-01-22/1611338269-545640-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/40/2) thank you very much phenom. \n\ndo you think it reads well in discussions? i see it too black \n\n![](https://metabullet.com/assets/files/2021-01-22/1611340126-673354-screenshot-2021-01-22-19-27-07-82.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [gatsu](https://metabullet.com/d/40/3) do you think it reads well in discussions? i see it too black\n> \n> \n\n\nhonestly - no :) i'd set it to white and use the css `text-shadow` i provided earlier. the black is too hard to read !\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/40/4) but this is by using the text shadow you provided me\n\n", "name": "", "is_accepted": false }, { "text": "[gatsu](https://metabullet.com/d/40/5) really ? it looks black to me (from your screenshot)?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/40/6) yes, really. this is the css\n\n\n\n```\n> .hero {\n> background: url(/assets/bg.jpg)!important;\n> background-repeat: no-repeat !important;\n> background-size: cover !important;\n> color: #ffffff;\n> padding-top: 20px;\n> height: 200px;\n> background-position: 70% 25% !important;\n> .hero h2 {\n> font-size: 22px;\n> text-shadow: 2px 2px #111111;\n> }\n> .hero-subtitle {\n> font-size: 15px;\n> text-shadow: 2px 2px #111111;}\n> } \n```\n", "name": "", "is_accepted": false }, { "text": "[gatsu](https://metabullet.com/d/40/7) are you sure that this css is correct ? it looks like the closing bracket is missing. it should be\n\n\n\n```\n.hero {\n background: url(/assets/bg.jpg)!important;\n background-repeat: no-repeat !important;\n background-size: cover !important;\n color: #ffffff;\n padding-top: 20px;\n height: 200px;\n background-position: 70% 25% !important;\n}\n```\n\ndid i miss something ? the block above doesn't look like it would work.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/40/8) you are right, now it is ok but the title in discussion is almost black.\n\n\n\n```\n.hero {\n background: url(/assets/bg.jpg)!important;\n background-repeat: no-repeat !important;\n background-size: cover !important;\n color: #ffffff;\n padding-top: 20px;\n height: 200px;\n background-position: 70% 25% !important;\n}\n.hero h2 {\n font-size: 20px;\n text-shadow: 1px 1px #111111;\n}\n.hero-subtitle {\n font-size: 13px;\n text-shadow: 1px 1px #111111;\n}\n```\n\nanother problem is that i don't see covers in users' profile. if i remove this css it reappears, i think it is overwritten by the banner.\n\n", "name": "", "is_accepted": false }, { "text": "[gatsu](https://metabullet.com/d/40/9) are you referring to the topic title in the hero ? i see it as white with a black drop-shadow in both desktop and mobile view ?\n\n\ndesktop\n\n\n![](https://metabullet.com/assets/files/2021-01-23/1611393925-915008-image.png)\n\n\nmobile\n\n\n![](https://metabullet.com/assets/files/2021-01-23/1611393946-556107-image.png)\n\n\nadmittedly, the tag is hard to read, so that colour should be adjusted to make it more visible.\n\n\n\n> [gatsu](https://metabullet.com/d/40/9) another problem is that i don’t see covers in users’ profile. if i remove this css it reappears, i think it is overwritten by the banner.\n> \n> \n\n\nyes, that's because you are using `!important` in the `.hero` tag. if you remove `!important` that will stop the background in the hero overwriting the user profile.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/40/10) yes, that’s because you are using !important in the .hero tag. if you remove !important that will stop the background in the hero overwriting the user profile.\n> \n> \n\n\nyou are right, it is now ok. thank you.\n\n\n\n> [phenomlab](https://metabullet.com/d/40/10) are you referring to the topic title in the hero ? i see it as white with a black drop-shadow in both desktop and mobile view ?\n> \n> \n\n\nin day mode it reads perfectly. in dark mode it reads black and is difficult to view. i use fof/nightmode.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [gatsu](https://metabullet.com/d/40/11) in day mode it reads perfectly. in dark mode it reads black and is difficult to view. i use fof/nightmode.\n> \n> \n\n\ni see. in this case, you'll need to use the same css within the @config-dark-mode=true setting. try this\n\n\n\n```\nbody when (@config-dark-mode =true) {\n.hero {\n background: url(/assets/bg.jpg)!important;\n background-repeat: no-repeat !important;\n background-size: cover !important;\n color: #ffffff;\n padding-top: 20px;\n height: 200px;\n background-position: 70% 25% !important;\n}\n.hero h2 {\n font-size: 20px;\n text-shadow: 1px 1px #111111;\n}\n.hero-subtitle {\n font-size: 13px;\n text-shadow: 1px 1px #111111;\n}\n} \n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/40/12) thank you very much. now it is perfect!\n\n", "name": "", "is_accepted": false } ]
911b7bf65547c1f2c06c998ec77ad0de
i remember the day that i was looking for forum software and with so many out there, i wanted one that was modern and more up to date on the times. i found flarum and instantly fell in love with it. the team is doing an amazing job with the progression and will soon be releasing a stable version. even though it has been in beta for a long time but the software has been stable for quite some time. it is pretty fast and i love the layout and simplicity of it. now over the last month i have heard of nodebb. i may have run across them in the past but i don’t remember. i went to phenomlab website and used the demo on nodebbs site and i have to say that it is even faster than flarum. i understand this to be due to that it is all java and doesn’t use php whatsoever. i do like how nodebb looks and feels as well. i am very impressed with it as well. so what is the point of this post you ask? well here it is, with these two pieces of forum software, which one do you prefer and why? is there certain applications that one is better for than the other? do you find one easier to setup than the other? is one more secure, more features? i have yet to install and test nodebb for myself. i look forward to hearing what you all think and any other info you have to share. thank you.
flarum vs nodebb
metabullet.com
2021.31
[ { "text": "\n> [madchatthew](https://metabullet.com/d/652/1) which one do you prefer and why?\n> \n> \n\n\nmy personal preference is nodebb. however, flarum has come a long way in a short space of time, but really needs to shake the “beta” branding to be taken more seriously. what i do notice is that flarum has heightened interest in terms of the discussion form than nodebb does, although that is by no means any indication to say one is more popular than the other in my view.\n\n\n\n> [madchatthew](https://metabullet.com/d/652/1) is there certain applications that one is better for than the other?\n> \n> \n\n\nthere are some things that flarum excels at, and there are several key areas of functionality where nodebb clearly leads the race. nodebb is ***way*** faster than flarum - mostly because it is pre-compiled and does not use php at all. it also has superior functionality in the sense that it has a widget system, plus a decent way of installing plugiins that closely resembles wordpress.\n\n\n\n> [madchatthew](https://metabullet.com/d/652/1) do you find one easier to setup than the other?\n> \n> \n\n\nboth require cli to setup, but once installed, nodebb can be managed and upgraded (both core and plugins) from the web gui, meaning that in most cases, you no longer need the cli\n\n\n\n> [madchatthew](https://metabullet.com/d/652/1) is one more secure, more features?\n> \n> \n\n\nmost of the security in flarum is controlled by nginx or .htaccess configuration, whereas nodebb has a page in the web console dedicated to this. in terms of features, nodebb excels, and leaves flarum totally in the dark. for example, web socket support, chat, and several others are provided out of the box, meaning zero cost. flarum has something of an ecosystem for extensions, but it is nowhere near as comprehensive as nodebb.\n\n\nas you know, metabullet runs flarum, and phenomlab runs nodebb. look and feel-wise, phenomlab is the clear winner in terms of speed. here’s a good example of a speed test\n\n\n![](https://metabullet.com/assets/files/2021-05-19/1621418581-830489-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-05-19/1621418620-173524-image.png)\n\n\nas you can see, phenomlab.com is way faster. not so much in the overall speed, but the delivery of content. for example, metabullet.com is tuned to deliver on what is critical for the platform to run, so 21 requests. phenomlab.com in fact carries much more functionality, hence the 82 requests, yet is 50% faster than flarum. both of these sites run on the same server, based out of germany (hence the location in the test). the ttfb (time to first byte) clearly speaks for itself. if you measure the “waterfall” between metabullet.com and phenomlab.com, the results are quite astonishing. the real reason for this is that php is not involved, which invariably makes for a much better experience in terms of speed.\n\n\nfinally, nodebb has it’s own caching engine, which in my view, is by far superior that what flarum offers.\n\n\noverall, i much prefer nodebb because of it’s extensibility, flexibility, and overall ability to become whatever you want it to be with little effort - and no need to keep making changes to the system to get desired functionality.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/652/2) that was an awesome rundown! thank you for taking the time to go over all of that. i will have to setup and play around with nodebb on my days off and get familiar with it. thank you very much for your input.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/652/1) i’m running it [here](https://talkcounty.com) with the help of mark’s assistance it’s running smoothly and i have to say is far better for me personally in terms of being able to rely on it and have more confidence in the software itself. i often felt like i was treading on eggshells with flarum, one mistake and i didn’t really know how to correct my error.\n\n\nthe admin panel with nodebb is amazing compared, there’s plenty of reasons why i swapped really but it just depends what you’re after with your forum. i think if i’d have discovered nodebb previously and done my research instead of thinking it costs the earth 😉 then i’d have definitely gone for nodebb.\n\n\nas [@phenomlab](https://metabullet.com/u/phenomlab) said they both have their good points 🙂\n\n", "name": "", "is_accepted": false }, { "text": "[nodebbfan](https://metabullet.com/d/652/4) it runs very smoothly. it is very fast and i do like the flow of it as well. i have yet to test it out on my local environment. i am hoping to get to that this weekend.\n\n", "name": "", "is_accepted": false }, { "text": "i just got done setting up nodebb and played around with it a little bit. i have to say that i was pretty impressed. being that it is based on js and that i didn’t have to make sure some php extension was installed was very very very nice. i have had issues in the past where i start to install something and then have to install a php extension, restart, install another extension, restart . . . well you get the idea. the other thing that i was very impressed on, was the speed. i already knew about the speed, but i installed this on the dev environment that i have been testing out virtualmin, postfix and everything that goes along with it and it barely even added any percentage to the memory being used. it was also extremely fast. the wordpress site that i have installed on the dev environment takes up to 10 to 18 seconds to load the home page. once it is loaded it works faster, but definately not as fast as this.\n\n\ni am going to play around with nodebb some more and see how viable it is to use it as a cms and not just a forum software. i am wondering if you can set it to start on a different homepage rather than the forums and go from there.\n\n\ni just absolutely love the speed and ease of install with it. the directions and steps were pretty clear on the setup.\n\n\nthese are just my first impressions. more will come later.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/652/6) i am going to play around with nodebb some more and see how viable it is to use it as a cms and not just a forum software. i am wondering if you can set it to start on a different homepage rather than the forums and go from there.\n> \n> \n\n\nyes, you can 100% do that. there’s a custom pages plugin, and also a custom homepage plugin that handles this exact scenario. in addition, whilst there isn’t a “blog” plugin, articles can easily be written like this \n\n<https://phenomlab.com/topic/284/ai-a-new-dawn-or-the-demise-of-humanity>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/652/7) yes, you can 100% do that. there’s a custom pages plugin, and also a custom homepage plugin that handles this exact scenario.\n> \n> \n\n\nthat is awesome. i will have to play around with that. thank you\n\n", "name": "", "is_accepted": false }, { "text": "i’ve also just enabled nginx caching on phenomlab.com. the results speak for themselves\n\n\n![](https://metabullet.com/assets/files/2021-05-24/1621850626-635529-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/652/9) wow that is awesome! very nice! i am impressed with the speed of nodebb. like i mentioned before i like how you don’t have to make sure that a ton of php extensions are installed before it works. thanks for sharing this.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/652/9) i’ve also just enabled nginx caching on phenomlab.com. the results speak for themselves\n> \n> \n\n\nnow that i think about it, how do you enable nginx caching?\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/652/11) there’s some really good examples online, but much of this can also be web server and site specific, so you need to exercise caution.\n\n\nbelow is a good guide and starting point \n\n<https://www.tecmint.com/cache-content-with-nginx/amp/>\n\n\nthe nodebb “way” differs somewhat \n\n<https://docs.nodebb.org/configuring/scaling/>\n\n", "name": "", "is_accepted": false } ]
24057ad519651b41b6a6d421da62321b
each user background in the user directory page is a different color. background; white for day mode, black for night mode. will be able to set the text in the appropriate color and share the codes?
user directory background (flarum)
metabullet.com
2021.31
[ { "text": "[dursuncan](https://metabullet.com/d/58/1) can you provide your site url ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/58/2) fof night mode extension not installed. dark mode setting is active. you can think of it like a night mode.\n\n\n<https://sosyal.quzz.net>\n\n", "name": "", "is_accepted": false }, { "text": "[dursuncan](https://metabullet.com/d/58/3) ok. i’ll need to create an account on your site to be able to see the user directory as this isn’t exposed publicly by default.\n\n", "name": "", "is_accepted": false }, { "text": "[dursuncan](https://metabullet.com/d/58/3) something like this ?\n\n\n![](https://metabullet.com/assets/files/2021-01-29/1611929550-236403-image.png)\n\n\nfor this to work, you can use the below css\n\n\n\n```\n.userdirectorylist .usercard--directory .container {\n width: auto !important;\n padding: 20px !important;\n background: #ffffff;\n color: #666666;\n}\n.usercard, .usercard a {\n color: #666;\n}\n```\n\nhowever, if you decide to use `fof/darkmode` then you’ll need to adjust the css so it looks like this\n\n\n\n```\nbody when (@config-dark-mode =false) {\n.userdirectorylist .usercard--directory .container {\n width: auto !important;\n padding: 20px !important;\n background: #ffffff;\n color: #666666;\n}\n.usercard, .usercard a {\n color: #666;\n}\n}\n\nbody when (@config-dark-mode =true) {\n.userdirectorylist .usercard--directory .container {\n width: auto !important;\n padding: 20px !important;\n background: #666666;\n color: #ffffff;\n}\n.usercard, .usercard a {\n color: #fff;\n}\n}\n```\n\nthe dark version would then look like this\n\n\n![](https://metabullet.com/assets/files/2021-01-29/1611929739-706386-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/58/5) there was a css code to use the 2nd color on the forum. i do not remember. do you know? it was code like `@secondarycolors`.\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab) can you share the codes that will change the background color in your user profile? \n\n<https://sosyal.quzz.net/u/ohalis> \n\n<https://sosyal.quzz.net/u/serdo>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [dursuncan](https://metabullet.com/d/58/6) do you know? it was code like @secondarycolors.\n> \n> \n\n\nbased on what i can see, it may be `@secondary-color` but can’t be sure\n\n", "name": "", "is_accepted": false }, { "text": "\n> [dursuncan](https://metabullet.com/d/58/7) can you share the codes that will change the background color in your user profile?\n> \n> \n\n\nsomething like this will work, but you’ll need to override with `!important;` as it’s being inherited elsewhere\n\n\n\n```\n.usercard.hero.userhero {\n background: #000000 !important;\n}\n```\n\n", "name": "", "is_accepted": false } ]
73a5deb6e712adfa6f3c5b8ed4c0f3d6
hi fellow metabullets! i’m seeking some advice on remote windows update patch management and compliance. we need to urgently sort a patching solution for remote workers (off-network but domain joined) devices. these devices will be mostly win10 with some win7 sprinkled in. we were advised that a public facing wsus is a big no no and we don’t have our devices in intune to leverage update compliance. any suggestions would be hugely appreciated. requirements: * approval or denial of windows updates * patch overview and update status / compliance * ability to service remote off network devices (these can join the vpn, but we are phasing this out) kind regards
urgent | windows update advice
metabullet.com
2021.43
[ { "text": "[katos](https://metabullet.com/d/30/1) hi - nice to have you onboard.\n\n\nit goes without saying that intune is going to be the best way to manage the updates from a central perspective, but most of this depends on appetite, and of course, budget. similarly, a public facing wsus server may not desirable, but in reality, you only need to open a small selection of ports (obviously the notable ones are 443 etc), and that same wsus server should be placed into a segregated dmz zone that has no other contact with the internal networks other than what is essential for it to run.\n\n\nsimilarly, if you take this route, this server should be a downstream, whilst you maintain the upstream inside your own network. if you want to \"go cheap\", and have something quick and effective, you could change the group policy (or registry settings) for the remote clients, and have them pull from windows update directly. i know several organisations which adopt this approach, and only present the xml that contains the list of centrally approved updates so that remote workstations can install only those that have been approved.\n\n\nif you're interested in the above mechanisms, let me know.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/30/2) in the immediate term we are actually using windows updates directly (defined by gpo as you say) - i cannot however see a way of monitor which updates have been applied and to what devices? - unless you can advise on this.\n\n\nwith regards to intune this is likely to be the route that we take. what would you advise as the quickest and easiest way to get our devices into intune. obviously we would use a blank policy set for now to get them on without causing end user disruption\n\n ", "name": "", "is_accepted": false }, { "text": "[katos](https://metabullet.com/d/30/3) there are a couple of other suggestions here. you could also use [lansweeper](https://www.lansweeper.com/) (a license is less than gbp 1,000, dependant on how many nodes you have) and this can easily record the windows updates that are installed on the machines (remote). in addition, lansweeper has a remote agent api which you can expose publicly (is uses a hash to communicate), which will then post the list of updates into the inventory. this is something else my firm is doing to handle remote inventories - in addition, we can also keep a track of software licenses, and any software that shouldn't be there.\n\n\nif you take the intune route, you'll need upgraded office365 licenses (if necessary), and probably azure for the management portal side.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/30/4) we have the licenses for azure and intune :-)\n\n", "name": "", "is_accepted": false }, { "text": "[katos](https://metabullet.com/d/30/5) good. you'll need to enrol the devices first so they can be managed - <https://docs.microsoft.com/en-us/mem/intune/enrollment/quickstart-enroll-windows-device>\n\n", "name": "", "is_accepted": false }, { "text": "[katos](https://metabullet.com/d/30/5) i'm interested to know how this panned out and the decision you took 👍\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/30/7) so without going too technical;\n\n\n* enrolled all devices in intune using gpo (3rd party support company assisted with getting remote users updated over vpn).\n* intune holds a blank policy set with the only compliance requirement being enabled windows firewall\n* removed eset to be replaced with crowdstrike\n* updates managed through update rings, and reported on in intune, we will eventually (but not yet) move to a full compliance requirement and manage all updates through update compliance. \n\n-\n", "name": "", "is_accepted": false }, { "text": "[katos](https://metabullet.com/d/30/8) sounds great. let me know if you need any other assistance with this.\n\n", "name": "", "is_accepted": false } ]
8905f01c120371fa226be58e229d7176
hi mark [@phenomlab](https://metabullet.com/u/phenomlab), i have another question - how did you set up the “agree to the cookies” message at the bottom of this site? ![](https://metabullet.com/assets/files/2021-02-03/1612356416-171796-img-1676.jpg)
how did you set up the cookies message
metabullet.com
2021.31
[ { "text": "[mventures](https://metabullet.com/d/68/1) <https://discuss.flarum.org/d/10395-cookie-consent-by-friendsofflarum>\n\n", "name": "", "is_accepted": false }, { "text": "[mventures](https://metabullet.com/d/68/1)\n\n\ni think this approach is better because its only 1kb and no extension needed. \n\n<https://wpspeedmatters.com/fastest-cookie-consent-wordpress-plugin/>\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/68/3) nice find. i agree, it’s much simpler - and very easy to tailor. i may even look into this myself.\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/68/3) i decided to take a further look into the cookie banner you suggested, and after a bit of fiddling, came up with this\n\n\n![](https://metabullet.com/assets/files/2021-02-04/1612445208-752998-image.png)\n\n\nit’s simplistic in view, and the below inline footer would work fine - it’s what i’m currently using on this site.\n\n\n\n```\n<div id=\"cookie-notice\"><div id=\"cookie-text\">we use cookies to give you the best experience of the metabullet platform. please let us know if you agree to all of these cookies being used. \n<a target=\"_blank\" class=\"cookie-link\" href=\"https://metabullet.com/p/10-policies\">learn more</a></div><button class=\"cookie-notice-button\" onclick=\"acceptcookie();\">ok</button></div><div>\n\n<style>\n#cookie-notice {\n color: #fff;\n font-family: inherit;\n background: #434343;\n padding: 15px;\n position: fixed;\n width: 100%;\n visibility: hidden;\n z-index: 1000000;\n bottom: 0;\n transition: background .2s;\n}\n#cookie-text {\n display: inline-block;\n margin-left: 20px;\n margin-top: 12px;\n}\n.cookie-notice-button {\n color: inherit;\n background: #f05c1d linear-gradient(90deg, #faa00d, #f05c1d);\n border-width: 0px;\n border: 0;\n padding: 10px;\n margin-top: 0;\n cursor: pointer;\n float: right;\n}\n.cookie-notice-button:hover {\n background: #f05d1d;\n}\n.cookie-link:hover {\n color: #f15f1d;\n border-bottom: none;\n text-decoration: none;\n}\n.cookie-link{\n border-bottom: none;\n color: #f99c0e;\n}\n @media screen and (max-width: 768px) {\n.cookie-notice-button {\n color: inherit;\n background: #f05c1d linear-gradient(90deg, #faa00d, #f05c1d);\n border-width: 0px;\n border: 0;\n padding: 10px;\n margin-top: 20px;\n cursor: pointer;\n width: 100%;\n}\n}\n</style>\n\n<script>function acceptcookie(){document.cookie=\"cookieaccepted=1; expires=365; path=/\",document.getelementbyid(\"cookie-notice\").style.visibility=\"hidden\"}document.cookie.indexof(\"cookieaccepted\")<0&&(document.getelementbyid(\"cookie-notice\").style.visibility=\"visible\");</script>\n```\n\n", "name": "", "is_accepted": false } ]
b2b5bd47648cc439c105deeef9bf663f
hi think this will be really useful for a lot of people, and unfortunately i'm not a developer, but i think here in this forum all can be possible! i think this: <https://www.devnl.nl/> is a wonderfoul extension, there's someone here that can realize this? i'm a graphic designer but not a developer, so i can help with graphics stuff. really interested to this!
extension to transform flarum graphics
metabullet.com
2021.39
[ { "text": "[justoverclock](https://metabullet.com/d/154/1) is this related to <https://discuss.flarum.org/d/23044-devnl-dutch-developers-forum-how-i-customized-flarum/21> by any chance ?\n\n ", "name": "", "is_accepted": false }, { "text": "yes, but they do not want to share this work, so i'm asking here :)\n\n", "name": "", "is_accepted": false } ]
dfd1b3fc81d888a584af47d9ed8ccaeb
i have this error today on my site: console log: `refused to connect to 'wss://ws-eu.pusher.com/app/253fd5123207df57a3b7?protocol=7&client=js&version=3.0.0&flash=false' because it violates the following content security policy directive: "default-src https: data: 'unsafe-inline' 'unsafe-eval'". note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.` content security policy of your site blocks some resources because their origin is not included in the content security policy header the content security policy (csp) improves the security of your site by defining a list of trusted sources and instructs the browser to only execute or render resources from this list. some resources on your site can’t be accessed because their origin is not listed in the csp. to solve this, carefully check that all of the blocked resources listed below are trustworthy; if they are, include their sources in the content security policy of your site. you can set a policy as a http header (recommended), or via an html <meta> tag. ⚠️ never add a source you don’t trust to your site’s content security policy. if you don’t trust the source, consider hosting resources on your own site instead. 1 directive resource status directive source location wss://ws-eu.pusher.com/ blocked connect-src cdn.jsdelivr.net/npm…st/pusher.min.js:61 what is this?
content security policy of your site blocks some resources
metabullet.com
2021.31
[ { "text": "[justoverclock](https://metabullet.com/d/479/1) what is the url for your site ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/2) flarum.it\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/3) yes, your content security policy is set as below\n\n\n\n```\ncontent-security-policy: default-src https: data: 'unsafe-inline' 'unsafe-eval'\n```\n\nyou’ll need to change that so it it reads\n\n\n\n```\ncontent-security-policy: script-src: 'self' 'unsafe-inline'\n```\n\nhowever, this is a bit of a sledgehammer approach as it’s not the best for security. ideally, you’d need to specify the domain you want to whitelist using a nonce or hash, but this can be pretty complex. here’s a good writeup of how that works\n\n\n<https://content-security-policy.com/unsafe-inline/>\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/4) i really do not know where i need to put that code ….is the first time for me\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/5) it needs to be added at web server level, so there’s no need to insert the code in flarum.\n\n", "name": "", "is_accepted": false }, { "text": "so i need to ask to my hosting?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/7) no. i still have collaborator access to your sites 🙂 so i changed it for you.\n\n\n\n```\nadd_header content-security policy \"default-src 'self' style-src 'self' 'unsafe-inline'\" always; \n```\n\nreload your site. the error should be gone.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/8) wow, can u explain how you made this? just to learn more about 🙂 thank you by the way !!\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/9) sure. in your siteground console, go to site -> file manager, then to the `public_html` directory\n\n\n![](https://metabullet.com/assets/files/2021-04-20/1618930431-924254-image.png)\n\n\nonce there, locate the `.nginx.conf` file and edit it\n\n\nin your case, at the bottom of the file, you’ll see the headers\n\n\n\n```\nadd_header x-frame-options \"sameorigin\" always;\nadd_header x-xss-protection \"1; mode=block\";\nadd_header x-download-options \"noopen\" always;\nadd_header x-content-type-options \"nosniff\" always;\n#add_header content-security-policy \"upgrade-insecure-requests\" always;\nadd_header content-security policy \"default-src 'self' style-src 'self' 'unsafe-inline'\" always; \nadd_header referrer-policy 'no-referrer' always;\n#add_header feature-policy \"geolocation 'self' https://flarum.it\" always;\nadd_header permissions-policy \"geolocation=();midi=();notifications=();push=();sync-xhr=();microphone=();camera=();magnetometer=();gyroscope=();speaker=(self);vibrate=();fullscreen=(self);payment=();\";\nadd_header x-powered-by \"coffee... lots of it\" always;\nadd_header access-control-allow-origin \"https://flarum.it\" always;\nadd_header x-permitted-cross-domain-policies \"none\" always;\nadd_header strict-transport-security \"max-age=63072000; includesubdomains;\" always;\n```\n\nnote, that those prefixed with # are disabled, and can be removed if you wish.\n\n\nyou make the changes here, and then save the file.\n\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab) it appears again\n\n\nrefused to connect to ‘wss://ws-eu.pusher.com/app/253fd5123207df57a3b7?protocol=7&client=js&version=3.0.0&flash=false’ because it violates the following content security policy directive: “default-src https: data: ‘unsafe-inline’ ‘unsafe-eval’”. note that ‘connect-src’ was not explicitly set, so ‘default-src’ is used as a fallback.\n\n\ngetsocket @ pusher.min.js?\\_=1619267494059:61\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/11) very strange. does this happen in incognito mode at all ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/12) yes\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/13) sorry for the delay here, but i’ve not been able to reproduce this issue ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/14) i see the error on console if i use incognito\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/15) let me have another look at this. the last time i checked it wasn’t visible.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/16) you may need to change the `content-security-policy` so that it looks something like the below \n\n`script-src 'self' http://xxxx 'unsafe-inline' 'unsafe-eval';`\n\n", "name": "", "is_accepted": false }, { "text": "now is like this:\n\n\nadd\\_header content-security policy “default-src ‘self’ style-src ‘self’ ‘unsafe-inline’” always;\n\n ", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/18) and does this resolve the issue ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/19) i’m scared to modify this parameter, so i need to copy paste your code?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/20) yes, but of course, you need to be sure you put the correct url in. so change from\n\n\n\n```\nadd_header content-security policy \"default-src 'self' style-src 'self' 'unsafe-inline'\" always; \n```\n\nto\n\n\n\n```\nadd_header content-security policy \"script-src 'self' https://flarum.it 'unsafe-inline' 'unsafe-eval'\" always; \n```\n\n", "name": "", "is_accepted": false }, { "text": "its a nightmare, after your suggestion, erro keep continue: \n\n`error with permissions-policy header: parse of permissions policy failed because of errors reported by structured header parser.`\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/22) this is very odd. did anything change from the last change made where everything worked ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/23) no, nothing changed\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/24) are you sure this error isn’t being generated by a script or popup blocker ? with mine disabled, i no longer get the message\n\n\n![](https://metabullet.com/assets/files/2021-05-25/1621938066-854081-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/25) i do not use any popup blocker\n\n\nchrome have built in popup blocker?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/26) strange thing is, i cannot replicate this issue from multiple browsers.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/27) actually i have:\n\n\n`refused to connect to 'wss://ws-eu.pusher.com/app/253fd5123207df57a3b7?protocol=7&client=js&version=7.0.3&flash=false' because it violates the following content security policy directive: \"default-src https: data: 'unsafe-inline' 'unsafe-eval'\". note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.`\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/28) what happens if you add `connect-src` ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/29) how exactly? 😆\n\n ", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/30) <https://metabullet.com/d/479-content-security-policy-of-your-site-blocks-some-resources/10> 🙂\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/31) no i mean where i need to place this code in the row ….i’m afraid when i’m doing this thing\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/32) change\n\n\n\n```\nadd_header content-security policy \"default-src 'self' style-src 'self' 'unsafe-inline'\" always; \n```\n\nto\n\n\n\n```\nadd_header content-security policy \"default-src 'self' wss://ws-eu.pusher.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' always; \n```\n\nlet me know if this works.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/33) done, actually i have error with permissions-policy header: parse of permissions policy failed because of errors reported by structured header parser.\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/34) yes, i see that. it’s because of this\n\n\n<https://github.com/w3c/webappsec-permissions-policy/blob/main/permissions-policy-explainer.md#appendix-big-changes-since-this-was-called-feature-policy>\n\n\non your site, i have now set\n\n\n\n```\nadd_header permissions-policy \"accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()\" always;\n```\n\nto replace the now defunct `feature-policy`. however, it doesn’t seem to be accepting the change when i reload the page, so you may need to clear the flarum cache on <https://flarum.it> (you may need to take this up with siteground). for knowledge purposes, the configuration is now the below in terms of site headers in `.nginx.conf`\n\n\n\n```\nadd_header x-frame-options \"sameorigin\" always;\nadd_header x-xss-protection \"1; mode=block\";\nadd_header x-download-options \"noopen\" always;\nadd_header x-content-type-options \"nosniff\" always;\nadd_header content-security policy \"default-src 'self' style-src 'self' 'unsafe-inline'\" always; \nadd_header referrer-policy 'no-referrer' always;\nadd_header permissions-policy \"accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()\" always;\nadd_header access-control-allow-origin \"https://flarum.it\" always;\nadd_header x-permitted-cross-domain-policies \"none\" always;\nadd_header strict-transport-security \"max-age=63072000; includesubdomains;\" always;\n```\n", "name": "", "is_accepted": false }, { "text": "i’m on mobile now so i can’t check if it works, but now cache is cleared.\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/36) thanks. let me have another look to see if i can force it another way\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/37) well, this is very odd. according to a remote parse of the security headers for your site, they are completely valid. - the permissions policy is set correctly\n\n\n![](https://metabullet.com/assets/files/2021-06-11/1623429282-549619-image.png)\n\n\nhowever, when i go to the site and fire up the dev console, see this\n\n\n![](https://metabullet.com/assets/files/2021-06-11/1623429330-784581-image.png)\n\n\nthis isn’t the behaviour i’d expect, and it can only be caused by caching. i’m going to clear the nginx cache (static and dynamic) on your site. there will be no impact apart from some initial slowness for the first user accessing the site.\n\n", "name": "", "is_accepted": false }, { "text": "a bit clearer now - nginx is being used as a caching proxy, so it’s not “native” in the sense that you think it is. in fact, it’s catching the request through apache, but proxying the file content to nginx. therefore, the `.htaccess` file is actually where it needs to be set\n\n\n\n```\nheader always set strict-transport-security \"max-age=31536000; includesubdomains; preload\"\nheader always set x-xss-protection \"1; mode=block\"\nheader always set x-frame-options \"sameorigin\"\nheader always set x-content-type-options \"nosniff\"\nheader always set referrer-policy \"strict-origin\"\nheader always set permissions-policy \"fullscreen=(self 'https://flarum.it'), geolocation=*, camera=()\"\nheader always set content-security-policy \"upgrade-insecure-requests\"\n```\n\nthis works as intended - but still does not reflect this change when loading the site. can you clear the cache one more time (flarum) ? not convinced this is going to be it though, and i think you may need to take this up with siteground.\n\n", "name": "", "is_accepted": false }, { "text": "[@justoverclock](https://metabullet.com/u/justoverclock) i’m curious to know if this is still an issue and if so, have you raised it with siteground ? i have exactly the same headers running on an apache based setup here and cannot replicate this issue.\n\n ", "name": "", "is_accepted": false }, { "text": "cache cleared !\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/41) does it work properly now ? i’m on mobile so can’t test.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/42)\n\n\n`error with permissions-policy header: parse of permissions policy failed because of errors reported by structured header parser.`\n\n\ni’m about to open a ticket now\n\n", "name": "", "is_accepted": false }, { "text": "hosting told me that to fix this i have to remove this from htacces..\n\n\n\n```\nheader always set strict-transport-security \"max-age=31536000; includesubdomains; preload\"\nheader always set x-xss-protection \"1; mode=block\"\nheader always set x-frame-options \"sameorigin\"\nheader always set x-content-type-options \"nosniff\"\nheader always set referrer-policy \"strict-origin\"\nheader always set permissions-policy \"fullscreen=(self 'https://flarum.it'), geolocation=*, camera=()\"\nheader always set content-security-policy \"upgrade-insecure-requests\"\n```\n\nthat is made by flarum i think…so i’ve removed this and now i can’t see this error anymore\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/44) ok, but that’s very lazy on their part as doing so will negate the security on your site.\n\n\nhave a look here now that those headers are disabled. the security has gone from a+ to d \n\n<https://securityheaders.com/?q=flarum.it&hide=on&followredirects=on>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/479/44) that is made by flarum i think…so i’ve removed this and now i can’t see this error anymore\n> \n> \n\n\nthat’s not set by flarum. it’s set by me to secure your site. to be clear, i run exactly the same set of headers and do not have this issue. weakening the security of your site to resolve a simple message like this isn’t ideal at all\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/46) damn, i see now that i receive a d into security test…..uff\n\n\nso now can i paste this code again into htaccess or i need to enclose into a particular tag?\n\n\nedit: done. a+ again\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/47) i was just going to say put them back where you found them, but you beat me to it 😁\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/48) i prefer to be secure, but i hate this error 🙂\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/49) you could remove just this line \n\n`header always set permissions-policy \"fullscreen=(self 'https://flarum.it'), geolocation=*, camera=()\"`\n\n\nthis would drop the security score slightly, but could well land up having to be the compromise.\n\n\ntry this and let me know.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/50) any update ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/479/51) should i change this to nginx file or htaccess? now i’m confused 😆\n\n ", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/479/52) change in `.htaccess`\n\n", "name": "", "is_accepted": false }, { "text": "i’m sorry gentlemans, but looks like you are doing a boondoggle. \n\nthe `securityheaders.com` web page is not about security, it’s just to promote `probely.com` web page. it just blow bubbles about security.\n\n\n1. have a look on scan results <https://securityheaders.com/?q=www.fotolanding.com&hide=on&followredirects=on> - scaner accepts any rubbish in headers:\n\n\n\n> content-security-policy disown-opener allow any here \n> \n> permissions-policy vr=(fake) policy\n> \n> \n\n\nit just just check that header presence.\n\n\n2. `permissions-policy` header [is not supported](https://csplite.com/pp/test397/) yet. it only works in a small sample of chrome browsers for testing of google floc. for the rest chrome, you need to enable special flags when launch. \n\nfirefox anf safari ignore `permissions-policy` header, use `feature-policy` header instead of. \n\nin addition, the permissions-policy header is not needed on the main page, since its default settings are perfectly safe. it is only required inside third-party frames and is easier to publish it there using the *allow=* attribute.\n3. `x-content-type-options` header [is ignored](https://csplite.com/csp/test384/#conclusions) by modern browsers.\n4. unfortunately the `content security policy` with `\"script-src 'self' https://flarum.it 'unsafe-inline' 'unsafe-eval'` is bypassable and it [does not protect against xss](https://csplite.com/csp294/#csp_comparison).\n\n\nwhy do you need this grade a +, it has nothing to do with real security.\n\n", "name": "", "is_accepted": false }, { "text": "[egranty](https://metabullet.com/d/479/54) interesting points, but if that is the case, then how do you explain the lack of security headers and cross site scripting vulnerability for example ?\n\n\ni agree that some headers are a little over the top, but secutityheaders.com isn’t the only site that performs tests for the existence of these settings. for example, allowing remote content to be embedded into your site - particularly js - can be very dangerous and will allow for a raft of attacks.\n\n\nwhilst it may look like securityheaders.com is an attempt to promote probely, setting them is considered security best practice rather than a simple gimmick to get an a grade. the same principle applies to ssl labs and their security and protocol testing. there are a number of attacks i for example could leverage with weak or unset protocols, and headers plays a large part of that.\n\n ", "name": "", "is_accepted": false }, { "text": "[@egranty](https://metabullet.com/u/egranty) just taking this a step further. immuniweb - a well known site used for web testing, also features security headers and part of its functional testing - see below\n\n\n![](https://metabullet.com/assets/files/2021-06-27/1624831788-770678-screenshot-20210627-230821.jpg)\n\n\naccess control origin is an important header to define on any web server. security headers aren’t a gimmick - they are a fundamental part of security, and it’s an accepted (and expected) standard that they are set properly.\n\n\na bit more reading and validation as to why these matter [here](https://blogs.akamai.com/sitr/2018/10/security-response-headers-what-they-are-why-you-should-care-and-how-akamai-can-help.html)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/479/55) the lack of security headers and cross site scripting vulnerability for example\n> \n> \n\n\nwith this i can’t help but agree. http headers is a very important part of security.\n\n\nbut csp `script-src 'self' https://flarum.it 'unsafe-inline' 'unsafe-eval';` does not protect against xss, you can check it at <https://csp-evaluator.withgoogle.com/> provided by google.\n\n\npoint is that such sites only check for the presence of the header, but do not check whether those are provide a real security. the requirement of presence a permissions-policy header is a prime example of this. \n\nthe author of the `securityheaders.com` site didn’t even bother to check that this header is not supported by browsers, and just misleads users.\n\n\ntherefore you have no chances to get rid of error in the browser’s console: \n\n`error with permissions-policy header: parse of permissions policy failed because of errors reported by structured header parser.` \n\nbut this header just ignored by browsers and it does not provide any security as user hopes.\n\n\nthe same thing is with `x-frame-options` which [is obsolete](https://www.w3.org/tr/csp3/#frame-ancestors-and-frame-options) in favor of `frame-ancestors` directive of `content security policy`. \n\nsome http headers works in conjunction with each other, some are obsolete.\n\n\nmy point web pages like `securityheaders.com` are just deceiving and misleading people by providing false information about the security of the site being checked. it’s a marketing gimmick with grade e - a+ and red-greens background, nothing more. such web pages know nothing about real security settings. \n\nof course you can use such scanners to obtain a common info, but you should evaluate it as a technician (not by **a+** grade or green/red colors of background).\n\n\nlook at the **justoverclock’s** message: “*phenomlab i prefer to be secure, but i hate this error*” - he really thing that his site became a secured with above `csp` and `permissions-policy` headers provided.\n\n\nps: i apologize for bringing some mess to your topic.\n\n", "name": "", "is_accepted": false }, { "text": "great points, and hard to refute.\n\n\n\n> [egranty](https://metabullet.com/d/479/57) but csp script-src ‘self’ <https://flarum.it> ‘unsafe-inline’ ‘unsafe-eval’; does not protect against xss,\n> \n> \n\n\nyes, that’s correct. unfortunately, some sites will require the addition of this in order to work - in the case of wordpress, you’d either include this line, or a `nonce` list, which can get really clunky if you need to add multiple domains.\n\n\n\n> [egranty](https://metabullet.com/d/479/57) point is that such sites only check for the presence of the header, but do not check whether those are provide a real security. the requirement of presence a permissions-policy header is a prime example of this.\n> \n> \n\n\nagreed.\n\n\n\n> [egranty](https://metabullet.com/d/479/57) the author of the securityheaders.com site didn’t even bother to check that this header is not supported by browsers, and just misleads users.\n> \n> \n\n\nit should be supported by most modern browsers ?\n\n\n\n> [egranty](https://metabullet.com/d/479/57) of course you can use such scanners to obtain a common info, but you should evaluate it as a technician (not by a+ grade or green/red colors of background).\n> \n> \n\n\n100% agree. in this case, my site in particular has been subjected to full testing using a variety of industry approved tools. simply setting these headers then thinking you’re completely secured is nothing more than *security by obscurity*, and isn’t enough to even consider yourself “secure”\n\n\n\n> [egranty](https://metabullet.com/d/479/57) look at the justoverclock’s message: “phenomlab i prefer to be secure, but i hate this error” - he really thing that his site became a secured with above csp and permissions-policy headers provided.\n> \n> \n\n\ni agree that it provides a degree of “comfort”, but only from the visual sense. in real terms, it is indeed best practice, but not perfect by any stretch of the imagination.\n\n", "name": "", "is_accepted": false } ]
08a7ded2155c991d1579c5d8a2583b26
just seen this conversation appear in my twitter feed, and had to laugh i've seen some real "beauties" in my time, and also some real car crashes like the ones in the picture. and then, there's also this ![](https://metabullet.com/assets/files/2021-03-16/1615915649-769735-image.png) > ....."just plug the yellow cable into port 25....." > > interested to hear other experiences / horror stories :)
now that is one messy rack
metabullet.com
2021.39
[ { "text": "lol... \n\n<https://www.dotcom-monitor.com/blog/2010/08/18/server-cable-hell-worst-wiring-jobs-ever/>\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/218/1) looks like the output of those machines at the airport that wrap suitcases in plastic... and honestly it might as well be, doubt anyone ever wants to mess with that.\n\n ", "name": "", "is_accepted": false }, { "text": "[askvortsov](https://metabullet.com/d/218/5) can you imagine having to trace a cable in that mess? or even worse, have to replace a failed switch? makes me shudder just thinking about it.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/218/6) and it'd be so easy to remove / switch out the wrong one... plus, off the top of my head this feels like it could be a fire hazard.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [askvortsov](https://metabullet.com/d/218/7) and it’d be so easy to remove / switch out the wrong one\n> \n> \n\n\ni've been tasked in a previous life with removing a switch from a rack similar (although not as bad as that), and it was painful beyond belief. not only did i need to carefully trace out all cables to ensure that they were returned to their correct patch numbers in the rack once i'd finished, but i also had to expose a sea of cable just to remove the switch itself !\n\n", "name": "", "is_accepted": false } ]
9f48badd052833d032609f7955e22034
so i have inserted announcement bar for my forum, however, i want the announcement bar not displayed when a user is logged in. inserted this code to the header; `<div class="alertbar"><b>announcement: </b>welcome to the newest hsc forum platform. join now & start discussing! </div>` and this is css code; ``` .alertbar { background-color: #deee41; color: #441c40; display: block; line-height: 45px; height: 50px; position: relative; text-align: center; text-decoration: none; top: 0px; width: 100%; z-index: 100; font-weight: 600; font-size: 15px; border-bottom: 2px solid #65318e; } @media (max-width: 768px) { .alertbar { display: none; } } ```
removing announcement bar when the user is logged in.
metabullet.com
2021.31
[ { "text": "[sallymelek](https://metabullet.com/d/56/1) there’s several ways of addressing this issue. one of them (and probably the best solution) is highlighted [here](https://discuss.flarum.org/d/24607-hiding-welcome-banner-from-logged-in-members/5)\n\n\nessentially, you’d be looking to leverage `app.session.user` which will determine if the user is logged in or not. if they are logged in, then the banner isn’t displayed.\n\n\nanother option would be to use something like bootstrap’s alert code\n\n\n\n```\n<div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">\n <strong>holy guacamole!</strong> you should check in on some of those fields below.\n <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n</div>\n```\n\na “cheaper” (and arguably much simpler) method would be to place the announcement in the welcome hero itself\n\n\n\" \n\n![](https://metabullet.com/assets/files/2021-01-28/1611834162-217772-image.png)\n\n\nthis would allow the end user to decide if they want the welcome hero displayed or not. if they click the “x”, then this effectively dismisses the hero altogether.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/56/2)\n\n\nas this banner will be temporary, i add the bar above the welcome hero with`before: css`\n\n\nthanks for the reply [@phenomlab](https://metabullet.com/u/phenomlab)\n\n ", "name": "", "is_accepted": false } ]
837a6402fd7494a548303269195bc5bb
i recently received this email from amazon: > we are writing to notify you that you have configured your s3 bucket(s) to be publicly accessible, and this may be a larger audience than you intended. by default, s3 buckets allow only the account owner to access the contents of a bucket; however, customers can configure s3 buckets to permit public access. public buckets are accessible by anyone on the internet, and content in them may be indexed by search engines. > > > we recommend enabling the s3 block public access feature on buckets if public access is not required. s3 bucket permissions should never allow "principal":"*" unless you intend to grant public access to your data. additionally, s3 bucket acls should be appropriately scoped to prevent unintended access to "authenticated users" (anyone with an aws account) or "everyone" (anyone with internet access) unless your use case requires it. for aws's definition of "public access," please see the meaning of "public” [1]. > > i have my s3 bucket public so user can upload pictures from my flarum. is this secure? or is there more i can do with my flarum to make sure you can only upload images from the flarum itself?
how to secure an amazon s3 bucket?
metabullet.com
2021.43
[ { "text": "looks like someone already asked this question here: <https://metabullet.com/d/23-amazon-bucket-settings-for-fofupload>\n\n\nreading through that one now 👍️\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/65/1) i have my s3 bucket public so user can upload pictures from my flarum. is this secure? or is there more i can do with my flarum to make sure you can only upload images from the flarum itself?\n> \n> \n\n\nas detailed in the thread you referenced, you'll need an acl to govern who can upload and download. ideally, it's your webserver only that has this ability to prevent abuse.\n\n", "name": "", "is_accepted": false } ]
6517c9c6f40808c8c005e4c17a998e88
websockets configuration on nginx+apache
metabullet.com
2021.39
[ { "text": "i'm having a hard time to configure kryne's websockets on my nginx+apache\n\n\nusing option 2 - websocket server handles ssl \n\npath to my ssl certificate and key /home/admin/conf/web/ssl.domain.org.crt and .key on port 2083 but it doesn't work\n\n\nany help is appreciated\n\n", "name": "", "is_accepted": false }, { "text": "[hd3d](https://metabullet.com/d/747/1) can you confirm that the websocket has been started ? either via daemon or from the cli ? also, can you advice if you have enabled debug and viewed any logs generated ?\n\n\nit would be an advantage to understand the steps taken so far.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/747/2) how do i start websockets via daemon or cli? do i need to run any command?\n\n\nwhen i run php flarum websocket:serve i get \"cannot access local certificate/passkey!\"\n\n\ni'm gonna try to enable debug mode and get logs\n\n\ni'm sorry for my noob questions, i have almost no knowledge to server maintenance\n\n\nps: i'm getting \"oops! something went wrong. please reload the page and try again.\" error while posting here on metabullet\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hd3d](https://metabullet.com/d/747/3) ps: i’m getting “oops! something went wrong. please reload the page and try again.” error while posting here on metabullet\n> \n> \n\n\nthanks. seems to be an issue relating to email which i'll investigate\n\n\n\n> [hd3d](https://metabullet.com/d/747/3) i’m sorry for my noob questions, i have almost no knowledge to server maintenance\n> \n> \n\n\nno issues at all. that's what this site is for 😁\n\n\n\n> [hd3d](https://metabullet.com/d/747/3) when i run php flarum websocket:serve i get “cannot access local certificate/passkey!”\n> \n> \n\n\nthat sounds like an issue with the cert itself\n\n\n", "name": "", "is_accepted": false }, { "text": "[@hd3d](https://metabullet.com/u/hd3d) are you using the same certificate as you have installed on your site ? also, is this self signed, let's encrypt etc ? need a bit more detail around this.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/747/5) yes sir i'm using the same certificate as i have installed on my site, i'm using let's encrypt and i have no idea if it is self-signed or not but i'm using cloudflare too\n\n\nthe issue seems to me that nginx+apache have no tutorials or guides so i have no idea what to do as my hosting provider is also not offering much help.\n\n", "name": "", "is_accepted": false }, { "text": "[hd3d](https://metabullet.com/d/747/6) right, good. let's encrypt is signed by an authorised body so not self signed. you should ignore the cloudflare cert in this instance, but you'll need to choose a port to pass the websocket traffic on. port 2083 usually works well for this. did you configure this in the extension settings ? some screenshots would be useful here i think.\n\n\nalso, are your sure that the full path to the let's encrypt certificate is valid ?\n\n ", "name": "", "is_accepted": false }, { "text": "[hd3d](https://metabullet.com/d/747/6) based on this <https://discuss.flarum.org/d/23473-websockets-locally-hosted-alternative-for-pusher-now-free/231> i think this issue is mostly resolved - can you confirm ?\n\n\nthanks\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/747/8) yes sir i confirm the issue is resolved and i'm now running websockets\n\n\neverything seems to work great but i'm noticing that my forum is hanging after a few minutes and becomes all discussions disappear, it can't be refresh by clicking on the forum logo but only by refreshing the browser's refresh button and then it works for a few minutes and so on\n\n\n![](https://i.ibb.co/m4n8znx/web-capture-29-7-2021-65511-www-warezbook-org.jpg)\n\n", "name": "", "is_accepted": false }, { "text": "[hd3d](https://metabullet.com/d/747/9) is there anything of value in the logs ? this could potentially be caused by another extension.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/747/10) sent the logs file to you on discord, can you please have a look and help me with it?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/747/10) sadly, the issue is because of byubo extension 😕\n\n ", "name": "", "is_accepted": false }, { "text": "[hd3d](https://metabullet.com/d/747/12) yes, i was just looking through the logs you sent me. from what i can see, websocket works without issues, so it's not that causing the problem. byobu doesn't work with websocket in the sense that the discussions won't load properly if you have both of these extensions installed.\n\n\ni dropped byobu on my own forums because of the same issue. in all honesty, you should perhaps look at whisper as a replacement. the only issue i see here is that you may list access to existing private discussions unless you turn them into posts beforehand.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/747/13) i can't afford to keep byobu disabled and i don't think whisper meets my requirements but thank you for the help, i will give it a try\n\n", "name": "", "is_accepted": false }, { "text": "[hd3d](https://metabullet.com/d/747/14) seems like kyrne has provided byobu support in version `3.04`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/747/15) that's right sir, the issue has now been resolved 😄\n\n ", "name": "", "is_accepted": false } ]
52c9570209821bbf230ae184779ba4fb
hi mark, i ran the composer update -w comand, and this is showing "an error occurred while trying to load this page. " ![](https://metabullet.com/assets/files/2021-01-26/1611653287-74581-screenshot-2021-01-26-stockport-county-fans-forum.png)
flarum forum 'showing an error occurred while trying to load this page'
metabullet.com
2021.43
[ { "text": "i've enabled debug mode.\n\n\n![](https://metabullet.com/assets/files/2021-01-26/1611654002-961504-screenshot-2021-01-26-whoops-there-was-an-error.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "fixed: errors fixed by running `php flarum migrate`\n\n\n", "name": "", "is_accepted": false } ]
bdf20c2e2a298839b93d898dec0e17f4
today i have received a fishy email asking me to configure dmarc record. could you suggest to me what is the right configuration? ![](https://i.imgur.com/k6xahma.png) above mail is spam mail right? i have tested my email id at <https://www.mail-tester.com/> and it is showing good scores and says it's secure.
how to secure my domain to avoid email spoofing?
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/740/1)\n\n\n\n> [hari](https://metabullet.com/d/740/1) today i have received a fishy email asking me to configure dmarc record. could you suggest to me what is the right configuration?\n> \n> \n\n\nyou have no dmarc configuration as far as i can see\n\n\n![](https://metabullet.com/assets/files/2021-07-16/1626431366-497802-image.png)\n\n\n\n> [hari](https://metabullet.com/d/740/1) above mail is spam mail right?\n> \n> \n\n\nyes and no. it's very commonplace - see [this](https://www.reddit.com/r/websecurity/comments/lnrlxm/i_just_received_this_message_from_someone/)\n\n\non checking your mail server configuration, it is not an open relay, which is good, but without the dmarc policy\n\n\n![](https://metabullet.com/assets/files/2021-07-16/1626436668-334610-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-07-16/1626432524-494756-image.png)\n\n\nhowever, without a dmarc record present, your email may land up in remote junk folders, so it's best to configure a policy. you can do that [here](https://mxtoolbox.com/dmarcrecordgenerator.aspx) (it needs to be added to your dns as a `txt` record)\n\n\nlet me know if you need anything else.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/740/2) i use very complicated configuration please tell me where i am doing wrong.\n\n\nwe have a reseller account with zafast.co.uk and domain is with cloudways\n\n\nwe forward all emails from zfast cpanel to one gmail account and configured \"send as\" at gmail.\n\n\nand how to define dckim and spf .\n\n\ni have gone through <https://mxtoolbox.com/dmarcrecordgenerator.aspx?domain=domain.com>\n\n\nand it is suggesting to add something in cloudflare do i need to choose anything in the left-hand side window?\n\n\ndo i need to add anything in my zfast?\n\n\n![](https://metabullet.com/assets/files/2021-07-16/1626435620-664296-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/740/2) please replace the first image, you forgot to mask my domain in the title area\n\n\n![](https://metabullet.com/assets/files/2021-07-16/1626436535-544100-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/740/4) done, although i'm not sure i understand why you want the domain masked ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/740/5) i don't want someone to know that i manage this site & i have signed a non-discloser agreement with the site owner. not sure why they requested me in that manner.\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/740/3) you should add the record as it recommends - you will probably need to do the same at cloudways.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/740/7) i have updated, added cmarc for mail.domain.com and domain.com too . hope everything is correct now. could you check once\n\n\nand how 1dot is able to select the best answers for this discussion? (interesting)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/740/8) and how 1dot is able to select the best answers for this discussion? (interesting)\n> \n> \n\n\nseems there is a bug in the sense that you cannot select best answer - <https://discuss.flarum.org/d/21894-friendsofflarum-best-answer/159>. not sure what happened with @[deleted]\n\n ", "name": "", "is_accepted": false }, { "text": "hope no one can spoof my email now. do mark this conversation as solved\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/740/10) well, it's set, but the policy is \"none\", which i would change to \"quarantine\" after a few days (just to be sure there are no negative impacts from the introduction of the dmarc record)\n\n\n![](https://metabullet.com/assets/files/2021-07-16/1626447302-807663-image.png)\n\n\nonce you are sure everything works as expected, set the policy to \"reject\" which is what i do.\n\n", "name": "", "is_accepted": false }, { "text": "[unknown] yes it shown me select best answer in discussion that is not mine so i just tap on it then the button was gone it shown error [oops something went wrong! please reload the page] so i reloaded the best answer was selected and i was unable to unselect it that's why i mailed you.\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/740/13) yes, thanks for that. those selections have been redacted.\n\n", "name": "", "is_accepted": false }, { "text": "[unknown] but i can still do that i did it again in redis discussion and again the same thing happened the best answer button gone and shown oops error and when i reloaded page the best answer was selected and again i was unable to unselect. please change the permission\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/740/15) there is no permission to change :) please try the same thing in an incognito session.\n\n", "name": "", "is_accepted": false }, { "text": "[unknown] ok now i done with incognito!\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/740/17) that's expected behaviour\n\n\n![](https://metabullet.com/assets/files/2021-07-16/1626451087-334987-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[unknown] remove members from not own discussion so that it will work fine! 😃\n\n ", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/740/19) done\n\n", "name": "", "is_accepted": false }, { "text": "so see i done it again still not fixed 🤣\n\n ", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/740/21) i know. please read [this](https://metabullet.com/d/740-how-to-secure-my-domain-to-avoid-email-spoofing/9) before you post on this topic again. i've mentioned it's a bug in the extension, not in this forum !\n\n", "name": "", "is_accepted": false } ]
f177b7a7cf065c2995e908ebcb313939
my flarum has really been starting to take off recently and as i grow, i am thinking of consolidating my brand. my website is currently www.seekadventure.net but there was already a popular youtuber from australia who runs a channel called seek adventure and i don't want to compete for that name in the youtube space. my youtube channel is "ten digit grid" which is a point on a map using the military grid reference system that is accurate to 1 meter. that fits my brand and kind of has a cool story and synch with my military background and ties into my flarum of providing accurate precise adventure guides. the name has really grown on me. i own tendigitgrid.com domain and am thinking of moving seek adventure there... should i risk it? i am worried about. my google seo.... i have been looking over this article [here](https://developers.google.com/search/docs/advanced/crawling/site-move-with-url-changes?visit_id=637581489411951865-2253984714&rd=1) from google. how i see it these are the things i would need to do: * set up dns for tendigitgrid.com * with nginx can i keep both seekadventure.net and tendigitgrid for a bit and just easily map every seekadventure.net page to redirect to tendigitgrid without having to specify each page individually? * an aws ec2 things that could make this easier? * https certificate through letsencrypt would probably have to be updated... * aws s3 bucket changes? * google workspace email addresses change... * 301 permanent redirects? * do i have to specify each re-direct individually or is there a redirect * that would just change the root domain? any steps or anything that i may be missing? any thoughts on if this is a good or bad idea? right now if seo does bounce back after the 301 redirects the only real loss would be my facebook page followers. i need to check if i can change the name or if i have to create a whole new page.
changing domains....
metabullet.com
2021.39
[ { "text": "[mikejones](https://metabullet.com/d/654/1) hi mike,\n\n\ngreat to hear from you again 😀\n\n\nhere's my thoughts below\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) should i risk it? i am worried about. my google seo….\n> \n> \n\n\nprovided this is handled correctly with seo friendly redirects (302), then this shouldn't be an issue\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) with nginx can i keep both seekadventure.net and tendigitgrid for a bit and just easily map every seekadventure.net page to redirect to tendigitgrid without having to specify each page individually?\n> \n> \n\n\nyes, although you should consider using something like virtualmin as an administration / panel, as virtually all of what you will need is built into a gui which is very reliable, well supported, and easy to use\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) an aws ec2 things that could make this easier?\n> \n> \n\n\nthis will be infrastructure independent, so where it is based makes no difference - this mostly depends on your audience. my recommendation would be to spin up another instance (which i'll help you build under the new domain), so we would create a replica vanilla server, install virtualmin with nginx, and then use that as the base. you'll quickly realise the benefits of doing so.\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) https certificate through letsencrypt would probably have to be updated…\n> \n> \n\n\nagain, very easily handled by virtualmin as support for let's encrypt is built in\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) aws s3 bucket changes?\n> \n> \n\n\nonly for permissions to access files etc.\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) google workspace email addresses change…\n> \n> \n\n\neasily done. you'd keep seekadenture.net for legacy purposes, and create a new space for the new domain. mail can also be handled by virtualmin using postfix\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) 301 permanent redirects?\n> \n> \n\n\nto start with, 302 is better as it's seo friendly. are you using ga ? if this is the case, we can \"move\" the seekadventure.net domain into the new one at ga level, which requires a redirect to be in place before it'll work. this then over a couple of weeks (depending on size) seamlessly migrates all of your search entries to the new domain using a 302 redirect. it's nice and clean, and will automatically \"rewrite\" in google.\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) do i have to specify each re-direct individually or is there a redirect * that would just change the root domain?\n> \n> \n\n\nwe'll apply it at root. the idea is that the new server will also house the seekadventure.net domain, and we'll create a wildcard redirect there meaning you get to manage everything in one place\n\n\n\n> [mikejones](https://metabullet.com/d/654/1) any steps or anything that i may be missing? any thoughts on if this is a good or bad idea? right now if seo does bounce back after the 301 redirects the only real loss would be my facebook page followers. i need to check if i can change the name or if i have to create a whole new page.\n> \n> \n\n\nno. you've already got a good idea of what you need to do, but my suggestions will enhance the experience and make it seamless. the only \"issue\" as such is having to pay for two instances in the short term whilst the migration is completed. we have the luxury of the new server meaning the infrastructure can be made ready before we execute. no need to create a new page - just use the old one, and explain the branding change. create a new one to ensure you have the name (twitter, linkedin, instagram, facebook etc)\n\n\nboth metabullet.com and phenomlab.com use virtualmin as the back-end management platform, and it's a product i am very well versed in having used it for years. it's extremely powerful and after using it for a week, you'll wonder how the hell you managed without it.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/2) my recommendation would be to spin up another instance\n> \n> \n\n\nwhy spin a second instance? was thinking i could do some redirects in nginx? i was thinking this because i would like to leave the original domain live for redirects for a couple years so any link on the web will redirect to the new domain.\n\n\nif i spin up a second instance for redirects then it would cost more to have both domains live?\n\n\n\n> [phenomlab](https://metabullet.com/d/654/2) are you using ga ?\n> \n> \n\n\nwhats ga stand for?\n\n\nbtw vitualmin, looks pretty sweet! excited to check it out!\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/3) why spin a second instance? was thinking i could do some redirects in nginx? i was thinking this because i would like to leave the original domain live for redirects for a couple years so any link on the web will redirect to the new domain.\n> \n> \n\n\nbecause you want to have a replacement server ready with virtualmin installed (needs a clean system). then you can host the new domain, a copy of flarum with the database and images etc. the original domain only needs to be live from the registrar perspective. a copy of the domain is then hosted on the replacement server.\n\n\n\n> [mikejones](https://metabullet.com/d/654/3) if i spin up a second instance for redirects then it would cost more to have both domains live?\n> \n> \n\n\nno, because you'll shut down the current instance once the new one is ready and you've changed dns.\n\n\n\n> [mikejones](https://metabullet.com/d/654/3) whats ga stand for?\n> \n> \n\n\ngoogle analytics :)\n\n\n\n> [mikejones](https://metabullet.com/d/654/3) btw vitualmin, looks pretty sweet! excited to check it out!\n> \n> \n\n\nit's a brilliant product. i swear by it, and recommend it all the time.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/4) because you want to have a replacement server ready with virtualmin installed (needs a clean system).\n> \n> \n\n\nthats a bummer, you cant just install it on a server thats already spun up.\n\n\n\n> [phenomlab](https://metabullet.com/d/654/4) google analytics\n> \n> \n\n\ngotcha, yea i use ga then lol\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/5) thats a bummer, you cant just install it on a server thats already spun up.\n> \n> \n\n\nno, sadly. it needs a completely bare system to work.\n\n\n![](https://metabullet.com/assets/files/2021-06-02/1622643664-941658-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/6) is the software free or is there a monthly fee?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/7) there are two versions. one is a paid for product with a monthly fee, but most people (including me) use the gpl version which is completely free.\n\n ", "name": "", "is_accepted": false }, { "text": "i think i may try this but seems like a huge process just to re do the server and get flarum back up and running before i even begin the transfer of domains....\n\n\nwhat kind of instance should i spin up on aws to start?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/2) virtualmin as the back-end management platform, and it’s a product i am very well versed in having used it for years. it’s extremely powerful and after using it for a week, you’ll wonder how the hell you managed without it.\n> \n> \n\n\n[@mikejones](https://metabullet.com/u/mikejones) i can vouch for this. i have been testing virtualmin with different scenerios on a local environment and i wish i had been using virtualmin from the beginning. it is very nice and it is as awesome as phenomlab says. i will be creating a new virtual server and setting it up as is described here.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/654/10) excited to try it out! going to need a lot of help from [@phenomlab](https://metabullet.com/u/phenomlab) and team to setup and transfer my flarum data between the old instance and ther new instance though.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/11) it is easier than it sounds. you can backup the tables in your current database and then import them into the database that virtualmin installs and change the config and copy the files to the appropriate folder and you should be good to go. of course, it is a little more involved than it sounds, but it isn't a bad process. you can even install phpadmin for that specific domain in virtual min from a script to make importing the database easier.\n\n\nand to not forget [@phenomlab](https://metabullet.com/u/phenomlab) is amazing on helping out on this as well. if there is anything i can do to help let me know.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/654/10) i wish i had been using virtualmin from the beginning\n> \n> \n\n\nwhat do you like so much about it?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/13) i like that when i create a domain you can check which features you want included in the domain setup, it will create a database for you, it will configure nginx for you with all of the options that you choose. it creates the email settings and address to use email. if you need to change any of the options, like say you don't want one of the features you checked when you setup your domain, you can uncheck it and virtualmin will update all the settings for you. virtualmin does an amazing job at auto configuring everything you need to make the website work.\n\n\nit also makes it very easy to forward to localhost:port if you want to run a node based app. to do it manually is a lot of configuring on the backend of nginx. virtualmin does it for you after you enter it in. virtualmin just makes managing websites so much easier all around.\n\n\nthis is part of the webmin portion but it will also tell you the resources that everything is using on your server.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/9) i think i may try this but seems like a huge process just to re do the server and get flarum back up and running before i even begin the transfer of domains….\n> \n> \n\n\nit may seem that way, but it's actually *much* safer than trying to \"frankenstein\" your existing server. if the parallel build goes wrong, you lose absolutely nothing.\n\n\n\n> [mikejones](https://metabullet.com/d/654/9) what kind of instance should i spin up on aws to start?\n> \n> \n\n\nprobably the same as you have now\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/11) excited to try it out! going to need a lot of help from [@phenomlab](https://metabullet.com/u/phenomlab) and team to setup and transfer my flarum data between the old instance and ther new instance though.\n> \n> \n\n\nno issues. the beauty of this is that there is zero impact to your existing site. we simply take a copy of it, recover it on the new server, test, and once you're happy, we begin the forwarding of domains and required dns changes. clearly, we'll need to password protect the new site so it's not crawled by any search engines - you don't want to be penalised for any duplicated data.\n\n\none final component of virtualmin is it's ability to backup the entire domain configuration meaning it's possible to recover a domain in a very short space of time should anything go wrong. as [@madchatthew](https://metabullet.com/u/madchatthew) suggests, you can also install phpmyadmin to make the database transition and overall management easier, although i'd recommend setting security for this product so it's only available to a set of trusted ip addresses.\n\n\nanother point that has just occurred to me is that aws needs an ssh key to connect. we may need to re-jig this slightly to gain access to the terminal if required (clearly you won't be wanting to share your key). another huge benefit of virtualmin is that it has it's own built-in console for scenarios like this :)\n\n", "name": "", "is_accepted": false }, { "text": "so i think i am going to follow this tutorial to get set up on virtualmin unless somebody has a better one?\n\n\ni am just going to use a newer version of ubuntu.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/17) so i think i am going to follow this tutorial to get set up on virtualmin unless somebody has a better one?\n> \n> \n\n\nno need for a tutorial really. you just need to follow this \n\n<https://www.virtualmin.com/download.html>\n\n\nhowever, be sure you append the install script with `--bundle lemp`, so it'll look like this `wget http://software.virtualmin.com/gpl/scripts/install.sh --bundle lemp`\n\n\nthis will ensure that nginx is installed instead of apache (which is the default unless you specify the `--bundle lemp` or use this guide <https://www.virtualmin.com/documentation/web/nginx>)\n\n\n### **or**\n\n\nif you are really anxious about getting it wrong, i can build it for you, but then you'd have to provide a ssh key, then shoot me afterwards :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/18) i will give it ago myself. spun up a vanilla instance of ubuntu last night.\n\n\ni will try and get through some tonight after work but will probably have a lot of questions along the way.\n\n\nmy game plan is to get it up and running with my seek adventure domain name first. then once it's up and running tackle the domain name change. that sound like a good plan of attack?\n\n\nessentially want to get both domains up and running and have seek adventure forward to the new one.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/19) i will try and get through some tonight after work but will probably have a lot of questions along the way.\n> \n> \n\n\nno problems. happy to help as always.\n\n\n\n> [mikejones](https://metabullet.com/d/654/19) my game plan is to get it up and running with my seek adventure domain name first. then once it’s up and running tackle the domain name change. that sound like a good plan of attack?\n> \n> \n\n\nummm - no, not really. i'd use the replacement domain, and recover the seekadventure.net flarum instance to that. then password protect the site so it can't be crawled, then you have a \"playground\" that's almost real to life.\n\n\n\n> [mikejones](https://metabullet.com/d/654/19) essentially want to get both domains up and running and have seek adventure forward to the new one.\n> \n> \n\n\nyes, that's the end goal, and fully achievable.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/20) why not do seek adventure first then add the new domain?\n\n\nwith aws i can take snapshots pretty quickly to back everything up\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/21) with aws i can take snapshots pretty quickly to back everything up\n> \n> \n\n\nup to you, but that wouldn't be my recommendation. my preference is to use a parallel server with the target domain for testing rather than impact the production site. irrespective of snapshots, you have to consider the user experience, and if there have been posts and you revert to snapshot, they are lost.\n\n\ntake my advice - don't do that 😀 been there, done it, suffered the fallout. it's like making huge changes on a friday afternoon - you just don't !\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/22) i will probably have to get a second elastic up for the new domain then and eventually have seek adventure point to that new ip as well?\n\n\nor can i have two different ips on one server...\n\n\nguess i am a little fuzzy on the details of the two different domains eventually pointing to the same site.\n\n\ni was thinking of nginx rules that would have both domains essentially go to the same site on my server by having seek adventure re write to the new domain?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/23) i will probably have to get a second elastic up for the new domain then and eventually have seek adventure point to that new ip as well?\n> \n> \n\n\nin the long term, yes. but for the short-term, you'll need a new elastic ip associated to a new server, and the new domain a record pointing to that in dns\n\n\n\n> [mikejones](https://metabullet.com/d/654/23) i was thinking of nginx rules that would have both domains essentially go to the same site on my server by having seek adventure re write to the new domain?\n> \n> \n\n\nyes, that's correct, although we will handle this via virtualmin and then point seekadventure.net to the new server. it a lot of steps, but well worth the effort. you then choose the quietest period to fully migrate seekadventure.net with redirects - you can actually created the virtual domain in virtualmin without needing to change anything, but you of course won't be able to assign a let's encrypt cert as this relies on correct dns. however, getting that to work is a simple affair.\n\n\nonce you've used virtualmin for a week, you'll wonder why you never used it before, and how you ever coped without it :)\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab) so i tried to install but ran into a few issues after the install looked to go all right:\n\n\n\nfirst issue is with this line:\n\n\n`[success] to configure at https://:10000 (or https://172.31.69.51:10000).`\n\n\nnot sure where that ip address came from... i instead logged into ec2 and grabbed the ip address for that instance and was able to then get to the log in page of virtualmin.\n\n\nthat's where the next problem occured, i have no idea what my initial password and username is. i read that its my root password but i use a certificate so i dont have a password...\n\n\ni tried a few things and i actually got it blocked... hopefully it un-blocks by the time you get back to me.\n\n ", "name": "", "is_accepted": false }, { "text": "ok so i was able to login by following this guidance:\n\n\n<https://www.digitalocean.com/community/questions/how-login-into-virtualmin-if-i-not-use-root-password>\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/26) i was just going to suggest this \n\n<https://forum.virtualmin.com/t/how-to-access-virtualmin-if-ssh-loging-root-with-ssh-rsa-public-private-key/104923/10>\n\n\nit'll work in the same way. i forgot you were using an ec2 backed instance so wouldn't have access to the root user 🤭\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/27) so going through the initial setup wizard now... since i am on aws ec2 not sure what to leave here:\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622765137-208986-screen-shot-2021-06-03-at-50407-pm.png)\n\n\ndo i need to configure the elastic ip first and use that in here? or just leave default value the ec2 public ipv4 dns?\n\n", "name": "", "is_accepted": false }, { "text": "i couldnt edit the post above but here is what else i haev done. i have associated an elastic ip to the server and now use that ip in my web browser to access to web gui.\n\n\ni am still not sure what to put for the dns sections i posted above, but i continued through to see what other options i may need help with.\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622778642-738224-image.png)\n\n\ndo i want to create a server with domain here? should i use lets encrypt here as well for a certificate? will i do a certificate fro my seek adventure domain and then my ten digit grid domain as well? is that 3 lets encrypt certificates?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/29) at the moment, choose no for both options. the server isn't ready for this yet.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/28) you could use \"skip the check for resolvability\" for the time being\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/30) at the moment, choose no for both options. the server isn’t ready for this yet.\n> \n> \n\n\nok chose no for now\n\n\n\n> [phenomlab](https://metabullet.com/d/654/31) you could use “skip the check for resolvability” for the time being\n> \n> \n\n\nand i skipped the check as well.\n\n\ni notice using this web gui my cpu spike to 100% a lot!\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622815276-121180-screen-shot-2021-06-04-at-70002-am.png)\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622815316-393507-image.png)\n\n\nalso what are the next steps to get things up and running :-)\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/32) i notice using this web gui my cpu spike to 100% a lot!\n> \n> \n\n\ni only see one core - you'll need two at least.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/33) maybe i don't want to use this then... going to be a lot more expensive aws fee just to use this gui?\n\n", "name": "", "is_accepted": false }, { "text": "i actually already upgraded from a tiny to a small ... ec2 instance while trying this\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/34) maybe i don’t want to use this then… going to be a lot more expensive aws fee just to use this gui?\n> \n> \n\n\ndid you choose all the defaults during the first run wizard ? this can consume more memory and resources than you have available, so you may want to re-run it and only select what you absolutely need. are you running currently on a free tier ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/36) yea on free tier with defaults\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/37) ok, then that will cause issues because it's not powerful enough to run with the defaults. that said, if you re-run the wizard and scale it back, it'll be fine.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/38) what would i scale back and what capabilities would i loose?\n\n\ni am thinking again it might be easier to set up dns to have my new domain name point to the same ip as my old domain and then configure nginx to point to the same /var/www directory so that each domain name is essentially serving the same website.\n\n\nthen i should be able to rewrite nginx for the old domain and have it 301 redirect to the new domain name?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/39) what would i scale back and what capabilities would i loose?\n> \n> \n\n\nnot much in fairness, but you'll gain performance increases. one of the biggest gains is to scale back mysql. by default, it's quite a memory and cpu hog. also, the email scanning etc.\n\n\n\n> [mikejones](https://metabullet.com/d/654/39) i am thinking again it might be easier to set up dns to have my new domain name point to the same ip as my old domain and then configure nginx to point to the same /var/www directory so that each domain name is essentially serving the same website.\n> \n> \n\n\nthat won't work for flarum because of the url in config.php\n\n\n\n> [mikejones](https://metabullet.com/d/654/39) then i should be able to rewrite nginx for the old domain and have it 301 redirect to the new domain name?\n> \n> \n\n\nyes, but you can only have one flarum at a time if you do it this way.\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/40) not much in fairness, but you’ll gain performance increases. one of the biggest gains is to scale back mysql. by default, it’s quite a memory and cpu hog. also, the email scanning etc.\n> \n> \n\n\noooo i thought you were talking about the install from the command line.\n\n\nthe intro part i turned off all the email stuff already.\n\n\ni just added a swap so maybe that will help?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/41) oooo i thought you were talking about the install from the command line.\n> \n> \n\n\nno, scale back the settings that mysql uses in webmin\n\n\nyou can re-run the wizard as shown below\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622826451-686115-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/42) i had the mysql left on medium which was default. what will i loose by scaling it back one?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/43) what will i loose by scaling it back one?\n> \n> \n\n\nnothing. just less memory will be allocated to mysql\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/44) ok i will try this shortly.\n\n\nthen its time to start spinning up the virtual server in virtualmin?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/45) then its time to start spinning up the virtual server in virtualmin?\n> \n> \n\n\nyes, but please do try with your new domain and change the dns so it points to the new virtualmin server. you'll see just how simple this really is.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/34) going to be a lot more expensive aws fee just to use this gui?\n> \n> \n\n\njust to be 100% clear, virtualmin and webmin are not just \"gui's\". they are full / comprehensive collections of applications forming a suite under one banner. - have a look [here](https://webmin.com/standard.html). the same can be said for virtualmin - it's an extremely powerful system - not just a gui :)\n\n", "name": "", "is_accepted": false }, { "text": "here are some of the settings i selected, any recommendations?\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622828423-385368-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622828448-920354-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622828473-721500-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622828515-595653-image.png)\n\n\nassuming small for mysql will be enough to run flarum?\n\n\n\n> [phenomlab](https://metabullet.com/d/654/46) please do try with your new domain and change the dns so it points to the new virtualmin server.\n> \n> \n\n\nthis look correct?\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622828881-148160-image.png)\n\n\nassuming next step is to click \"add servers\" in virtualmin?\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/48) all good. we may need to revise the mysql side of things if it's a little too slow, but it should be fine.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/49) so now i am looking at this for where i should spin up my website for the first time?\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622829570-967829-screen-shot-2021-06-04-at-105835-am.png)\n\n\nsince this is all new just a little confused on where to start\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/50) start here - do everything through virtualmin unless you really have to use webmin\n\n\n![](https://metabullet.com/assets/files/2021-06-04/1622829690-933569-image.png)\n\n\nvirtualmin is designed to handle domains and websites, whilst webmin is the \"underbelly\" of the platform.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/51) awesome! excited to try it out!\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/51) so i was gong to put a simple test page to see if it all works but i oculdnt even cd into the directory...\n\n\n\n```\nubuntu@ip-172-31-89-10:/home$ ls\ntendigitgrid ubuntu\nubuntu@ip-172-31-89-10:/home$ cd tendigitgrid/\n-bash: cd: tendigitgrid/: permission denied\nubuntu@ip-172-31-89-10:/home$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/53) that's correct. virtualmin will containerise each virtual server meaning it can only be accessed by the account associated with it when you created it.\n\n\nyou should have been asked to create a username and password when creating the new virtual server, so should use that via ssh.\n\n\nif ssh presents issues, use the file manager in the virtual server for the domain you just created.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/54) you should have been asked to create a username and password when creating the new virtual server, so should use that via ssh.\n> \n> \n\n\nso i will now ssh with my new username and password instead of token?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/55) not necessarily no. given how the ec2 instance are configured, this may not even work. you should have sftp access though so could upload that way other than the virtualmin file manager.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/40) that won’t work for flarum because of the url in config.php\n> \n> \n\n\ncouldn't i just have to new domain name point to the /var/www directory update the config.php with the new domain name.\n\n\nthen nginx would route traffic from old domain name to new domain name? then config.php would think it was coming from new domain name?\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/57) no, because if the url doesn't match what's in config.php then it won't work properly. the assets won't be loaded and you'll have other issues.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/58) would the url no be change to the new domain once re-routed?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/59) potentially, but don't forget it's https so you may have issues with redirected domains here also.\n\n\nit's much cleaner to go with my initial suggestion, but entirely your choice.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/60) it’s much cleaner to go with my initial suggestion, but entirely your choice.\n> \n> \n\n\nyea i am just getting wrapped up in all the extra overhead of manging my server in a different way. looks like i have to use different log ins from ssh etc.\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/61) this isn't reinventing the wheel though. it's the right way to do it.\n\n\ntrust me, after 30 plus years, it's right.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/654/54) that’s correct. virtualmin will containerise each virtual server meaning it can only be accessed by the account associated with it when you created it.\n> \n> \n\n\nis there anyway to give root access so that i can still ssh? or do i just need to get used to doing everything through virtualmin?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/63) you could add each user to the sudoers files although for security reasons i wouldn't generally recommend that. let me test this first and i'll get back to you.\n\n ", "name": "", "is_accepted": false }, { "text": "[@mikejones](https://metabullet.com/u/mikejones) actually, i have a better idea. webmin actually has a built in command line interface as shown here. this way, your won't have to worry about ssh access and it's secured by default (assuming you've attached a cert to webmin itself)\n\n\non mobile, it can be found in the left navigation bar at the bottom. on desktop, it's usually located at the top right of the screen.\n\n\n![](https://metabullet.com/assets/files/2021-06-05/1622899327-751584-screenshot-20210605-142055.jpg)\n\n\n![](https://metabullet.com/assets/files/2021-06-05/1622899464-106042-screenshot-20210605-142255.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/654/65) thats pretty cool! honestly took me awhile to find though even after you told me about it lol.\n\n\ni had to go to webmin->tools-> command shell page\n\n\nit wasn't until i got to that page where i saw the command line interface.\n\n\nso now that i have the tendigitgrid server spun up. how do i copy my flarum to there?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/654/66) so now that i have the tendigitgrid server spun up. how do i copy my flarum to there?\n> \n> \n\n\nyou just need to copy of of the files from the current server, plus the database, to the new server. recover the database copy, and you should be good to go provided all requisites are met.\n\n", "name": "", "is_accepted": false }, { "text": "[unknown] \n\n![](https://metabullet.com/assets/files/2021-06-07/1623063860-420432-image.png) \n\nfound captcha error as you changed your domain, hope you will fix this soon.\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/66) i see tendigitgrid.com is up and running with a redirect for seekadventure.net :) did you decide to use virtualmin in the end, or did you just alter what you had ?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [[deleted]](https://metabullet.com/d/654/68) found captcha error as you changed your domain, hope you will fix this soon.\n> \n> \n\n\nnice, good catch! just fixed, let me know if you have any other issues trying to sign up!\n\n\n\n> [phenomlab](https://metabullet.com/d/654/70) i see tendigitgrid.com is up and running with a redirect for seekadventure.net 🙂 did you decide to use virtualmin in the end, or did you just alter what you had ?\n> \n> \n\n\nit is! i decided to not go with virtualmin and this time due to the increased server demands. i did not want to have to increase my instance size on aws at this time. virtualmin looks awesome and i may upgrade to it in the future, once my site grows.\n\n\ni did everything with re-write rules in nginx. the let encrypt part i was able to get one cert for both domains. i got some great help from the lets encrypt forums: <https://community.letsencrypt.org/t/nginx-adding-changing-domain-name/153184>\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/654/71) at least you have some background and working knowledge of virtualmin :). i'll mark this as resolved.\n\n", "name": "", "is_accepted": false } ]
3a6e3ac3579263f077788721dd696f4a
hey! i was wondering if anyone would be interested in seeing an open source flarum like forum, but then in node.js and mongodb. it will start off simple and eventually i'll also add plugins etc. let me know!
should i try to make a forum in nodejs?
metabullet.com
2021.39
[ { "text": "[seer](https://metabullet.com/d/670/1) nodebb is an already established forum written in nodejs and mongodb, and is open source ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/670/2) \n\ni know, although i mostly want to do it for expierence. xd \n\nsince these days there is not much to do.\n\n", "name": "", "is_accepted": false }, { "text": "[seer](https://metabullet.com/d/670/3) fair comment !!\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/670/4) \n\nyeah, and considering that there is a lot of new tech to learn then i may aswell.\n\n", "name": "", "is_accepted": false }, { "text": "[seer](https://metabullet.com/d/670/5) i'm interested to know if you're still considering this. a fun project, yes, but also a large one 🔥\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/670/6) \n\nyup i am, i am just finishing up a current project and then i'll be working on the forum project, it might not be open source due to licences but i will let users create 'subforums' this means that users can make their own forum for free and fully hosted.\n\n\nlet me know what you think!\n\n", "name": "", "is_accepted": false }, { "text": "[seer](https://metabullet.com/d/670/7) sounds intriguing 👍\n\n", "name": "", "is_accepted": false }, { "text": "i will follow this!\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/670/9) have you seen phenomlab.com recently ?\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/670/10) yep...it looks really amazing! and fast !\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/670/11) thanks. the speed i think is almost impossible to beat. this isn't even using redis - it's using a local mongodb instance, but no php which is always going to be faster..\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/670/12) i'm dreaming to transform justoverclock.it into something like this one day 😆\n\n ", "name": "", "is_accepted": false } ]
17bc1ad6305dd45fe860291c913b8c81
i have the following setting disabled, is this something i should enable for better seo results and is it resource heavy on the server? ![](https://metabullet.com/assets/files/2021-01-12/1610487957-644205-screenshot-2021-01-12-stockport-county-fans-forum5.png) ![](https://metabullet.com/assets/files/2021-01-12/1610487983-405812-screenshot-2021-01-12-stockport-county-fans-forum4.png)
seo settings (flarum)
metabullet.com
2021.39
[ { "text": "[jac](https://metabullet.com/d/22/1) you can enable that (as i do). the server you have can process that additional load without even breaking a sweat 😁\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/22/2) you can enable that (as i do). the server you have can process that additional load without even breaking a sweat\n> \n> \n\n\nupdated the settings, thank you! :)\n\n", "name": "", "is_accepted": false }, { "text": "how about for fof/sitemap, for operation mode? \n\n(i already have enabled cron job for sitemap) \n\n![](https://metabullet.com/assets/files/2021-01-13/1610523935-840435-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/22/4) if you don't have that many discussions, it's recommended to leave it as \"runtime\". when the forum gets larger, you should review.\n\n", "name": "", "is_accepted": false }, { "text": "okay, hoping my forum will become successful, then i will be back. 😀\n\n ", "name": "", "is_accepted": false } ]
d9e4197ce9d90dacd8e60b93c5cb1a63
my personal preference has always been towards dark themes - i think they are much easier to read than light, although i'm aware of the age-old argument here around which is best. as you may already know, i recently disabled the `fof/nightmode` extension, but am happy to put this back (after some serious analysis around it's behaviour) once the issues have been resolved. however, i'm going to go "with the masses" on this one, and depending on who scores highest after 1 month, i'll take action based on that response. vote for your favourite!
light or dark mode - which is best
metabullet.com
2021.39
[ { "text": "so i normally like dark themes but i like your light theme better than your dark theme. i know it's preference but the orange is to much for me on the un read discussions. it's almost to contrasting for me\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/101/2) i'm going to change that !! it's *horrible*, i'll admit. bear with it.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/101/3) if that's the case i will change my vote to dark mode lol\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/101/4) thanks ! it'll be worth it\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/101/4) i'm thinking something like this\n\n\n![](https://metabullet.com/assets/files/2021-03-03/1614773846-200472-image.png)\n\n\nthoughts ?\n\n", "name": "", "is_accepted": false }, { "text": "actually, made some small changes here to colours and the left border. i think it's now neutral, and not so \"in your face\" :)\n\n\n![](https://metabullet.com/assets/files/2021-03-03/1614776037-536327-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/101/2) interested in feedback ref the recent changes... better ?\n\n", "name": "", "is_accepted": false } ]
27695c273ab84487f0a13b800e56af06
interested what you use for your font css here. your font is super readable…. i didn’t realize how tiny the text was on my own flarum until i have been reading things here 😆 now i am thinking i need to tweak mine a little.
css for your font?
metabullet.com
2021.31
[ { "text": "\n> [mikejones](https://metabullet.com/d/166/1) interested what you use for your font css here.\n> \n> \n\n\nthe font used here is “poppins” (as in “mary”) - it’s a google font, and available [here](https://fonts.google.com/specimen/poppins?preview.text_type=custom). however, i have “tailored” this font somewhat in terms of letter spacing, and line height. the css i use for that is here (it’s set at `body` level meaning i don’t need to worry about individual classes)\n\n\n\n```\nbody {\n font-family: \"poppins\";\n color: #cccccc;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n letter-spacing: .0125em;\n background: #242425;\n}\n```\n\ni elected to host this font locally, in order to reduce unnecessary http requests. in the custom footer of this site, i use\n\n\n\n```\n<style>\n/* poppins-regular - latin */\n@font-face {\n font-family: 'poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url('/fonts/poppins-v15-latin-regular.eot'); /* ie9 compat modes */\n src: local(''),\n url('/fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* ie6-ie8 */\n url('/fonts/poppins-v15-latin-regular.woff2') format('woff2'), /* super modern browsers */\n url('/fonts/poppins-v15-latin-regular.woff') format('woff'), /* modern browsers */\n url('/fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* safari, android, ios */\n url('/fonts/poppins-v15-latin-regular.svg#poppins') format('svg'); /* legacy ios */\n}\n}\n</style>\n```\n\nand to download the fonts locally, you can use the google font helper [here](https://google-webfonts-helper.herokuapp.com/fonts)\n\n\ni’ve played with various fonts over the years, and was looking for the ultimate in readability. i think i’ve finally found it, and am using it here 🙂 the key to getting the font size right is to use `em` rather than `px`. it scales well on mobile devices, and i use it as follows in css. one final touch is to use a `text-shadow` css class. i’ve avoided it here, but it’s useful in headers to make text stand out. a word of warning though - don’t *overuse* it.\n\n\n\n```\n font-size: 1rem;\n```\n\n", "name": "", "is_accepted": true }, { "text": "[phenomlab](https://metabullet.com/d/166/2) awesome thanks! when i have some free time i may give this a try on my flarum.\n\n\nhope you don’t mind me copying the fonts 😃\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/3) hope you don’t mind me copying the fonts\n> \n> \n\n\nnot at all !! feel free.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/166/2) in the custom footer of this site, i use\n> \n> \n\n\nis there a reason why you host the font style in the footer and not someplace else like the head?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/5) is there a reason why you host the font style in the footer and not someplace else like the head?\n> \n> \n\n\nyes, i do that so i can defer the font meaning that the page renders before the font loads, and meaning there is no reliance on it. the overall impact is page speed and ttfb when content is being rendered (prevents blocking)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/166/2) and to download the fonts locally, you can use the google font helper [here](https://google-webfonts-helper.herokuapp.com/fonts)\n> \n> \n\n\nso i downloaded the font using the helper as you suggested. would i just drop this folder into my flarum storage directory? i guess i am a little confused on where it should go in the flarum file structure.\n\n\n\n> [phenomlab](https://metabullet.com/d/166/6) yes, i do that so i can defer the font meaning that the page renders before the font loads, and meaning there is no reliance on it.\n> \n> \n\n\ngotcha, that makes sense, thanks!\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/7) so i downloaded the font using the helper as you suggested. would i just drop this folder into my flarum storage directory? i guess i am a little confused on where it should go in the flarum file structure.\n> \n> \n\n\nyou can place it wherever you want. the key here is to ensure that the relative path is correct. i typically take the following route\n\n\n1. use the google font helper, but when you’ve selected the font you require, designate a path. in my case, i chose “fonts” (how imaginative 🙂) and then specified that in the css\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615389706-894934-image.png)\n\n\nnote, that i removed the prior `../` as this means “two back” - we want the relative path, so this becomes `/fonts/`\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615389772-649914-image.png)\n\n\n2. now save the downloaded zip, and extract to `<flarumroot>/fonts`\n3. save the css as it is in the panel, and add that to the footer\n4. finally, change your body css so that it uses `font-family: \"poppins\"` as i defined in the first post.\n\n\nthat’s it.\n\n", "name": "", "is_accepted": false }, { "text": "well i am almost there… tried to curl it to my server and it didn’t like trying to unzip the file:\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo curl https://discord.com/channels/703436505619759185/819232307986694194/819232399539175454 -o poppins-v15-latin.zip\n % total % received % xferd average speed time time time current\n dload upload total spent left speed\n100 4465 100 4465 0 0 87549 0 --:--:-- --:--:-- --:--:-- 87549\nubuntu@ip-172-31-92-154:/var/www/seekadventure.net$ ls\n changelog.md composer.lock flarum public vendor workbench\n composer.json config.php license readme.md vendor2\n composer.json.save extend.php poppins-v15-latin.zip storage 'view?usp=sharing'\nubuntu@ip-172-31-92-154:/var/www/seekadventure.net$ sudo unzip poppins-v15-latin.zip \narchive: poppins-v15-latin.zip\n end-of-central-directory signature not found. either this file is not\n a zipfile, or it constitutes one disk of a multi-part archive. in the\n latter case the central directory and zipfile comment will be found on\n the last disk(s) of this archive.\nunzip: cannot find zipfile directory in one of poppins-v15-latin.zip or\n poppins-v15-latin.zip.zip, and cannot find poppins-v15-latin.zip.zip, period.\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/9) why is the curl path `https://discord.com/channels/703436505619759185/819232307986694194/819232399539175454` ?\n\n\nwouldn’t using\n\n\n\n```\nwget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip&subsets=latin&variants=regular\n```\n\nmake more sense ?\n\n\nactually, that still might cause issues. probably quicker to download it locally, then transfer it to the aws instance via scp ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/10) because i like making things harder for myself 😆\n\n\nso i tried that and i look stuck on my terminal window now so i did a ctr-c and not sure if this looks right now…\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo wget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip&subsets=latin&variants=regular\n[1] 135354\n[2] 135355\nubuntu:/var/www/seekadventure.net$ \nredirecting output to ‘wget-log’.\n^c\n[1]- done sudo wget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip\n[2]+ done subsets=latin\nubuntu:/var/www/seekadventure.net$ ^c\nubuntu:/var/www/seekadventure.net$ ls\n changelog.md composer.lock flarum public vendor workbench\n composer.json config.php license readme.md vendor2\n composer.json.save extend.php 'poppins?download=zip' storage wget-log\nubuntu:/var/www/seekadventure.net$ \n```\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/11) so i tried that and i look stuck on my terminal window now so i did a ctr-c and not sure if this looks right now…\n> \n> \n\n\nnope. try\n\n\n\n```\nwget http://metabullet.com/fonts/poppins-v15-latin.zip\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/12) that worked!\n\n\nwhen i unzipped it it through the files out… assume i should try again and unzip into a folder called fonts right?\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo unzip poppins-v15-latin.zip \narchive: poppins-v15-latin.zip\n inflating: poppins-v15-latin-regular.eot \n inflating: poppins-v15-latin-regular.woff \n inflating: poppins-v15-latin-regular.woff2 \n inflating: poppins-v15-latin-regular.ttf \n inflating: poppins-v15-latin-regular.svg \nubuntu:/var/www/seekadventure.net$ ls\nchangelog.md config.php poppins-v15-latin-regular.eot poppins-v15-latin-regular.woff2 storage\ncomposer.json extend.php poppins-v15-latin-regular.svg poppins-v15-latin.zip vendor\ncomposer.json.save flarum poppins-v15-latin-regular.ttf public vendor2\ncomposer.lock license poppins-v15-latin-regular.woff readme.md workbench\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "so i think i got it working…. font dedf changed. but its not as big or clear as yours…. the only code i changed from your css was i removed the background line because i didn’t want to change the color of my background…\n\n\ni don’t think that would have affected the size?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/14) shouldn’t have done - is it live now ?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/14) are you sure the fonts are in fact in that location ? i’m getting a 404\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615393826-733792-image.png) \n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615393955-209507-image.png)\n\n\nthe times new roman fallback font is also being loaded because of the 404\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615394031-145966-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "hmmm its in a fonts folder… maybe not publicly accessible? maybe move to the flarum public folder?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/13) assume i should try again and unzip into a folder called fonts right?\n> \n> \n\n\nyes, correct. the “fonts” folder needs to be in the flarum root\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/17) maybe not publicly accessible? maybe move to the flarum public folder?\n> \n> \n\n\nwho owns the folder ? should be your www-user\n\n\ncan you send me the output of `ls -la` from the flarum root ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/19) yep looks like root root….\n\n\n`drwxr-xr-x 2 root root 4096 mar 10 16:01`\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/20) that’s the problem. you’ll need to change the owner from root to your www-user\n\n\nso, if your nginx user is `www-data`, you’d use `sudo chown -r www-data:www-data /flarumroot/fonts/`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/21) so i was close at trying this before you came in lol. let me try your code above. i tried this…\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -l\ntotal 556\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\ndrwxr-xr-x 2 root root 4096 mar 10 16:01 fonts\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench\nubuntu:/var/www/seekadventure.net$ chown -r www-data:fonts \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/22) if you execute the command from there, it can simply be `sudo chown -r www-data:www-data /fonts`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/23) so i ran it successfully then cleared my cache and i still get the 404 on the fonts…\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/24) can you send me an `ls -la` again please ?\n\n", "name": "", "is_accepted": false }, { "text": "also, dumb question, but “fonts” is a directory, and not a file ?? send also an `ls -lap`. this will place a “/” after each actual directory, so you’ll easily see if it’s a directory or a file.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/26) of course:\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -la\ntotal 576\ndrwxrwxr-x 8 www-data www-data 4096 mar 10 16:00 .\ndrwxr-xr-x 5 root root 4096 dec 19 2018 ..\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 354 dec 6 2018 .editorconfig\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\n-rw-r--r-- 1 root root 1024 dec 21 2018 .flarum.swp\ndrwxr-xr-x 2 www-data www-data 4096 mar 10 16:01 fonts\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 www-data www-data 1509 dec 6 2018 .nginx.conf\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/27) and `ls -lap` please. also useful, would be\n\n\n\n```\ncd fonts\ndir\n```\n\nthanks\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/28)\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -lap\ntotal 576\ndrwxrwxr-x 8 www-data www-data 4096 mar 10 16:00 ./\ndrwxr-xr-x 5 root root 4096 dec 19 2018 ../\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 354 dec 6 2018 .editorconfig\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\n-rw-r--r-- 1 root root 1024 dec 21 2018 .flarum.swp\ndrwxr-xr-x 2 www-data www-data 4096 mar 10 16:01 fonts/\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 www-data www-data 1509 dec 6 2018 .nginx.conf\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public/\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage/\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor/\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2/\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench/\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/29) and\n\n\n\n```\ncd fonts\ndir\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/30)\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ cd fonts/\nubuntu:/var/www/seekadventure.net/fonts$ dir\npoppins-v15-latin-regular.eot poppins-v15-latin-regular.ttf poppins-v15-latin-regular.woff2\npoppins-v15-latin-regular.svg poppins-v15-latin-regular.woff poppins-v15-latin.zip\n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/31) very odd. can you restart nginx ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/32) just ran a `sudo systemctl restart nginx` and still same error….\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/33) i just signed up to your forum (phenomlab). can you make me an admin please ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/34) permissions granted 😀\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/35) i don’t have admin. you’re using recache, yes ? can you execute `php flarum recache:clear` as it appears your cache is out of sync\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/36) should be good now?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/37) can you provide a copy of your `nginx.conf` file ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/38) the. file under sites-available?\n\n\nif so:\n\n\n\n```\nserver {\n server_name seekadventure.net;\n return 301 https://www.seekadventure.net$request_uri;\n\n listen 443 ssl; # managed by certbot\n ssl_certificate /etc/letsencrypt/live/seekadventure.net/fullchain.pem; # managed by certbot\n ssl_certificate_key /etc/letsencrypt/live/seekadventure.net/privkey.pem; # managed by certbot\n include /etc/letsencrypt/options-ssl-nginx.conf; # managed by certbot\n ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by certbot\n\n # security headers\n add_header strict-transport-security \"max-age=31536000; includesubdomains; preload\";\n \nclient_max_body_size 300m;\n\n location ~* ^/(composer\\.(json|lock)|config\\.php|flarum|storage|vendor) {\n deny all;\n return 404;\n}\n\n\n\n}\n\nserver {\n # security headers\n add_header strict-transport-security \"max-age=31536000; includesubdomains; preload\";\n\n \n root /var/www/seekadventure.net/public;\n index index.php index.html index.htm;\n error_log /var/log/nginx/error.log error;\n\n server_name www.seekadventure.net;\n \n client_max_body_size 300m;\n\n\n location / { try_files $uri $uri/ /index.php?$query_string; }\n \n \n\n location /flarum {\n deny all;\n return 404;\n }\n\n location ~ .php$ {\n fastcgi_split_path_info ^(.+.php)(/.+)$;\n fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;\n fastcgi_index index.php;\n include fastcgi_params;\n\n\n\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n location ~* \\.html$ {\n expires -1;\n }\n\n location ~* \\.(css|js|gif|jpe?g|png)$ {\n expires 1m;\n add_header pragma public;\n add_header cache-control \"public, must-revalidate, proxy-revalidate\";\n }\n\n location ~* ^/(composer\\.(json|lock)|config\\.php|flarum|storage|vendor) {\n deny all;\n return 404;\n }\n\n gzip on;\n gzip_http_version 1.1;\n gzip_vary on;\n gzip_comp_level 6;\n gzip_proxied any;\n gzip_types application/atom+xml\n application/javascript\n application/json\n application/vnd.ms-fontobject\n application/x-font-ttf\n application/x-web-app-manifest+json\n application/xhtml+xml\n application/xml\n font/opentype\n image/svg+xml\n image/x-icon\n text/css\n text/plain\n text/xml;\n gzip_buffers 16 8k;\n gzip_disable \"msie [1-6]\\.(?!.*sv1)\";\n\n\n\n listen 443 ssl; # managed by certbot\n ssl_certificate /etc/letsencrypt/live/seekadventure.net/fullchain.pem; # managed by certbot\n ssl_certificate_key /etc/letsencrypt/live/seekadventure.net/privkey.pem; # managed by certbot\n include /etc/letsencrypt/options-ssl-nginx.conf; # managed by certbot\n ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by certbot\n\n\n}\n\n\nserver {\n if ($host = seekadventure.net) {\n return 301 https://$host$request_uri;\n } # managed by certbot\n\n\n listen 80;\n server_name seekadventure.net;\n return 404; # managed by certbot\n\n\n}\n\nserver {\n if ($host = www.seekadventure.net) {\n return 301 https://$host$request_uri;\n } # managed by certbot\n\n\n listen 80;\n\n server_name www.seekadventure.net;\n return 404; # managed by certbot\n\n\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/39) thanks. something i want to test here. can you\n\n\n1. add this line into your server block, under `location /flarm`\n\n\n\n```\n location /fonts {\n }\n```\n\n2. add a basic .txt file into the /fonts folder, so `sudo touch /fonts/test.txt`\n3. issue `chown -r www-data:www-data /fonts`\n4. restart nginx\n\n\nif all goes well, i should be able to reach the test.txt file from any browser.\n\n\nwhat i think is happening here is that all folder requests are being redirected to `index.php` meaning flarum is expecting to serve this subfolder.\n\n\nif this last test fails, we can “cheat” and move the fonts to the `assets` folder and then change the css to suit. however, let’s try with steps 1-4 first.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/40) so i just moved the fonts folder to the public folder and everything i think is working now! i didn’t change the path of the css though…. but i guess it found it 🤷‍♂️\n\n\nthe font is bigger now but it still looks. a little smaller than your font.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/41) so i just moved the fonts folder to the public folder and everything i think is working now! i didn’t change the path of the css though…. but i guess it found it\n> \n> \n\n\nand there’s the disconnect ! you are using `/public` whereas i don’t, so the `fonts` folder should have been in the `public` directory 🙂\n\n\n\n> [mikejones](https://metabullet.com/d/166/41) the font is bigger now but it still looks. a little smaller than your font.\n> \n> \n\n\nlet me check\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/41) looks like i’ve set an additional inheritance in css so that `.post-body` adopts `body`. i’ve added the below css to to your forum\n\n\n\n```\n.post-body {\n font-size: inherit;\n}\n```\n\nreload your page - is this what you wanted ?\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/43) yep, that looks awesome!!! thanks! i feel like my forum’s much more easily readable especially on mobile device now!\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/44) no problem. one thing i did notice is that the increase in font size has a negative impact on larger screens.\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615400407-364497-image.png)\n\n\nyou can fix that with this css\n\n\n\n```\n@media (min-width: 1100px) {\n.container {\n width: 1200px;\n}\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/45) on how big of screen. i am on my laptop and things look pretty good.\n\n\nis that css just making the post container wider?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/46) on how big of screen. i am on my laptop and things look pretty good.\n> \n> \n\n\n2560 × 1440 🙂 i have a large monitor\n\n\n\n> [mikejones](https://metabullet.com/d/166/46) is that css just making the post container wider?\n> \n> \n\n\nyes - only by 100px but enough to throw it out of line and make it look bad. adding 100px fixes that\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/46) much better 🙂\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615400625-590435-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "everything is looking great! one thing i noticed is if you scroll down to the bottom of this article: <https://www.seekadventure.net/d/192-pakayak-142-review-first-look>\n\n\nand see the details tag i use for “more kayaking adventures” it shows a down arrow on desktop but not on mobile anymore…\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/49) i don’t see it on mobile view, and it’s not in the html from what i can see ?\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615400909-550791-image.png)\n\n\nare you sure it’s actually there ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/51) here is a screenshot from desktop:\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615401098-195642-screen-shot-2021-03-10-at-103101-am.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/52) can you clear your browser cache and try again? i do not see this listed in an incognito session.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/53) what browser are you using, firefox?\n\n\ni think if i remember correctly that firefox doesn’t shiw the arrow of the details extension\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/54) i’m using chrome. tried from firefox, chromium, brave, and edge. the icon isn’t even loaded with the html, so it’s not there 🤷‍♂️\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/55) odd shows up for me on safari and chrome on my laptop…\n\n\ni will have to check out the discuss discussion on the extension i think there were some possible css solutions to get it to work on firefox so maybe i will try that as the default\n\n ", "name": "", "is_accepted": false }, { "text": "odd thing is that it shows on mobile for me\n\n\n![](//cdn.metabullet.com/assets/files/2021-03-10/1615403223-868461-screenshot-20210310-190626.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/56) try disabling recache also as a test\n\n", "name": "", "is_accepted": false }, { "text": "i tried changing some css didn’t work.\n\n\ni assume my phone screen is smaller than yours and maybe that’s why i am not seeing it with the larger font….\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/59) could be the case, yes.\n\n", "name": "", "is_accepted": false }, { "text": "i just have to say that i like the chosen font and the spacing and size. so very easy to read. i also like that you didn’t make the text color white. i like that the text font isn’t so bright. also makes it easy to read, imho.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/166/61) yes, i’m a bit obsessive with fonts and readability, and it took me a while to settle on this one. ironically, this one was chosen at random as i saw a preview of it elsewhere and instantly liked the way it looked. i have adjusted the line height and letter spacing from the original though, but not by that much.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/62) it was a very good choice. well done!\n\n", "name": "", "is_accepted": false } ]
00e1cde446f60ccaad29cc6423f22ae6
how could i get a custom text container before the secondary tags start? (i want to customise the tag selection when a new discussion is being formed.) [![](https://i.ibb.co/gmksl9q/image.png)](https://i.ibb.co/gmksl9q/image.png)
add text on tag selection modal
metabullet.com
2021.31
[ { "text": "[sallymelek](https://metabullet.com/d/32/1) this could be done using the css `:before` or `:after` pseudonyms. you could then leverage `content` as a css class to add text content.\n\n\nthe issue here is that the text would always be the same and you’d be limited as to where you could place it unless you fork the `fof/tags` extension and made your own changes there.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/32/2) thanks for the reply,\n\n\ni mind having the same text.\n\n\n", "name": "", "is_accepted": false }, { "text": "i don’t how to add the css properly, where do i add it to? is it `.selecttaglist>li.pinned+li:not(.pinned)`\n\n\n![](https://metabullet.com/assets/files/2021-01-18/1610974468-234587-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "this is going to be a bit hit and miss, but first. let’s try this\n\n\n\n```\n.selecttaglist>li.pinned+li:not(.pinned):before {\n content: \"test message\";\n}\n```\n\nif this works the way i’m expecting (not easy to do without direct access to your site as a user), then you should see “test message” being inserted above one of the tags.\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/32/3) i mind having the same text.\n> \n> \n\n\nin actual fact, as you can target the `data-index` you could have differing text per tag, but it’s going to be quite a task to do this based on the number of secondary tags you have.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/32/5)\n\n\nnope it didn’t work \n\n![](https://metabullet.com/assets/files/2021-01-18/1610975574-607159-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "you can check my discord my login details.\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/32/8) ok\n\n", "name": "", "is_accepted": false }, { "text": "how about this ?\n\n\n\n```\n[data-index=\"46\"]:after {\n content: \"this is a test\";\n display: block;\n}\n```\n\n![](https://metabullet.com/assets/files/2021-01-18/1610977942-550846-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/32/10)\n\n\nthanks, so with this approach with after id index, we need to differentiate it from the forum support tag. like the disable the hover for the custom text.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/32/10)\n\n\nhows this approach?\n\n\n\n```\n[data-index=\"46\"]:after {\n content: \"this is a test\";\n display: block;\n margin-top: 1em;\n background: white;\n padding-top: 10px;\n padding-bottom: 10px;\n text-align: center;\n font-weight: 700;\n margin-right: -20px;\n margin-left: -20px;\n margin-bottom: -7px;\n}\n```\n\n![](https://metabullet.com/assets/files/2021-01-18/1610999011-46722-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/32/11) you should experiment with class `[data-index=\"46\"]:after:hover` and see if that resolves the hover issue you’ve mentioned.\n\n\nlet me know\n\n", "name": "", "is_accepted": false } ]
d11c69bbd7f398df8044418cc238c76f
need help on upgrading my current build to a new instance with brotli enabled.
help with new nginx build ?
metabullet.com
2021.39
[ { "text": "[sallymelek](https://metabullet.com/d/72/1) hi - no issues. is this a clean instance with nothing else installed other than the os ?\n\n\ni've been reviewing this \"how to\" i found earlier, and it's quite concise (ignore the ubuntu version) - <https://www.howtoforge.com/tutorial/how-to-install-nginx-with-brotli-compression-on-ubuntu-1804/>\n\n\nor, perhaps better, this guide - you can of course ignore step 1 - <https://www.atlantic.net/dedicated-server-hosting/how-to-install-brotli-module-for-nginx-on-ubuntu-20-04/> \n\nperhaps you'd like to take a stab at this ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/72/2) - just the os is installed by itself.\n\n\nthanks so much, i will go with the 2nd guide.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/72/2) \n\ni dont why but getting \n\n`w: download is performed unsandboxed as root as file 'nginx_1.18.0-2~focal.dsc' cou ldn't be accessed by user '_apt'. - pkgacquire::run (13: permission denied)`\n\n\n \n\nafter inputting (step 4) \n\n`apt-get build-dep nginx -y`\n\n\n\n```\nroot@acehsc-forumv2:~# cd /usr/local/src\nroot@acehsc-forumv2:/usr/local/src# apt-get source nginx\nreading package lists... done\nneed to get 1,156 kb of source archives.\nget:1 http://nginx.org/packages/ubuntu focal/nginx nginx 1.18.0-2~focal (dsc) [1,50 6 b]\nget:2 http://nginx.org/packages/ubuntu focal/nginx nginx 1.18.0-2~focal (tar) [1,04 0 kb]\nget:3 http://nginx.org/packages/ubuntu focal/nginx nginx 1.18.0-2~focal (diff) [115 kb]\nfetched 1,156 kb in 3s (445 kb/s)\ndpkg-source: info: extracting nginx in nginx-1.18.0\ndpkg-source: info: unpacking nginx_1.18.0.orig.tar.gz\ndpkg-source: info: unpacking nginx_1.18.0-2~focal.debian.tar.xz\nw: download is performed unsandboxed as root as file 'nginx_1.18.0-2~focal.dsc' cou ldn't be accessed by user '_apt'. - pkgacquire::run (13: permission denied)\nroot@acehsc-forumv2:/usr/local/src#\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/72/4) did you use `sudo` on those commands ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/72/5) \n\nnope let try to sudo now\n\n\nedit: it worked with sudo\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab) \n\ndo i input **--add-module=/usr/local/src/ngx\\_brotli** on that section for step 4\n\n\n![](https://metabullet.com/assets/files/2021-02-11/1613073208-302565-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "update: just checked on the other guide, it shows where to input the code\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab)\n\n\ni'm getting the `exit status 2` despiting everything is done correctly. stuck on\n\n\n\n> save and close the file, then compile and build the nginx package with the following command:\n> \n> \n> dpkg-buildpackage -b -uc -us\n> \n> \n\n\n\n```\nroot@acehsc-forumv2:/usr/local/src/nginx-1.18.0# sudo dpkg-buildpackage -b -uc -us\ndpkg-buildpackage: info: source package nginx\ndpkg-buildpackage: info: source version 1.18.0-2~focal\ndpkg-buildpackage: info: source distribution focal\ndpkg-buildpackage: info: source changed by andrei belov <[email protected]>\ndpkg-buildpackage: info: host architecture amd64\n dpkg-source --before-build .\n debian/rules clean\ndpkg-buildpackage: error: unknown option or argument -usnano\n\nuse --help for program usage information.\ndebian/rules: 6: export: -fpic: bad variable name\ndpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2\nroot@acehsc-forumv2:/usr/local/src/nginx-1.18.0#\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/72/9) where are you getting `usnano` from ? that doesn't look right to me\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/72/10)\n\n\nso after this step\n\n\n\n> next, change the directory to the nginx source and edit the rules file:\n> \n> \n> cd /usr/local/src/nginx-*/ \n> \n> nano debian/rules \n> \n> find the ‘config.env.nginx‘ and ‘config.env.nginx\\_debug’ section and add the following line within ./configure line:\n> \n> \n> --add-module=/usr/local/src/ngx\\_brotli \n> \n> i ran `dpkg-buildpackage -b -uc -us` then tried \"\"sudo dpkg-buildpackage -b -uc -us\"\"\n> \n> \n\n\ngetting the same exit status 2\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/72/11) yes, that's expected because you haven't used `sudo`. that line should read\n\n\n\n```\ndpkg-buildpackage -b -uc -us\n```\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/72/12)\n\n\njust used with `sudo`, getting the same problem exit status 2\n\n\n\n```\nroot@acehsc-forumv2:/usr/local/src/nginx-1.18.0# sudo dpkg-buildpackage -b -uc -us\ndpkg-buildpackage: info: source package nginx\ndpkg-buildpackage: info: source version 1.18.0-2~focal\ndpkg-buildpackage: info: source distribution focal\ndpkg-buildpackage: info: source changed by andrei belov <[email protected]>\ndpkg-buildpackage: info: host architecture amd64\n dpkg-source --before-build .\n debian/rules clean\ndpkg-buildpackage: error: unknown option or argument -usnano\n\nuse --help for program usage information.\ndebian/rules: 6: export: -fpic: bad variable name\ndpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2\nroot@acehsc-forumv2:/usr/local/src/nginx-1.18.0#\n```\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/72/13) i can't help but think it should have been `-us` and was somehow entered as `-usnano`. can you recheck ?\n\n", "name": "", "is_accepted": false }, { "text": "it has been entered as per to guide \n\n![](https://metabullet.com/assets/files/2021-02-11/1613079297-534488-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/72/15) that's very odd. i don't understand why it refers to `-usnano` if that isn't what was entered. in (in the ssh console window) press the up arrow key repeatedly, this cycles through a history of commands entered.\n\n\ncan you check using this method to ensure that \"nano\" wasn't inadvertently added to the end of the command ? it just strikes me as somewhat odd that of all the words to be entered, it's nano, and you're using that as an editor 🤔\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/72/16)\n\n\ni'm sure that i have \"nano\" entered. so should i delete the server and recreate another new server?\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/72/17) well, not exactly. here's your mistake\n\n\n![](https://metabullet.com/assets/files/2021-02-12/1613128400-406857-image.png)\n\n\nnginx is now compiling\n\n\n![](https://metabullet.com/assets/files/2021-02-12/1613128527-474176-image.png)\n\n\nbuild completed\n\n\n![](https://metabullet.com/assets/files/2021-02-12/1613128716-271837-image.png)\n\n\nnginx installed\n\n\n![](https://metabullet.com/assets/files/2021-02-12/1613128764-414164-image.png)\n\n\nlife is good :)\n\n\n![](https://metabullet.com/assets/files/2021-02-12/1613128848-653098-image.png)\n\n\nbrotli confirmed working :d\n\n\n![](https://metabullet.com/assets/files/2021-02-12/1613128887-271825-image.png)\n\n\n", "name": "", "is_accepted": false } ]
50d169c9970a925848ad363e358fd2b4
![](//cdn.metabullet.com/assets/files/2021-08-04/1628088237-159116-image.png) ![](//cdn.metabullet.com/assets/files/2021-08-04/1628088356-489338-image.png) which os and configuration do i need to pick?
help me setting up my own server | digital ocean
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/758/1) this depends on preference of course, but ubuntu (latest available version) is always a safe bet.\n\n\nregular intel with ssd - basic droplet to start although if we are taking the route we discussed over discord, 2gb ram is recommended.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/2) yeah, as this is a test server i am going with the below configuration. i will run this for 1-2 months and will create a higher config one once i am ready for a permanent switch\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628088512-102660-image.png)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628088687-534433-image.png)\n\n\n21.04 right?\n\n\ndo i need a 2 cpu $15/m or 1cpu with 2gb ram good enough?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/3) for testing, 1 cpu is probably ok.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/4) do we need any of these? and going with password\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628089155-102872-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/5) the most secure by far is with ssh keys. for testing however, a password is fine.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/6) i think i have created it, i got a ip and a couple of options, how to log in? do i need to install any ubuntu in my windows lappy to access it easily?\n\n\ni will watch a few youtube videos now ( too many questions :d )\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628089832-151638-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/7) if you're using windows, then you should have native support for ssh already. from the command line, try `ssh username@ipaddress` and press enter. if you have the username and password, that should get you in. if we are taking the route we discussed, then the next stage is to install virtualmin ?\n\n", "name": "", "is_accepted": false }, { "text": "[@hari](https://metabullet.com/u/hari) this might help\n\n\n", "name": "", "is_accepted": false }, { "text": "20min i will do it after having my dinner\n\n\n\n> [phenomlab](https://metabullet.com/d/758/8) next stage is to install virtualmin ?\n> \n> \n\n\nyes\n\n\n[phenomlab](https://metabullet.com/d/758/9) sure, thanks for this\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/10) hi sir, i am back. i have the key and the ip address where can i get the username?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/11) should be `root`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/12) i am using windows powershell the username is root and its offering me to change password , when i am entering password its closing the session\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/13) why are you using powershell ? use the command prompt\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/14) i thought i would get good clipboard options.\n\n\nnow trying in the cmd prompt but still facing the same issue. its saying permission deined\n\n\ni have tried resetting the key and updated new passowrd\n\n\nfailing at password change stage\n\n ", "name": "", "is_accepted": false }, { "text": "yay, i am finally in root. now on the way to install the virtual min\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/16) don't forget to use the nginx version\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/17) i am at step4\n\n\nhope i will get an a option to select nginx\n\n\n<https://youtu.be/u_vsea2gytw?t=297>\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/18) if you're at step 4, you've missed it\n\n\n<https://www.virtualmin.com/nginx/>\n\n\nyou'll probably need to rebuild the box and start again. this time, use the command `--bundle-lemp`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/19) i have used this command\n\n\n`wget http://software.virtualmin.com/gpl/scripts/install.sh` do i still need to start again?\n\n\ncommands in the video and at this link are a bit different <https://www.virtualmin.com/download/>\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/20) not necessarily if you don't want to, but that command will install apache by default meaning you'll need to perform these steps afterwards \n\n<https://vander.host/knowledgebase/web-servers/how-to-install-and-use-nginx-in-a-virtualmin-hosted-environment/>\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/21) i am at this step\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628095005-790947-image.png)\n\n\nshould i perform these commands now or i need to follow the video?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628095039-871234-image.png)\n\n\nedit:\n\n\n\n> [phenomlab](https://metabullet.com/d/758/21) you’ll need to perform these steps afterwards\n> \n> \n\n\ngot it\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/758/22) i am at this step\n> \n> \n\n\nsorry - a but of clarity here. see this\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628095218-411517-image.png)\n\n\nfrom <https://www.virtualmin.com/automated/>\n\n\nso basically, `./install.sh --bundle-lemp`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/23) shall i send logins at discord? or let's practice here? 😂 excuse me for not following instructions carefully\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628095347-212797-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/24) seems virtualmin have chosen to pull back their latest release. can you install ubuntu 20.04 instead and try again ? it does mean a rebuild i'm afraid.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/25) i think there is no option to change os version like we do for php at the digital ocean, do i need to destroy this droplet?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/26) really ? you should have the option to rebuild it with your chosen os and version ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/27) idk :s (confused)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628095753-48403-image.png)\n\n\ni only see the above options\n\n\n<https://www.digitalocean.com/community/questions/can-i-downgrade-droplet-to-older-ubuntu-version>\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/28) ok. i thought they had a rebuild option where you could change this (hetzner have this). go with your suggestion of destroy and re-create.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/29) yes they have i found it here\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628095968-235941-image.png)\n\n\nits in a weird place 😂\n\n\nwhat is mean by lts ? i am going with 20.04 lts\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/30) lts = \"**l**ong **t**erm **s**ervice\". typically good for 5 years before any upgrade is needed.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/31) its rebuilding, what should i enter when i am at the chose hostname step? (like shown in the video)\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/32) anything you want, but you'll need a valid dns entry for it (that points to the ip address of this box) - so, it could be test.mydomain.com but you'll need to enter an a record in cf with the value of the ip address.\n\n", "name": "", "is_accepted": false }, { "text": "rebuild is completed but now i am unable to login\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628096611-320272-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/34) you're seeing that because you have an ssh key saved aready and the fingerprint no longer matches\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628096665-47687-image.png)\n\n\ndelete `.ssh/known-hosts` in your directory structure and it'll work - note, that you may need to display hidden files on your machine for this to work.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/35) 👍 i have deleted those files and connected\n\n\nexecuted these commands\n\n\n\n```\napt -y update\napt -y install perl\nhostnamectl set-hostname [demo.domaintest.tk]\nsudo reboot\n```\n\nnow running this command `wget http://software.virtualmin.com/gpl/scripts/install.sh --bundle-lemp`\n\n", "name": "", "is_accepted": false }, { "text": "[@phenomlab](https://metabullet.com/u/phenomlab) sir\n\n\n\n```\nroot@demo:~# wget http://software.virtualmin.com/gpl/scripts/install.sh --bundle-lemp\nwget: unrecognized option '--bundle-lemp'\nusage: wget [option]... [url]...\n\ntry `wget --help' for more options.\nroot@demo:~#\n```\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/37) should be `./install.sh --bundle-lemp` - to be executed from the directory where you downloaded the installer script :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/38) i have downloaded into root i guess?\n\n\n\n```\nroot@demo:~# wget http://software.virtualmin.com/gpl/scripts/install.sh --bundle-lemp\nwget: unrecognized option '--bundle-lemp'\nusage: wget [option]... [url]...\n\ntry `wget --help' for more options.\nroot@demo:~# wget http://software.virtualmin.com/gpl/scripts/install.sh -o /tmp/virtualmin-install.sh\n--2021-08-04 17:29:35-- http://software.virtualmin.com/gpl/scripts/install.sh\nresolving software.virtualmin.com (software.virtualmin.com)... 163.172.162.254\nconnecting to software.virtualmin.com (software.virtualmin.com)|163.172.162.254|:80... connected.\nhttp request sent, awaiting response... 200 ok\nlength: 33073 (32k) [application/x-sh]\nsaving to: ‘/tmp/virtualmin-install.sh’\n\n/tmp/virtualmin-install.sh 100%[============================================================================================================>] 32.30k --.-kb/s in 0.1s\n\n2021-08-04 17:29:35 (231 kb/s) - ‘/tmp/virtualmin-install.sh’ saved [33073/33073]\n\nroot@demo:~# ./install.sh --bundle-lemp\n-bash: ./install.sh: no such file or directory\nroot@demo:~# ^c\nroot@demo:~#\n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/39) looks like it's in `tmp` to me. try `cd /tmp` then the installer command again.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/40)\n\n\n\n```\nroot@demo:~# cd /tmp\nroot@demo:/tmp# ./install.sh --bundle-lemp\n-bash: ./install.sh: no such file or directory\n```\n\nhow to login into vps ubantu using team viewer or something?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/41) just realised it's `virtualmin-install.sh` so `./virtualmin-install.sh --bundle-lemp`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/42)\n\n\n\n```\nroot@demo:/tmp# ./virtualmin-install.sh --bundle-lemp\n-bash: ./virtualmin-install.sh: permission denied\nroot@demo:/tmp# sudo ./virtualmin-install.sh --bundle-lemp\nsudo: ./virtualmin-install.sh: command not found\n```\n\n\n```\nroot@demo:/tmp# dir\nsnap.lxd systemd-private-fa0528bc6b4b48b8a1cfaf0f77959c7b-systemd-resolved.service-xmwotf virtualmin-install.sh\nsystemd-private-fa0528bc6b4b48b8a1cfaf0f77959c7b-systemd-logind.service-ggnedh systemd-private-fa0528bc6b4b48b8a1cfaf0f77959c7b-systemd-timesyncd.service-i19zmi\nroot@demo:/tmp# virtualmin-install.sh\nvirtualmin-install.sh: command not found\nroot@demo:/tmp# /virtualmin-install.sh\n-bash: /virtualmin-install.sh: no such file or directory\nroot@demo:/tmp#\n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/43) you have to do `./virtualmin-install.sh --bundle-lemp` ! each time you are missing either `/` or `.` :) i can clearly see `virtualmin-install.sh` listed in the directory...\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/45) 😅\n\n\n\n```\n#!/bin/bash\nroot@demo:/tmp# cd ..\nroot@demo:/# ./virtualmin-install.sh --bundle-lemp\n-bash: ./virtualmin-install.sh: no such file or directory\nroot@demo:/# ./virtualmin-install.sh --bundle-lemp\n-bash: ./virtualmin-install.sh: no such file or directory\nroot@demo:/# ./virtualmin-install.sh --bundle-lemp\n-bash: ./virtualmin-install.sh: no such file or directory\nroot@demo:/#\n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/46) wow. try `sh virtualmin-install.sh --bundle-lemp`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/47)\n\n\n\n```\nroot@demo:/# sh virtualmin-install.sh --bundle-lemp\nsh: 0: can't open virtualmin-install.sh\nroot@demo:/#\n```\n", "name": "", "is_accepted": false }, { "text": "[@hari](https://metabullet.com/u/hari)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628099353-278848-image.png)\n\n\nseems they dropped the \"-\" out of `--bundle-lemp` so it's now `--bundle lemp`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/49) 😍 finally its running\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628099923-986220-image.png)\n\n\ni should rely on the browser to avoid special characters/errors\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/50) meanwhile, shall i update cloudflare records? please suggest\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628100216-788281-image.png)\n\n\nthese are my curret settings\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/51) yes, but only for this host of course.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/52) watched the same installation video, it says it will take 40-50min, i am going to bed it's almost 12 am here. i will resume tomorrow. for now, i am leaving the computer running\n\n\n🐧\n\n\nedit: its completed now\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-04/1628100924-66783-image.png)\n\n\nis it okay if i off the droplet and continue tomorrow?\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/53) of course.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/54) good morning sir, installing this to avoid command errors\n\n\n<https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab>\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/55) ok :) never used it myself - i do everything from cmd.exe in windows to get to an ssh session or use putty.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/56) unable to change webadmin password\n\n\n\n```\nroot@demo:~# /usr/share/webmin/changepass.pl /etc/webmin root \n/usr/share/webmin/changepass.pl /etc/webmin root pass\ncan't locate ./acl/md5-lib.pl at /usr/share/webmin/changepass.pl line 6.\nroot@demo:~# cd dir\n-bash: cd: dir: no such file or directory\nroot@demo:~# dir\nsnap virtualmin-install.log\nroot@demo:~# \n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/57) you shouldn't need to change the password. use the `root` password you already have.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/58) this is my root password `xxx` its not changing\n\n\n\n```\nroot@demo:~# /usr/share/webmin/changepass.pl /etc/webmin root xxx\ncan't locate ./acl/md5-lib.pl at /usr/share/webmin/changepass.pl line 6.\nroot@demo:~# /usr/share/webmin/changepass.pl /etc/webmin root xxx\ncan't locate ./acl/md5-lib.pl at /usr/share/webmin/changepass.pl line 6.\nroot@demo:~# /usr/share/webmin/changepass.pl /etc/webmin root xxx\ncan't locate ./acl/md5-lib.pl at /usr/share/webmin/changepass.pl line 6.\n```\n\n[mod redacted sensitive information - please note guidelines]\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/59) you'd be better off accessing virtualmin / webmin using the url you were provided, and changing the password there.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/60) yay 🎉 , i am in the webmin panel, hope i am using nginx\n\n\nshall i apply everything as shown in the video or do i need to select anything diffrently?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-05/1628158613-647810-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/758/61) hope i am using nginx\n> \n> \n\n\nclick on webmin, then expand servers. if nginx is installed, it'll be listed as below\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-05/1628158836-675705-image.png)\n\n\n\n> [hari](https://metabullet.com/d/758/61) shall i apply everything as shown in the video or do i need to select anything diffrently?\n> \n> \n\n\nup to you. use your own judgement.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/62) how do i setup my own ns? when i input ns1.domain.tk and ns2 it is not letting me to proceed forward\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-05/1628159233-53104-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/63) you should use an existing name server or specify 127.0.0.1\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/758/64) i have skipped the validation check, i will create ns1 and ns2 later\n\n\nbut when i enter 127.0.0.1 i am getting this error\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-05/1628159604-304036-image.png)\n\n\ni need to enter my domain name right? or subdomain? demo.test.tk\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-05/1628159721-764022-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": " i went forward and configured. i think its done\n\n\nlooks like the domain is already pointed by single a name record at cf\n\n\ni see under construction page\n\n\n---\n\n\nnow working on these\n\n\n* need to change virtualmin port number as you mentioned earlier\n* create ns1 and ns2 for my domain\n* point my domain to the server\n\n\n", "name": "", "is_accepted": false }, { "text": "everything is good, the whole point is we should not expose our server ip for various security reasons (that is what i have learnt) we always need to use name servers to point.\n\n\ndo we need to update all these?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-05/1628169253-379048-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/758/67) yes, highly recommened you keep that server up to date - particularly once you move to live.\n\n", "name": "", "is_accepted": false } ]
0a46c2715258a0bbfcc25d0f8e8611f1
i'm curious to know what everyone here is using to block ads etc. my personal preference is ublock / [adnauseum](https://adnauseam.io/) but of course, there are several to choose from - the most complex of course being [pi-hole](https://pi-hole.net/) . to me, privacy is a right (and this platform respects that). however, i know that [@sallymelek](https://metabullet.com/u/sallymelek), [@justoverclock](https://metabullet.com/u/justoverclock), and [@bishwasbh](https://metabullet.com/u/bishwasbh) make use of ads, so am keen to get their take. thoughts ?
ad blockers et al
metabullet.com
2021.39
[ { "text": "i use adblock plus mainly because it's the most recommended and seems to do the trick.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/140/2) i use adblock plus\n> \n> \n\n\nhave you looked at others ? i'm seriously considering the pi-hole route, as i'm looking for wider coverage than just the browser, and also to extend this to mobile devices on my home network.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/140/3) have you looked at others ?\n> \n> \n\n\ni haven't no, but i'll have a look at the one you use above and compare them.\n\n\nadblock plus also blocks tracking which is a massive positive.\n\n\nanything than can stop advents on 4od etc would be great, sadly i don't think that's possible now 😆.\n\n ", "name": "", "is_accepted": false }, { "text": "that pi-hole looks impressive!!\n\n", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/140/4) anything than can stop advents on 4od\n> \n> \n\n\nyou should have a look at adnauseum for that.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/140/6) adnauseum\n> \n> \n\n\ni'll test this out tomorrow. 👍🏻\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/140/7) checked this myself, and it seems that 4od detects ad blockers (no surprise there)\n\n\n![](https://metabullet.com/assets/files/2021-03-09/1615281823-770798-image.png)\n\n\nthey clearly want you to pay a monthly fee to remove the adverts. just plain wrong in my view.\n\n\nseems i'm [not the only one](https://www.weeklygripe.co.uk/4od-too-many-adverts-and-cant-be-skipped) with this opinion either\n\n", "name": "", "is_accepted": false }, { "text": "thanks for checking that out mark, seriously there's about 5/6 adverts before the show starts, it used to be able to be blocked using adblocker probably 7-10 years ago so we're talking a considerable amount of time for them to do something about it or introduce paid plans etc.\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/140/9) they do have [paid plans](https://www.channel4.com/plus) from what i saw on the site\n\n\n", "name": "", "is_accepted": false }, { "text": "it would be cool if there was a good ad platform that didn't invade privacy. ads that are not annoying are a great way for small businesses to offset cost etc.\n\n\ni personally don't use ad blockers for that reason. also i hope no one takes that statement the wrong way, not judgement if you do, i completely get both sides of the discussion.\n\n\ni too use ads on my own site. hoping to one day to have other sources of revenue and eventually remove them. but i think i need more users before i get there 😉\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/140/11) it's hard to disagree with this sentiment. i totally understand why sites use ads as a mechanism to generate revenue. this makes sense - in most cases, hosting isn't free, so to get something back clearly is appealing. what i personally dislike about ads is how invasive they can be - plus, the fact that some of the ads can in fact harbour malicious intent such as bitcoin mining leveraging your pc's own resoures.\n\n\ni also dislike the lack of privacy. ads that are linked to google for example are well known for this (adsense), and also ads that use tracking. for example, there's a company called hotjar that literally watches everything you do on a site - down to what you click, where you move your mouse etc. this is a complete invasion of privacy, and they are well known for it. surprisingly, matomo has this function also. i use matomo here just to understand basic usage of this site, but i only use a subsection of the features it provides, and certainly do not track anyone, as i wouldn't like that experience forced onto users of this platform being the privacy advocate that i am.\n\n\nin a similar vein, you don't need an ad blocker to visit this site, and it'll never track you. offering a pro-bono service means there is no charge, so no revenue is to be made out of this venture :)\n\n\n\n> [mikejones](https://metabullet.com/d/140/11) it would be cool if there was a good ad platform that didn’t invade privacy.\n> \n> \n\n\nthe brave browser has the bat scheme where you can \"pay\" someone for adverts on their site. it's somewhat convoluted in the privacy sense, but i understand why they have taken this route. personally, it's not something i want to consider.\n\n\n\n> [mikejones](https://metabullet.com/d/140/11) also i hope no one takes that statement the wrong way, not judgement if you do, i completely get both sides of the discussion.\n> \n> \n\n\nnot taken the wrong way at all. to me, it's personal preference. i run an ad blocker because i'm a privacy advocate, and dislike the concept of tracking, and targeted sales based on the sites you've been to. it's also another reason why i use a vpn to surf the net. i've nothing to hide in terms of activity, and am probably the most boring internet user there is, but i don't want to be followed around, then have my experience polluted by amazon ads appearing in searches etc.\n\n\n\n> [mikejones](https://metabullet.com/d/140/11) i too use ads on my own site. hoping to one day to have other sources of revenue and eventually remove them. but i think i need more users before i get there\n> \n> \n\n\nthe only way this could work is to charge a nominal annual fee to use the site. obviously, don't kick the ass out of it, but make it appealing in the sense that if you are a paid member, the ads no longer appear. i tend to take this route with software that is \"freemium\" in the sense that you get the full product, but with ads. i personally will always pay for a product i believe in to remove the ads.\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/140/12) i personally will always pay for a product i believe in to remove the ads.\n> \n> \n\n\ni am the same way! i see this a lot with android aps. if there is a food one with ads i will always support the developer by paying to have them removed.\n\n\ni am hoping to use the payment exstension that luceus made as a way to remove ads on my website in the future. fingers crossed.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/140/13) i see this a lot with android aps.\n> \n> \n\n\nsame here - all the time in fact. if i have a use for an app after trying it, i'll happily purchase it to support the developer.\n\n", "name": "", "is_accepted": false } ]
92a4192efb1e6e9c173722a9b71dd245
so last night before going to bed i realized i couldn't access my flarum :-( i immediately tried to ssh into it and that didn't work. i then signed onto aws and went to the monitoring section and saw my cpu was at 99%. ![](https://metabullet.com/assets/files/2021-01-21/1611241998-466078-screen-shot-2021-01-20-at-93502-pm.png) a few minutes later it went back down and my site came back up so i went to bed since it was late. i took a screenshot of the aws monitoring this morning and you can clearly see the spikes: ![](https://metabullet.com/assets/files/2021-01-21/1611242009-531431-screen-shot-2021-01-21-at-70752-am.png) this morning i went to google analytics to see if maybe i got a spike in traffic which may have caused this because a little before the spike someone on linkedin shared a post with its link, but i didn't see any significant change on the 20th: ![](https://metabullet.com/assets/files/2021-01-21/1611242153-16372-screen-shot-2021-01-21-at-71348-am.png) what else can i look at, nginx logs? not sure what to look for though.
investigating a possible ddos attack
metabullet.com
2021.43
[ { "text": "[mikejones](https://metabullet.com/d/37/1) what i'm seeing here isn't consistent with a ddos attack in all honesty. if it were, i'd expect to see network traffic also through the roof. the spike in cpu is also short in time scale - in most cases, systems are literally brought to their knees by being flooded with requests causing them to be overwhelmed.\n\n\nnginx logs won't tell you much about this, but you should be able to find useful information in `/var/log/` - there are a wide range of logs, and a good explanation of them is [here](https://ubuntu.com/tutorials/viewing-and-monitoring-log-files#2-log-files-locations). do you have fail2ban installed ? it would be worth reviewing those logs also.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/2) is fail2ban a server app or a flarum extension?\n\n\nsince its cpu, i am thinking i should check out the daemon log first? i think i am happy it doesn't look like ddos lol\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/3) is fail2ban a server app or a flarum extension?\n> \n> \n\n\nit's an ip blacklisting tool - see [here](https://www.fail2ban.org/wiki/index.php/main_page)\n\n\n\n> [mikejones](https://metabullet.com/d/37/3) since its cpu, i am thinking i should check out the daemon log first?\n> \n> \n\n\nno - i'd recommend looking in `/var/log/syslog` first to get an overview of the entire system state before the cpu started to spike.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/4) awesome thanks for the pro tip on fail2ban i will look into setting that up once i dig into this issue!\n\n\ni will go download my syslog now and take a peak, thanks for the advice as always!\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/5) i will go download my syslog now and take a peak, thanks for the advice as always!\n> \n> \n\n\ninterested to know what you find. sometimes, you do experience cpu locks in aws :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/6) so this is my first time really diving deep into a syslog and matching it up with my cpu max timeline, but here is what stands out to me so far:\n\n\n### timeline of issue\n\n\n* initial uptick: 2021-01-21 04:50 utc\n* hit 98% cpu usage: 2021-01-21 05:00 utc\n* last high point: 2021-01-21 05:30 utc\n* back down to normal levels: 2021-01-21 05:40 utc\n\n\n### syslog correlations\n\n\n* 04:39 systemd[1]: finished clean php session files.\n* 04:56 snapd[450]: storehelpers.go:551: cannot refresh: snap has no updates available: \"certbot\", \"core18\", \"core20\", \"snapd\"\n* 05:34 cron[172207]: (root) cmd ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)\n* 05:37 [977732.664520] cron invoked oom-killer: gfp\\_mask=0x100cca(gfp\\_highuser\\_movable), order=0, oom\\_score\\_adj=0\n* 05:37 [977732.664523] cpu: 0 pid: 172208 comm: cron not tainted 5.4.0-1029-aws #30-ubuntu\n* 05:37 [977732.664750] out of memory: killed process 886 (mysqld) total-vm:1321948kb, anon-rss:387472kb, file-rss:0kb, shmem-rss:0kb, uid:112 pgtables:1124kb oom\\_score\\_adj:0\n* 05:37 [977732.696389] oom\\_reaper: reaped process 886 (mysqld), now anon-rss:0kb, file-rss:0kb, shmem-rss:0kb\n* 05:37 mysql.service: main process exited, code=killed, status=9/kill\n\n\nnothing stands out to me other than sql being killed because there was no memory.\n\n\ni see certbot tried to renew but i don't see any evidence of that causing the issue.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/7) nothing stands out to me other than sql being killed because there was no memory.\n> \n> \n\n\nit's quite possible that a long running or hung query has caused this issue. in fact, the memory has bottomed out of the server which could cause the cpu to lock. the next logical step is to check the logs for mysql. in most cases (although dependant on configuration), they are located in `/var/log/mysql/mysql.log`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/8) so the mysql log is pretty start and i don't see anything off the bat regards to it crashing, but it does shoe it restarting and doing crash recovery...\n\n\nthe first line in the mysql log is:\n\n\n`[system] [my-010116] [server] /usr/sbin/mysqld (mysqld 8.0.22-0ubuntu0.20.04.2) starting as process 172290`\n\n\ni assume this is just the process starting.\n\n\ni do see these two lines regarding the crash recovery:\n\n\n\n```\n[system] [my-010229] [server] starting xa crash recovery...\n[system] [my-010232] [server] xa crash recovery finished.\n```\n\nit looks like the rest of it is just mysql starting up.\n\n\ni decided to go back and look at the syslog and saw this. maybe this shows what processes is using to much cpu?\n\n\n![](https://metabullet.com/assets/files/2021-01-21/1611254501-383589-screen-shot-2021-01-21-at-104107-am.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/37/9) there's nothing there that really sticks out. is there a backup or another scheduled task running around this time, and is this the firs time it's happened ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/10) not that i can think of. in the past month i haven't seen any other spikes like this.\n\n\ni am setting up an aws alarm to notify me next time it spikes above 50%\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/37/11) ok\n\n", "name": "", "is_accepted": false }, { "text": "have you heard of or used graylog: <https://www.graylog.org/products/open-source>\n\n\ni am looking into free tools i can use to help better look through my logs. any other suggestions?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/37/13) yes, i have. it's a good product, but it's essentially elk (elasticsearch, logstash, and kibana). it's well known for being an absolute animal in terms of storage, processing requirements, and much more. it's really going to be overkill for what you need.\n\n\ni'd suggest cloudtrail as you're using aws\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/14) what would cloud trail help with?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/15) what would cloud trail help with?\n> \n> \n\n\nsorry - i should clarify here (late in my defence..:)). you could use **cloudtrail** to centrally collect information pertaining to your aws account - an audit trail if you will. this is a good (and common) practice to undertake as it is useful for security events. you should also consider using **cloudwatch** to centrally collect logs allowing for simple interrogation rather than have to inspect multiple sources.\n\n\n![](https://metabullet.com/assets/files/2021-01-23/1611394753-442482-image.png) \n\n[[source](https://blog.cloudconformity.com/aws-cloudtrail-vs-cloudwatch-why-not-both-43bafe41462)]\n\n\n", "name": "", "is_accepted": false } ]
9e56963e424c3645e72dd6621f0f93b4
i really need the feature that anyone can post as a guest in our flarum forum withou creating any account. how to allow users to post anonymously in flarum forum?
how to allow users to post anonymously in flarum forum?
metabullet.com
2021.39
[ { "text": "[bishwasbh](https://metabullet.com/d/73/1) the simple answer here is that you can't unfortunately. an extension has been developed by one of the core team, but because of how complex it is, it's not been released and the original client asked for it to be kept [private](https://extiverse.com/extension/kilowhat/flarum-ext-guest-posting).\n\n\nsadly, this means that anonymous posting isn't a feature that's going to find itself available in flarum anytime soon.\n\n\n<https://discuss.flarum.org/d/2071-direct-message-anonymous-post/18>\n\n", "name": "", "is_accepted": false } ]
9acb883cb38ffde1d7a0a02aa8af24ef
i originally started my forum journey with phenomlab.com (using flarum), then tried an iteration of other domains trying to get a product together that would work for a security community. sadly, under flarum, this failed somewhat - mostly due to a lack of real flexibility in the platform and needing an extension to make any real change to layout etc. for this reason, i shelved the community i put together, and instead, decided to focus on another passion of mine - pro bono consultancy. as a result of this, metabullet.com was born. to be clear from the outset, metabullet.com isn’t going anywhere, so don’t panic 🙂 however, today heralds something of a landmark for phenomlab in the sense that a new community based on nodebb has been created, and is now live, and accepting registrations over at <https://phenomlab.com>. i’m not going to fill this particular post with screenshots, - you can see the “eye candy” for yourself when you visit, and i think you’ll love it. the news feeds are live, and so are my comments 🙂 there’s some blog posts to read, and i intend to expand on this product to make it one of the best infosec resources around. not an easy task when you consider all of the others that are in place, have been for a long time, and as a result, are mature and have a loyal fan base. this new site is being actively used by me for intelligence - gained, and ultimately shared with the wider community as that grows. for now, those who are curious can take a look [here](https://phenomlab.com) to see what’s on offer. more to come….
into infosec ? get into hostr!sk
metabullet.com
2021.31
[ { "text": "i’ve now made extensive updates to this platform, and it’s pretty much stable for the most part.. why not come and take a look ?\n\n\n![](https://metabullet.com/assets/files/2021-05-13/1620927008-892601-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "a further update.\n\n\n![](https://metabullet.com/assets/files/2021-05-26/1622044656-240291-image.png)\n\n\nnow we have a dashboard, blog items, trending articles, and so much more 🙂\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/602/4) simply amazing!!! love this style\n\n", "name": "", "is_accepted": false }, { "text": "you have done an amazing job with your websites.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/602/6) thanks\n\n", "name": "", "is_accepted": false }, { "text": "[@x-plorer](https://metabullet.com/u/x-plorer) i know you’ll be happy to see the resurgence of this 🙂\n\n", "name": "", "is_accepted": false }, { "text": "looking good, keep up the good work.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/602/8) i agree, and an even more impactful way would be to migrate all the posts from the legacy phenomlab site into the new one - would provide continuity for old contributors.\n\n", "name": "", "is_accepted": false }, { "text": "[x-plorer](https://metabullet.com/d/602/10) sadly, that’s easier said than done… the two platforms are different (one is flarum, and the other is nodebb). the newer incarnation of phenomlab is using nodebb a the database structure is vastly different, plus a completely different technology.\n\n\nhowever, i still have the old flarum database for phenomlab and haven’t yet made any decisions around which platform i’m going to be using. nodebb is fantastic, but flarum has made huge progress since reaching the stable milestone, plus the fact that the support is superior. this particular site has just started using redis for the backend, and is now incredibly responsive.\n\n\nclearly, a decision needs to be made here. nodebb has incredible flexibility out of the box, has native support for websocket, widget support, plus so many other features that flarum lacks in it’s core and in my view, makes it a better product. however, the flarum ecosystem cannot be ignored. if you compare the two communities, there really is no contest. flarum wins here by a mile.\n\n ", "name": "", "is_accepted": false }, { "text": "an update !! i’ve decided that i’m going to keep phenomlab.com free as my “root domain” which is why you currently get a landing page rather than the content you may have expected…\n\n\nenter my replacement project, hostr!sk. yes, the exclamation mark is ***intended***, and the url for that is [here](https://hostrisk.com)\n\n\n![](https://metabullet.com/assets/files/2021-07-21/1626864501-222813-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[x-plorer](https://metabullet.com/d/602/10) given the instantiation of hostrisk.com and the fact that it too is based on flarum, this may well become a reality. i’ll check and revert.\n\n ", "name": "", "is_accepted": false } ]
dca7febcafde349cd9ae0c55cd39642f
just realised my forum-xxxx.js file is 1.1mb , after finding out this. so i tried to disable extensions one by one (yes i cleared the cache too by each disable) so with all extensions enabled, the js.file is 1.1mb with all extensions disabled its 394kb however, i checked many flarum forums js.file is around 400-600kb with the same/similar setup with extensions. note: there hasn’t even any customisations made to my flarum setup url: <https://forum.acehsc.net> [![](https://i.ibb.co/wfcyqhn/image.png)](https://i.ibb.co/wfcyqhn/image.png) ``` root@forum:~# cd /var/www/flarum/ root@forum:/var/www/flarum# php flarum info flarum core 0.1.0-beta.15 php version: 7.4.14 loaded extensions: core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, reflection, spl, session, standard, sodium, mysqlnd, pdo, xml, calendar, ctype, curl, dom, mbstring, ffi, fileinfo, ftp, gd, gettext, iconv, imagick, json, exif, mysqli, pdo_mysql, phar, posix, readline, shmop, simplexml, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zend opcache +-------------------------------------+----------------+------------------------------------------+ | flarum extensions | | | +-------------------------------------+----------------+------------------------------------------+ | id | version | commit | +-------------------------------------+----------------+------------------------------------------+ | flarum-lang-english | v0.1.0-beta.15 | | | flarum-tags | v0.1.0-beta.15 | | | flarum-emoji | v0.1.0-beta.15 | | | fof-best-answer | 0.3.5 | | | fof-gamification | 0.4.2 | | | therealsujitk-gifs | v2.0.0 | | | flarum-mentions | v0.1.0-beta.15 | | | flarum-subscriptions | v0.1.0-beta.15 | | | flarum-flags | v0.1.0-beta.15 | | | flarum-approval | v0.1.0-beta.15 | | | clarkwinkelmann-first-post-approval | 0.1.3 | | | fof-disposable-emails | 0.2.1 | | | ianm-html-head | 0.1.1 | | | andre-pullinen-ads | 0.2.8 | | | flarum-markdown | v0.1.0-beta.15 | | | fof-formatting | 0.3.1 | | | kyrne-websocket | 2.3.0 | | | flarum-statistics | v0.1.0-beta.15 | | | v17development-seo | 1.5.1 | 68cd1d662795880f6604c1fdeba9629299d864d4 | | askvortsov-moderator-warnings | v0.4.0 | | | clarkwinkelmann-group-list | 0.2.0 | | | fof-user-bio | 0.4.2 | | | fof-upload | 0.12.9 | | | fof-terms | 0.6.1 | | | fof-share-social | 0.3.0 | | | fof-sitemap | 0.6.0 | | | fof-pages | 0.6.0 | | | fof-links | 0.5.3 | | | zerosonesfun-elint | 3.0.3 | | | flarum-suspend | v0.1.0-beta.15 | | | fof-split | 0.6.0 | | | fof-merge-discussions | 0.5.1 | fa19cdf16b439d43f28a34fb9c586e8550ca09f0 | | flarum-lock | v0.1.0-beta.15 | | | flarum-sticky | v0.1.0-beta.15 | | | kyrne-shout | 0.3.1 | | +-------------------------------------+----------------+------------------------------------------+ base url: https://forum.acehsc.net installation path: /var/www/flarum debug mode: off ``` also, look at this , it shows 805kb on clark’s lab scanner and on gtmetrix it shows 196kb? (for discuss.flarum) how’s this possible? <https://lab.migratetoflarum.com/scans/d249e16a-f505-4fee-aeef-2c989a04f02f> <https://gtmetrix.com/reports/discuss.flarum.org/nensvawx/> [![](https://i.ibb.co/vshbn0r/image.png)](https://i.ibb.co/vshbn0r/image.png)
how to reduce forum-xxxx.js file
metabullet.com
2021.31
[ { "text": "[sallymelek](https://metabullet.com/d/64/1) the first steps here would be to enable http/2 and alpn. serving pages over traditional http is always slower, and it’s better to enforce the http/2 version\n\n\n![](https://metabullet.com/assets/files/2021-02-03/1612355609-480930-image.png)\n\n\nthis is simple enough to configure. a good guide is [here](https://cheapsslsecurity.com/p/how-to-enable-http-2-on-nginx/). let’s start with that first.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/2)\n\n\nthanks\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/3) no problem. don’t forget to restart nginx\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/4)\n\n\ni’m stuck as always\n\n\n1. where is the **listen directive**, its says adding http2 under the listen directive.\n2. and i don’t have a server block, how could i achieve this.\n\n\n\n```\nuser www-data;\nworker_processes auto;\npid /run/nginx.pid;\ninclude /etc/nginx/modules-enabled/*.conf;\n\nevents {\n worker_connections 768;\n # multi_accept on;}\n}\nhttp {\n\n ##\n # basic settings\n ##\n\n sendfile on;\n tcp_nopush on;\n tcp_nodelay on;\n keepalive_timeout 65;\n types_hash_max_size 2048;\n # server_tokens off;\n\n # server_names_hash_bucket_size 64;\n # server_name_in_redirect off;\n\n include /etc/nginx/mime.types;\n default_type application/octet-stream;\n\n\n add_header x-frame-options \"sameorigin\" always;\n add_header x-xss-protection \"1; mode=block\";\n add_header x-download-options \"noopen\" always;\n add_header x-content-type-options \"nosniff\" always;\n add_header content-security-policy \"upgrade-insecure-requests\" always;\n add_header referrer-policy 'no-referrer' always;\n add_header permissions-policy 'geolocation=(self \"https://forum.acehsc.net\"), microphone=()' always;\n add_header x-powered-by \"coffee... lots of it\" always;\n add_header access-control-allow-origin \"https://forum.acehsc.net\" always;\n add_header x-permitted-cross-domain-policies \"none\" always;\n add_header strict-transport-security \"max-age=63072000; includesubdomains;\" always;\n\n ##\n # ssl settings\n ##\n ssl_protocols tlsv1.2 tlsv1.3; # dropping sslv3, ref: poodle, tlsv1 tlsv1.1\n ssl_prefer_server_ciphers on;\n\n ##\n # logging settings\n ##\n\n access_log /var/log/nginx/access.log;\n error_log /var/log/nginx/error.log;\n\n ##\n # gzip settings\n ##\n gzip on;\n\n gzip_vary on;\n gzip_proxied any;\n gzip_comp_level 9;\n gzip_buffers 16 8k;\n gzip_http_version 1.1;\n gzip_disable \"msie [1-6]\\.(?!.*sv1)\";\n\n ##\n # virtual host configs\n ##\n\n include /etc/nginx/conf.d/*.conf;\n include /etc/nginx/sites-enabled/*;\n\t\t}\n\n#mail {\n# # see sample authentication script at:\n# # http://wiki.nginx.org/imapauthenticatewithapachephpscript\n#\n# # auth_http localhost/auth.php;\n# # pop3_capabilities \"top\" \"user\";\n# # imap_capabilities \"imap4rev1\" \"uidplus\";\n#\n# server {\n# listen localhost:110;\n# protocol pop3;\n# proxy on;\n# }\n#\n# server {\n# listen localhost:143;\n# protocol imap;\n# proxy on;\n# }\n```\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/5) are you using the flarum nginx.conf file ?\n\n ", "name": "", "is_accepted": false }, { "text": "nope\n\n\n", "name": "", "is_accepted": false }, { "text": "is it this /etc/nginx/sites-enabled/flarum.conf\n\n", "name": "", "is_accepted": false }, { "text": "found it\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/6)\n\n\nwhere do i add this snippet? (already done the first step)\n\n\n\n> the ssl configuration needs to be updated, so ensure that it is added under server block which has ssl configuration since http/2 is only supported over https.\n> \n> \n\n\n\n```\nserver {\nlisten 443 ssl http2;\nlisten [::]:443 ssl http2;\nserver_name example.com;\nroot /path/to/public;\nssl_certificate /path/to/certificate.crt;\nssl_certificate_key /path/to/private.key;\nssl_protocols tlsv1.2;\n}\n```\n\n \n\n\n```\nserver {\n server_name forum.acehsc.net www.forum.acehsc.net;\n listen 80;\n rewrite ^/(.*) https://forum.acehsc.net/$1 permanent;\n access_log /var/log/forum.acehsc.net_log;\n error_log /var/log/forum.acehsc.net_error_log;\n if ($scheme = http) {\n rewrite ^/(?!.well-known)(.*) https://forum.acehsc.net/$1 break;\n }\n}\nserver {\n\n listen 443 ssl https;\n\n server_name forum.acehsc.net;\n root /var/www/flarum/public;\n if ($host = www.forum.acehsc.net) {\n return 301 https://forum.acehsc.net;\n }\n index index.php;\n\n location / {\n try_files $uri $uri/ /index.php?$query_string;\n }\n\n location ~* \\.php$ {\n fastcgi_pass unix:/run/php/php7.4-fpm.sock;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n\n ssl_certificate /etc/nginx/ssl/forum_acehsc_net.pem;\n ssl_certificate_key /etc/nginx/ssl/forum_acehsc_net.key;\n ssl_prefer_server_ciphers on;\n ssl_buffer_size 4k;\n ssl_ecdh_curve auto;\n\n ## ocsp stapling\n ssl_stapling on;\n ssl_stapling_verify on;\n resolver 1.1.1.1 valid=300s;\n resolver_timeout 5s;\n ssl_trusted_certificate /etc/nginx/ssl/forum_acehsc_net.pem;\n\n ssl_session_cache builtin:1000 shared:ssl:10m;\n ssl_session_timeout 10m;\n ssl_session_tickets off;\n add_header x-frame-options \"sameorigin\" always;\n add_header x-xss-protection \"1; mode=block\";\n add_header x-download-options \"noopen\" always;\n add_header x-content-type-options \"nosniff\" always;\n add_header content-security-policy \"upgrade-insecure-requests\" always;\n add_header referrer-policy 'no-referrer' always;\n add_header permissions-policy 'geolocation=(self \"https://forum.acehsc.net\"), microphone=()' always;\n add_header x-powered-by \"coffee... lots of it\" always;\n add_header access-control-allow-origin \"https://forum.acehsc.net\" always;\n add_header x-permitted-cross-domain-policies \"none\" always;\n add_header strict-transport-security \"max-age=31536000; includesubdomains\" always;\n ssl_dhparam /etc/nginx/ssl/dhparam-2048.pem;\n\n\n location ~* \\.(jpg|jpeg|png|gif|ico|css|js|woff2)$ {\n expires 365d;\n }\n\n}\n```\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/10) here\n\n\n![](https://metabullet.com/assets/files/2021-02-03/1612358457-533524-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/11)\n\n\ni mean the next step\n\n\n![](https://metabullet.com/assets/files/2021-02-03/1612358498-53694-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "guess what i getting an error on the line\n\n\n\n```\nnginx: [emerg] invalid parameter \"https\" in /etc/nginx/sites-enabled/flarum.conf:13\nnginx: configuration file /etc/nginx/nginx.conf test failed\nroot@forum:~#\n```\n\n![](https://metabullet.com/assets/files/2021-02-03/1612359395-893216-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "opps just seen the typo\n\n", "name": "", "is_accepted": false }, { "text": "is this problem?\n\n\n![](https://metabullet.com/assets/files/2021-02-03/1612359889-944129-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/15) nope. that’s the 301 redirect i previously mentioned. you can ignore that\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/16)\n\n\nso what’s next;\n\n\n![](https://metabullet.com/assets/files/2021-02-03/1612360549-437200-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/17) try the gtmetrix tool again and see if this has any effect on the pageload speed. then, we will start to look at brotli and gzip compression.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/18)\n\n\nthere hasn’t been any improvement with http2 according to gtmetrix\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/19) whilst not so much “reducing” the size of the js being delivered, it is perfectly feasible (and good practice) to install redis on your server, then use [this](https://extiverse.com/extension/blomstra/flarum-redis) extension to enable the cache to use redis rather than the filesystem, cache. it’s much faster, and what i do here at metabullet.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/20)\n\n\ndoesn’t redis need memory? (should i upgrade the server by doubling it)\n\n\nmy plan was to configure recache when the forum gets attention.\n\n\nso what is your recommendation; for the time being, have `blomstra/flarum-redis` and when forum gets attention move to `recache` ?\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/21) it does, yes. in all honesty, recache and the bokt/redis extension can run together but must use separate databases so they don’t try to access the same resources. the difference between recache and the redis extension is that recache builds it’s own assets alongside flarum, whereas the bokt extension actually changes the file system driver to use redis directly instead of the file system.\n\n\nthis makes the retrieval of assets much quicker. as a test, i’ve temporarily disabled recache here, and an running the bokt redis extension on its own.\n\n\nthe speed is very impressive, and i’m sure your can see that also when accessing the site.\n\n\nin terms of performance based on your current setup, yes - you’d benefit from an upgrade to the existing droplet you are running.\n\n\nwhat i think we’ll be useful at this stage is to collect a concise list of the assets that are loading totalling the additional 1mb plus you see on your site via the flarum labs. this would be my next suggestion to make sure that we eliminate any unnecessary bloat in order to speed up the site.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/22)\n\n\nyes at the end of the day i need to upgrade my droplet.\n\n\nso you are saying that redis and bokt together create a better performance compared to recache (premium extension)\n\n\nhowever with the bloated file, the biggest impact on the js which is 398 kb from shout, in total i have 31 extensions where metabullet has 55 and your js file is 343.5 kb on gtmetrix and on lab its 1.4mb. where mine is 752 kb on gtmetrix (currently i have shout disabled because of bug i discovered) and on labs it’s 770 kb. \n\nwhat is your serect?\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/64/23) so you are saying that redis and bokt together create a better performance compared to recache (premium extension)\n> \n> \n\n\nno. they are functionally the same, with the exception that recache has caching capabilities for db queries, and a logged-in user cache. however, in terms of speed between the two, i’ve not been able to determine any real difference.\n\n\n\n> [sallymelek](https://metabullet.com/d/64/23) however with the bloated file, the biggest impact on the js which is 398 kb from shout, in total i have 31 extensions where metabullet has 55 and your js file is 343.5 kb on gtmetrix and on lab its 1.4mb. where mine is 752 kb on gtmetrix (currently i have shout disabled because of bug i discovered) and on labs it’s 770 kb. \n> \n> what is your serect?\n> \n> \n\n\nno secret. i leverage a variety of compression techniques, and it’s possible that you may not be leveraging this enough.\n\n ", "name": "", "is_accepted": false }, { "text": "[@sallymelek](https://metabullet.com/u/sallymelek) let’s get an understanding of what is in this file - it’s 1.2mb in size, which is crazy 🙂\n\n\n![](https://metabullet.com/assets/files/2021-02-04/1612465083-173686-image.png)\n\n\nonce we work out what’s being loaded in there, we can address the true culprit.\n\n\nmetabullet looks like this\n\n\n![](https://metabullet.com/assets/files/2021-02-04/1612465139-870154-image.png)\n\n\nhave a look at the file itself - <https://forum.acehsc.net/assets/forum-00b7242c.js>. there’s a minefield of js and css in there - probably copied and pasted from a variety of different sources. this is what is contributing to the huge file size. do you *really* need all of them ? i suspect not.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/25) i think i won’t need it. so what do i need to do ?\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/64/24) no secret. i leverage a variety of compression techniques, and it’s possible that you may not be leveraging this enough.\n> \n> \n\n\ndo need to off to brotli compression as its better than gzip?\n\n\n\n> [phenomlab](https://metabullet.com/d/64/24) no. they are functionally the same, with the exception that recache has caching capabilities for db queries, and a logged-in user cache. however, in terms of speed between the two, i’ve not been able to determine any real difference.\n> \n> \n\n\nso what should i do? whats your recommendation?\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/26) can you provide a list of all the content you have in your custom header and footer ? there seems to be a huge variety of js being included, and if it’s not needed, it seems somewhat fruitless including it.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/64/27) do need to off to brotli compression as its better than gzip?\n> \n> \n\n\nbrotli is faster than gzip and does have better compression ratios. however, not all hosts fully support it. do you only if your droplet has active support for this ? personally, i’d prefer to resolve the bloated js issue before we move into anything else.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/64/27) so what should i do? whats your recommendation?\n> \n> \n\n\nstart with bokt redis as it’s free, and you won’t need much investment - only in hours rather than financial. if you have a relatively small forum then you only really need to wheel out the “big guns” when it’s essential. most performance issues are related to either incorrectly configured services, or shared / ineffective and underperforming hosts.\n\n\ndiscuss (flarum forum) runs very well on a small droplet and has thousands of users, so it’s not as though we need to throw huge compute resources at the problem - more so to work with what we’ve got and get the best out of the setup.\n\n\nobviously, there’s always a limit to this, and as the forum grows, you may still need to review your hardware backend.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/28)\n\n\nso my header is empty \n\nfollowing is my footer;\n\n\n\n```\n<p style=\"text-align: center; padding: 15px 10px 10px 10px; margin-bottom: 0px; color: #aaa;font-size:12px; background: #f0f2f5\">\n<a href=\"https://forum.acehsc.net/p/7-faqs\"> faqs </a>\n&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://forum.acehsc.net/p/5-how-acehsc-forum-works\"> help </a>\n&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://forum.acehsc.net/p/3-guidelines-rules\"> forum guidelines </a>\n&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://www.acehsc.net/disclaimer/\" target=\"_blank\" rel=\"noopener\">policies</a>\n&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://www.acehsc.net/advertise/\" target=\"_blank\" rel=\"noopener\"> advertise </a>\n&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://www.acehsc.net/contact-us/\" target=\"_blank\" rel=\"noopener\"> contact us </a>\n</p>\n<p style=\"text-align: center; padding: 0 10px 20px 5px; margin-bottom: 0px; color: #aaa;font-size:12px; background: #f0f2f5\">\n&copy; <script>document.write(new date().getfullyear())</script> acehsc |<small> managed by <a href=\"https://kogodigital.com/\" target=\"_blank\" rel=\"noopener\">kogo digital</a></small>\n</p>\n```\n\n \n\nand i’m using html head items extensions for the following; \n\n![](https://metabullet.com/assets/files/2021-02-05/1612522632-898779-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/29) yes vultr supports it\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/30)\n\n\ncurrently, i will remain with my current setup, hopefully when the forum gets some traffic then will install broli with bokt redis sametime. whenever the forum becomes know then will move to recache. will, it easy to move to recache from bokt redis?\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/33) yes, very simple. you just need to be sure that you use different redis databases for bokt and recache otherwise you’ll run into issues. one thing that sticks out a mile for me here is this\n\n\n![](https://metabullet.com/assets/files/2021-02-05/1612525387-697592-image.png)\n\n\nit would seem that no compression is actually being applied to this file. admittedly, i’m using brotli on metabullet, and mine looks like this\n\n\n![](https://metabullet.com/assets/files/2021-02-05/1612525565-325307-image.png)\n\n\nthe missing part for you is `content-encoding: br`.\n\n\nperforming a quick tests to see if brotli is enabled on your server\n\n\n![](https://metabullet.com/assets/files/2021-02-05/1612525637-194645-image.png)\n\n\nwhereas on mine, it’s enabled\n\n\n![](https://metabullet.com/assets/files/2021-02-05/1612525662-216645-image.png)\n\n\ni think we should first enable brotli compression on your host, and see if this produces any desirable results.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/34)\n\n\ngreat will try to add brotli compression.\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/31) i’m curious to know why you’re using a non-breaking space rather than the more modern css padding 🤔\n\n\n\n```\n&nbsp;&nbsp;&nbsp;&nbsp;\n```\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/64/36) \n\nbecause `&nbsp;&nbsp;&nbsp;&nbsp;` was doing the job, what should i replace with it?\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/64/37) well, it’ll work, but it’s “old” by today’s standards. typically, you’d use a css class, then apply styles to that.\n\n", "name": "", "is_accepted": false } ]
4b586f37644c5c8f74dfeefc49eb338b
hello sir, i am experiencing huge cpu & ram loads than unusual, so i started digging into why this is happening later i came to know few ips from bangladesh and other countries sending frequent requests. my website is more into calculations i believe the scrapers developed a script to convert output data into api so i finally reached cloudflare to build good rules to stop scraping and bot traffic, i have enabled bot fight mode ![](https://metabullet.com/assets/files/2021-08-02/1627905771-179765-image.png) after some time cloudflare starting making notes of unusual traffic and started to sho js challenge as i can see ip is a aws's ip and i do not have any connection with them so i blocked that ip. ![](https://metabullet.com/assets/files/2021-08-02/1627905916-263249-image.png) i have visited the direct ip site to check who is behind this ip took me to the scraping site website now the same person is trying using different ips ![](https://metabullet.com/assets/files/2021-08-02/1627905969-565889-image.png) i am currently using free cloudflare plan, please suggest me something to avoid bots and scpers
secure website from bots and scraping
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/748/1) this is going to be something of a cat-and-mouse game sadly. geo ip blocking isn't going to be effective either in this instance because you would be targeting 99% of your own audience which of course isn't desirable. the second set of attempts are from the us via via the amazon as (autonomous system). do you have anything configured on the cloudways end such as fail2ban ? it might also be worth discussing this with cloudways to see if they have any native solution they can deploy.\n\n\nthe free plan from cf only allows a maximum of 5 firewall rules, so obviously, these will be very quickly depleted\n\n\n![](https://metabullet.com/assets/files/2021-08-02/1627908272-223749-image.png)\n\n\nlet's check with cloudways first - let me know how that goes. from recollection, you don't have full control over your host, which will severely limit your ability to defend unless you ugprade to cf paid model, which is a minimum of usd 20.00/month and clearly not palatable given our previous discussions.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/748/2) //update after enabling the bot fight mode at cloudflare now i am not seeing any unusual requests. i think that solved my issue. i will continue observing this for few days. earlier my ram was occupied by 2gb now it's only running around 1gb, the avg cpu usage also running 100% more efficient\n\n", "name": "", "is_accepted": false } ]
9c3153cd8f969e327b0eb85291b6ab5a
is there anything anyone can suggest that would suitable (and not cost the earth) to replace the virgin hub 3 that they give you, it's of course junk and it provides little coverage to the top room in the house. would a mesh wifi system be of better use or just a different router altogether? thanks 😊
virgin hub 3 alternative
metabullet.com
2021.39
[ { "text": "[jac](https://metabullet.com/d/152/1) the immediate thought here would be just to use a wifi extender. you can also use power line adapters to achieve the same objective and get a reliable connection.\n\n ", "name": "", "is_accepted": false }, { "text": "we already have boosters, they do the trick but could be better, there does seem a general complaint against the hub 3 router.\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/152/3) if the presentation is still ethernet (which it should be for cable as it's a standard) then you should arguably be able to use another type of router, or if that's not possible, you can still attach another router to the hub and use that to serve the wi-fi.\n\n\nsounds crazy, but it does in fact work.\n\n ", "name": "", "is_accepted": false }, { "text": "i know you can put the hub 3 into modem and add another box, i've been thinking of doing this 👍🏻 i just need to find a suitable new router.\n\n ", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/152/5) yes, it's often referred to as bridge mode. this way, the traffic is passed onto the next device in the chain (usually via the dmz port that all routers have - typically port 4).\n\n\nby putting the virgin hub into bridge mode, the router then needs to assume control over the traffic in terms of acting as the gateway, and providing internet access.\n\n ", "name": "", "is_accepted": false }, { "text": "[@jac](https://metabullet.com/u/jac) i'm interested to know how you got on with this :\n\n", "name": "", "is_accepted": false }, { "text": "i am yet to sort it because miraculously the signal errors have improved. :p\n\n\nbut it's something i'll be looking to do in the future if the signal starts dropping so frequnetly as it was doing.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/152/8) i am yet to sort it because miraculously the signal errors have improved. :p\n> \n> \n\n\nisn't it amazing how that always seems to be the case ! 😖\n\n ", "name": "", "is_accepted": false } ]
e2ddd8e5bb82570cad16e209258aa6ec
custom footer error
metabullet.com
2021.39
[ { "text": "i'm trying to create a new custom footer for flarum:\n\n\n\nbut pasted on my forum, it appear completely aligned to left and not similar to the pen. \n\nit also have problem with this: \n\n[![](https://i.ibb.co/9c6fryv/immagine-2021-02-26-111641.png)](https://i.ibb.co/9c6fryv/immagine-2021-02-26-111641.png)\n\n\nthis going \"over\" footer causing issues.\n\n\nwhat i am doing wrong?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/1) hi - where can i see this in action ? i thought it was flarum.it, but i can't see it ?\n\n", "name": "", "is_accepted": false }, { "text": "here the screen, removed in production because of the issues:\n\n\n[![](https://i.ibb.co/kcspjmp/23.png)](https://i.ibb.co/kcspjmp/23.png) \n\n[![](https://i.ibb.co/6vfkmzq/24.png)](https://i.ibb.co/6vfkmzq/24.png)\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/3) ok, i see. is there somewhere i can test this ?\n\n", "name": "", "is_accepted": false }, { "text": "mmmhhh i don't know how to test this out of production\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/5) you could create a replica of your flarum instance elsewhere like you do for wordpress ?\n\n", "name": "", "is_accepted": false }, { "text": "ok i try this\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/7) let me know if you need any help.\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/7) just looking at this again - are you adding this code in the custom footer ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/99/9) yes exactly\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/10) is there any way we can put this back for perhaps 30 minutes ? i have an idea.\n\n\nif you reinstate the code, but\n\n\n1. place it in between two `<div>` tags like this\n\n\n\n```\n<div class=\"hideme\">\n<section class=\"contact-area\" id=\"contact\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-6 offset-lg-3\">\n <div class=\"contact-content text-center\">\n <a href=\"#\"><img src=\"https://flarum.org/assets/img/verified-community.svg\" alt=\"logo\"></a>\n <p>flarum.it è l'unica community verificata direttamente dai creatori di flarum. vi invitiamo ad utilizzare solo ed esclusivamente questa community per le richieste di supporto, in quanto avrete la sicurezza di ottenere sempre informazioni aggiornate e sicure.\n </p>\n <div class=\"hr\"></div>\n <h6>community verificate: https://flarum.org/verified-communities</h6>\n \n <div class=\"contact-social\">\n <ul>\n <li title=\"pagina ufficiale facebook di flarum\"><a class=\"hover-target\" href=\"https://www.facebook.com/flarumitaliaofficial\"><i class=\"fab fa-facebook-f\"></i></a></li>\n <li title=\"flarum su github\"><a class=\"hover-target\" href=\"https://github.com/flarum\"><i class=\"fab fa-github\"></i></a></li>\n \n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n </section>\n </div>\n```\n\n2. now set a class in your css called `.hideme` that looks like the below\n\n\n\n```\n.hideme {\n display: none;\n}\n```\n\n3. save everything and clear the cache\n\n\nthis will enable the site to load, but the footer you've inserted will be hidden. it'll let me play with the layout without it disrupting anyone else as i can override the css class inline and expose the footer :d\n\n\n", "name": "", "is_accepted": false }, { "text": "sure, u need admin power? what is your username?\n\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/12) no need for admin. i can recommend css inline. just let me know when the footer is in place.\n\n", "name": "", "is_accepted": false }, { "text": "refresh now the page, is online\n\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/14) thanks. i'll check\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/14) this actually looks fine to me ?\n\n\n![](https://metabullet.com/assets/files/2021-02-26/1614358261-18991-image.png)\n\n\ndid i miss something ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/99/16) yes, see my codepen, it look totally different\n\n\n\ni'm working on it actually\n\n\nlogo and text on my codepen are centered, and i'm trying to fix icon alignement but i'm bad\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/17) try adding this css\n\n\n\n```\n.contact-content img {\n max-width: 210px;\n margin-left: auto;\n margin-right: auto;\n display: block;\n}\n```\n\n![](https://metabullet.com/assets/files/2021-02-26/1614360934-296963-image.png)\n\n\nor perhaps better, this (as it centre aligns the entire block including the text)\n\n\n\n```\n.contact-content.text-center {\n text-align: center;\n}\n```\n\n![](https://metabullet.com/assets/files/2021-02-26/1614361082-304454-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/99/18) i think this will work on actual version thank you again :d\n\n\nbut this not resolve the issue on the second image....flarum goes over footer\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/19) can you provide a link for a particular post that's affected by this ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/99/20) every post, if u scroll down, u can find the issue\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/21) nope :) i can't see it\n\n\n![](https://metabullet.com/assets/files/2021-02-26/1614361781-926912-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/99/22) because u need to scroll down the page....\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/99/23) i have !\n\n\nedit - ok, i see it now - this occurs with the viewport a certain size\n\n\n![](https://metabullet.com/assets/files/2021-02-26/1614363143-478646-image.png)\n\n\nfor this to work, you'd need to set viewport css so that the footer is in fact hidden (or some elements of it) until a specific window height is reached. in this case, you could wrap the styles you have for this code inside this\n\n\n\n```\n@media only screen and (min-width: 768px) and (min-height: 768px) {\n // css styles go here\n }\n```\n\nthen play with the screen estate size until the footer is shown only when the correct window size allows it to display properly.\n\n\n", "name": "", "is_accepted": false } ]
c9d855c4f691af7616442f19604960a2
anyone had any dealings with update 20h2 ? despite modern hardware, decent cpu and ram, on some machines this is taking up to an hour to deploy ! [@katos](https://metabullet.com/u/katos) - have you experienced this ?
update 20h2
metabullet.com
2021.43
[ { "text": "[phenomlab](https://metabullet.com/d/746/1) we’ve had issues with slow deployment but we’ve mostly managed ok. \n\nas most of our devices just required an update to it we managed this through windows updates using an intune configuration profile and monitored with a compliance policy.\n\n\nthose that took a while or simply failed, we’re then updated with the windows update assistant whilst the user was provided with a temporary loan device (autopilot)\n\n ", "name": "", "is_accepted": false }, { "text": "[katos](https://metabullet.com/d/746/2) thanks. we've noticed something similar - all of our machines are based on i5/i7 chipsets, 16gb ram (minimum) and ssd technology. despite this, we've still seen some instances where the upgrade took almost an hour !\n\n", "name": "", "is_accepted": false } ]
ea3f0b0e0c5f39b9326545dc51c6a003
sir, for some reason i messed up two users social login, when i login using one account its taking to another account. this happened due to the linking of wrong social profiles. i have tried to hit uninstall and clear fofauth data but its not deleting, how do i manually delete the data of fof oauth? i could not able to detach the wrongly linked social acounts
how to clear fof/oauth data in db
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/757/1) i see you've posted the same question [here](https://discuss.flarum.org/d/28426-deleted-user-can-not-signup-using-the-same-mail-id-again). i think it makes more sense to wait for a reply there first, and if no response (or one that works for you), we can pick it up here.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/757/2) sorry, for asking the same question multiple times due to this i disabled the oauth. i will wait, i should have more patience when running into a problem 😊\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/757/3) no problems ! i'm happy to help you resolve this as you know, but i think it makes sense for the flarum devs to answer first. they will likely come back with something manual (in terms of sql), so you're more than welcome to get help with that here.\n\n", "name": "", "is_accepted": false }, { "text": "this issue is solved after deleting 2 users.\n\n\nthe issue was actually one social profile linked to another profile and i could not able to unlink, after deleting both ids now everything is working as expected\n\n", "name": "", "is_accepted": false } ]
670199313036709c4b00397c17fa83ad
so last night before going to bed i realized i couldn’t access my flarum :-( i immediately tried to ssh into it and that didn’t work. i then signed onto aws and went to the monitoring section and saw my cpu was at 99%. ![](https://metabullet.com/assets/files/2021-01-21/1611241998-466078-screen-shot-2021-01-20-at-93502-pm.png) a few minutes later it went back down and my site came back up so i went to bed since it was late. i took a screenshot of the aws monitoring this morning and you can clearly see the spikes: ![](https://metabullet.com/assets/files/2021-01-21/1611242009-531431-screen-shot-2021-01-21-at-70752-am.png) this morning i went to google analytics to see if maybe i got a spike in traffic which may have caused this because a little before the spike someone on linkedin shared a post with its link, but i didn’t see any significant change on the 20th: ![](https://metabullet.com/assets/files/2021-01-21/1611242153-16372-screen-shot-2021-01-21-at-71348-am.png) what else can i look at, nginx logs? not sure what to look for though.
investigating a possible ddos attack
metabullet.com
2021.31
[ { "text": "[phenomlab](https://metabullet.com/d/37/4) awesome thanks for the pro tip on fail2ban i will look into setting that up once i dig into this issue!\n\n\ni will go download my syslog now and take a peak, thanks for the advice as always!\n\n ", "name": "", "is_accepted": true }, { "text": "[mikejones](https://metabullet.com/d/37/1) what i’m seeing here isn’t consistent with a ddos attack in all honesty. if it were, i’d expect to see network traffic also through the roof. the spike in cpu is also short in time scale - in most cases, systems are literally brought to their knees by being flooded with requests causing them to be overwhelmed.\n\n\nnginx logs won’t tell you much about this, but you should be able to find useful information in `/var/log/` - there are a wide range of logs, and a good explanation of them is [here](https://ubuntu.com/tutorials/viewing-and-monitoring-log-files#2-log-files-locations). do you have fail2ban installed ? it would be worth reviewing those logs also.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/2) is fail2ban a server app or a flarum extension?\n\n\nsince its cpu, i am thinking i should check out the daemon log first? i think i am happy it doesn’t look like ddos lol\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/3) is fail2ban a server app or a flarum extension?\n> \n> \n\n\nit’s an ip blacklisting tool - see [here](https://www.fail2ban.org/wiki/index.php/main_page)\n\n\n\n> [mikejones](https://metabullet.com/d/37/3) since its cpu, i am thinking i should check out the daemon log first?\n> \n> \n\n\nno - i’d recommend looking in `/var/log/syslog` first to get an overview of the entire system state before the cpu started to spike.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/5) i will go download my syslog now and take a peak, thanks for the advice as always!\n> \n> \n\n\ninterested to know what you find. sometimes, you do experience cpu locks in aws 🙂\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/6) so this is my first time really diving deep into a syslog and matching it up with my cpu max timeline, but here is what stands out to me so far:\n\n\n### timeline of issue\n\n\n* initial uptick: 2021-01-21 04:50 utc\n* hit 98% cpu usage: 2021-01-21 05:00 utc\n* last high point: 2021-01-21 05:30 utc\n* back down to normal levels: 2021-01-21 05:40 utc\n\n\n### syslog correlations\n\n\n* 04:39 systemd[1]: finished clean php session files.\n* 04:56 snapd[450]: storehelpers.go:551: cannot refresh: snap has no updates available: “certbot”, “core18”, “core20”, “snapd”\n* 05:34 cron[172207]: (root) cmd ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)\n* 05:37 [977732.664520] cron invoked oom-killer: gfp\\_mask=0×100cca(gfp\\_highuser\\_movable), order=0, oom\\_score\\_adj=0\n* 05:37 [977732.664523] cpu: 0 pid: 172208 comm: cron not tainted 5.4.0-1029-aws #30-ubuntu\n* 05:37 [977732.664750] out of memory: killed process 886 (mysqld) total-vm:1321948kb, anon-rss:387472kb, file-rss:0kb, shmem-rss:0kb, uid:112 pgtables:1124kb oom\\_score\\_adj:0\n* 05:37 [977732.696389] oom\\_reaper: reaped process 886 (mysqld), now anon-rss:0kb, file-rss:0kb, shmem-rss:0kb\n* 05:37 mysql.service: main process exited, code=killed, status=9/kill\n\n\nnothing stands out to me other than sql being killed because there was no memory.\n\n\ni see certbot tried to renew but i don’t see any evidence of that causing the issue.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/7) nothing stands out to me other than sql being killed because there was no memory.\n> \n> \n\n\nit’s quite possible that a long running or hung query has caused this issue. in fact, the memory has bottomed out of the server which could cause the cpu to lock. the next logical step is to check the logs for mysql. in most cases (although dependant on configuration), they are located in `/var/log/mysql/mysql.log`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/8) so the mysql log is pretty start and i don’t see anything off the bat regards to it crashing, but it does shoe it restarting and doing crash recovery…\n\n\nthe first line in the mysql log is:\n\n\n`[system] [my-010116] [server] /usr/sbin/mysqld (mysqld 8.0.22-0ubuntu0.20.04.2) starting as process 172290`\n\n\ni assume this is just the process starting.\n\n\ni do see these two lines regarding the crash recovery:\n\n\n\n```\n[system] [my-010229] [server] starting xa crash recovery...\n[system] [my-010232] [server] xa crash recovery finished.\n```\n\nit looks like the rest of it is just mysql starting up.\n\n\ni decided to go back and look at the syslog and saw this. maybe this shows what processes is using to much cpu?\n\n\n![](https://metabullet.com/assets/files/2021-01-21/1611254501-383589-screen-shot-2021-01-21-at-104107-am.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/37/9) there’s nothing there that really sticks out. is there a backup or another scheduled task running around this time, and is this the firs time it’s happened ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/10) not that i can think of. in the past month i haven’t seen any other spikes like this.\n\n\ni am setting up an aws alarm to notify me next time it spikes above 50%\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/37/11) ok\n\n", "name": "", "is_accepted": false }, { "text": "have you heard of or used graylog: <https://www.graylog.org/products/open-source>\n\n\ni am looking into free tools i can use to help better look through my logs. any other suggestions?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/37/13) yes, i have. it’s a good product, but it’s essentially elk (elasticsearch, logstash, and kibana). it’s well known for being an absolute animal in terms of storage, processing requirements, and much more. it’s really going to be overkill for what you need.\n\n\ni’d suggest cloudtrail as you’re using aws\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/37/14) what would cloud trail help with?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/37/15) what would cloud trail help with?\n> \n> \n\n\nsorry - i should clarify here (late in my defence..🙂). you could use **cloudtrail** to centrally collect information pertaining to your aws account - an audit trail if you will. this is a good (and common) practice to undertake as it is useful for security events. you should also consider using **cloudwatch** to centrally collect logs allowing for simple interrogation rather than have to inspect multiple sources.\n\n\n![](https://metabullet.com/assets/files/2021-01-23/1611394753-442482-image.png) \n\n[[source](https://blog.cloudconformity.com/aws-cloudtrail-vs-cloudwatch-why-not-both-43bafe41462)]\n\n\n", "name": "", "is_accepted": false } ]
9013703683a4d524b7970ae278c4598a
hi mark, i've just purchased hosting with <https://www.hetzner.com> and i'm looking to install nodebb (don't get me wrong i did loved flarum but it's time for something that's ready and works out of the box!) but i hear you have to install virtualmin first, how would i do this? many thanks
installation of virtualmin & nodebb
metabullet.com
2021.39
[ { "text": "[jac](https://metabullet.com/d/519/1) welcome to the dark side ! as you know, we're going to need to prep this box with virtualmin, plus a build of nginx (virtualmin by default comes with apache). it's important to note that nodebb uses nodejs and mongodb, so it something of a departure from flarum. however, i'm using on <https://phenomlab.com> so if you're looking for a demo of what's possible, head over there.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/519/2) many thanks mark, really looking forward to starting this project.\n\n\nthanks again for the continued help when needed - great service! :)\n\n", "name": "", "is_accepted": false }, { "text": "completed the following\n\n\n1. provision of domain and dns\n2. build of hetzner based server (€4.19 2 cpu and 2gb)\n3. installed and configured webmin / virtualmin\n4. remove apache2 from webmin and replaced with nginx\n5. built nodebb from git repository along with nodejs\n6. created nodebb instance on default port\n7. configured nginx to act as a reverse proxy\n8. domain (including webmin) secured with let's encrypt\n9. postfix configured to send mail\n10. details and credentials handed to user\n\n\n", "name": "", "is_accepted": false }, { "text": "many thanks for all the help with setting this up.\n\n\nyet again showing what a great service this is! :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/519/4) when using postfix to send mail, you are installing postfix on the server and then configuring it to just send mail for notifications and sign-ups and such?\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/519/7) yes, exactly that. however, in my particular case, (and for all builds that i complete for others) i always build postfix completely ready with mailboxes to accept inbound and outbound mail.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/519/8) that is awesome! you should write a tutorial on how to do that. unless there are some good instructions out there for doing that. i would like to set that up on my production web server so i don't have to use mailgun.\n\n", "name": "", "is_accepted": false } ]
aaf3dc54e4cddac230946e81738caa65
i originally started my forum journey with phenomlab.com (using flarum), then tried an iteration of other domains trying to get a product together that would work for a security community. sadly, under flarum, this failed somewhat - mostly due to a lack of real flexibility in the platform and needing an extension to make any real change to layout etc. for this reason, i shelved the community i put together, and instead, decided to focus on another passion of mine - pro bono consultancy. as a result of this, metabullet.com was born. to be clear from the outset, metabullet.com isn't going anywhere, so don't panic :) however, today heralds something of a landmark for phenomlab in the sense that a new community based on nodebb has been created, and is now live, and accepting registrations over at <https://phenomlab.com>. i'm not going to fill this particular post with screenshots, - you can see the "eye candy" for yourself when you visit, and i think you'll love it. the news feeds are live, and so are my comments :) there's some blog posts to read, and i intend to expand on this product to make it one of the best infosec resources around. not an easy task when you consider all of the others that are in place, have been for a long time, and as a result, are mature and have a loyal fan base. this new site is being actively used by me for intelligence - gained, and ultimately shared with the wider community as that grows. for now, those who are curious can take a look [here](https://phenomlab.com) to see what's on offer. more to come....
into infosec ? get into hostr!sk
metabullet.com
2021.39
[ { "text": "i've now made extensive updates to this platform, and it's pretty much stable for the most part.. why not come and take a look ?\n\n\n![](https://metabullet.com/assets/files/2021-05-13/1620927008-892601-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "a further update.\n\n\n![](https://metabullet.com/assets/files/2021-05-26/1622044656-240291-image.png)\n\n\nnow we have a dashboard, blog items, trending articles, and so much more :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/602/4) simply amazing!!! love this style\n\n", "name": "", "is_accepted": false }, { "text": "you have done an amazing job with your websites.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/602/6) thanks\n\n", "name": "", "is_accepted": false }, { "text": "[@x-plorer](https://metabullet.com/u/x-plorer) i know you'll be happy to see the resurgence of this :)\n\n", "name": "", "is_accepted": false }, { "text": "looking good, keep up the good work.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/602/8) i agree, and an even more impactful way would be to migrate all the posts from the legacy phenomlab site into the new one - would provide continuity for old contributors.\n\n", "name": "", "is_accepted": false }, { "text": "[x-plorer](https://metabullet.com/d/602/10) sadly, that's easier said than done... the two platforms are different (one is flarum, and the other is nodebb). the newer incarnation of phenomlab is using nodebb a the database structure is vastly different, plus a completely different technology.\n\n\nhowever, i still have the old flarum database for phenomlab and haven't yet made any decisions around which platform i'm going to be using. nodebb is fantastic, but flarum has made huge progress since reaching the stable milestone, plus the fact that the support is superior. this particular site has just started using redis for the backend, and is now incredibly responsive.\n\n\nclearly, a decision needs to be made here. nodebb has incredible flexibility out of the box, has native support for websocket, widget support, plus so many other features that flarum lacks in it's core and in my view, makes it a better product. however, the flarum ecosystem cannot be ignored. if you compare the two communities, there really is no contest. flarum wins here by a mile.\n\n ", "name": "", "is_accepted": false }, { "text": "an update !! i've decided that i'm going to keep phenomlab.com free as my \"root domain\" which is why you currently get a landing page rather than the content you may have expected...\n\n\nenter my replacement project, hostr!sk. yes, the exclamation mark is ***intended***, and the url for that is [here](https://hostrisk.com)\n\n\n![](https://metabullet.com/assets/files/2021-07-21/1626864501-222813-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[x-plorer](https://metabullet.com/d/602/10) given the instantiation of hostrisk.com and the fact that it too is based on flarum, this may well become a reality. i'll check and revert.\n\n ", "name": "", "is_accepted": false } ]
c2b49c8bd4fc5d40ef6de11ec83362b5
i've known about it for years but i've recently started using duckduckgo again because of it's stance on privacy. i'll admit sometimes google is the better option because it yields more results, but i'm really enjoying ddg right now on android and web. so which search engine do you use? 😀
which search engine do you use?
metabullet.com
2021.43
[ { "text": "[jac](https://metabullet.com/d/474/1) i'm using duckduckgo. i like the privacy aspect of it, but have to admit that the search results are nothing like the ones you get from google. being the privacy advocate i am, the last thing i want is tailored ads based on my search results...\n\n", "name": "", "is_accepted": false }, { "text": "i use duckduckgo as well. just like you i like the privacy aspect of it. i also use brave as my browser. i have been thinking about getting a vpn to further protect our web surfing and such. just haven't done that yet. those are probably for another topic though.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/474/3) i have been thinking about getting a vpn to further protect our web surfing and such. just haven’t done that yet. those are probably for another topic though.\n> \n> \n\n\ntake a look at nord vpn. it's what i use, and i can certainly attest to it's effectiveness and security.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/474/4) nice, thank you. i will check them out.\n\n", "name": "", "is_accepted": false }, { "text": "in terms of results, google wins hands down. with the resources they have and their investments in ai they will probably keep its search engine as the most effective for a long time.\n\n\nanother one i like is qwant - very privacy conscious.\n\n\n![](https://metabullet.com/assets/files/2021-04-20/1618946609-49645-image.png)\n\n\n<https://www.qwant.com/>\n\n\n", "name": "", "is_accepted": false }, { "text": "[x-plorer](https://metabullet.com/d/474/6) good points - thanks. i've since chosen duckduckgo as my default search engine, but will certainly look at quant also.\n\n ", "name": "", "is_accepted": false }, { "text": "just a quick note, if you like the google resources, so you can use brave to black trackers. ezee\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/474/8) brave isn't as secure as you think it is. true security when accessing the web only comes from using a vpn.\n\n", "name": "", "is_accepted": false } ]
3fb61c465c7ef677a42f7a8d32b9d89a
so i had this question asked on flarum, one gave an answer. what are the recommended settings for using s3 for uploads? "also i received this email from amazon - notification of amazon s3 buckets configured for public access" [![](https://i.ibb.co/bzgry4k/image.png)](https://i.ibb.co/bzgry4k/image.png) > hello, > > > we are writing to notify you that you have configured your s3 bucket(s) to be publicly accessible, and this may be a larger audience than you intended. by default, s3 buckets allow only the account owner to access the contents of a bucket; however, customers can configure s3 buckets to permit public access. public buckets are accessible by anyone on the internet, and content in them may be indexed by search engines. > > > we recommend enabling the s3 block public access feature on buckets if public access is not required. s3 bucket permissions should never allow "principal":"*" unless you intend to grant public access to your data. additionally, s3 bucket acls should be appropriately scoped to prevent unintended access to "authenticated users" (anyone with an aws account) or "everyone" (anyone with internet access) unless your use case requires it. for aws's definition of "public access," please see the meaning of "public” [1]. > > > the list of buckets which can be publicly accessed is below: > > > acehscforumcloud | ap-southeast-2 > > > you can ensure individual buckets, or all your buckets prevent public access by turning on the s3 block public access feature [2]. this feature is free of charge and it only takes a minute to enable. for step by step instructions on setting up s3 block public access via the s3 management console, see jeff barr’s blog [3], or check out the video tutorial on block public access [4]. > > > if you have a business need to maintain some level of public access, please see overview of managing access [5] for more in-depth instructions on managing access to your bucket to make sure you’ve permitted the correct level of access to your objects. if you would like more information about policy configuration in s3, please refer to managing access in amazon s3 [6], and s3 security best practices [7]. > > > we recommend that you make changes in accordance with your operational best practices. > > > if you believe you have received this message in error or if you require technical assistance, please open a support case [8]. > > > [1] <https://docs.aws.amazon.com/amazons3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status> > > [2] <https://docs.aws.amazon.com/amazons3/latest/dev/access-control-block-public-access.html> > > [3] <https://aws.amazon.com/blogs/aws/amazon-s3-block-public-access-another-layer-of-protection-for-your-accounts-and-buckets/> > > [4] <https://aws.amazon.com/s3/features/block-public-access/> > > [5] <https://docs.aws.amazon.com/amazons3/latest/dev/access-control-overview.html#access-control-resources-manage-permissions-basics> > > [6] <https://docs.aws.amazon.com/amazons3/latest/dev/s3-access-control.html> > > [7] <https://docs.aws.amazon.com/amazons3/latest/dev/security-best-practices.html> > > [8] <https://aws.amazon.com/support> > > > sincerely, > > amazon web services > >
amazon bucket settings for fof/upload
metabullet.com
2021.39
[ { "text": "[sallymelek](https://metabullet.com/d/23/1) let's first start with securing the s3 bucket. currently, it's publicly accessible, which is not what you want. i'm surer you've ready about companies that get hacked because their security of s3 is lax to stay the least, and in virtually every case, it's because the bucket is publicly available.\n\n", "name": "", "is_accepted": false }, { "text": "so do i need turn everything on then?\n\n\n[phenomlab](https://metabullet.com/d/23/2)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/3) yes. 100%\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/4) so i switched everything to on, however, now the images that were uploaded on s3 from the forum now are arent accessible.\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/5) can you provide a screenshot of the `fof/upload` settings in relation to aws s3 ?\n\n", "name": "", "is_accepted": false }, { "text": "![](https://metabullet.com/assets/files/2021-01-13/1610536254-959138-image.png) \n\n![](https://metabullet.com/assets/files/2021-01-13/1610536270-607602-image.png) \n\n![](https://metabullet.com/assets/files/2021-01-13/1610536311-716823-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "<https://forum.acehsc.net/p/5> \n\ncheck out this page, none of the gifs is showing\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/8) yes, i see it.\n\n\nif you look at the returned xml, you'll see the below\n\n\n\n```\n<code>accessdenied</code>\n<message>access denied</message>\n<requestid>c4a2da90cc1cb14b</requestid>\n<hostid>_redacted_</hostid>\n</error>\n```\n\nyou'll need to configure an acl for the s3 image retrieval to work. you should be able to complete this in the aws portal, and the connecting host would be the ip address of your server\n\n\n", "name": "", "is_accepted": false }, { "text": "which one do i need to configure? \n\n![](https://metabullet.com/assets/files/2021-01-13/1610537075-293305-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "or is it this?\n\n\n![](https://metabullet.com/assets/files/2021-01-13/1610537504-611358-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/10) the \"everyone\", but you're only going to permit your own ip address.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/12)\n\n\nim confused, for \"everyone\" part is it for objects or bucket acl?\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/13) bucket acl.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/14) getting this issue\n\n\n![](https://metabullet.com/assets/files/2021-01-13/1610538490-818827-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/15) did someone else setup the aws account, or do you have access to the root account ? by the looks of it, the account you are using doesn't have the required permissions.\n\n", "name": "", "is_accepted": false }, { "text": "i created the account\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/17) can you login as root ?\n\n", "name": "", "is_accepted": false }, { "text": "i logged off, signed back in as root. the same thing is happening.\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/19) i'd raise a support request with aws in that case.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/20) raised a ticket with aws, but no help. so i have decided to create a new bucket. should i disable/enable \"default encryption\"?\n\n\n![](https://metabullet.com/assets/files/2021-01-13/1610550143-854662-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "<https://docs.aws.amazon.com/amazons3/latest/dev/bucket-encryption.html>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/23/21) should i disable/enable “default encryption”?\n> \n> \n\n\nit should be enabled.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/23) getting the same error with the bucket.\n\n\nafter excessive hours of researching (which didn't help), after playing with the permissions, found that when enabling all public access from (bucket settings) then i'm able to change access control list (acl) for the bucket.\n\n\n![](https://metabullet.com/assets/files/2021-01-13/1610565643-41972-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/25) ok, typical ! did you define only your server's ip address for permitted access ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/26) no, i haven't. this aws is so confusing. i think i found the policy add but, is the second one?\n\n", "name": "", "is_accepted": false }, { "text": "<https://aws.amazon.com/premiumsupport/knowledge-center/block-s3-traffic-vpc-ip/>\n\n\nor found more articles \n\n<https://wasabi-support.zendesk.com/hc/en-us/articles/360000377611-how-to-restrict-access-to-a-bucket-to-specific-ip-address-> \n\n<https://serverfault.com/questions/711535/s3-static-website-hosting-restricting-access-from-ip-range> \n\n<https://s3tools.org/kb/item10.htm> \n\n<https://stackoverflow.com/questions/14278698/restrict-access-to-website-hosted-on-s3>\n\n", "name": "", "is_accepted": false }, { "text": "sorry, but i feel that this is the one: (having been researching since this morning.) \n\n<https://medium.com/@keithweaver_/only-allowing-access-to-your-s3-bucket-via-your-website-5ca5c8546152>\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/29) hi, yes, i do agree, although for this to work, you'd need to be familiar with the aws cli - which can in itself be quite daunting. it's very much the same as [this](https://aws.amazon.com/premiumsupport/knowledge-center/block-s3-traffic-vpc-ip/)\n\n\nin my opinion, you'd be better off leveraging iam (identity access management), creating a user to access the s3 bucket only, and create an access policy that permits just that. i'd review [this](https://aws.amazon.com/blogs/security/how-to-use-bucket-policies-and-apply-defense-in-depth-to-help-secure-your-amazon-s3-data/) document first as it provides a reasonable scope of the work required, and detailed steps of how to get there.\n\n\noverall, as powerful as aws is, it can be extremely confusing - and challenging to setup if you are not familiar with the process. if you are only looking to store images, then a quicker and less complex way to do this would be with imgur - there are also a good number of extensions for flarum that enable such functionality - one of which is [here](https://extiverse.com/extension/matteocontrini/flarum-imgur-upload)\n\n\nas a final topic, i'm curious as to why you aren't hosting these images yourself on your own server ?\n\n", "name": "", "is_accepted": false }, { "text": "thanks for your informative reply.\n\n\ni will review the aws document.\n\n\nif i can't get aws working, then i look at imgur upload feature.\n\n\nthe reason i don't want server the images on my server, let's say the forum grows and storage is limited then i need to move the images which will be a hassle. i want to get everything ready before i launch.\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/31) understood. let me know how you get on with the review.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/32)\n\n\ni have decided to host the images on my server.\n\n\nwondering what is best settings for `fof/upload`?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/23/33) wondering what is best settings for `fof/upload?`\n> \n> \n\n\nthe native settings often work well, but various \"tweaks\" can be applied dependant on your requirements - see [this](https://extiverse.com/extension/fof/upload). most of the configuration relies on `regex` which in itself can be quite daunting to a newbie, but there is a raft of information on the same topic on the flarum forums.\n\n\nfrom recollection, all files / images etc that are uploaded are stored in `<flarum root>/assets/files`. it's also possible to \"watermark\" images that are uploaded. if you intending to no longer use the s3 upload to aws, you should remove the extension that enables these settings. leaving it blank in the `fof/upload` extension will render your ability to upload inoperable.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/34) \n\ni assume the following will be enough for local upload\n\n\n![](https://metabullet.com/assets/files/2021-01-23/1611398404-492521-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/23/35) it will, yes, but you'll need to adjust it if you want to be able to upload files that are not images\n\n", "name": "", "is_accepted": false }, { "text": "so i read through this entire post and i also found this info from stackoverflow that seemed helpful because it looks like aws changed their format for the cross-origin resource sharing (cors):\n\n\n<https://stackoverflow.com/questions/64585273/unable-to-update-aws-s3-cors-policy>\n\n\ni can show what i posted here, but my question for you is how do i test that this is actually more secure now?\n\n\n![](https://metabullet.com/assets/files/2021-02-03/1612326579-775795-screen-shot-2021-02-02-at-82851-pm.png)\n\n\nthen for my cross-origin reproduce sharing i used these settings:\n\n\n\n```\n[\n {\n \"allowedheaders\": [\n \"*\"\n ],\n \"allowedmethods\": [\n \"get\",\n \"put\",\n \"post\"\n ],\n \"allowedorigins\": [\n \"https://mysite.net\",\n \"https://www.mysite.net\"\n ],\n \"exposeheaders\": [],\n \"maxageseconds\": 3000\n }\n]\n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/23/37) do you have a copy of the cors rules ? these should be in `json` format and will determine how the cross origin is being controlled.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/38) pretty sure they changed it to an array now. check out the stack overflow link in my previous post.\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/23/39) ok, but i need to see what you are using ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/40) that array is posted above as well, can you not see it?\n\n\nor am i completely missing what you are asking for?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/23/41) i can see it, yes, but it doesn't look complete to me.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/42) gotcha? what do you think i am missing?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/23/43) i'd expect more restrictions around the allowed headers to be honest. it's a little too loose for my liking, as it's going to allow upload of literally anything and that will only be prevented by the upload extension. if that fails, it's possible to inject a myriad in terms of potentially malicious payload.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/44) i will take a look and see what other attributes i can throw in there.\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/23/45) let me know how you get on.\n\n ", "name": "", "is_accepted": false }, { "text": "has anyone managed to get this to work with backblaze b2? it is supposed to be 100% compatible with s3 but i can't get it to work.\n\n\nin the console it generates an error in /api/fof/upload, if i go to that address it says the following:\n\n\n{\"errors\":[{\"status\": \"405\", \"code\": \"method\\_not\\_allowed\"}]}\n\n", "name": "", "is_accepted": false }, { "text": "[ihhddis](https://metabullet.com/d/23/47) i haven't actually tried, but i'm wondering if the s3 driver somehow differs slightly indicating the failure. is there more to the log ?\n\n\nthanks\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/48) i went to the logs and found this:\n\n\nnext aws\\s3\\exception\\s3exception: error executing \"putobject\" on \"20application%20one/2021-05-30/1622383429-672217-cookie.png\"; aws http error: curl error 6: could not resolve hos$ \n\nstack trace:\n\n\nmaybe i should change what i put in \"bucket\"?\n\n\nthank you for your quick response\n\n", "name": "", "is_accepted": false }, { "text": "[ihhddis](https://metabullet.com/d/23/49) that error message indicates an issue resolving the remote host. is that correct, and reachable ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/50) how do i know if it is correct and achievable?\n\n", "name": "", "is_accepted": false }, { "text": "[ihhddis](https://metabullet.com/d/23/51) the remote host needs to be verified. there may be also a firewall or access times preventing connection. are there any logs generated at the remote end ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/52) on the web server the firewall is disabled, on the remote server do you mean the bucket b2? the backblaze options are very few, i don't think there is much more i can do, i don't see anywhere a tool to verify the host.\n\n", "name": "", "is_accepted": false }, { "text": "should this be changed?\n\n\n![](https://metabullet.com/assets/files/2021-05-30/1622395288-280179-captura-de-pantalla-2021-05-30-192046.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[ihhddis](https://metabullet.com/d/23/54) yes, \"share everything in this bucket with the origin\" which is going to be your website\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/55) it still doesn't work, i really don't know what to do...\n\n", "name": "", "is_accepted": false }, { "text": "[ihhddis](https://metabullet.com/d/23/56) can you actually resolve the name of the bucket ? if not, then the connection failed at this point and won't go any further.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/57) i have never solved an address, i have done it with dig, i should have 1 in authority? i get this:\n\n\n\n```\n;; got answer:\n;; ->>header<<- opcode: query, status: noerror, id: 64210\n;; flags: qr rd ra; query: 1, answer: 1, authority: 0, additional: 1\n```\n\nexcept that it seems to perform correctly\n\n ", "name": "", "is_accepted": false }, { "text": "[ihhddis](https://metabullet.com/d/23/58) the way remote storage works is that you need a hostname to connect to. for example, `mybucket.mydomain.com`. this is the basis of any connection. do you have a host name defined and can you reach it ?\n\n", "name": "", "is_accepted": false }, { "text": "[@ihhddis](https://metabullet.com/u/ihhddis) did you manage to find a solution ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/23/60) finally yes, i just got it just now, taking into account your advice i realised that i could resolve the domain only with https so i tried my luck modifying a couple of things and finally it worked.\n\n\ni added port :443 here \n\n[ihhddis](https://metabullet.com/d/23/54) \n\nand then in the endpoint i added https://\n\n\nthank you very much for your help and dedication 😃\n\n ", "name": "", "is_accepted": false }, { "text": "[ihhddis](https://metabullet.com/d/23/61) excellent. glad it worked out.\n\n ", "name": "", "is_accepted": false } ]
04e4c5a505f2b5090edb6b3426683f30
![hiring!](https://i.imgur.com/5kedzee.png) ### creators wave is hiring! creators wave is hiring to help support our continued development and expansion! this includes the **paid** position of flarum development. we are still looking for the extension development posted above, and also for further development to better the competitiveness of our site in a crowded market. flarum developer (freelance) - **paid** we are recruiting for flarum developers to assist in the customization and development of creators wave. *responsibilities* * creating flarum extensions for use on creators wave * creating a bespoke layout for creators wave, making use of local extenders and making substantial changes to the front end. * creating additional pages for creators wave to assist in our content delivery. * extending community extensions for betterment for the use-case at creators wave. read more about our open roles today: <https://creatorswave.com/blog/279-creators-wave-is-hiring>
creators wave - hiring developers
metabullet.com
2021.31
[ { "text": "we are also recruiting for other positions, so if interested please check out our blog post! 🙂\n\n\n", "name": "", "is_accepted": false }, { "text": "to ensure that we are being transparent with regards to the requirements of creators wave extensions, please see the below break-down. \n\nnote that the **signature extension** is now completed, and no longer required.\n\n\n[![](https://i.ibb.co/xskhb7n/extensions.png)](https://ibb.co/hr6s4ms)\n\n", "name": "", "is_accepted": false } ]
1ac54d1ed4b2010d54c56b5beb03eb24
hi mark, i have just acquired a new domain and want to reinstall my old flarum installation, but first i need to configure the server on hertner, can you give me any guidance? many thanks jac
new domain - configuring server + reinstalling old flarum backup
metabullet.com
2021.39
[ { "text": "[jac](https://metabullet.com/d/770/1) yes, this is certainly something i can assist with. i've conducted something similar for [@madchatthew](https://metabullet.com/u/madchatthew) before - that thread is [here](https://metabullet.com/d/651-from-mailgun-to-postfix).\n\n\nessentially, you'll start with a completely base build (just the operating system) and then install virtualmin on top of that. the entire process is automated, so most of it will be done for you. installation is around 30 minutes depending on hardware.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/770/2) many thanks mark, i'll give it a go 😁.\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/770/4) let me know how you get on\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/770/5) thanks mark, unfortunately yet to try this as i've been busy with work. 😉\n\n", "name": "", "is_accepted": false }, { "text": "[jac](https://metabullet.com/d/770/6) ok. no issues.\n\n", "name": "", "is_accepted": false } ]
85fdef1cd032984747052f283088c432
hello from my newly created account! i love the style of metabullet super refined and consistent. i've preferred to ask here because maybe it's useful information for future users, i've looked a bit about font awesome pro and it's not very clear to me how it works exactly, maybe [@phenomlab](https://metabullet.com/u/phenomlab) as you have a subscription you can give me a hand, i thought it was an annual subscription of $99, until i stumbled upon this text: > a font awesome pro subscription includes a lifetime license to our icons and toolkit, plus renewable yearly access to new icons, software updates, services, and support. > > from which i have several doubts, the lifetime license is for all pro icons? does it have any limitation? which of these services are lifetime and which are not? (image) and finally the renewal price is different? [![](https://imgur.com/xlnpzc9.png)](https://imgur.com/xlnpzc9.png) besides i had a doubt about how the duotone icons of font awesome pro work in flarum (`:before` and `:after`), inspecting element in webs with font awesome pro i have tried to get it, but i can't find the correct way to make the second layer work.
doubt about font awesome pro and duotone icons in flarum
metabullet.com
2021.39
[ { "text": "\n> [darkle](https://metabullet.com/d/716/1) from which i have several doubts, the lifetime license is for all pro icons? does it have any limitation? which of these services are lifetime and which are not? (image) and finally the renewal price is different?\n> \n> \n\n\nfrom memory, there is only one license type which is pro. the usage license is indeed lifetime, but only for the icons your purchase covered at the time it expired. for example, your wouldn't have access to any newly released icons unless you purchased a new licence.\n\n\nfa duotone needs a :before and :after class, so using the magnifying glass as an example, you'd need to use as below\n\n\n\n```\n.fa-search:before {\n content: \"\\f002\";\n font-family: \"font awesome 5 duotone\";\n position: absolute;\n}\n.fa-search:after {\n content: \"\\10f002\";\n font-family: \"font awesome 5 duotone\";\n color: #666666;\n}\n```\n\nnote, that the colour on the `:after` class is for the tone you require. you also have to use `position: absolute;` when using duotone fonts.\n\n\nhere's an example of how you can get both the `:before` and `:after` hex codes\n\n\n![](https://metabullet.com/assets/files/2021-07-09/1625870137-856944-1619767481846-7a444ab1-8e69-482a-a94f-e71fa072eaab-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-07-09/1625870151-621272-1619767505381-080f8516-2e1c-4e04-9521-c0af55a03f57-image.png)\n\n\nas a final note, duotone needs a subscription and a pro license. they aren't available under the free banner from what i recall.\n\n\none final potential \"gotcha\" is that the `:after` class is often used (in the case of notifications and unread) to add styles (red ball with number), so you may need to get creative with the css classes you use, and will probably have to leverage not in the css class to ensure you make the targets unique.\n\n\nenjoy. let me know if you need any help.\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/716/2) from memory, there is only one license type which is pro. the usage license is indeed lifetime, but only for the icons your purchase covered at the time it expired. for example, your wouldn’t have access to any newly released icons unless you purchased a new licence.\n> \n> \n\n\nok, now i really get it, it's quite confusing that they advertise it everywhere as $99/yr and only in 2 places they say lifetime without explaining much.\n\n\n\n> [phenomlab](https://metabullet.com/d/716/2) fa duotone needs a :before and :after class, so using the magnifying glass as an example, you’d need to use as below\n> \n> \n\n\nfinally it worked! that `position: absolute` was an important one.\n\n\n\n> [phenomlab](https://metabullet.com/d/716/2) as a final note, duotone needs a subscription and a pro license. they aren’t available under the free banner from what i recall.\n> \n> \n\n\nyes, you are right i wanted to know if it was possible to use them in flarum before maybe buying a license.\n\n\ncool i'll keep it in mind, thank you very much!\n\n", "name": "", "is_accepted": false } ]
cc5864d6d11ad863f865032421750113
over the years, i’ve used a number of editors - some of these are listed below * sublime text * eclipse * atom * visual code * netbeans * notepad++ * phpstorm the two i seem to be most comfortable with are notepad++, and visual code. i’m interested to know what is your favourite editor / ide, and why ?
what's your favourite editor?
metabullet.com
2021.31
[ { "text": "i used sublime for awhile. recently i have been using atom.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/209/2) i’ve been switching between vs code and atom trying to determine which one i like the best. i have (or hate) to say that vs code is winning the race.\n\n ", "name": "", "is_accepted": false }, { "text": "it comes down to the language i’m coding in. i’ve been sticking with jetbrains for basically everything from web to c development but i’m starting to move over to vs code - one editor for everything.\n\n\ni recently jailbroke my phone again and have been making some custom apps/extensions for it. xcode isn’t really matched in terms of ios development, with the help of a clever shell project, i have auto complete for private sdk methods.\n\n\n", "name": "", "is_accepted": false }, { "text": "what features of vs code do you both like?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/209/5) i guess for me it’s about familiarity given my previous years with visual studio. however, i’m primarily a php developer (mostly backend), but have to say the vs code has come a long way since the days when i was using pspad and then eclipse ide.\n\n\nadmittedly, i never really used the full ide components, but i’m warming to the idea 😁\n\n", "name": "", "is_accepted": false }, { "text": "\n> [kyrne](https://metabullet.com/d/209/4) i’ve been sticking with jetbrains\n> \n> \n\n\nout of curiosity, how much is this costing you ? last time i checked, it’s not free 😉\n\n", "name": "", "is_accepted": false }, { "text": "i’ll throw my vote in for vscode. it’s simple, fast, lightweight, and the extensibility is great (may i say it’s the flarum of ides? 😁). i also really like that it’s open source, and i can follow development.\n\n ", "name": "", "is_accepted": false }, { "text": "[askvortsov](https://metabullet.com/d/209/8) yes, i admit that vscode is winning the race for me also. i like the flexibility, adaptability, and probably more important than all other points, it’s open source - essentially a fork from the closed source visual studio. and, as a final point, it works cross platform and is microsoft’s attempt to mix with linux. i personally see this as a major step forward and would encourage it’s usage. it seems to be updated very frequently as well, which also has huge appeal.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/209/9) essentially a fork from the closed source visual studio\n> \n> \n\n\nhuh, i haven’t really gotten that impression: isn’t visual studio written mostly in c++? whereas vscode is mostly typescript running on electron.\n\n ", "name": "", "is_accepted": false }, { "text": "[askvortsov](https://metabullet.com/d/209/10) true, but the “vs” part has it’s origins in “visual studio”. obviously, you can’t support macos and linux in c++, so you’d need to change the engine (hence electron). a good article around the similarities and genesis can be reviewed [here](https://www.infoworld.com/article/3436860/visual-studio-code-vs-visual-studio-how-to-choose.html)\n\n", "name": "", "is_accepted": false }, { "text": "i have been using vs code. i used to used atom but switched to vs code to follow along easier while learning javascript(feels like i have a long ways to go to get decent with it.). i like vs code and has a lot of extensions to help with coding as well. i have never tried phpstorm due to that it costs money.\n\n ", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/12) yep, i’ve moved completely to vscode now. i still like atom, but feel more at home with the former.\n\n", "name": "", "is_accepted": false }, { "text": "curious - has anyone heard of a windows editor called pspad ? i used this all the time around 6 years ago and at one time it was my primary editor !\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/14) i don’t remember hearing or using that one.\n\n ", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/15) have a look at this <http://www.pspad.com/en/>\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/16) i haven’t used that one. i used one called dreamweaver, but it wasn’t owned by adobe at the time. it was free and i think i liked it back in the day. vs code is better though.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/209/17) i used one called dreamweaver,\n> \n> \n\n\nthat’s going back a bit…. you’re revealing your age there !\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/18) i know right! i thought of that as i was typing it, lol.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/19) i seriously thought that would be the last i ever heard of dreamweaver. certainly is a blast from the past.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/20) yeah, i remember using it when i was first starting to get into making web pages. i really liked it. at least back then i did, not sure if it is any good now days.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/21) i doubt it has much of a place these days given that the more popular editors are in fact web driven - think wordpress themes etc. phpstorm seems to reign supreme these days, but it’s not free of course.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/22) yeah i wouldn’t mind trying phpstorm. i have heard a and read a lot of good things about it. just don’t want to dish out the money to give it a spin.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/23) same here. it’s not cheap.\n\n ", "name": "", "is_accepted": false }, { "text": "i haven’t seen anyone mention brackets, which i use a lot.\n\n\nit’s clean, fast, and open source, but sadly adobe are killing it in september, so unless someone forks it, i guess i’ll be moving on.\n\n ", "name": "", "is_accepted": false }, { "text": "[johnp](https://metabullet.com/d/209/25) wow, yes ! i can’t believe i didn’t include that one 😲\n\n", "name": "", "is_accepted": false }, { "text": "[johnp](https://metabullet.com/d/209/25) i have never tried brackets but i have heard a lot of people talking about it.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/27) i think the thing that potentially puts me off is the fact that being owned by adobe, it could suddenly land up as commercial. the same thing happened to mysql which is how the mariadb fork came about thanks to oracle\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/28) yeah that is the reason why i don’t use it because adobe owns it. that is why i also use mariadb. i want to learn to use postgres and get even more familiar with mongodb as well. i wish flarum could use postgres.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/29) yes, postgres is becoming more popular - particularly with oracle’s extremely greedy model of charging outrageous licensing and support fees for their products, whilst simultaneously limiting the features available in standard edition, and moving them to enterprise.\n\n ", "name": "", "is_accepted": false }, { "text": "[@justoverclock](https://metabullet.com/u/justoverclock) i’d like to hear your experiences with phpstorm 👍\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/31) so, first of all i’m not a developer, i’m just trying to learn 🙂\n\n\nmy first editor was visual code, and is pretty good, but phpstorm is actually the best for me, it help me a lot with dependencies, coding and error, i think is my favourite so far\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/32) it’s not free though… ☹️ how much did you pay, or are you using a “special” version… 😁\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/33) really i can’t find how to make phpstorm “special” 🙂\n\n\nfor now i’m trying the 30 days trial…..but if i will continue to learn javascript (its hard all alone, and all the developer are busy or i don’t wanna ask to waste their time with me), i will buy the 1 year license, is not cheap but i definitely can survive to this 😃\n\n\nbut the real things is……is worth for me to buy a license? right now i’m torn between buy a license/use vscode\n\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/209/34) but the real things is……is worth for me to buy a license? right now i’m torn between buy a license/use vscode\n> \n> \n\n\ngood question. there seems to be a fair licensing model in place for single usage. i guess if you have the freedom to cancel at any point then it’s a good offer - unless they tie you into a one year minimum commit\n\n\n![](//cdn.metabullet.com/assets/files/2021-04-20/1618916688-893083-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/35) wow, i didn’t see this page before!!! good!\n\n\nanyway there’s a free licence for anyone is involved in open source project! \n\n<https://www.jetbrains.com/community/opensource/#support>\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/36) yes, but i think you’ll need to prove the status. it won’t be hard for you, but you’ll need the backing of flarum.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/37) i’ve just received a license for all product for free because i have some extensions provided and open source 🙂 , love jetbrains definitely now\n\n ", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/38) nice. i may do the same seeing as i also have open source extensions.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/39) sure!\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/40) haven’t tried this yet myself. i took a look at the requirements, and couldn’t decide if i would actually qualify. going to revisit this though…\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/1) like yourself i’ve used many over the years, but surprisingly i’ve found myself using code at the moment. it works well, has a lot of integration and does what i need. for any basic note keeping or simple stuff, i tend to use notepad++\n\n", "name": "", "is_accepted": false }, { "text": "[mdempsey](https://metabullet.com/d/209/42) yep. same here. i’ve grown very fond of vscode and as it’s cross platform with linux, i’m using it as my primary editor.\n\n ", "name": "", "is_accepted": false } ]
1ac34adc15da52784c12feb6cdf4d249
i want flarum hide my domain name and https in my own forum discussion posts how can we do that? ![](https://i.imgur.com/83nqjfm.png)
how to get short url view in flarum? like github links
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/737/1) not sure i follow - what would be the reason for this ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/737/2) ok, we are into knowledge sharing so users ask us about various topics and we want to share links but in some cases, the whole url looks so big in addition our domain is also very large. it's a good feature to have like if i share any metal bullet website link in the discussion it should display like [/d/737-how-to-get-short-url-view-in-flarum-like-github-links](https://metabullet.com/d/737-how-to-get-short-url-view-in-flarum-like-github-links)\n\n\ni am not sure how discussion is doing for github links .. if we know we can add our domain too\n\n\n<https://discuss.flarum.org/d/28182-github-short-url-test>\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/737/3) why bother with the length of the links when can use markdown to hide them behind a word ?\n\n\nfor example\n\n\nthis is the [first](/d/737-how-to-get-short-url-view-in-flarum-like-github-links) link \n\nthis is the [second](https://discuss.flarum.org/d/28182-github-short-url-test) link\n\n\nthis would be based on traditional markdown, so\n\n\n\n```\nthis is the [first](/d/737-how-to-get-short-url-view-in-flarum-like-github-links) link\nthis is the [second](https://discuss.flarum.org/d/28182-github-short-url-test) link\n```\n\nanother alternative would be to use a url shortening service like bitly - however, you should be aware that malicious links often hide behind url shortners, so perhaps this isn't the best idea in terms of reputation.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/737/4) i would like to rephrase my question, if we post a \"github issue\" link in flarum it automatically hides the https and domain.\n\n\nanyway i will manually edit posts of others when they post large links\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/737/5) hmm. i think you are perhaps referring to domain masking. this is a rabbit hole i'd recommend you do not go down as it will eventually prove harmful to any seo you have if the originating domain cannot be displayed\n\n", "name": "", "is_accepted": false }, { "text": "i read the whole discussion i would like to say that so all you want is to hide your domain right if someone posts this\n\n\n\n> see this : <https://metabullet.com/d/737-how-to-get-short-url-view-in-flarum-like-github-links>\n> \n> \n> it should automatically converted to this.\n> \n> \n> see this : [/d/737](https://metabullet.com/d/737-how-to-get-short-url-view-in-flarum-like-github-links)\n> \n> \n\n\nactually it's very easy you need to do here is make a custom extension from the above you shared its open source, you just need to do some tweaks.\n\n\nregards, \n\n@[deleted]\n\n ", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/737/8) once again, please consider your responses before posting them. this is not going to hide the domain as it will be seen clearly in the address bar when clicked. this forum is not dedicated to flarum support and will not suggest creating extensions for you to use. it offers pragmatic and factual advice. as a reminder, support for flarum directly is available [here](https://discuss.flarum.org).\n\n\nplease also consider this response. hiding the domain name will actually harm your seo long term. \n\n<https://metabullet.com/d/737-how-to-get-short-url-view-in-flarum-like-github-links/6>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [unknown] this is not going to hide the domain as it will be seen clearly in the address bar when clicked\n> \n> \n\n\nso maybe i understand wrong i really didn't let to hide domain i think the user want something like when we paste github link in composer it's automatically converted to short like [phenomlab/fancybox#1](/) \n\n\nalso sorry once again!\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/737/9) sorry, was this reply to me? (surprised)\n\n\nnext time just rename the username to deleted2 and ditch the email id sir 😜 so everyone will atleast know who is replying to whoom.\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/737/11) it wasn't a reply to you, but to someone who has since been banned (that's why you see [deleted] in the \"reply to\"). sorry for any confusion.\n\n ", "name": "", "is_accepted": false } ]
d42c386889adc46e2beeae75489b66c3
i'm excited to announce that metabullet.com is rebranding ! ### what? yep, you did hear right. we've acquired a new domain identity, but won't be revealing the exact name yet, as it's still an unfinished project, so stay tuned ! :d the overall look and feel of the site won't be changing either, so in reality, the name switch is the only major change we're going to be making ### when? we will make an annoucement in the coming weeks/months (timeline has yet to be decided). we are, however, looking for talented designers to come up with a new logo, and banner for the site. if you're interested in this, let me know via the "contact us" section - note, that you need to be a registered user of this platform to use this form. ### why? in all honesty, metabullet.com was one of the first names that popped into my head when i created the original concept of this site, and was nothing more than a "working title" to see how much a service like this was desired, or even needed. over time, the services offered here have gone ***way*** past the original remit that i set out to provide, and as a result, the original name doesn't really mean anything anymore. ### how? respectful of the "when?" post, you'll not need to do anything. your existing logins will work once the site has been re-branded, and the current domain of metabullet.com will redirect to the new one seamlessly. as before, there will ***never*** be any cost to use this platform - it will always be free, as will the advice and support that comes with it.
diary: metabullet rebranding
metabullet.com
2021.39
[ { "text": "[phenomlab](https://metabullet.com/d/759/1) i can do something about graphics & stuff (i only know how to use existing templates and modify them for our need) 😊\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/759/4) certainly interested in this ! thanks\n\n", "name": "", "is_accepted": false }, { "text": "i am sure it will be even more awesome! amazing job already with this site!\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/759/6) i am sure it will be even more awesome!\n> \n> \n\n\nyep - that's not going to change !\n\n", "name": "", "is_accepted": false }, { "text": "as part of the rebranding, i've decided to enable a new light theme so that those users who really don't like dark themes can now have a choice 👍\n\n\nby default, the theme used will be representative of the theme you are using on your device. if it's using a dark theme, this will be offered by default and vice versa. you can also change this to be light or dark dependant on your preference.\n\n\nthe light theme has been released and is active but does have some small quirks which will be ironed out over the coming days.\n\n\nmore about the actual rebrand week follow soon ..\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/759/8) as part of the rebranding, i’ve decided to enable a new light theme so that those users who really don’t like dark themes can now have a choice 👍\n> \n> \n\n\nthanks 🌼🌼 it's not like i don't like the dark theme, i only prefer it when i am scrolling in bed (mobile)\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/759/9) yep. totally get that. now you can have both !\n\n", "name": "", "is_accepted": false }, { "text": "\"dark mode is the most popular theme among developers because bugs are attracted to the light.\"\n\n\n😆\n\n ", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/759/11) that is a brilliant response :)\n\n", "name": "", "is_accepted": false }, { "text": "some minor bugs still exist with the two themes, but they are hard to spot unless you go looking for them 🤭. nonetheless, these will be resolved in the coming days.\n\n\nthen, the new name will appear (drumroll 🥁 )\n\n", "name": "", "is_accepted": false }, { "text": "let me guess the new name, is it something like askmark.com?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/759/14) good try - but \"no\" :)\n\n", "name": "", "is_accepted": false }, { "text": "as an update, i'm re-thinking the whole re-brand. you may have noticed i've changed the logo, and used the logo in the word \"metabullet\". this is a bit, well, \"expermimental\" and it's an idea that popped into my head browsing the fa logos of all places. i really like the concept of \"assistance\", \"heavy lifting\", \"shared\" etc, and may land up keeping this 😍\n\n\nin case you didn't see it, or perhaps haven't refreshed your browser\n\n\n![](https://metabullet.com/assets/files/2021-08-16/1629117993-519655-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "and now, a finalised design. differs slightly from the original plan i had, but i really like this\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-16/1629135552-694009-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "still working on some minor visual enhancements, which you'll see appear in due course... :)\n\n", "name": "", "is_accepted": false }, { "text": "those with keen eyes (or perhaps pressed f5 :)) will have noticed a simpler layout in terms of the header bar\n\n\n![](https://metabullet.com/assets/files/2021-08-19/1629395572-592901-image.png)\n\n\nthis has been changed in order to remove the header image. as nice as it was, it makes text hard to read, and therefore, we've gone for a solid background which is much easier on the eyes. night mode needs a bit of work, but i'll get to that shortly.\n\n\n![](https://metabullet.com/assets/files/2021-08-19/1629395665-59591-image.png)\n\n\nin additon, i've made the mobile experience friendlier\n\n\n![](https://metabullet.com/assets/files/2021-08-19/1629395748-525071-image.png)\n\n\nat this point, it's mostly about the overall appearance and aesthetics as we work towards a more serious and professional look 👀\n\n\n", "name": "", "is_accepted": false }, { "text": "another minor change (well, not really in terms of css, but minor on the 👀)\n\n\n![](https://metabullet.com/assets/files/2021-08-20/1629478748-322029-image.png)\n\n\ni've removed the gradient from the font awesome icons, plus the text itself (\"metabullet\"), and changed the background gradient. this makes the text sharper, and easier to read - particularly on mobile devices.\n\n", "name": "", "is_accepted": false } ]
db8ad5487c6d0d674642d552cb2c9678
in order to effectively reduce costs, several businesses are moving away from complex designs and bespoke hosting to a simpler platform based on wordpress - often self-hosted. according to wordpress, “code is poetry”, and literally anyone with a basic knowledge can create a website within a short space of time. with a potentially massive reduction in cost, who can blame anyone wanting to leverage such an opportunity ? code may well be poetry, but without the requisite steps needed to harden the wordpress platform against external attacks, that same code can be exploited to gain access to your site – and where’s the poetic justice in that ? as an experienced wordpress developer, there are a number of attacks i would personally attempt on a wordpress site, and in this article, i will walk you through the most common (and some not so common) issues and explain why they are classed as vulnerabilities. i will also show you how to reduce the risk that each one poses with real world examples. a quick thought. would "poetry" still sound nice if you used it as an acronym ? * **p**otentially * **o**pen to * **e**xploit * **t**heft * **r**ansom * **y**ikes (when you realise what's happened) some time ago, i was reviewing security on a wordpress site that belongs to a local distribution company. i didn’t expect the result to be perfect, but it was certainly well below the bar in terms of what is considered acceptable and secure. a perfect level of security is unobtainable in my view – the threat landscape changes on a daily (sometimes hourly) basis, and so keeping up with each new trend really isn’t feasible unless you are a security analyst dedicated to this particular function. businesses and individuals alike have evolved, and are looking at ways to do more with less – more about that a little further down the line. what i did see startled me. the design of the website looks great to the normal user, but even the basic hardening steps have not been applied on this site. having nearly choked on my coffee, i decided that awareness around this particular issue needed to be raised to help other people avoid similar pitfalls. now, if you’ve gone down the wordpress.com route for your blog, this article isn’t for you. it really only applies to those who have chosen to run a self hosted site. let’s get started #### wordpress hardening – a walk-through ok. you’ve concluded you will use wordpress as your chosen cms and blogging platform. wordpress is undoubtedly the most popular blogging platform in the world with an astonishing number of websites being solely based on it. for those who are blissfully unaware of the dangers that an unsecured wordpress platform can present, this information is for you. out of the box, wordpress is essentially ready to go from the blogging perspective. however, it’s a misconception that the same applies to security. as great a platform as wordpress is, mainly attributed to its vast array of plugins that extend the core functionality above and beyond, installing it then leaving the product in it’s vanilla state is a disaster waiting to happen. even in it’s plainest form, there are a number of settings and best practice steps that should be taken in order to further harden the platform against attack. important: before you proceed any further, ensure you have a full backup (both files and database) of your wordpress installation ! #### step 1 - rename the admin account wordpress uses an account to perform functions that require administrative access to the core and associated plugins. on all new self hosted installations, the account is named “admin” (unless you make use of an installer provided by the isp, in which case, they will probably change this as part of the installation process). any attacker with even a basic knowledge will target this account, and attempt to use either a dictionary attack, or brute force to gain access. if you have an “admin” account in your wordpress installation, then you should seriously consider removing it. renaming it is possible, and there is also a fairly common argument for stripping out the permissions but leaving the account intact – supposedly kind of a honey pot (albeit without the honey), but this just keeps an attacker engaged until they break into your site. the best course of action is to create a new user, give that user administration rights, then delete the previous one. note, that on deleting the old admin account, you’ll be asked to attribute any content to another user – simply provide the new one you’ve created. see the below steps create the new user as shown below ![](https://metabullet.com/assets/files/2021-02-18/1613671451-914336-w1.png) 2. logout of the wordpress admin console, and log back in as the new user 3. drop the old admin account ![](https://metabullet.com/assets/files/2021-02-18/1613671550-537235-w2.png) 4. assign any content to the new admin user step 2 - change the admin account id the second part of securing the admin account against brute force is to change the id that the account uses. this requires changing the database entry, so be careful. note – if you have posts written by the admin account that you are going to change the id of, then it is important to reassign the author of these to another user. this site provides an excellent walk through of how to do just that, so i won’t be reinventing the wheel here ? once you have a good database backup completed, you can then proceed to execute the below statements in mysql to change the admin id ``` update wp_users set id = 1024 where id = 1; ``` the above syntax will change the id of the admin user from 1 to 1024. note, that for administrator accounts, the generally accepted mechanism is to choose a higher value – mainly due to the amount of time it will take to discover by any would-be attacker ``` update wp_usermeta set user_id = 1024 where user_id = 1; ``` the above syntax will change the associated id of the admin user in the table wp\_usermeta. note, that the above commands make some assumptions – mainly that you are using the default wp\_ prefix for your wordpress installation. this in itself isn’t recommended by most sites, and there are a multitude of plugins that can address this issue if need be. you can complete the process manually, although this is a very advanced change, and you really need to be familiar with the platform in order to get things working again. #### passwords one of the major flaws with wordpress over the years is the ability to use a weak password. sites that make use of a simple dictionary based password will find themselves compromised very quickly. the user may also find that they have been locked out of their installation by the same perpetrator who broke into it, and will effectively have lost control. this is known as a take over – kind of like squatting, but with the intention of applying malicious content (usually malware), and then turning the site into a command and control (or c2) centre that the attacker has control over. a weak password also opens the floodgates for bruteforce attacks in wordpress. essentially, you keep hammering on the door with millions of passwords per second until you gain access. in this scenario, a successful attacker would then gain control over the system, and could install a plugin that allows direct access to the database from the gui – and yes, these do exist. once this access has been established, cyber criminals are in a position to steal confidential data. i can hear the wheels turning in your head now – confidential data on wordpress ? yes. think mossac fonseca, the panamanian law firm. using an outdated version of wordpress, the attackers were able to gain access to other systems using the compromised platform as a launchpad. #### directory and file permissions the accepted platform for wordpress installations is generally linux using the lamp stack. installations under windows are perfectly feasible and possible, although extra effort is required in order to make php and mysql work with microsoft iis. if you are intending on using windows, then you should at least gain an understanding of what the numbers below actually mean * all files should be 664 * all folders should be 775 * wp-config.php should be 660 those coming from windows environments should be already familiar with the dangers that full control presents – particular for public facing servers. the same applies to linux – and not just the wordpress elements. finding a balance is important, and the settings above are the accepted standard for all wordpress sites at the very least. it’s important to think of security as a sliding scale. the more you apply, the higher chance there is of unintentionally reducing or breaking the functionality that you set out to provide in the first place. very little attention is paid to the wordpress file system by the new or average user. importantly, by default, the level of access afforded exceeds what is required for the site to function. seeing as most shared hosting facilities that offer wordpress platforms commonly leverage linux, it makes sense to explain at this point how the operating system differs in terms of permissions in relation to windows. linux uses a particular permissions structure known as “classes“. these are split into three distinct areas * owner – usually always the creator of the files and/or folders. * group – the group contains a selection of users who share the same permissions and privileges * others – the permissions that should be set for anyone outside of the above criteria (for example, public) to understand how permissions function from a linux perspective, look at the below 0 – no permission 1 – execute 2 – write 3 – write and execute 4 – read 5 – read and execute 6 – read and write 7 – read, write, and execute essentially, this dictates that 664 (for example) would equal read and write for owners, read and write for groups, and read only for everyone else. similarly, 755 for a directory would equal read, write, and execute for owners, read and execute for groups, then finally, read and execute for everyone else. below is an example of what the default permissions (should) look like on a newly installed platform (the left hand side is an individual file, and the right is a directory). under no circumstances should you grant 777 permission to files or folders – on a linux system, this is the windows equivalent of everyone\full control. if you are not familiar with this term, it offers literally the highest level of permissions with no access control whatsoever. in this case, “everyone” literally means everyone – even those who you do not want to have unrestricted access. leaving permissions set at 777 will leave your platform open to abuse and takeover. think of it this way; "777" signifies a jackpot in gambling. in security terms, the jackpot is what any potential hacker hits when they find this unintentional gem. ![](https://metabullet.com/assets/files/2021-02-18/1613671705-465045-w4.png)![](https://metabullet.com/assets/files/2021-02-18/1613671715-713970-w6.png) certain directories should be secured using .htaccess configurations to prevent unauthorised access outside of the wordpress core. some examples of how to configure depending on your needs are shown below step 3 - block bad ip addresses ``` # block one or more ip address. # replace thisbadaddress with the one you really want to block <limit get post> order allow,deny deny from thishadaddress deny from thisbadaddress allow from all </limit> ``` step 4 - prevent directory browsing one of the worst security offenders in wordpress is the ability to browse the file structure from the internet. using this technique, an attacker can then gather reconnaissance information concerning the plugins in use on your site, then use this information to leverage known vulnerabilities against each of the plugins. even worse, if the permissions allow, an attacker can also upload malicious content such as malware or ransomware. look out for plugins (such as backup utilities) that typically place a plugins.txt file in your directory. this is invaluable to an attacker, as they now have a list of all plugins running on your site, and can formulate custom attacks based on these. such an example of a poorly secured blog chosen at random (identity hidden) is as below attackers typically target the wp-content folder looking for the directory browsing vulnerability. this can easily be prevented by modifying (or creating if it does not exist) the .htaccess file within the wp-config directory so that it looks like the below ![](https://metabullet.com/assets/files/2021-02-18/1613671806-367803-w7.png) ``` # disable directory browsing options all -indexes ``` this on it’s own is more than enough to prevent all directory browsing, but will also prevent various other media types from showing in your blog. to work around this, we need to flex the permissions a bit to make the files accessible to the blog, but not subject to directory browsing. an example of how we achieve this is shown below ``` order deny,allow deny from all <files ~ ".(xml|css|jpe?g|png|gif|js|mp4|woff|woff2|ttf)$"> allow from all </files> ``` #### step 5 - secure wp-config.php this file is the first one to be read by wordpress during each site load. it also contains significant sensitive information that could be used by an attacker to gain access to your site and underlying database. for security reasons, it is always a good idea to move the wp-config.php file out of the public html area so that it cannot be parsed by a directory listing. if you’ve taken the steps above to secure wordpress against a directory listing probe, then arguably, a good portion of the risk is mitigated. but, if it isn’t there at all, then it’s not subject to the above vulnerability. as a platform, wordpress will tolerate the wp-config.php file being moved up one level, as it will automatically search one level above if the config file cannot be located in the expected position. best practice is actually to place this file outside of the www root. there are a number of plugins that will stop working as a result of the wp-config file being relocated – to work around this, my personal preference is below * move the wp-config config file to a location that only you can access. * rename the original wp-config.php file to something else – let’s say wp-config-main.php for the purposes of simplicity * create a new file named wp-config.php that contains the below ``` /** absolute path to the wordpress directory. */ if ( !defined('abspath') ) define('abspath', dirname(__file__) . '/'); /** location of your wordpress configuration. */ require_once(abspath . '../wp-config-main.php'); ``` what are we doing here ? in a nutshell, we are satisfying 2 requirements. we are addressing the security vulnerability, and at the same time, ensuring that our plugins will continue to function. all the code above does is include the real wp-config.php content when it is requested by the core, or a plugin. this is referred to as an ssi or server side include. #### step 6 - security services sites such as [cloudflare](https://www.cloudflare.com/) can offer security services (mostly for free for small sites – although the function set is reduced), and is a great way to bolster the security services that may already be present on your site. a word of warning though – the cloudflare curve isn’t an easy one to learn in a short space of time, and there are a number of plugins that conflict with (rather than compliment) this additional layer of security #### step 7 - remove unnecessary plugins this is kind of obvious, but only use the plugins that you absolutely cannot do without. in fact, most plugins offer functionality that can be written into a custom `functions.php` file inside a child theme. if you are not using child themes, then you should look into doing this, as it means any custom changes you have made will survive an upgrade if the main theme you are using changes (updated, for example). it’s bad practice to change the core files directly – don’t do this, no matter how great the temptation is. if you have no use for a plugin, remove it. if a plugin hasn’t been updated in a long time, then this is a great indicator that you really should be looking for an alternative that is actively maintained. there are a number of security plugins on the wordpress scene which do an excellent job of securing the entire platform. a couple of examples are [wordfence](https://www.wordfence.com/) and [ithemes security](https://en-gb.wordpress.org/plugins/better-wp-security/) (to name the most popular ones). these extend the core to a higher plane in terms of security, but they are not for the novice user in most aspects, and you really need to understand why the changes are being highlighted in the first place – which is really outside of the scope of this article. if you’d like more information about using functions.php or a detailed guide as to security plugins, do let me know. have i missed anything (or better still, confused anyone) ? let me know !
wordpress hardening
metabullet.com
2021.39
[ { "text": "💥 some of the changes here can easily break your site, so be careful, and make sure you have a backup before making any changes. got any questions ? ask me here !\n\n", "name": "", "is_accepted": false }, { "text": "this is a great write-up. i will be looking into the wordpress site setup that i have and making sure to implement these security measures. thanks for the article.\n\n", "name": "", "is_accepted": false }, { "text": "wordpress is getting better at securing your initial install, but a lot still needs to be done to safeguard yourself, this is a great article on helping to achieve that extra level. if anyone uses cloudflare (or similar cdn), then look at blocking access to '/wp-login', '/wp-login.php' and '/xmlrpc.php' with firewall rules on the cdn provider, its amazing how many attacks will be blocked at the edge before even getting to your wordpress installation.\n\n", "name": "", "is_accepted": false }, { "text": "[mdempsey](https://metabullet.com/d/80/4) agree. if you want something with more options, then you should also look at [shield security](https://en-gb.wordpress.org/plugins/wp-simple-firewall/). this is an excellent security plugin and works extremely well. i've used it across hundreds of installs over time and it's never failed. like a fine wine, it gets better with age - each release brings new enhancements and the overall product is extremely effective.\n\n\n", "name": "", "is_accepted": false } ]
ce88c437b83cf76dd3e16b40ef9e9c5f
i'm going to be putting together an automated news feed in metabullet using my rss to post script i wrote. nothing that will clutter the experience, but i'm interested to know what sort of "news" people are interested in reading. in all cases, the feed will be in its own dedicated tag that will be hidden from view by default, although you can "subscribe" to this tag to alert you when a new post is created. as i mentioned, i'm interested in getting some ideas of the news articles people actually want to read and discuss.
planned news feed
metabullet.com
2021.39
[ { "text": "seo related will be great\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/102/2) seo related will be great\n> \n> \n\n\ni think this should have it's own \"channel\" - so, news -> seo. looking at some fairly decent ones to incorporate, and this would be a good place to start.\n\n", "name": "", "is_accepted": false }, { "text": "ok. a new feed can now be found in news->seo\n\n\n![](https://metabullet.com/assets/files/2021-03-03/1614784935-664730-image.png)\n\n\n![](https://metabullet.com/assets/files/2021-03-03/1614785179-664549-image.png)\n\n\nthe posts will all be from a bot called \"navigator\". this is going to be experimental for the short term. in relation to any \"copyright\" issues, all we posting here is a two line (sometimes more dependant on the feed) \"excerpt\" of the post itself, with full attribution (and a backlink to the site it came from). i'm currently processing this manually, but if you all like the idea, i'll setup a daily schedule for it to run.\n\n\nif you want to access the news tag directly, you can do it [here](https://metabullet.com/t/news). if you are feeling really adventurous, you can follow the tag itself and be notified by email of newly arriving posts.\n\n", "name": "", "is_accepted": false }, { "text": "day 2 of testing the news feed looking good, so planning to go fully live with this over the weekend\n\n", "name": "", "is_accepted": false }, { "text": "actually, seems very stable, so it's live now :) currently serving one new post per hour for seo and tech. let me know if you'd like any new added\n\n", "name": "", "is_accepted": false }, { "text": "at the request of [@jac](https://metabullet.com/u/jac) i'm going to be adding wordpress news into the mix. it's a great idea, and i am a wordpress expert after all 🤭\n\n", "name": "", "is_accepted": false }, { "text": "wordpress news feed added and active [@jac](https://metabullet.com/u/jac) :)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/102/8) wordpress news feed added and active [@flarumfan](https://metabullet.com/u/flarumfan)\n> \n> \n\n\ngreat...\n\n\nwill keep an eye out for interesting wp news! :)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [jac](https://metabullet.com/d/102/9) will keep an eye out for interesting wp news!\n> \n> \n\n\nthe news is from kinsta :)\n\n", "name": "", "is_accepted": false }, { "text": "more updates\n\n\n![](https://metabullet.com/assets/files/2021-03-09/1615295612-619532-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "just wanted to circle back here with a small update. as you know, the news channels are live, but won't show up in the main feed. i'm interested to know what user's preferences are. would you like the news articles to appear the main discussion list (you can simply hide the tag if you don't want this) or would you prefer they remain hidden by default ?\n\n", "name": "", "is_accepted": false }, { "text": "and a final update. i've set the news feeds so that they now appear in the main discussion list. if you'd rather this didn't happen, you can disable this behaviour yourself as below\n\n\n![](https://metabullet.com/assets/files/2021-03-15/1615809965-636170-image.png)\n\n\ngo into the news tag, click the \"follow\" drop-down list, then select \"hiding\" :)\n\n ", "name": "", "is_accepted": false } ]
eceed59cf2f8ceae9713edf9150e68b5
how to check redis is working for flarum or not?
metabullet.com
2021.31
[ { "text": "hello, i’m new here hope all the rules are the same as flarum 😄\n\n\ni have installed [redis](https://discuss.flarum.org/d/21873-redis-sessions-cache-queues) extension by luceos sir & configured as mentioned below\n\n\n\n```\nreturn [\n (new blomstra\\redis\\extend\\redis([\n 'host' => '127.0.0.1',\n 'password' => null,\n 'port' => 6379,\n 'database' => 1,\n ]))\n ->usedatabasewith('cache', 1)\n ->usedatabasewith('session', 3)\n ->disable('queue')\n];\n```\n\nwhen i use cli monitor its showing my root wordpress redis too.\n\n\nhow can i know is it working for flarum or not?\n\n\nif i do not want queues i don’t need deamon and need not to maintain anything right?\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/1) welcome ! does your wordpress instance use the same redis database as flarum ? if that’s the case, you should change it so that it uses its own.\n\n\nin terms of monitoring a specific database, redis doesn’t have a defined command for this, but you can always use\n\n\n`redis-cli monitor |grep '(db 1)'`\n\n\nobviously, replacing 1 with the database you want to target.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/721/1) if i do not want queues i don’t need deamon and need not to maintain anything right?\n> \n> \n\n\ncorrect.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/2) my root wp is using 0 db .. the wordpress redis plugin hope that doen’t conflicts\n\n\n\n> [phenomlab](https://metabullet.com/d/721/2) redis-cli monitor |grep ‘(db 1)’\n> \n> \n\n\nshould i run this in sub directory (my flarum) or root?\n\n\nedit: error\n\n\n\n```\n[0]:ask$ redis-cli monitor |grep ‘(db 1)’\nbash: syntax error near unexpected token `(' \n[0]:ask$ redis-cli monitor | grep ‘(db 1)’\nbash: syntax error near unexpected token `(' \n```\n", "name": "", "is_accepted": false }, { "text": "\n> [hari](https://metabullet.com/d/721/4) should i run this in sub directory (my flarum) or root?\n> \n> \n\n\nshouldn’t matter\n\n\n\n> [hari](https://metabullet.com/d/721/4) edit: error\n> \n> \n\n\ncan you provide sample output of `redis-cli monitor` ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/5) once i enter that command its flooding so i had to hit ctrl + c\n\n\n\n```\n[0]:ask$ redis-cli monitor\nok \n112725.466754 [0 127.0.0.1:12368] \"ping\" \n115454545.096535 [0 127.0.0.1:12368] \"info\" \n115454545.097820 [0 127.0.0.1:12368] \"get\" \"abcdefg:default:is_blog_installed\" \n115454545.105210 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:notoptions\" \n115454545.105619 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:alloptions\" \n115454545.106806 [0 127.0.0.1:12368] \"get\" \"abcdefg:site-options:1-notoptions\" \n115454545.109148 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:uninstall_plugins\" \n115454545.109428 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:adbc_settings\" \n115454545.118376 [0 127.0.0.1:12368] \"get\" \"abcdefg:transient:jetpack_autoloader_plugin_paths\" \n115454545.150546 [0 127.0.0.1:12368] \"get\" \"abcdefg:users:1\" \n115454545.150847 [0 127.0.0.1:12368] \"get\" \"abcdefg:user_meta:1\" \n115454545.154273 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:adbc_security_folder_code\" \n115454545.160019 [0 127.0.0.1:12368] \"get\" \"abcdefg:transient:jetpack_file_data_9.9\" \n115454545.162431 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:perfmatters_version\" \n115454545.166233 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:loginpress_hidelogin\" \n115454545.188578 [0 127.0.0.1:12368] \"mget\" \"abcdefg:posts:4105\" \"abcdefg:posts:2919\" \"abcdefg:posts:4104\" \"abcdefg:posts:1660\" \"abcdefg:posts\n:4103\" \"abcdefg:posts:1443\" \n115454545.191158 [0 127.0.0.1:12368] \"get\" \"abcdefg:options:can_compress_scripts\" \n115454545.249456 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:last_changed\" \n115454545.249632 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:get_terms-114ef251ed33be5485f344bb9067d54c-0.44432000 1626006946\" \n115454545.260686 [0 127.0.0.1:12368] \"get\" \"abcdefg:transient:doing_cron\" \n115454545.261010 [0 127.0.0.1:12368] \"set\" \"abcdefg:transient:doing_cron\" \"115454545.2583169937133789062500\" \n115454545.432003 [0 127.0.0.1:12386] \"ping\" \n115454545.432157 [0 127.0.0.1:12386] \"info\" \n115454545.433326 [0 127.0.0.1:12386] \"get\" \"abcdefg:default:is_blog_installed\" \n115454545.446276 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:notoptions\" \n115454545.446748 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:alloptions\" \n115454545.447974 [0 127.0.0.1:12386] \"get\" \"abcdefg:site-options:1-notoptions\" \n115454545.450214 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:uninstall_plugins\" \n115454545.450494 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:adbc_settings\" \n115454545.459437 [0 127.0.0.1:12386] \"get\" \"abcdefg:transient:jetpack_autoloader_plugin_paths\" \n115454545.492232 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:last_changed\" \n115454545.492487 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:get_page_by_path-afbca93b765a014e34c3b6820b03ae61-0.48068700 1626006946\" \n115454545.495225 [0 127.0.0.1:12386] \"get\" \"abcdefg:users:1\" \n115454545.495467 [0 127.0.0.1:12368] \"set\" \"abcdefg:posts:get_page_by_path-afbca93b765a014e34c3b6820b03ae61-0.48068700 1626006946\" \"4892\" \n115454545.495649 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:4892\" \n115454545.496960 [0 127.0.0.1:12386] \"get\" \"abcdefg:user_meta:1\" \n115454545.500257 [0 127.0.0.1:12368] \"get\" \"abcdefg:category_relationships:4892\" \n115454545.500433 [0 127.0.0.1:12368] \"get\" \"abcdefg:post_tag_relationships:4892\" \n115454545.501028 [0 127.0.0.1:12368] \"get\" \"abcdefg:post_meta:4892\" \n115454545.501209 [0 127.0.0.1:12368] \"mget\" \"abcdefg:post_meta:4892\" \n115454545.501786 [0 127.0.0.1:12368] \"set\" \"abcdefg:post_meta:4892\" \"a:6:{s:12:\\\"_dp_original\\\";a:4:{i:0;s:4:\\\"3169\\\";i:1;s:4:\\\"3169\\\";i:2;s:4:\\\"3169\\\";i:3;s:4:\\\"\n3169\\\";}s:10:\\\"_edit_lock\\\";a:1:{i:0;s:12:\\\"1610025253:1\\\";}s:10:\\\"_edit_last\\\";a:1:{i:0;s:1:\\\"1\\\";}s:26:\\\"_yoast_wpseo_content_score\\\";a:1:{i:0;s:2:\\\"30\\\";}s:18:\\\"_yoa\nst_wpseo_title\\\";a:1:{i:0;s:72:\\\"test site name | %%sitename%%\\\";}s:25:\\\"_last_editor_used_jetpack\\\";a:1:{i:0;s:14:\\\"classic-\neditor\\\";}}\" \"nx\" \n115454545.503347 [0 127.0.0.1:12368] \"get\" \"abcdefg:category_relationships:4892\" \n115454545.503623 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:get_terms-6e1d53aea9493791c55e9de090e28339-0.44432000 1626006946\" \n115454545.504485 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:adbc_security_folder_code\" \n115454545.505288 [0 127.0.0.1:12368] \"set\" \"abcdefg:terms:33\" \"o:8:\\\"stdclass\\\":9:{s:7:\\\"term_id\\\";s:2:\\\"33\\\";s:4:\\\"name\\\";s:10:\\\"cate\\\";s:4:\\\"slug\\\";s:10:\\\n\"ns\\\";s:10:\\\"term_group\\\";s:1:\\\"0\\\";s:16:\\\"term_taxonomy_id\\\";s:2:\\\"33\\\";s:8:\\\"taxonomy\\\";s:8:\\\"category\\\";s:11:\\\"description\\\";s:0:\\\"\\\";s:6:\\\"parent\\\";s:1:\\\"0\\\n\";s:5:\\\"count\\\";s:3:\\\"162\\\";}\" \"nx\" \n115454545.505590 [0 127.0.0.1:12368] \"mget\" \"abcdefg:term_meta:33\" \n115454545.505783 [0 127.0.0.1:12368] \"set\" \"abcdefg:terms:get_terms-6e1d53aea9493791c55e9de090e28339-0.44432000 1626006946\" \"a:1:{i:0;o:8:\\\"stdclass\\\":9:{s:7:\\\"te\nrm_id\\\";s:2:\\\"33\\\";s:4:\\\"name\\\";s:10:\\\"nas\\\";s:4:\\\"slug\\\";s:10:\\\"cat\\\";s:10:\\\"term_group\\\";s:1:\\\"0\\\";s:16:\\\"term_taxonomy_id\\\";s:2:\\\"33\\\";s:8:\\\"taxonomy\\\"\n;s:8:\\\"category\\\";s:11:\\\"description\\\";s:0:\\\"\\\";s:6:\\\"parent\\\";s:1:\\\"0\\\";s:5:\\\"count\\\";s:3:\\\"162\\\";}}\" \"ex\" \"86400\" \"nx\" \n115454545.506041 [0 127.0.0.1:12368] \"set\" \"abcdefg:category_relationships:4892\" \"a:1:{i:0;i:33;}\" \"nx\" \n115454545.506230 [0 127.0.0.1:12368] \"get\" \"abcdefg:post_tag_relationships:4892\" \n115454545.506500 [0 127.0.0.1:12368] \"get\" \"abcdefg:terms:get_terms-1b6ab1c307b19f0c438ecd2794aff698-0.44432000 1626006946\" \n115454545.507805 [0 127.0.0.1:12368] \"set\" \"abcdefg:terms:get_terms-1b6ab1c307b19f0c438ecd2794aff698-0.44432000 1626006946\" \"a:0:{}\" \"ex\" \"86400\" \"nx\" \n115454545.507999 [0 127.0.0.1:12368] \"set\" \"abcdefg:post_tag_relationships:4892\" \"a:0:{}\" \"nx\" \n115454545.523354 [0 127.0.0.1:12386] \"get\" \"abcdefg:transient:jetpack_file_data_9.9\" \n115454545.525892 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:perfmatters_version\" \n115454545.534638 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:5925\" \n115454545.535679 [0 127.0.0.1:12386] \"get\" \"abcdefg:options:loginpress_hidelogin\" \n115454545.541282 [0 127.0.0.1:12368] \"get\" \"abcdefg:posts:get_pages-070af02634fc362c1dcc5616bee98a48-0.48068700 1626006946\" \n115454545.544924 [0 127.0.0.1:12368] \"set\" \"abcdefg:posts:get_pages-070af02634fc362c1dcc5616bee98a48-0.48068700 1626006946\" \"a:0:{}\" \n^c \n[0]:ask$ \n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/6) thanks. let’s do it a simpler way. disable redis on the wordpress install then run\n\n\n`redis-cli flushall` from the cli. this will truncate the redis database. then run\n\n\n`redis-cli monitor` with only flarum running\n\n\ndo you see any activity ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/7) thats really a good idea sir\n\n\ni have disabled the redis plugin in wp root\n\n\nand when i run flush all and monitor it was black for a while, so i opened my flarum in private windows its showing some lines i think its seems to be working.\n\n\n\n```\nwecw\\\";s:6:\\\"_flash\\\";a:2:{s:3:\\\"old\\\";a:0:{}s:3:\\\"new\\\";a:0:{}}}\\\";\" \n1694.157636 [3 127.0.0.1:33612] \"setex\" \"yadsfsdfdsfsdfrmlkhyvohn9rt8lp\" \"7200\" \"s:118:\\\"a:2:{s:6:\\\"_token\\\";s:40:\\\"kigxddfdsfasjbxvs7puw\nwecw\\\";s:6:\\\"_flash\\\";a:2:{s:3:\\\"old\\\";a:0:{}s:3:\\\"new\\\";a:0:{}}}\\\";\" \n1694.278286 [0 127.0.0.1:33758] \"select\" \"3\" \n1694.278850 [3 127.0.0.1:33758] \"get\" \"yadsfsdfdsfsdfrmlkhyvohn9rt8lp\" \n1694.431113 [0 127.0.0.1:33762] \"select\" \"3\" \n```\n\n", "name": "", "is_accepted": false }, { "text": "now i have enabled wp redis at root.\n\n\ni think both are working .. unable to select best answer. do mark this as solved.\n\n\nthanks to metabullet.com ❤❤\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/8) yes. for a better idea, clear the flarum cache and reload the forum. you can also check `storage/cache` - you should find that no new entries are in there as redis has assumed control over the cache.\n\n\nyou should 100% split wordpress and flarum so they don’t use the same database.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/10) yes, wordpress uses 0 number db and flarum uses 1 & 2.\n\n\ni have cleared cache files by running flarum clear cache\n\n\nafter fresh reload i still see cache files in storage is it happening since i am not using redis for queue?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/11) are they old files, or new ? can you also confirm you are using `blomstra/flarum-redis` ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/12) yes i am using blomstra/flarum-redis . they are newly created files after the clear cache.\n\n\n![](https://metabullet.com/assets/files/2021-07-12/1626076533-405485-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/13) hmm… i’m not entirely convinced this is working as expected. if it were, then there should be no new files in the cache directory as that is being handled by redis.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/14) shall i wait for the new gb redis setup extension, ian sir said it will be updated in a couple of days. (he might be got stuck with another work)\n\n\nor there is any other way to handle this?\n\n\nas of now cpu usage and ram everything is low, shall i just continue with current settings?\n\n\n-\n\n\nthanks a lot for the extended help & support 👍\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/15) is there any reason as to why you aren’t using cloudflare (i assume) to speed up your website ? redis is a cache, yes, but it’s not a cdn or edge device like cf is, and won’t make much difference to the overall speed.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/16) we are using cloudflare since 2017 😀 and cloudways has a built-in cdn addon too .. how can we apply cdn url to flarum? i’m using fof upload* with imgur.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/17) if you are using cloudflare, then i don’t understand why you need redis ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/18) i don’t know, i thought redis is just like wp total cache. 🙆\n\n\nso i don’t need flarum recache too?\n\n\ni don’t need any cache plugins and extensions too?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/19) if you’re using cloudflare, then no. unless your host is underpowered. are things that slow?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/721/20)\n\n\nroot > cloudflare + redis + wordpress working awsome\n\n\nwithout redis wordpress is not working as expected - after enabling redis with wp my positions got improved\n\n\nsubdirectory > cloudflare + redis + flarum = actually don’t know its working or not but i will uninstall bloomantra during the next flarum update\n\n\ni don’t think i need redis for flarum.\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/721/21) i don’t think you need redis for wordpress either. ask [@justoverclock](https://metabullet.com/u/justoverclock) about what i did to improve justoverclock.it 😃\n\n", "name": "", "is_accepted": false }, { "text": "[unknown] please also tell me what you did?\n\n", "name": "", "is_accepted": false }, { "text": "[[deleted]](https://metabullet.com/d/721/23) all you have to do is [search](https://metabullet.com/d/79-increase-wordpress-speed/20)\n\n", "name": "", "is_accepted": false } ]
4a664e556489455471432292d442412a
[@phenomlab](https://metabullet.com/u/phenomlab) could you please approve if this is a wrong/right approach to decrease the load time of google analytics 4 (google tag manager)? url: forum.acehsc.net before the loading time of (googletagmanager.com) before with the default header code provided by google = 350ms - 490ms after implementing the approach from the article below, by preloading the js file <https://stackoverflow.com/questions/60866470/google-tag-manager-impact-in-web-performance-load-time>
google analytics 4 (google tag manager) performance
metabullet.com
2021.39
[ { "text": "i remembered to check the console, and i see this (what does this mean)\n\n\n[![](https://i.ibb.co/n8fhcrx/image.png)](https://i.ibb.co/n8fhcrx/image.png)\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/2) you'll see this message if the gtm script is being pre-loaded, but not actually used on the site at the time of it's execution.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/3) thanks for the reply, seems like the approach from the article, has no benefit. (been testing for the past 30 mins, no improvement)\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/4) no, not really. if you use the cut down (lite) version of google analytics, it's possible to host it locally which would then reduce the latency.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/5) do you mean for ga4\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/6) yes, but i don't think there is one for ga4. have you considered matomo ? it's more privacy orientated, and i have expertise in that also. you can also self-host this meaning you reduce the latency and dependency on external js\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/7) let me research about it. is metabullet with matomo?\n\n ", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/8) yes :)\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/9) looks interesting, let me get opinions from my seo group.\n\n", "name": "", "is_accepted": false }, { "text": "also, are you able to install matomo analytics without a plugin to a wordpress website (because my main is website is built on wordpress)?\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/11) yes. it uses a js script which is easily added into wordpress.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/12) i like to have the least amount of plugins for my wordpress sites\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/13) agree, although the amount of plugins isn't necessarily the hindrance - rather the way they are written.\n\n", "name": "", "is_accepted": false }, { "text": "i will be happy to move to matomo, however, i want to move all my wordpress sites (5+ hosted on hostinger & one on cloudways ) + flarum. on to one server, with a server management stack. \n\nwhat server management do you recommend? (please consider security and performance aspects too). eventually, if i have everything in one server, i will integrate the matomo to my sites.\n\n\ni found <https://ploi.io/> which looks promising, seen plesk too but it doesn't have redis\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/15) are you looking for a vps ? this sounds like the most viable route, but is typically more expensive than cheaper hosts.\n\n\nplesk does support redis, but you need to install it. metabullet runs this currently. plesk is easily one of the best around.\n\n", "name": "", "is_accepted": false }, { "text": "currently, i'm with vultr hf (quite happy with them, however its not that stable because of last there was outrage 7 hours + in 2 days in a row). i was thinking of moving to google cloud or aws if another outrage happens.\n\n\nim not interested in those traditional hosts anymore, i just want my applications secured and with lighting performance.\n\n\nplesk looks appealing, will it be easy for me too? as a newbie server management to manage 6+ wordpress sites (one with alright traffic 20-30k monthly visits), one flarum, + matomo. also planning to open up a wordpress website freelancer business solely focusing on designing*& building the website lightest way to have better performance. (during covid, i have learnt how to create fast, lightweight wordpress websites. where i have already created for my few family members and friends but now its to time make some $$$)\n\n\nfrom your experience what to recommend me for the long run? (from fb groups, i also have people recommending runcloud.io and gridpane - which very pricey & wordpress only)\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/18/17) plesk looks appealing, will it be easy for me too?\n> \n> \n\n\nyes - and even if it isn't, there's help on metabullet - see <https://metabullet.com/d/16-ionos-hosting/113>\n\n\n\n> [sallymelek](https://metabullet.com/d/18/17) from your experience what to recommend me for the long run? (from fb groups, i also have people recommending runcloud.io and gridpane - which very pricey & wordpress only)\n> \n> \n\n\nmost of this really depends on where you want to concentrate your business. for example, if all of your sites are based in one location (and equally accessed from), it makes sense for the server to be in that same location, or at the very least, in close proximity. however, given technologies such as caching, http2, websockets, and cloudflare (cdn), location matter much less if the content is static, and only presents issues in terms of speed if you include a login section for example, or something that requires no caching.\n\n\nagain, if you are using wordpress, i'd strongly recommend wp-rocket. it's not free, but it's worth every penny. it also interacts well with cloudflare, and a variety of other caching engines such as varnish / redis.\n\n\nthere's a good guide here <https://wp-rocket.me/blog/redis-object-caching/>\n\n\ndependant also on how many sites you want to host, you'll also need to bear in mind the requirement for adequate ram and cpu sockets. my recommendation at this stage is to go for a vps. aws would work well, and you can certainly ask [@mikejones](https://metabullet.com/u/mikejones) about his experiences, as i know he does the same. the real issue with aws is the cost - it'll easily spiral out of control if you don't manage it properly. google cloud works in exactly the same way. if you want to manage small wordpress based sites, you can do this fairly easily with aws lightsail.\n\n\nlocation, location, location - it's key to what you are looking to do. you can have the most powerful server in the world, but if the location is poorly chosen, latency is going to kill any chance of business you may have - bear in mind that the average site should load in around 1 second. any more than that, and your user base is likely to hit the back button rather than wait :)\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/18/18) most of this really depends on where you want to concentrate your business. for example, if all of your sites are based in one location (\n> \n> \n\n\ncurrently, my current location sydney, where i will be focusing on sydney\n\n\n\n> [phenomlab](https://metabullet.com/d/18/18) again, if you are using wordpress, i’d strongly recommend wp-rocket. it’s not free, but it’s worth every penny. it also interacts well with cloudflare, and a variety of other caching engines such as varnish / redis.\n> \n> \n\n\nyeah, i already have been using wp-rocket for 4 years now, where i have varnish & redis, where i'm having a wordpress that loads under 700ms with vultr hf on cloudways (you should also check flying press caching) as i mentioned, during covid, learnt 70% wordpress performance aspect, and still learning new stuff every day.\n\n\n\n> [phenomlab](https://metabullet.com/d/18/18) dependant also on how many sites you want to host, you’ll also need to bear in mind the requirement for adequate ram and cpu sockets. my recommendation at this stage is to go for a vps.\n> \n> \n\n\nthis is the main concern, making sure that excessive resources are not consumed for no reason. yes the server size (also traffic too) will depict the number of hostable sites\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/19) what do you have in mind for monthly or annual budget ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/18)\n\n\nso, could i have one cloud server managed with plesk to host 10+ wordpress sites , flarum & matomo? or do i need to get **plesk multi server** extension and have 10+ wordpress sites on one server, flarum on one and matomo on one?\n\n\nalso, i'm very impressed with **plesk wordpress toolkit**, its has more features than cloudways.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/20)\n\n\nso my current costs are below: (around this range will do for now, however, i will be happy to raise my budget when i'm dealing more websites )\n\n\ncloudways: $13 usd per/ month (for my main site, which gets good ammount of traffic) \n\nvultr: $6 usd (for flarum) \n\nhostinger: i don't know it was black friday sale (sites for my family and friends, but the hosting is awful)\n\n\nhowever, i still have premium dns, cdn, cloud storage costs.\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/21) you'd need just the single server - plesk is licensed for up to 10 domains (for the cheaper licenses), but the real issue here is the performance. you're going to need a ***minimum*** of 4 cores and 8gb ram (this is what powers metabullet). wordpress in itself chews between 512mb - 1gb of ram, and that really depends on what's running. you can set definable limits per subscription though - see below\n\n\n<https://support.plesk.com/hc/en-us/articles/360004857654-how-to-change-the-disk-usage-and-traffic-limit-of-a-subscription-in-plesk->\n\n\nmy main concern is that one server at 4cpu cores and 8gb ram may not be sufficient. again, i'd need more of an idea of budget to make recommendarions.\n\n\nthe wordpress toolkit isn't completely free either, but the vast majority of what you want is included in the free version.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/23)\n\n\nmy current cloudways account is on vultr hf with the following specs,\n\n\n\n```\nram 1gb\nprocessor 1 core\nstorage 32gb\nbandwidth 1tb\n```\n\nwordpress toolkit is free with their plesk web admin edition + plesk web pro edition + plesk web host edition\n\n\nso now $15 bucks will go to plesk web pro edition and plus server costs\n\n", "name": "", "is_accepted": false }, { "text": "and with my flarum forum, i'm with vultr (not hf) =\n\n\n\n```\nram 1gb\nprocessor 1 core\nstorage 25gb\nbandwidth 1tb\n```\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/18/22) cloudways: $13 usd per/ month (for my main site, which gets good ammount of traffic) \n> \n> vultr: $6 usd (for flarum)\n> \n> \n\n\ni take it these are not vps backed - most of the offerings i had in mind are likely to be three times this figure monthly !\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/25) right. these look more like droplets - not a full vps. what's the max spend you want to go to monthly ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/27)\n\n\n± $24\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/28) ok - here's a set of options from ovh \n\n<https://www.ovhcloud.com/en-au/vps/compare/>\n\n\nif you fancy a shock :) have a look at the aws calculator - you're in for a nasty surprise. this is very expensive and you won't even get plesk \n\n<https://calculator.aws/#/createcalculator>\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/18/28) ± $24\n> \n> \n\n\nyou're not going to get much change out of that for a vps with sufficient resources to run 10 wordpress sites.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/30) if that's the case, i can't afford a vps now, need to stay on a droplet for now.\n\n ", "name": "", "is_accepted": false }, { "text": "can't i get a droplet from vultr for a high frequency compute (64 gb ssd, 1 cpu, 2 gb ram, 2 tb bandwidth) with plesk? (like i cant afford an vps)\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/18/32) you can of course, but you are not going to be able to run 10 wordpress sites on it.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/18/33)\n\n\nat the current stage, i will stick my current setups.\n\n\nalso will stick with ga4 but will move to matomo whenever i have a spare server to self-host it .\n\n\nonce again mark, thanks for your advice.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [sallymelek](https://metabullet.com/d/18/34) once again mark, thanks for your advice.\n> \n> \n\n\nalways a pleasure.\n\n", "name": "", "is_accepted": false } ]
017ec48f5edf774d89b6328df20201c2
flagrow ads shows such blank ads in the site. how can we solve this issue? isn't there are better alternative for flagrow ads? ![](https://metabullet.com/assets/files/2021-02-16/1613439300-877661-image.png)
issues with flagrow ads.
metabullet.com
2021.43
[ { "text": "[bishwasbh](https://metabullet.com/d/75/1) can you provide the url of your site please ?\n\n", "name": "", "is_accepted": false }, { "text": "i'm using the andre-pullinen/ads extension. javascript codes do not work. it is showing an empty space.\n\n\n<https://extiverse.com/extension/andre-pullinen/ads>\n\n", "name": "", "is_accepted": false }, { "text": "[dursuncan](https://metabullet.com/d/75/3) is this on <https://sosyal.quzz.net/> ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/4) yes, i have given administrator privileges to phenomlab account. you can try adding javascript code.\n\n", "name": "", "is_accepted": false }, { "text": "[dursuncan](https://metabullet.com/d/75/5) can you provide a sample of the code you've tried ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/6) i had tried the google ads code before.\n\n", "name": "", "is_accepted": false }, { "text": "[dursuncan](https://metabullet.com/d/75/7) ok, but i need this to test :)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/75/2) can you provide the url of your site please ?\n> \n> \n\n\nit's [webmatrices.com](https://webmatrices.com), but i am not currently using this extension because of the issue mentioned above.\n\n", "name": "", "is_accepted": false }, { "text": "[bishwasbh](https://metabullet.com/d/75/9) thanks. is it possible that the extension can be enabled so i can test properly ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/10)\n\n\nwe could test it on my forum\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/75/11) thanks. are you experiencing the same issues ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/12)\n\n\nyes with adsense, it was just showing white blank space\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/75/13) do you still have this running ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/14)\n\n\nnope, but i need the ads to cover my costs\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/75/15) ok. if it's installed, then perhaps we should enable this and see if we can get it working. you could create a class that hides the open gaps so that is not visible to your users.\n\n\ni can attach to the site and work on this, and temporarily remove the classes from the loaded dom.\n\n\nwould that work ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/16)\n\n\nthanks,\n\n\ni have added the adsense code using this template for responsive reasons <https://support.google.com/adsense/answer/9183363?hl=en&visit_id=637455007551677839-866772385&rd=1&authuser=0>\n\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/75/17) thanks. ill check.\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/75/17) i'm not entirely sure that this extension is even working, there's nothing in the console, and no matter what settings i apply, the js doesn't fire :(\n\n\ni also noticed that [@justoverclock](https://metabullet.com/u/justoverclock) has also opened a github issue - <https://github.com/andre-pullinen/ads/issues> - no response though. this seems to be just a fork of the original `flagrow` extension, but it seems a dead cert that this does not work on beta 15. we might be able to do this another way by inserting arbitrary js into a div that we can then position on the site (in the header as a target) to at least get this working in simplistic view to start with - at least then you'll get to realise some form of revenue which you aren't getting now.\n\n\n \n\n", "name": "", "is_accepted": false }, { "text": "\n> [@sallymelek](https://metabullet.com/u/sallymelek) we might be able to do this another way by inserting arbitrary js into a div that we can then position on the site\n> \n> \n\n\nlet me know if you'd like to try this.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/19) thanks for the testing, however it works well with local ads. so the problem is with adsense ads\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/20) lets try it\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/75/22) ok. will look at this tomorrow\n\n", "name": "", "is_accepted": false }, { "text": "[sallymelek](https://metabullet.com/d/75/21) interesting. thanks\n\n", "name": "", "is_accepted": false }, { "text": "just coming back here with an update - it seems there's some momentum in the sense of resurrection from the flarum devs \n\n<https://discuss.flarum.org/d/26394-what-should-an-ads-extension-do>\n\n", "name": "", "is_accepted": false }, { "text": "same issue for me, blank space.\n\n\ninterested to any solutions\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/75/26) i'm actively looking into ways to inject the ads using js, but it will be \"raw\" in the sense that it won't use an extension - it will target specific areas of the forum. i'm also interested to see how this develops with the flarum devs themselves, as there seems to be some renewed interest.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/27) sure, but how could u manage position without extension? \n\nwithout an extension we could place ads only in one position?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/75/28) not the case. you can target existing <div> tags and use css classes such as `:before` to specify the position.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/75/27) i’m actively looking into ways to inject the ads using js, but it will be “raw” in the sense that it won’t use an extension - it will target specific areas of the forum. i’m also interested to see how this develops with the flarum devs themselves, as there seems to be some renewed interest.\n> \n> \n\n\nany news to this project? i'm actually trying to make an extension (an easy maintainable one),\n\n\ni'm trying to create a div in some fixed positions, and try to append the adsense code.\n\n\nbut i need some advice on how we could include a full adsense code into javascript, and use a variable for \"pub id\" and \"ad slot\" passed through app.forum.attribute('myvar')\n\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/75/30) any news to this project?\n> \n> \n\n\nnot yet. haven't had much time to look into this presently. you should be able to inject the adsense code into the dv without too much issue, and provided you are storing the values of `pub id` and `ad slot`, you'd be able to append these as variables. do you have an example of the adsense code ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/31) that's what i'm trying to do without success for now...\n\n\nadsense code:\n\n\n\n```\n<script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\n<!-- timbari 728x90 -->\n<ins class=\"adsbygoogle\"\n style=\"display:inline-block;width:728px;height:90px\"\n data-ad-client=\"ca-pub-your-id-pub\"\n data-ad-slot=\"your-slot-id\"></ins>\n<script>\n (adsbygoogle = window.adsbygoogle || []).push({});\n</script>\n```\n\nand this should be in the <head>\n\n\n`<script data-ad-client=\"ca-pub-6757388076145452\" async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>`\n\n\nfor the head part i think this should be fine:\n\n\n\n```\nvar script= document.createelement('script');\nscript.src = \"some_url\";\ndocument.head.appendchild(script);\n```\n\nbut for the rest i'm stucked\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/75/32) have you managed to inject any div with this code ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/33) yes i have it\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/75/34) can you supply the whole script ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/35) trying this solution but doesn't work\n\n\n\n```\n\nwindow.google_ad_client = \"123456789\";\nwindow.google_ad_slot = \"123456789\";\nwindow.google_ad_width = 200;\nwindow.google_ad_height = 200;\n\n// container is where you want the ad to be inserted\nvar container = document.getelementbyid('ad_container');\nvar w = document.write;\ndocument.write = function (content) {\n container.innerhtml = content;\n document.write = w;\n};\n\nvar script = document.createelement('script');\nscript.type = 'text/javascript';\nscript.src = 'https://pagead2.googlesyndication.com/pagead/show_ads.js';\ndocument.body.appendchild(script);\n```\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/75/36) is anything displayed in the developer console ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/75/37) i see that adsense return an error 400 (that make sense, localhost can't display adsense)\n\n\nso i've tryned with test ad unit, lke official test says...\n\n\n`data-adtest=\"on\"`\n\n\nbut same error, i think i will probably leave this extension to someone more expert\n\n", "name": "", "is_accepted": false } ]
58ccf5d9014a131794fdc26f135370f2
how to install composer? i have tried this but i am still getting an error wget <https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer> -o - -q | php -- --quiet ``` root@demo:~# cd /var/www root@demo:/var/www# php composer-setup.php --install-dir=bin --filename=composer could not open input file: composer-setup.php root@demo:/var/www# wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -o - -q | php -- --quiet root@demo:/var/www# root@demo:/var/www# php composer-setup.php --install-dir=bin --filename=composer could not open input file: composer-setup.php root@demo:/var/www# ``` <https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md>
how do i install composer?
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/763/1) are you using [this](https://getcomposer.org/download/) guide ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/2) i have tried the automatic way but looks like it's not possible\n\n\nah, i was in the wrong page :d\n\n\ndo i need to remove the quotes?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628244693-805417-image.png)\n\n\n\n```\nroot@demo:/var/www# php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\"\nroot@demo:/var/www# php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\"\nroot@demo:/var/www#\n```\n\nedit: looks like i am on the right track\n\n\n\n```\nroot@demo:/var/www# php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\"\nroot@demo:/var/www# php -r \"if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'installer verified'; } else { echo 'installer corrupt'; unlink('composer-setup.php'); } echo php_eol;\"\ninstaller verified\nroot@demo:/var/www# php composer-setup.php\nall settings correct for using composer\ndownloading...\n\ncomposer (version 2.1.5) successfully installed to: /var/www/composer.phar\nuse it: php composer.phar\n\nroot@demo:/var/www# php -r \"unlink('composer-setup.php');\"\nroot@demo:/var/www#\n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/3) yes, correct. you'll need to use `php composer.phar`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/4) do i have the composer now?\n\n\n\n```\nroot@demo:/var/www# php -r \"unlink('composer-setup.php');\"\nroot@demo:/var/www# ^c\nroot@demo:/var/www# sudo mv composer.phar /usr/local/bin/composer\nroot@demo:/var/www# php composer-setup.php --install-dir=bin\ncould not open input file: composer-setup.php\nroot@demo:/var/www# composer create-project flarum/flarum .\ndo not run composer as root/super user! see https://getcomposer.org/root for details\ncontinue as root/super user [yes]? root\nplease answer yes, y, no, or n.\ncontinue as root/super user [yes]? yes\ncreating a \"flarum/flarum\" project at \"./\"\n\n\n [invalidargumentexception]\n project directory \"/var/www/.\" is not empty.\n\n\ncreate-project [-s|--stability stability] [--prefer-source] [--prefer-dist] [--prefer-install prefer-install] [--repository repository] [--repository-url repository-url] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req ignore-platform-req] [--ignore-platform-reqs] [--ask] [--] [<package>] [<directory>] [<version>]\n\nroot@demo:/var/www# y\ny: command not found\nroot@demo:/var/www# php composer.phar\ncould not open input file: composer.phar\nroot@demo:/var/www# php composer-setup.php\ncould not open input file: composer-setup.php\nroot@demo:/var/www# ^c\nroot@demo:/var/www#\n```\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628245219-72344-image.png)\n\n\nmy directory is empty\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/5) yes, but you are targeting a directory that is not empty - see\n\n\n`project directory \"/var/www/.\" is not empty.`\n\n\nensure that destination is empty before running the installation. in your screenshot, you are in `/var/www` but the image shows `public_html`. you'll need to switch to this directory before running the flarum installer\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/6) but, in virtualmin it shows empty?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/7) see above\n\n", "name": "", "is_accepted": false }, { "text": "ohhh, how do i goto public\\_html?\n\n\nlooks i like have installed composer in the wrong folder. how to delete it?\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/9) try `cd /var/www/public_html`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/10)\n\n\n\n```\nroot@demo:/var/www# cd /var/www/public_html\n-bash: cd: /var/www/public_html: no such file or directory\nroot@demo:/var/www# cd\nroot@demo:~# cd /var/www/public_html\n-bash: cd: /var/www/public_html: no such file or directory\nroot@demo:~#\n```\n\ngot it\n\n\n\n```\nroot@demo:~# cd home\n-bash: cd: home: no such file or directory\nroot@demo:~# cd /home\nroot@demo:/home# cd test\nroot@demo:/home/test# cd public_html\nroot@demo:/home/test/public_html#\n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/11) two things here\n\n\n1. don't login as root unless you have to\n2. within the virtualmin domain section, you should have an account configured that allows access as that user (restricted) and you were probably asked for a password for this user when creating the virtual domain\n\n\ncan you confirm this please ? installing as root will cause you permissions issues\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/12) the installer/ setup form offered me to chose a different password and i did. but i am logging into virtualmin using root\n\n\nwhere can i create an ssh and vertualmin user as test?\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628245868-658205-image.png)\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628246037-904365-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/13) you've already created the test account, so you should be able to acces like this `ssh [email protected]` then specify the password you previously entered. once logged in, you can then simply use `cd public_html` and then go from there\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/14)\n\n\n\n```\nps c:\\users\\hari> ssh [email protected]\nssh: connect to host test.tk port 22: connection timed out\nps c:\\users\\hari>\n```\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/15) is `test.tk` your domain ? i'm guessing it isn't :) \n\nin this case, try `ssh test@ipaddress`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/16) it's something like haritest.tk 😂\n\n\nanyway i could able to login using test@ip , but i forgot the password, where can i reset it?\n\n ", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/17) you can do that from within the virtualmin panel - see the screenshot you posted earlier.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/763/18) no sir i could not able give ssh permission to other user\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628255072-992046-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/763/19) you don't need to\n\n\n![](//cdn.metabullet.com/assets/files/2021-08-06/1628255792-371085-image.png)\n\n\nyou only need to change the password of this user\n\n", "name": "", "is_accepted": false }, { "text": "got it\n\n", "name": "", "is_accepted": false }, { "text": "finally installed composer now on the way to setup flarum.\n\n\nmark this as solved, since it's a long discussion i don't know which one to select as best answer.\n\n\nthanks a lot, linux is a new pet in my family now 🐧\n\n", "name": "", "is_accepted": false } ]
f249a8a6837807b5b8771b9675626d24
hi phenomlab, i have a question for u on my local flarum i'm starting to write another extension, that create a new page and link into ne sidenav, in this page i want to display things, like text and images, and i want to reuse your fancybox for images.... how can i do that? because adding a class="fancybox" not work. i need to include something more?
fancybox wrapper re-use
metabullet.com
2021.43
[ { "text": "[justoverclock](https://metabullet.com/d/508/1) hi - the `fancybox-wrapper` extension is very simplistic in it's approach, and uses the below code as `extend.php` - it has no settings\n\n\n\n```\n<?php\nuse flarum\\extend;\nuse flarum\\frontend\\document;\n\nreturn [\n (new extend\\frontend('forum'))\n ->content(function (document $document) {\n $document->head[] = '<script defer type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.js\"></script>';\n $document->head[] = '<link rel=\"preload\" as=\"style\" href=\"https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.css\" onload=\"this.onload=null;this.rel=\\'stylesheet\\'\">';\n $document->foot[] = <<<html\n<script>\nflarum.core.compat.extend.extend(flarum.core.compat['components/commentpost'].prototype, 'oncreate', function (output, vnode) {\n const self = this;\n\n this.$('img').not('.emoji').not(\".avatar\").not($(\".postmeta-ip img\")).each(function () {\n var currentimage = $(this);\n var checksrc = currentimage.attr(\"data-src\");\n if (checksrc) {\n $(this).wrap(\"<a class=\\\"fancybox\\\" href='\" + currentimage.attr(\"data-src\") + \"'></a>\");\n }\n else {\n $(this).wrap(\"<a class=\\\"fancybox\\\" href='\" + currentimage.attr(\"src\") + \"'></a>\");\n }\n try {\n $().ready(function(){\n $().fancybox({\n selector: '.fancybox'\n });\n })\n } catch (e) {\n console.error(e.name);\n console.error(e.message);\n }\n });\n});\n</script>\nhtml;\n })\n];\n```\n\nthe extension just hooks into the comments and posts, and inserts itself as an attribute where an `img` tag (for example) exists. based on this, unless your extension also hooks into the comments and posts, then you probably can't reuse it, but will need to add it to your own extension. however, this is likely to cause issues as the libraries will effectively land up being loaded twice.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/508/2) thats because i ask this, there's a way to simply call yours?\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/508/3) no, it won't work as the targets will be different. having said that though, i could extend mine if you can give me the target.\n\n", "name": "", "is_accepted": false }, { "text": "mmmhh how can i show u my target, i've created a new route/page \n\nthe extension will be justoverclock/flarum-ext-gallery\n\n\nwill be useful if we can callback some extensions functions, i will ask into discuss also\n\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/508/5) mmmhh how can i show u my target, i’ve created a new route/page\n> \n> \n\n\nthat doesn't matter. you just need to provide me with the div / class that you are targeting\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/508/6) oh ok, so i will finish the page first, and then i will post here when is finished :)\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/508/7) i will also install your extension to test the targets. once we get this working, you should also consider making `phenomlab/fancybox-wrapper` a dependency for your own extension. that way, if it's not installed, it will be alongside your extension.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/508/8) sure, when all its done we will do this also!\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/508/9) any update ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/508/10) not for now, my idea was to create an extension that make an automatic gallery from a folder....but i need to understand well js first, without help is a long work for me\n\n ", "name": "", "is_accepted": false } ]
b9c0d7157e7044823d1fae3cdc803500
interested what you use for your font css here. your font is super readable…. i didn’t realize how tiny the text was on my own flarum until i have been reading things here 😆 now i am thinking i need to tweak mine a little.
css for your font?
metabullet.com
2021.31
[ { "text": "\n> [mikejones](https://metabullet.com/d/166/1) interested what you use for your font css here.\n> \n> \n\n\nthe font used here is “poppins” (as in “mary”) - it’s a google font, and available [here](https://fonts.google.com/specimen/poppins?preview.text_type=custom). however, i have “tailored” this font somewhat in terms of letter spacing, and line height. the css i use for that is here (it’s set at `body` level meaning i don’t need to worry about individual classes)\n\n\n\n```\nbody {\n font-family: \"poppins\";\n color: #cccccc;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n letter-spacing: .0125em;\n background: #242425;\n}\n```\n\ni elected to host this font locally, in order to reduce unnecessary http requests. in the custom footer of this site, i use\n\n\n\n```\n<style>\n/* poppins-regular - latin */\n@font-face {\n font-family: 'poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url('/fonts/poppins-v15-latin-regular.eot'); /* ie9 compat modes */\n src: local(''),\n url('/fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* ie6-ie8 */\n url('/fonts/poppins-v15-latin-regular.woff2') format('woff2'), /* super modern browsers */\n url('/fonts/poppins-v15-latin-regular.woff') format('woff'), /* modern browsers */\n url('/fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* safari, android, ios */\n url('/fonts/poppins-v15-latin-regular.svg#poppins') format('svg'); /* legacy ios */\n}\n}\n</style>\n```\n\nand to download the fonts locally, you can use the google font helper [here](https://google-webfonts-helper.herokuapp.com/fonts)\n\n\ni’ve played with various fonts over the years, and was looking for the ultimate in readability. i think i’ve finally found it, and am using it here 🙂 the key to getting the font size right is to use `em` rather than `px`. it scales well on mobile devices, and i use it as follows in css. one final touch is to use a `text-shadow` css class. i’ve avoided it here, but it’s useful in headers to make text stand out. a word of warning though - don’t *overuse* it.\n\n\n\n```\n font-size: 1rem;\n```\n\n", "name": "", "is_accepted": true }, { "text": "[phenomlab](https://metabullet.com/d/166/2) awesome thanks! when i have some free time i may give this a try on my flarum.\n\n\nhope you don’t mind me copying the fonts 😃\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/3) hope you don’t mind me copying the fonts\n> \n> \n\n\nnot at all !! feel free.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/166/2) in the custom footer of this site, i use\n> \n> \n\n\nis there a reason why you host the font style in the footer and not someplace else like the head?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/5) is there a reason why you host the font style in the footer and not someplace else like the head?\n> \n> \n\n\nyes, i do that so i can defer the font meaning that the page renders before the font loads, and meaning there is no reliance on it. the overall impact is page speed and ttfb when content is being rendered (prevents blocking)\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/166/2) and to download the fonts locally, you can use the google font helper [here](https://google-webfonts-helper.herokuapp.com/fonts)\n> \n> \n\n\nso i downloaded the font using the helper as you suggested. would i just drop this folder into my flarum storage directory? i guess i am a little confused on where it should go in the flarum file structure.\n\n\n\n> [phenomlab](https://metabullet.com/d/166/6) yes, i do that so i can defer the font meaning that the page renders before the font loads, and meaning there is no reliance on it.\n> \n> \n\n\ngotcha, that makes sense, thanks!\n\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/7) so i downloaded the font using the helper as you suggested. would i just drop this folder into my flarum storage directory? i guess i am a little confused on where it should go in the flarum file structure.\n> \n> \n\n\nyou can place it wherever you want. the key here is to ensure that the relative path is correct. i typically take the following route\n\n\n1. use the google font helper, but when you’ve selected the font you require, designate a path. in my case, i chose “fonts” (how imaginative 🙂) and then specified that in the css\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615389706-894934-image.png)\n\n\nnote, that i removed the prior `../` as this means “two back” - we want the relative path, so this becomes `/fonts/`\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615389772-649914-image.png)\n\n\n2. now save the downloaded zip, and extract to `<flarumroot>/fonts`\n3. save the css as it is in the panel, and add that to the footer\n4. finally, change your body css so that it uses `font-family: \"poppins\"` as i defined in the first post.\n\n\nthat’s it.\n\n", "name": "", "is_accepted": false }, { "text": "well i am almost there… tried to curl it to my server and it didn’t like trying to unzip the file:\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo curl https://discord.com/channels/703436505619759185/819232307986694194/819232399539175454 -o poppins-v15-latin.zip\n % total % received % xferd average speed time time time current\n dload upload total spent left speed\n100 4465 100 4465 0 0 87549 0 --:--:-- --:--:-- --:--:-- 87549\nubuntu@ip-172-31-92-154:/var/www/seekadventure.net$ ls\n changelog.md composer.lock flarum public vendor workbench\n composer.json config.php license readme.md vendor2\n composer.json.save extend.php poppins-v15-latin.zip storage 'view?usp=sharing'\nubuntu@ip-172-31-92-154:/var/www/seekadventure.net$ sudo unzip poppins-v15-latin.zip \narchive: poppins-v15-latin.zip\n end-of-central-directory signature not found. either this file is not\n a zipfile, or it constitutes one disk of a multi-part archive. in the\n latter case the central directory and zipfile comment will be found on\n the last disk(s) of this archive.\nunzip: cannot find zipfile directory in one of poppins-v15-latin.zip or\n poppins-v15-latin.zip.zip, and cannot find poppins-v15-latin.zip.zip, period.\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/9) why is the curl path `https://discord.com/channels/703436505619759185/819232307986694194/819232399539175454` ?\n\n\nwouldn’t using\n\n\n\n```\nwget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip&subsets=latin&variants=regular\n```\n\nmake more sense ?\n\n\nactually, that still might cause issues. probably quicker to download it locally, then transfer it to the aws instance via scp ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/10) because i like making things harder for myself 😆\n\n\nso i tried that and i look stuck on my terminal window now so i did a ctr-c and not sure if this looks right now…\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo wget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip&subsets=latin&variants=regular\n[1] 135354\n[2] 135355\nubuntu:/var/www/seekadventure.net$ \nredirecting output to ‘wget-log’.\n^c\n[1]- done sudo wget http://google-webfonts-helper.herokuapp.com/api/fonts/poppins?download=zip\n[2]+ done subsets=latin\nubuntu:/var/www/seekadventure.net$ ^c\nubuntu:/var/www/seekadventure.net$ ls\n changelog.md composer.lock flarum public vendor workbench\n composer.json config.php license readme.md vendor2\n composer.json.save extend.php 'poppins?download=zip' storage wget-log\nubuntu:/var/www/seekadventure.net$ \n```\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/11) so i tried that and i look stuck on my terminal window now so i did a ctr-c and not sure if this looks right now…\n> \n> \n\n\nnope. try\n\n\n\n```\nwget http://metabullet.com/fonts/poppins-v15-latin.zip\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/12) that worked!\n\n\nwhen i unzipped it it through the files out… assume i should try again and unzip into a folder called fonts right?\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ sudo unzip poppins-v15-latin.zip \narchive: poppins-v15-latin.zip\n inflating: poppins-v15-latin-regular.eot \n inflating: poppins-v15-latin-regular.woff \n inflating: poppins-v15-latin-regular.woff2 \n inflating: poppins-v15-latin-regular.ttf \n inflating: poppins-v15-latin-regular.svg \nubuntu:/var/www/seekadventure.net$ ls\nchangelog.md config.php poppins-v15-latin-regular.eot poppins-v15-latin-regular.woff2 storage\ncomposer.json extend.php poppins-v15-latin-regular.svg poppins-v15-latin.zip vendor\ncomposer.json.save flarum poppins-v15-latin-regular.ttf public vendor2\ncomposer.lock license poppins-v15-latin-regular.woff readme.md workbench\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "so i think i got it working…. font dedf changed. but its not as big or clear as yours…. the only code i changed from your css was i removed the background line because i didn’t want to change the color of my background…\n\n\ni don’t think that would have affected the size?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/14) shouldn’t have done - is it live now ?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/14) are you sure the fonts are in fact in that location ? i’m getting a 404\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615393826-733792-image.png) \n\n![](https://metabullet.com/assets/files/2021-03-10/1615393955-209507-image.png)\n\n\nthe times new roman fallback font is also being loaded because of the 404\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615394031-145966-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "hmmm its in a fonts folder… maybe not publicly accessible? maybe move to the flarum public folder?\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/13) assume i should try again and unzip into a folder called fonts right?\n> \n> \n\n\nyes, correct. the “fonts” folder needs to be in the flarum root\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/17) maybe not publicly accessible? maybe move to the flarum public folder?\n> \n> \n\n\nwho owns the folder ? should be your www-user\n\n\ncan you send me the output of `ls -la` from the flarum root ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/19) yep looks like root root….\n\n\n`drwxr-xr-x 2 root root 4096 mar 10 16:01`\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/20) that’s the problem. you’ll need to change the owner from root to your www-user\n\n\nso, if your nginx user is `www-data`, you’d use `sudo chown -r www-data:www-data /flarumroot/fonts/`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/21) so i was close at trying this before you came in lol. let me try your code above. i tried this…\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -l\ntotal 556\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\ndrwxr-xr-x 2 root root 4096 mar 10 16:01 fonts\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench\nubuntu:/var/www/seekadventure.net$ chown -r www-data:fonts \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/22) if you execute the command from there, it can simply be `sudo chown -r www-data:www-data /fonts`\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/23) so i ran it successfully then cleared my cache and i still get the 404 on the fonts…\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/24) can you send me an `ls -la` again please ?\n\n", "name": "", "is_accepted": false }, { "text": "also, dumb question, but “fonts” is a directory, and not a file ?? send also an `ls -lap`. this will place a “/” after each actual directory, so you’ll easily see if it’s a directory or a file.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/26) of course:\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -la\ntotal 576\ndrwxrwxr-x 8 www-data www-data 4096 mar 10 16:00 .\ndrwxr-xr-x 5 root root 4096 dec 19 2018 ..\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 354 dec 6 2018 .editorconfig\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\n-rw-r--r-- 1 root root 1024 dec 21 2018 .flarum.swp\ndrwxr-xr-x 2 www-data www-data 4096 mar 10 16:01 fonts\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 www-data www-data 1509 dec 6 2018 .nginx.conf\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/27) and `ls -lap` please. also useful, would be\n\n\n\n```\ncd fonts\ndir\n```\n\nthanks\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/28)\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ ls -lap\ntotal 576\ndrwxrwxr-x 8 www-data www-data 4096 mar 10 16:00 ./\ndrwxr-xr-x 5 root root 4096 dec 19 2018 ../\n-rw-r--r-- 1 www-data www-data 252 dec 6 2018 changelog.md\n-rw-r--r-- 1 www-data www-data 4297 feb 18 03:37 composer.json\n-rw-r--r-- 1 www-data www-data 4153 jul 11 2019 composer.json.save\n-rw-r--r-- 1 www-data www-data 441505 mar 2 01:50 composer.lock\n-rw-r--r-- 1 www-data www-data 511 dec 23 19:48 config.php\n-rw-r--r-- 1 www-data www-data 354 dec 6 2018 .editorconfig\n-rw-r--r-- 1 www-data www-data 342 jan 16 2019 extend.php\n-rw-r--r-- 1 www-data www-data 487 dec 6 2018 flarum\n-rw-r--r-- 1 root root 1024 dec 21 2018 .flarum.swp\ndrwxr-xr-x 2 www-data www-data 4096 mar 10 16:01 fonts/\n-rw-r--r-- 1 www-data www-data 1073 dec 6 2018 license\n-rw-r--r-- 1 www-data www-data 1509 dec 6 2018 .nginx.conf\n-rw-r--r-- 1 root root 57556 mar 10 15:53 poppins-v15-latin.zip\ndrwxr-xr-x 4 www-data www-data 4096 mar 2 05:12 public/\n-rw-r--r-- 1 www-data www-data 2623 dec 6 2018 readme.md\ndrwxr-xr-x 11 www-data www-data 4096 dec 30 2018 storage/\ndrwxr-xr-x 61 www-data www-data 4096 mar 2 01:50 vendor/\ndrwxr-xr-x 38 www-data www-data 4096 dec 30 2018 vendor2/\ndrwxr-xr-x 4 root root 4096 dec 23 06:51 workbench/\nubuntu:/var/www/seekadventure.net$ \n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/29) and\n\n\n\n```\ncd fonts\ndir\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/30)\n\n\n\n```\nubuntu:/var/www/seekadventure.net$ cd fonts/\nubuntu:/var/www/seekadventure.net/fonts$ dir\npoppins-v15-latin-regular.eot poppins-v15-latin-regular.ttf poppins-v15-latin-regular.woff2\npoppins-v15-latin-regular.svg poppins-v15-latin-regular.woff poppins-v15-latin.zip\n```\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/31) very odd. can you restart nginx ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/32) just ran a `sudo systemctl restart nginx` and still same error….\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/33) i just signed up to your forum (phenomlab). can you make me an admin please ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/34) permissions granted 😀\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/35) i don’t have admin. you’re using recache, yes ? can you execute `php flarum recache:clear` as it appears your cache is out of sync\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/36) should be good now?\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/37) can you provide a copy of your `nginx.conf` file ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/38) the. file under sites-available?\n\n\nif so:\n\n\n\n```\nserver {\n server_name seekadventure.net;\n return 301 https://www.seekadventure.net$request_uri;\n\n listen 443 ssl; # managed by certbot\n ssl_certificate /etc/letsencrypt/live/seekadventure.net/fullchain.pem; # managed by certbot\n ssl_certificate_key /etc/letsencrypt/live/seekadventure.net/privkey.pem; # managed by certbot\n include /etc/letsencrypt/options-ssl-nginx.conf; # managed by certbot\n ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by certbot\n\n # security headers\n add_header strict-transport-security \"max-age=31536000; includesubdomains; preload\";\n \nclient_max_body_size 300m;\n\n location ~* ^/(composer\\.(json|lock)|config\\.php|flarum|storage|vendor) {\n deny all;\n return 404;\n}\n\n\n\n}\n\nserver {\n # security headers\n add_header strict-transport-security \"max-age=31536000; includesubdomains; preload\";\n\n \n root /var/www/seekadventure.net/public;\n index index.php index.html index.htm;\n error_log /var/log/nginx/error.log error;\n\n server_name www.seekadventure.net;\n \n client_max_body_size 300m;\n\n\n location / { try_files $uri $uri/ /index.php?$query_string; }\n \n \n\n location /flarum {\n deny all;\n return 404;\n }\n\n location ~ .php$ {\n fastcgi_split_path_info ^(.+.php)(/.+)$;\n fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;\n fastcgi_index index.php;\n include fastcgi_params;\n\n\n\n fastcgi_param script_filename $document_root$fastcgi_script_name;\n }\n\n location ~* \\.html$ {\n expires -1;\n }\n\n location ~* \\.(css|js|gif|jpe?g|png)$ {\n expires 1m;\n add_header pragma public;\n add_header cache-control \"public, must-revalidate, proxy-revalidate\";\n }\n\n location ~* ^/(composer\\.(json|lock)|config\\.php|flarum|storage|vendor) {\n deny all;\n return 404;\n }\n\n gzip on;\n gzip_http_version 1.1;\n gzip_vary on;\n gzip_comp_level 6;\n gzip_proxied any;\n gzip_types application/atom+xml\n application/javascript\n application/json\n application/vnd.ms-fontobject\n application/x-font-ttf\n application/x-web-app-manifest+json\n application/xhtml+xml\n application/xml\n font/opentype\n image/svg+xml\n image/x-icon\n text/css\n text/plain\n text/xml;\n gzip_buffers 16 8k;\n gzip_disable \"msie [1-6]\\.(?!.*sv1)\";\n\n\n\n listen 443 ssl; # managed by certbot\n ssl_certificate /etc/letsencrypt/live/seekadventure.net/fullchain.pem; # managed by certbot\n ssl_certificate_key /etc/letsencrypt/live/seekadventure.net/privkey.pem; # managed by certbot\n include /etc/letsencrypt/options-ssl-nginx.conf; # managed by certbot\n ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by certbot\n\n\n}\n\n\nserver {\n if ($host = seekadventure.net) {\n return 301 https://$host$request_uri;\n } # managed by certbot\n\n\n listen 80;\n server_name seekadventure.net;\n return 404; # managed by certbot\n\n\n}\n\nserver {\n if ($host = www.seekadventure.net) {\n return 301 https://$host$request_uri;\n } # managed by certbot\n\n\n listen 80;\n\n server_name www.seekadventure.net;\n return 404; # managed by certbot\n\n\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/39) thanks. something i want to test here. can you\n\n\n1. add this line into your server block, under `location /flarm`\n\n\n\n```\n location /fonts {\n }\n```\n\n2. add a basic .txt file into the /fonts folder, so `sudo touch /fonts/test.txt`\n3. issue `chown -r www-data:www-data /fonts`\n4. restart nginx\n\n\nif all goes well, i should be able to reach the test.txt file from any browser.\n\n\nwhat i think is happening here is that all folder requests are being redirected to `index.php` meaning flarum is expecting to serve this subfolder.\n\n\nif this last test fails, we can “cheat” and move the fonts to the `assets` folder and then change the css to suit. however, let’s try with steps 1-4 first.\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/40) so i just moved the fonts folder to the public folder and everything i think is working now! i didn’t change the path of the css though…. but i guess it found it 🤷‍♂️\n\n\nthe font is bigger now but it still looks. a little smaller than your font.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/41) so i just moved the fonts folder to the public folder and everything i think is working now! i didn’t change the path of the css though…. but i guess it found it\n> \n> \n\n\nand there’s the disconnect ! you are using `/public` whereas i don’t, so the `fonts` folder should have been in the `public` directory 🙂\n\n\n\n> [mikejones](https://metabullet.com/d/166/41) the font is bigger now but it still looks. a little smaller than your font.\n> \n> \n\n\nlet me check\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/41) looks like i’ve set an additional inheritance in css so that `.post-body` adopts `body`. i’ve added the below css to to your forum\n\n\n\n```\n.post-body {\n font-size: inherit;\n}\n```\n\nreload your page - is this what you wanted ?\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/43) yep, that looks awesome!!! thanks! i feel like my forum’s much more easily readable especially on mobile device now!\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/44) no problem. one thing i did notice is that the increase in font size has a negative impact on larger screens.\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615400407-364497-image.png)\n\n\nyou can fix that with this css\n\n\n\n```\n@media (min-width: 1100px) {\n.container {\n width: 1200px;\n}\n}\n```\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/45) on how big of screen. i am on my laptop and things look pretty good.\n\n\nis that css just making the post container wider?\n\n", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/166/46) on how big of screen. i am on my laptop and things look pretty good.\n> \n> \n\n\n2560 × 1440 🙂 i have a large monitor\n\n\n\n> [mikejones](https://metabullet.com/d/166/46) is that css just making the post container wider?\n> \n> \n\n\nyes - only by 100px but enough to throw it out of line and make it look bad. adding 100px fixes that\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/46) much better 🙂\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615400625-590435-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "everything is looking great! one thing i noticed is if you scroll down to the bottom of this article: <https://www.seekadventure.net/d/192-pakayak-142-review-first-look>\n\n\nand see the details tag i use for “more kayaking adventures” it shows a down arrow on desktop but not on mobile anymore…\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/49) i don’t see it on mobile view, and it’s not in the html from what i can see ?\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615400909-550791-image.png)\n\n\nare you sure it’s actually there ?\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/51) here is a screenshot from desktop:\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615401098-195642-screen-shot-2021-03-10-at-103101-am.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/52) can you clear your browser cache and try again? i do not see this listed in an incognito session.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/53) what browser are you using, firefox?\n\n\ni think if i remember correctly that firefox doesn’t shiw the arrow of the details extension\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/54) i’m using chrome. tried from firefox, chromium, brave, and edge. the icon isn’t even loaded with the html, so it’s not there 🤷‍♂️\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/55) odd shows up for me on safari and chrome on my laptop…\n\n\ni will have to check out the discuss discussion on the extension i think there were some possible css solutions to get it to work on firefox so maybe i will try that as the default\n\n ", "name": "", "is_accepted": false }, { "text": "odd thing is that it shows on mobile for me\n\n\n![](https://metabullet.com/assets/files/2021-03-10/1615403223-868461-screenshot-20210310-190626.jpg)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/56) try disabling recache also as a test\n\n", "name": "", "is_accepted": false }, { "text": "i tried changing some css didn’t work.\n\n\ni assume my phone screen is smaller than yours and maybe that’s why i am not seeing it with the larger font….\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/166/59) could be the case, yes.\n\n", "name": "", "is_accepted": false }, { "text": "i just have to say that i like the chosen font and the spacing and size. so very easy to read. i also like that you didn’t make the text color white. i like that the text font isn’t so bright. also makes it easy to read, imho.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/166/61) yes, i’m a bit obsessive with fonts and readability, and it took me a while to settle on this one. ironically, this one was chosen at random as i saw a preview of it elsewhere and instantly liked the way it looked. i have adjusted the line height and letter spacing from the original though, but not by that much.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/166/62) it was a very good choice. well done!\n\n", "name": "", "is_accepted": false } ]
69d8a9b8bbcc29ebe5679181e399a8d3
i've today applied a new theme which i finally finished (well, some parts need some work) which is based on the [nord palette](https://www.nordtheme.com/) this is the old one ![](https://metabullet.com/assets/files/2021-03-09/1615295612-619532-image.png) and here's the replacement ![](https://metabullet.com/assets/files/2021-03-11/1615488439-804527-metabullet.png) i've actually had this tucked away for some time, but today finally decided to complete it. the orange is gone 😁 still see the old theme? clear your cache, or reload your browser 👍️
new theme
metabullet.com
2021.39
[ { "text": "looks great mark, love it.\n\n ", "name": "", "is_accepted": false }, { "text": "i like this one :d\n\n", "name": "", "is_accepted": false } ]
2376b6f571c75017791d4709d5365721
i have downloaded your pwa on my android phone and i notice every time i click on your app icon i see your image before the site opens and your site is fully refreshed. my pwa for my site doesn't fully refresh each time its openned.
did you tweak your pwa extension?
metabullet.com
2021.39
[ { "text": "as i play with yours more now its acting like mine lol. maybe i just don't open yours as often as mine lol\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/184/2) you know what's the craziest part here? i could never get this to work as i wanted. either the notifications just don't fire, or it's something else. i was going to give up here, but this new post may just reignite some desire to investigate fully 🙂\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/184/3) your notifications have been working well for me i think.\n\n ", "name": "", "is_accepted": false }, { "text": "\n> [mikejones](https://metabullet.com/d/184/4) your notifications have been working well for me i think.\n> \n> \n\n\nreally? never seems to work for me !!\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/184/5) sooo i always get a notification.... but its a bit strange.\n\n\nso when you just replied, i got notified about my previous comment lol.\n\n\nwhen i post a reply it doesn't notify me which is good but when someone responds to me it correctly sends a notice but for the reply i sent if that makes sense...\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/184/6) makes sense, yes, but your experience is completely different to mine 😕 i'll need to test this as it is something i actually want to work properly.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/184/7) so for example when you replied a few minutes ago this was the notice i got:\n\n\n![](https://metabullet.com/assets/files/2021-03-11/1615489086-760934-screenshot-20210311-105414.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/184/8) bizarre. you're getting more than i do though !!\n\n", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/184/8) this is fact is the furthest i've managed to get on metabullet\n\n\n![](https://metabullet.com/assets/files/2021-03-12/1615572175-112704-screenshot-20210312-180104.jpg)\n\n\nseems like this is a regular occurrence on pwa apps from what i've read. it's a shame as i have our working on another forum which is almost three same but not sure why it doesn't work here for me - despite it working for you 😕\n\n", "name": "", "is_accepted": false } ]
cf2a91c41561e9e81a5b88eb6c4ed9e1
there doesn't seem to be anywhere you can discuss 5g these days without running into conspiracy theories around the technology causing covid or cancer. with the technology starting to manifest itself into our daily lives (some much faster than others depending on your coverage area and network provider), i wanted to start a thread around what you thought of this technology, where you see the usage of it, and most of all, would you use it yourself ? courtesy of [this](https://www.nperf.com/en/map/gb/-/322.three/signal/?ll=55.751357157443756&lg=-3.4249999999999963&zoom=5) site, the coverage from my mobile operator in the uk (three) looks like this ![](https://metabullet.com/assets/files/2021-03-29/1617037867-415059-image.png) i'm also interested in your views - pro's / con's of this technology. let's get the conversation started !
are you prepared for 5g ?
metabullet.com
2021.39
[ { "text": "i like technology advances. i am sure that 5g allows services to benefit from it. whether it is in regards of being able to provide a more fast and efficient service or a more reliable connection. i can see how cell phone providers can provide faster data and have more people on the network without it slowing down, which i suppose would allow different services to utilize what i mentioned above. one of the things that i wish, is that the cell phone providers would have true unlimited data. i think that they have their different service plans to try and get more money out of a person. if they own the towers and provide the connection to everything they really should be able to provide truly unlimited data just like you would have with a internet connection from home from a local isp.\n\n\nthe only examples i can come up with right now in regards to faster services would be emergency services, or a location type of service. i am sure that there are other aspects that would come in handy with a faster network. i haven't done a lot of research on 5g and from what i understand from what i have seen so far, it is supposed to be far superior than 4g. i would hope more reliable as well, although i usually don't have any issues with 4g.\n\n", "name": "", "is_accepted": false } ]
a20d636e3c658972b5802ea42bb6a1f3
what is the best practice for log retention? i am managing my own web server and i have never deleted any of its logs, from anything running on the website. i figure eventually i should clean these up and delete all the logs due to space eventually filling up. but are their security reason as to why i should keep logs for x amount of time? for deleting logs, what's the best way to manage the constant clean up? i know i have nginx logs, php logs and flares logs, but i am sure there are others that may be filling up without me noticing. thanks!
best practice for log retention?
metabullet.com
2021.39
[ { "text": "[mikejones](https://metabullet.com/d/3/1) much of this really depends on what you plan to do with the logs collected from a regulatory or security reason. see below\n\n\n\n> [mikejones](https://metabullet.com/d/3/1) i am managing my own web server and i have never deleted any of its logs, from anything running on the website.\n> \n> \n\n\nis this linux ? from memory, it is. `logrotate` should already be active on that system (providing it is configured) - in most cases, logs are stored within `/var/logs/` and you should see iterations of the older log files that have been automatically rotated with a view to keeping the log sizes sane, and at the same time, providing a mechanism for archive\n\n\n\n> [mikejones](https://metabullet.com/d/3/1) for deleting logs, what's the best way to manage the constant clean up?\n> \n> \n\n\nagain, this really depends on how long you plan to retain those logs, and what purpose that will be for. logging is generally useful in order to track a particular issue or error, but for the most part, rarely used unless there is an issue to track. logrotate once configured correctly will handle the rotation and retention of logs. after a period of time, older logs will \"drop off\" and no longer be available.\n\n\nif disk usage is an issue (as it would be in setups such as amazon web services), and any subsequent backups are increasing owing to the size of the logs, it makes sense to set a policy in order to retain what you need, and discard the rest. i can provide further detail on this if i'm able to understand what the requirements and setup are.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/3/2) is this linux ? from memory, it is. logrotate should already be active on that system (providing it is configured)\n> \n> \n\n\ni am on linux, a ubuntu aws instance. is there a way to check if logrotate is enabled and configured properly? this sounds like what i should look into.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/3/3) yes - first check it's actually installed. if you get an error, it's not installed, and so you'd need to do `sudo apt install logrotate`\n\n\n`logrotate --version`\n\n\nthen, check the configuration file to see how it is configured (i'm assuming nano is your text editor here - feel free to substitute that with vim for example if you are using that)\n\n\n`sudo nano /etc/logrotate.conf`\n\n\nfinally, check in `sudo nano /etc/logrotate.d/` as this is where applications which are installed will place their logrotate configuration. a quick way of determining configuration would be\n\n\n`cat /etc/logrotate.d/apt`\n\n\nthere's a well written guide here which will be of use - <https://www.digitalocean.com/community/tutorials/how-to-manage-logfiles-with-logrotate-on-ubuntu-16-04>\n\n", "name": "", "is_accepted": false }, { "text": "[@mikejones](https://metabullet.com/u/mikejones) just to circle back on this point, as it's something that virtualmin will handle for you also 😀\n\n ", "name": "", "is_accepted": false } ]
9db113a3154231a26e48500680d9a849
i’ve heard about ghost cms, and seems to be really amazing (like flarum), anyone have done some test on it? the really worst thing is that can’t be used on shared hosting, only on vps (and i do not have experience to this)
what u think about ghost cms?
metabullet.com
2021.39
[ { "text": "[justoverclock](https://metabullet.com/d/545/1) two things spring to mind here.\n\n\n1. ghost cms leverages nodejs but still uses mysql as it's database backend. however, it doesn't use php meaning it will be inherently faster than wordpress (and flarum - this is the reason why i'm using nodebb at <https://phenomlab.com>)\n2. you can get a very cheap vps from hetzner. learning how to work with such technology is made much easier by leveraging open source control panels such as webmin and virtualmin\n\n\ni'm going to be assisting [@jac](https://metabullet.com/u/jac) with a nodebb project he's going to be starting soon, and would be happy to assist you also.\n\n ", "name": "", "is_accepted": false }, { "text": "for now its impossible, because i need to think about two problem:\n\n\n* if is possible for me to migrate on a vps (3 website at moment)\n* if its possible to migrate from wordpress (that i actually hate) to ghost cms\n* if will cost the same as now (35€/month)\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/545/3) if is possible for me to migrate on a vps (3 website at moment)\n> \n> \n\n\nyes, no problems\n\n\n\n> [justoverclock](https://metabullet.com/d/545/3) if its possible to migrate from wordpress (that i actually hate) to ghost cms\n> \n> \n\n\ni think it's possible, but haven't tried this myself\n\n\n\n> [justoverclock](https://metabullet.com/d/545/3) if will cost the same as now (35€/month)\n> \n> \n\n\nhalf that amount 👍\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/545/4) really half that amount??? so...basically a vps is more performant that my actual shared hosting...right? \n\ni need really to learn something more about this possibility!\n\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/545/5) really half that amount???\n> \n> \n\n\nyes.\n\n\n\n> [justoverclock](https://metabullet.com/d/545/5) so…basically a vps is more performant that my actual shared hosting…right?\n> \n> \n\n\nyes\n\n\n\n> [justoverclock](https://metabullet.com/d/545/5) i need really to learn something more about this possibility!\n> \n> \n\n\nyes :)\n\n", "name": "", "is_accepted": false } ]
ec54b33b87e78bcf7627645297275b68
over the years, i’ve used a number of editors - some of these are listed below * sublime text * eclipse * atom * visual code * netbeans * notepad++ * phpstorm the two i seem to be most comfortable with are notepad++, and visual code. i’m interested to know what is your favourite editor / ide, and why ?
what's your favourite editor?
metabullet.com
2021.31
[ { "text": "i used sublime for awhile. recently i have been using atom.\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/209/2) i’ve been switching between vs code and atom trying to determine which one i like the best. i have (or hate) to say that vs code is winning the race.\n\n ", "name": "", "is_accepted": false }, { "text": "it comes down to the language i’m coding in. i’ve been sticking with jetbrains for basically everything from web to c development but i’m starting to move over to vs code - one editor for everything.\n\n\ni recently jailbroke my phone again and have been making some custom apps/extensions for it. xcode isn’t really matched in terms of ios development, with the help of a clever shell project, i have auto complete for private sdk methods.\n\n\n", "name": "", "is_accepted": false }, { "text": "what features of vs code do you both like?\n\n ", "name": "", "is_accepted": false }, { "text": "[mikejones](https://metabullet.com/d/209/5) i guess for me it’s about familiarity given my previous years with visual studio. however, i’m primarily a php developer (mostly backend), but have to say the vs code has come a long way since the days when i was using pspad and then eclipse ide.\n\n\nadmittedly, i never really used the full ide components, but i’m warming to the idea 😁\n\n", "name": "", "is_accepted": false }, { "text": "\n> [kyrne](https://metabullet.com/d/209/4) i’ve been sticking with jetbrains\n> \n> \n\n\nout of curiosity, how much is this costing you ? last time i checked, it’s not free 😉\n\n", "name": "", "is_accepted": false }, { "text": "i’ll throw my vote in for vscode. it’s simple, fast, lightweight, and the extensibility is great (may i say it’s the flarum of ides? 😁). i also really like that it’s open source, and i can follow development.\n\n ", "name": "", "is_accepted": false }, { "text": "[askvortsov](https://metabullet.com/d/209/8) yes, i admit that vscode is winning the race for me also. i like the flexibility, adaptability, and probably more important than all other points, it’s open source - essentially a fork from the closed source visual studio. and, as a final point, it works cross platform and is microsoft’s attempt to mix with linux. i personally see this as a major step forward and would encourage it’s usage. it seems to be updated very frequently as well, which also has huge appeal.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/209/9) essentially a fork from the closed source visual studio\n> \n> \n\n\nhuh, i haven’t really gotten that impression: isn’t visual studio written mostly in c++? whereas vscode is mostly typescript running on electron.\n\n ", "name": "", "is_accepted": false }, { "text": "[askvortsov](https://metabullet.com/d/209/10) true, but the “vs” part has it’s origins in “visual studio”. obviously, you can’t support macos and linux in c++, so you’d need to change the engine (hence electron). a good article around the similarities and genesis can be reviewed [here](https://www.infoworld.com/article/3436860/visual-studio-code-vs-visual-studio-how-to-choose.html)\n\n", "name": "", "is_accepted": false }, { "text": "i have been using vs code. i used to used atom but switched to vs code to follow along easier while learning javascript(feels like i have a long ways to go to get decent with it.). i like vs code and has a lot of extensions to help with coding as well. i have never tried phpstorm due to that it costs money.\n\n ", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/12) yep, i’ve moved completely to vscode now. i still like atom, but feel more at home with the former.\n\n", "name": "", "is_accepted": false }, { "text": "curious - has anyone heard of a windows editor called pspad ? i used this all the time around 6 years ago and at one time it was my primary editor !\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/14) i don’t remember hearing or using that one.\n\n ", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/15) have a look at this <http://www.pspad.com/en/>\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/16) i haven’t used that one. i used one called dreamweaver, but it wasn’t owned by adobe at the time. it was free and i think i liked it back in the day. vs code is better though.\n\n", "name": "", "is_accepted": false }, { "text": "\n> [madchatthew](https://metabullet.com/d/209/17) i used one called dreamweaver,\n> \n> \n\n\nthat’s going back a bit…. you’re revealing your age there !\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/18) i know right! i thought of that as i was typing it, lol.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/19) i seriously thought that would be the last i ever heard of dreamweaver. certainly is a blast from the past.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/20) yeah, i remember using it when i was first starting to get into making web pages. i really liked it. at least back then i did, not sure if it is any good now days.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/21) i doubt it has much of a place these days given that the more popular editors are in fact web driven - think wordpress themes etc. phpstorm seems to reign supreme these days, but it’s not free of course.\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/22) yeah i wouldn’t mind trying phpstorm. i have heard a and read a lot of good things about it. just don’t want to dish out the money to give it a spin.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/23) same here. it’s not cheap.\n\n ", "name": "", "is_accepted": false }, { "text": "i haven’t seen anyone mention brackets, which i use a lot.\n\n\nit’s clean, fast, and open source, but sadly adobe are killing it in september, so unless someone forks it, i guess i’ll be moving on.\n\n ", "name": "", "is_accepted": false }, { "text": "[johnp](https://metabullet.com/d/209/25) wow, yes ! i can’t believe i didn’t include that one 😲\n\n", "name": "", "is_accepted": false }, { "text": "[johnp](https://metabullet.com/d/209/25) i have never tried brackets but i have heard a lot of people talking about it.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/27) i think the thing that potentially puts me off is the fact that being owned by adobe, it could suddenly land up as commercial. the same thing happened to mysql which is how the mariadb fork came about thanks to oracle\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/28) yeah that is the reason why i don’t use it because adobe owns it. that is why i also use mariadb. i want to learn to use postgres and get even more familiar with mongodb as well. i wish flarum could use postgres.\n\n", "name": "", "is_accepted": false }, { "text": "[madchatthew](https://metabullet.com/d/209/29) yes, postgres is becoming more popular - particularly with oracle’s extremely greedy model of charging outrageous licensing and support fees for their products, whilst simultaneously limiting the features available in standard edition, and moving them to enterprise.\n\n ", "name": "", "is_accepted": false }, { "text": "[@justoverclock](https://metabullet.com/u/justoverclock) i’d like to hear your experiences with phpstorm 👍\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/31) so, first of all i’m not a developer, i’m just trying to learn 🙂\n\n\nmy first editor was visual code, and is pretty good, but phpstorm is actually the best for me, it help me a lot with dependencies, coding and error, i think is my favourite so far\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/32) it’s not free though… ☹️ how much did you pay, or are you using a “special” version… 😁\n\n ", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/33) really i can’t find how to make phpstorm “special” 🙂\n\n\nfor now i’m trying the 30 days trial…..but if i will continue to learn javascript (its hard all alone, and all the developer are busy or i don’t wanna ask to waste their time with me), i will buy the 1 year license, is not cheap but i definitely can survive to this 😃\n\n\nbut the real things is……is worth for me to buy a license? right now i’m torn between buy a license/use vscode\n\n", "name": "", "is_accepted": false }, { "text": "\n> [justoverclock](https://metabullet.com/d/209/34) but the real things is……is worth for me to buy a license? right now i’m torn between buy a license/use vscode\n> \n> \n\n\ngood question. there seems to be a fair licensing model in place for single usage. i guess if you have the freedom to cancel at any point then it’s a good offer - unless they tie you into a one year minimum commit\n\n\n![](https://metabullet.com/assets/files/2021-04-20/1618916688-893083-image.png)\n\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/35) wow, i didn’t see this page before!!! good!\n\n\nanyway there’s a free licence for anyone is involved in open source project! \n\n<https://www.jetbrains.com/community/opensource/#support>\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/36) yes, but i think you’ll need to prove the status. it won’t be hard for you, but you’ll need the backing of flarum.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/37) i’ve just received a license for all product for free because i have some extensions provided and open source 🙂 , love jetbrains definitely now\n\n ", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/38) nice. i may do the same seeing as i also have open source extensions.\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/39) sure!\n\n", "name": "", "is_accepted": false }, { "text": "[justoverclock](https://metabullet.com/d/209/40) haven’t tried this yet myself. i took a look at the requirements, and couldn’t decide if i would actually qualify. going to revisit this though…\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/209/1) like yourself i’ve used many over the years, but surprisingly i’ve found myself using code at the moment. it works well, has a lot of integration and does what i need. for any basic note keeping or simple stuff, i tend to use notepad++\n\n", "name": "", "is_accepted": false }, { "text": "[mdempsey](https://metabullet.com/d/209/42) yep. same here. i’ve grown very fond of vscode and as it’s cross platform with linux, i’m using it as my primary editor.\n\n ", "name": "", "is_accepted": false } ]
444bb9dcd03c50bab49381083bc53e92
hello, me again :) we have a tool page where it can be only accessed by registered users, it's a single php page. to manage users we are using wordpress where we have created a folder for example /auth/ and when users want to access a certain page they need to hit sign in and then they will be redirected to wordpress login page (where we only allow social login) once the login is completed the user will be redirected back to the origin page and he will get access to that page. as of now, we have around 20k registered users. in flarum we have around one thousand. now we want to manage all users in one place is it a good idea to consider flarum as the main user base and make sso from flarum? or [wordpress sso](https://discuss.flarum.org/d/21666-php-and-wordpress-single-sign-on-sso-with-optional-jwt-addon) is the best way? maintaining wordpress as the main base and flarum users will have to go to wordpress folder to log in and they will be redirected back to flarum. in wordpress we have amazon social login and as you know we have a wide range of options there. flarum has its limitations but for users wise it's well organized. do you recommend any other options, maybe completely switching to different other than wordpress and flarum? we are expecting our user base will grow to 80k in the next 2years. at any cost, we will not be allowing regular native login features we will be only relying on social login like google or fb, twitter, amazon, yahoo..etc we hate passwords and sending password reset emails.
best way to manage users sso + flarum users
metabullet.com
2021.39
[ { "text": "[hari](https://metabullet.com/d/755/1) hi. given the user base you have in wordpress already, it makes more sense for wordpress to become the authority source, and for flarum to accept requests passed to it via sso. this way, users won't need to create a new account in order to login to flarum - if you consider the implication and workload in asking 20k users to re-register on flarum and then have to use 2 distinct logins, then it's pretty clear that this won't work.\n\n\nbased on this, wordpress is clearly the way to go. there's a premium plugin [here](https://discuss.flarum.org/d/22229-premium-wordpress-integration) also that will handle a lot more of the wordpress -> flarum side,, including embedding comments into flarum posts etc. it's not free, but is cheap on a monthly basis.\n\n\n\n> [hari](https://metabullet.com/d/755/1) do you recommend any other options, maybe completely switching to different other than wordpress and flarum?\n> \n> \n\n\nbecause of the overhead involved in migrating 20k users, i would not recommend this - you'd need a staging environment to test this before launch to make sure it works properly, then you'd need to notify all of these users in relation to the pending change. given that 99% of your users are based in wordpress, sticking with this makes the most sense.\n\n\n\n> [hari](https://metabullet.com/d/755/1) at any cost, we will not be allowing regular native login features we will be only relying on social login like google or fb, twitter, amazon, yahoo..etc we hate passwords and sending password reset emails.\n> \n> \n\n\nagreed. although you should be aware that social logins only would mean that some restrictions such as 2fa if you decided to enforce it would no longer work (in most cases).\n\n", "name": "", "is_accepted": false }, { "text": "\n> [phenomlab](https://metabullet.com/d/755/2) because of the overhead involved in migrating 20k users, i would not recommend this - you’d need a staging environment to test this before launch to make sure it works properly, then you’d need to notify all of these users in relation to the pending change. given that 99% of your users are based in wordpress, sticking with this makes the most sense.\n> \n> \n\n\nwe do not have much user data, we majorly use log in to avoid bots. we will be happy to switch to other, which is the best system to manage users? which has good compatibility with flarum sso or oauth\n\n\n", "name": "", "is_accepted": false }, { "text": "[hari](https://metabullet.com/d/755/3) any idp (identity provider) that supports either saml2 or sso is ideal. the issue here is how you identify those 20k users and notify them that the login process has changed ??\n\n", "name": "", "is_accepted": false }, { "text": "[phenomlab](https://metabullet.com/d/755/4) we will not be notifying them, we will only enable social login and as they come and try to access specific pages they will be offered to log in. after login, they will get access.\n\n\ni think it's not that complicated. 👍\n\n\nsolved\n\n\n* unable to select best answer\n", "name": "", "is_accepted": false } ]
cb84c6e18a1d0c968e2a7d60a222f9b3
how often do you test your backups ? whether it's weekly, monthly, quarterly, or an even longer duration than that (if that is the case, stop reading this and test your backups now), every business and personal user needs the assurance that they can recover either entire systems, or an individual file in the event that a need arises. whilst you may be thinking “yeah, obviously”, you'd be surprised at how often this critical process is the victim of oversight on the part of the operator, or forgotten completely in the rush to have a system ready by a particular deadline. we've all missed things on server builds like antivirus, or the latest patches, but no backup processes ? no system should ever be considered ready for release to production (or even test in some cases) if there is no backup strategy in place. this is nothing more than unprecedented risk to the business - particularly if the service is considered critical to any particular function. can you imagine having to explain to senior management or stakeholders that the system everyone has been using for months has just crashed, and you've just suddenly remembered that there isn't a single backup ? you may as well start updating your cv or resume now. i've never had to explain to senior management that there is no backup, and i have no desire to start doing so now. a backup strategy isn't difficult to define, but even with one in place, there is still a risk that this may not function as expected in the event of needing to recover a system or individual file. backups should be regularly tested to ensure both consistency and integrity, with the restore process being validated afterwards - in short, you are attesting to the fact that you are in a position to recover either an entire server image, or a single file (dependent on the need). failure to comply with this simple task could see you being thrown to the lions unnecessarily. backups themselves are not difficult to undertake, and should be running on a daily schedule at minimum. the actual strategy varies heavily between use cases, with some taking differential or incremental backups during the business week, and then executing a full backup over a weekend. this type of backup is still very popular as it has the huge benefit of backing up only files and folders that have changed - the downside is that in the event of a disaster, you'd need the last full backup to be restored first before you can play back each incremental. another more common approach is to use delta based backups that leverage bits technology to make the most of compression in order to reduce storage requirements and costs. usage of delta backups typically requires a concept called “safesets”. it's more commonplace in today's technology sphere to use an off-site vaulting mechanism where you create an initial “seed” of a backup target, then ship only the changes to that same system on a daily basis. this type of backup is also referred to as a snapshot. in the case of (for example) amazon web services, the underlying technology is hypervisor based. this means that an initial image can be made of the machine in question, then a daily / hourly snapshot performed which captures the changes since the last snapshot was taken. in the event of a restore or disaster recovery, the initial image is recovered first, with the snapshots being “layered on top” to provide the necessary recovery point - this itself really depends on your backup strategy. one thing to bear in mind with off-site vaulting is that the costs can easily spiral out of control with penalty charges being applied for exceeding your quota limit. storage itself is relatively cheap and easy to acquire, but the backup process required to support it can often attract significant and unprecedented cost to any user. for this reason, the backup strategy should be well defined, with best practices playing a major role in determining both the strategy and the overall concept. it's important to note at this point that although there are numerous product offerings that include cheaper storage options, these quite often become the achilles heel for those managing systems - the storage is cheap, so you get to save a fortune. however, the rto (recovery time objective) shoots through the roof - that cheaper storage is often magnetic - meaning it could reside on a tape somewhere. the restore times are not just limited to the speed of the media. tapes typically require a catalog to be built first before backup software can be in the required position to recover the data in question. years ago, i was performing backups and recovery testing on dlt tapes via a single loader and low grade scsi card. a restore of an exchange database could take well over 24 hours to recover based on this aged technology, and a slow network made this even worse. thankfully, we are not bound by slow hardware in today's modern technology era. however, if your backups remain untested, how do you know that they will serve the purpose they are designed for ? the short answer is that you don't. each backup taken should be subject to analysis in terms of the log files generated during the job - in other words, the backup log should be checked on a daily basis to determine whether it was successful or not, and any issues noted be rectified as soon as possible. with ransomware wreaking havoc across the world, it also makes perfect sense to perform sanity checks on servers and their associated backups to ensure that you are not actually taking copies of files and folders that have in fact been encrypted. > hit with ransomware ? no problem - we'll restore from backup > > …..until you discover that your backups are also full of encrypted content. obviously not a great situation to find yourself in. for this reason, it's important to invest in decent anti malware endpoint tools and file monitoring capabilities to prevent this from happening in the first place. it's also very important to frequently test your ability to recover files from backup. the bottom line - it's not possible to say with 100% certainty that your backups are in full working order unless they have actually been tested.
do you test your backups?
metabullet.com
2021.39
[ { "text": "i'm interested to know if you test your backups, and at what frequency / level ?\n\n ", "name": "", "is_accepted": false } ]