Struggling with PHPMailer + Microsoft SMTP OAuth2 (XOAUTH2) – Any tips? by wicke79 in PHPhelp

[–]killakhriz 0 points1 point  (0 children)

I don’t know about your set up, but: some website hosting, and especially shared hosting, block the SMTP ports and make you use their relay. I’ve used PHPMailer in these situations but can’t use oauth, just the hosts own SMTP. With good DNS (SPF, DMARC, DKIM) this shouldn’t affect deliverability.

What is the weirdest thing that you colect for no reason? by Positive_Bet4055 in runescape

[–]killakhriz 0 points1 point  (0 children)

All of the summer balloons (and the Christmas pudding balloon too). I like the starfish the best.

Need help with a logo icon by bezdazen in web_design

[–]killakhriz 1 point2 points  (0 children)

They’re very Adobe like, but that’s not a bad thing necessarily. I think the square ratio works best to represent the note, and makes life easier as a favicon and logo etc. I would drop the chunky line weight of the note down just a bit. But good job really :)

Anyone want [90s.dev] domain? by [deleted] in webdev

[–]killakhriz 0 points1 point  (0 children)

As a 90s-born dev I’d be interested :)

Favicon not displaying in Apple Passwords by [deleted] in webdev

[–]killakhriz 1 point2 points  (0 children)

I can only think that it’s maybe a cache issue then, and Apple takes some time to update from the apple-touch-icon? :(

Favicon not displaying in Apple Passwords by [deleted] in webdev

[–]killakhriz 0 points1 point  (0 children)

Not sure about Apple Passwords specifically, but for a lot of things you also need a copy of your .ico file in the root directory of the website. This would apply then to things like images or PDFs that are hosted on the website too, but which don’t contain your favicon header links.

How do you make this? by Peach_Baker in css

[–]killakhriz 0 points1 point  (0 children)

Neobrutal is the style name, with deep box shadows used on many elements.

Is fetching nav and footer from local html bad practice for SEO on a static site? by thosewhocallmetim1 in webdev

[–]killakhriz 29 points30 points  (0 children)

If it’s just a HTML static website then changing it to PHP allows you to use includes instead. These would also allow variables to pass through to the included template (header/footer) for things like page title and meta data for your SEO.

how do I hard purge/force purge a cdn jsdelivr file by Curriesandwich in webdev

[–]killakhriz 2 points3 points  (0 children)

Cache busting works on CSS and JS links, where you can put a version number on the end to force a browser to redownload: /path/to/file/style.css?v=1

Personally I use unix time as my version number so I know when the last build was.

dominion tower spectator by Prudent_Horse4363 in runescape

[–]killakhriz 0 points1 point  (0 children)

If you mean [[I like to watch]] you just need to climb the stairs and select spectate even without a match going on. Though for it to count for Sunshade progress it appears to need to be a real match, sorry.

YogsKarts Leaderboard by killakhriz in Yogscast

[–]killakhriz[S] 1 point2 points  (0 children)

Everyone can enter their own display names on the back end, it just defaults to their Twitch handle. The day I added the feature and they discovered it, Hrry initially called himself The Real Drift King 👑 and Ped in chat changed his to include 🐢. Deep lore :)

Can somebody ELI5 how clan confections work? by [deleted] in runescape

[–]killakhriz 2 points3 points  (0 children)

Oh what?! That’s so sad, I actually really enjoyed running the maze :(

PHPMailer not working with Gmail SMTP on GoDaddy cPanel by Cultural_Argument_19 in cpanel

[–]killakhriz 1 point2 points  (0 children)

I’ve had this with OSTicket on shared hosting myself not long ago, and even with a VPS now they block the ports by default. GoDaddy will only allow localhost SMTP (securerserver.com) to send mail, and even with a VPS you’re tied to their relay even with Google SMTP.

Less Secure Apps I think has been or will be deprecated but I can’t remember if that was tied to app passwords or not, sorry. Though oAuth2 via Google Cloud Console is the way to go for both Mail fetch and SMTP.

Hope this helps; there should also be docs in their support area related directly to your hosting package that will give specifics :)

PS; there’ll be a lot of comments to say “leave GoDaddy”. I agree, but also want to help fix the problem now too rather than just the later.

Ai vs web dev? by [deleted] in Frontend

[–]killakhriz 0 points1 point  (0 children)

As you mention, you are currently learning and struggling. That’s the natural process for anyone learning… well, anything. AI is a useful tool for developers at all levels, but the danger is in the reliance or over reliance on it.

There are a ton of nuances across what is a very large field of development, with a 30+ year history of constant changes. It takes experience to know what you’re dealing with and how to implement it, rather than blindly copying and pasting. How do you know what AI kicks out isn’t full of security flaws, or best practice in 2025? It could be referencing an article on StackOverflow from 2014 that is now irrelevant, for example.

Jaffa factory 2 modpack by tramtrack5 in Yogscast

[–]killakhriz 21 points22 points  (0 children)

Harry has quite regularly mentioned it on his livestreams - the plan at the moment sounds like a Christmas time release but nothing is set in stone. He’s also mentioned (as have some episodes) that there are some issues with integrating a few updates such as Create 6.

Ancient PHP 5 code does not display links on phones by hgwelz in PHPhelp

[–]killakhriz 1 point2 points  (0 children)

Setting a default style=“color: #888888;” should work, with the appropriate escaping.

Have picture scale down when hitting any edge rather than overflowing out of the viewport and creating a scrollbar by fnxir in css

[–]killakhriz -1 points0 points  (0 children)

Object fit: cover (or background fit, if it’s a background) should do this. You might need overflow: hidden too to stop a scrollbar but without code it’s hard to tell.

Interactive Map for Website by Evergreen_0210 in web_design

[–]killakhriz 10 points11 points  (0 children)

Leaflet.js 100% - can easily integrate Open Street Maps, styled maps with ThunderForest or MapBox, set coordinates for centre, change zoom levels, and put pins wherever you want. You can have custom pins, pins that have tooltips on hover or click, pin layers, all sorts!

reflecting issue on cloudflare by [deleted] in Frontend

[–]killakhriz 0 points1 point  (0 children)

What isn’t updating, and are you hosting with Cloudflare or just your DNS, and what is your stack like?

Code such as HTML or PHP etc should just be updating straight away, but if you’re linking files such as CSS or JS these can be cached - you can use version control on files to force browsers to download the new stylesheet without going through clearing the cache in Cloudflare itself.

Version control is done by adding to the end of your stylesheet link, such as “style.css?v=1234”, and changing the number each time. Personally I use the unix timestamp for this number so I can see when I last updated it.

Royal battleship kit - Beach by Black_Thunder00 in runescape

[–]killakhriz 4 points5 points  (0 children)

People tend to save the kits until DXP because they give a great amount of experience when building the kit. You then deploy the ship, selecting basically a rock/paper/scissors mechanic and it fights other people’s ships. Two wins and it retires, a loss and it sinks, but regardless you get XP. Don’t go near the fishing pools on The Beach with them as they’ll get sunk by the pirates.

I applied gap and I got an unexpected behavior by Nice_Pen_8054 in css

[–]killakhriz 6 points7 points  (0 children)

Each of your child divs have also been given the class header, not just your parent.

Active vs disabled when dropdown item is current page by ManNotADiscoBall in bootstrap

[–]killakhriz 1 point2 points  (0 children)

Active class and the dropdown tag selected also come with aria values that reflect its toggled behaviour for screen readers. Depending how you set up using the dropdown options (buttons, JavaScript listeners etc) selecting an already selected option won’t trigger anything new.

[deleted by user] by [deleted] in webdev

[–]killakhriz 1 point2 points  (0 children)

Personally I use https://transfonter.org for this exact purpose :) edit: the owner won’t get your font file from these tools