Skip to content

help me to get rid of my old CDN

Moved Customisation
13 2 3.7k 1
  • wrote on last edited by
    #1

    i have decided to stop using stackpathCDN and removed it from my CW subscription. i have checked all the WordPress settings but for some reason, i could not able to get rid of stackpathCDN

    pages are trying for old stack path JS but failing to load, any suggestions?

  • wrote on last edited by
    #2

    searched MySQL DB now replacing stack path URLs with my domain name

  • searched MySQL DB now replacing stack path URLs with my domain name

    wrote on last edited by
    #3

    @Hari you should also check and temporarily disable any caching - particularly cloudflare.

  • @Hari you should also check and temporarily disable any caching - particularly cloudflare.

    wrote on last edited by Hari
    #4

    @phenomlab i have cleared it and for now it is in dev mode
    now manually editing few PHP files

  • @phenomlab i have cleared it and for now it is in dev mode
    now manually editing few PHP files

    wrote on last edited by phenomlab
    #5

    @Hari I don’t see any need to manually edit PHP files. Are to sure there is no plugin making changes ?

  • @Hari I don’t see any need to manually edit PHP files. Are to sure there is no plugin making changes ?

    wrote on last edited by
    #6

    @phenomlab we have built a few custom PHP files and embedded iframes … so we need to update them manually 🙂

    happiness is fixing things 🙂

  • @phenomlab we have built a few custom PHP files and embedded iframes … so we need to update them manually 🙂

    happiness is fixing things 🙂

    wrote on last edited by
    #7

    @Hari that makes sense. Not something I’d generally recommend, but ok.

  • @Hari that makes sense. Not something I’d generally recommend, but ok.

    wrote on last edited by
    #8

    @phenomlab CW support agent is helping, he is running some commands to replace 00252.stackpateh.com domain with mine.

    enjoying CW support

  • @phenomlab CW support agent is helping, he is running some commands to replace 00252.stackpateh.com domain with mine.

    enjoying CW support

    wrote on last edited by
    #9

    @Hari if this in WordPress, or other custom PHP files ?

  • @Hari if this in WordPress, or other custom PHP files ?

    wrote on last edited by
    #10

    @phenomlab few pages are PHP.

    what is the command line to find and replace a text from all files?

    i want to find 00-00-raikfcquaxqncofqfm.stackpathdns.com and replace with www.mydomain.com

    he has done the major part and said it is taking time since the directory has many files, then he opened a ticket and said he will esclate it soon.

  • @phenomlab few pages are PHP.

    what is the command line to find and replace a text from all files?

    i want to find 00-00-raikfcquaxqncofqfm.stackpathdns.com and replace with www.mydomain.com

    he has done the major part and said it is taking time since the directory has many files, then he opened a ticket and said he will esclate it soon.

    wrote on last edited by
    #11

    @Hari what you need here is awk, sed, and probably grep but the two former listed are extremely powerful and can be very dangerous if used incorrectly. Not sure I understand why it’s taking so long for the support technician to complete as these commands - gratuitous in nature - are usually very quick - even when traversing a large directory tree.

  • @Hari what you need here is awk, sed, and probably grep but the two former listed are extremely powerful and can be very dangerous if used incorrectly. Not sure I understand why it’s taking so long for the support technician to complete as these commands - gratuitous in nature - are usually very quick - even when traversing a large directory tree.

    wrote on last edited by
    #12

    @phenomlab they have done the necessary changes. now everything is working fine. 👍

  • @phenomlab they have done the necessary changes. now everything is working fine. 👍

    wrote on last edited by
    #13

    @Hari Ok. Good. Thanks

  • phenomlab phenomlab moved this topic from Guides on

Related Topics
  • Custom Page - nodebb

    Solved Customisation custom-pages nodebb
    13
    2
    5 Votes
    13 Posts
    3k Views
    DownPW
    I’m happy to see this
  • navbar

    Solved Customisation navbar harmony
    2
    2 Votes
    2 Posts
    1k Views
    phenomlab
    Marking as resolved, based on https://community.nodebb.org/topic/18625/navbar/2
  • Please help me, I can't install nodebb

    Locked Solved Customisation nodebb
    7
    5 Votes
    7 Posts
    2k Views
    phenomlab
    Installation completed, verified, and tested. Correct installation methodology is below https://docs.nodebb.org/installing/os/ubuntu/
  • Fancybox zoom

    Unsolved Customisation fancybox zoom image
    2
    1
    0 Votes
    2 Posts
    944 Views
    phenomlab
    @DownPW Technically, it should be possible with the addition of the below Toolbar: { display: { left: ["infobar"], middle: [ "zoomIn", "zoomOut", "toggle1to1", "rotateCCW", "rotateCW", "flipX", "flipY", ], right: ["slideshow", "thumbs", "close"], }, }, Meaning your code block becomes function fancybox() { if (top.location.pathname !== '/login') { $(document).ready(function() { $('a').not('.forum-logo').not(".avatar").not(".emoji").not(".bmac-noanimate").each(function() { $('a[href*=".jpg"], a[href*=".jpeg"], a[href*=".png"], a[href*=".gif"], a[href*=".webp"], a[href*=".svg"]').addClass("noanimate"); }); }); Fancybox.bind( 'a[href*=".jpg"], a[href*=".jpeg"], a[href*=".png"], a[href*=".gif"], a[href*=".webp"], a[href*=".svg"]', { Toolbar: { display: { left: ["infobar"], middle: [ "zoomIn", "zoomOut", "toggle1to1", "rotateCCW", "rotateCW", "flipX", "flipY", ], right: ["slideshow", "thumbs", "close"], }, }, } ); } } Note, that you just need to add/remove the elements in the toolbar you do not need. Obviously, zoomIn and zoomOut are the ones you are specifically interested in. However, if Fancybox detects that the image has already been zoomed as far as possible, then this will not work. You’d need an external library such as zoom.js to add this functionality, or perhaps simpler https://www.jacklmoore.com/zoom/ A good example of how you’d make these two independent libraries work together is below https://codepen.io/ezra_siton/pen/VgrjKw It’s worth nothing that this specific code is based on Fancybox 3, so may need to be refactored to work with the latest version 5.
  • navigation bar is misplaced when the window gets smaller

    Solved Customisation bugs
    23
    1
    10 Votes
    23 Posts
    8k Views
    phenomlab
    @DownPW sounds good.
  • [NODEBB] Help for my custom CSS

    Solved Customisation nodebb css bugfix
    258
    49 Votes
    258 Posts
    168k Views
    cagatay
    mark hi, Refused to apply style from ‘https://efelsefe.com/assets/customfonts/FontAwesome-6-Pro/pro/css/v4-font-face.css’ because its MIME type (‘text/plain’) is not a supported stylesheet MIME type, and strict MIME checking is enabled. I keep getting this error.
  • [NODEBB] Welcome Message

    Solved Customisation css html nodebb
    20
    2
    13 Votes
    20 Posts
    9k Views
    phenomlab
    @DownPW the ‘js’ code for the banner takes the time from the client, so what it displays really depends on the regional settings for the operating system. I’ve not seen this issue myself but would like to see some examples of screenshots if possible.
  • NodeBB Design help

    Solved Customisation
    8
    3
    2 Votes
    8 Posts
    4k Views
    phenomlab
    @riekmedia I’ve applied some new CSS to your site. Can you reload the page and try again ? For the record, this is what I added #footer { background: #2d343e; border-top: 4px solid #2d343e; font-size: 0.9em; margin-top: 70px; padding: 80px 0 0; position: relative; clear: both; bottom: 0; left: 0; right: 0; z-index: 1000; margin-left: -15px; margin-right: -338px; } The /categories page seems a bit messed up, so looking at that currently EDIT - issued some override CSS in the CATEGORIES widget <!--- CSS fix for overspill on /categories page - DO NOT DELETE --> <style> #footer { margin-right: -45px; } </style> That should resolve the /categories issue.