Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter lyniaer

    (@lyniaer)

    Okay. I’ve found a way around it by adding my external IP address as a virtual host with access pointed to the project. The problem is, anyone can put in my IP address and get access to it when I only want to give them access through the iframe on the webpage (which is behind a password).

    Thread Starter lyniaer

    (@lyniaer)

    “Shortcode”. That’s the word I was looking for earlier. Yeah, I turned it off. The iFrame you suggested works great with the “src” as a LocalHost address. Now I just need to get it set up WITHOUT using LocalHost so it will be accessible from the internet.
    Any quick and dirty ways to do that? So far all I’m finding with my GoogleFu is using Multisite.

    Thread Starter lyniaer

    (@lyniaer)

    Okay. Going back through the process, here’s what is happening:

    1) Create a page
    2) Activate this plugin.
    3) Insert this code into the page:
    `<?php
    require_once(ABSPATH . ‘REST/index.php’);
    ?>`
    4) This is the preview result in Chrome with F12 Console open:

    Desired result is here (from localhost connection):

    • This reply was modified 9 years, 2 months ago by lyniaer.
    • This reply was modified 9 years, 2 months ago by lyniaer. Reason: Pasteboard, you have failed me for the last time
    • This reply was modified 9 years, 2 months ago by lyniaer.
    Thread Starter lyniaer

    (@lyniaer)

    Website works fine. http://www.radio-takeover.com
    RadioDJ also works as you can pull up the stream on the website. It’s all been working for a few months, now.

    I have other DJs that are raring to start their own shows, but here’s the problem:
    There’s no way to stop the RadioDJ software that’s running on the server so other DJs (elsewhere in the world) can connect to the Shoutcast stream and do their own shows.
    This Web Panel allows remote access to the RadioDJ software on the server so that one can 1) Stop the AutoDJ from assigning more songs to the playlist, 2) Time the end of the current song with the start of their show so there’s no awkward transition and 3) Kick the Server off the Shoutcast stream so that the DJ can connect and run their show.

    The only way we can do it right now is I either have to be here to do this manually or give them Teamviewer or RDT access to the server to do it themselves. And it’s an actual Server that I use. Dual Processors, Boatloads of RAM, physical firewall, yadayadayada and 230Mbs D/S 25Mbs U/S connection.

    As for the 403, I learned all that with a Google search a while back. I did everything I could think of, including taking ownership, granting permissions, etc. style.css and one other file (I think it was the icon file) were still barred from running on the page, it was baffling. This is why I like hardware. It works or it doesn’t, but science always dictates why. Networking and Coding often work (or don’t work) depending on if Jupiter is in Retrograde.

    Thread Starter lyniaer

    (@lyniaer)

    I wouldn’t even know where to start with the iframe thing. I know what they are and I know how to integrate them, but writing them is a bit outside my wheelhouse. I love learning new stuff and I can work on cars, computers, electronics; I can solder, work a multimeter and spank Windows like nobody’s business (I can work with batch files and HTML3!). Never elevated my programming skills beyond that. If I had hair to tear out, trying to wrap my head around HTML5, Javascript (jQuery, JSON, that’s all Java, right?), PHP – I’m pretty sure I’d start flaying my own skin.

    I wandered into this self-hosting website thing out of necessity to keep my overhead to a minimum and I’m pretty sure it’s only working because I got drunk and screamed at the monitor for three hours. That might also explain the teeth marks on this keyboard… It’s all kind of a blur.

    I can get the interface to come up if I navigate to it via LocalHost, but in order to make it reachable from the internet I would have to set up another virtual host in Apache, right?

    When I got it half working, all I did was use .. umm .. I forget what they’re called. A code thingy. A custom field that called the index.php file of this mess. I think the problem is, once it calls the Index file it doesn’t know where to go to call the other files (like functions or config) and I would need to go into every single file and point it to the proper directory. That’s what it looked like to me during previews. When I call up the page in Chrome and check the Developer console, it shows me that it’s having 403 errors trying to reach the style.css and other things. It will show the buttons (play, stop, autodj, etc) but there’s no colored bars, the words are shoved all along the left hand side of the page, the mouse reacts like there’s something to click but clicking on play or stop does nothing. Index contains the words of the buttons, but other PHP files indicate what those buttons do, so that’s where I’m coming to this conclusion that it can’t call the other files.
    Isn’t there something you can put at the top of a PHP file to force it into a directory?

    The style.css handles the color and size of the buttons. I think that’s one of the problems you mentioned – the style of this web panel might interfere with the style of my website.

    Thread Starter lyniaer

    (@lyniaer)

    Thank you for the information. I could follow just enough of it to know I’m probably in over my head, but it sounds like you’re familiar with RadioDJ?

    Here’s a link to the REST Web Panel with a screen shot of what it should look like and the files to download if you wanted to look at them.

    I checked out that jobs.wordpress and I might post in there if this is excessively complicated. This is definitely something that needs to happen, though, so I can get my DJ’s moved over to the new software and off the problematic SAM Broadcaster.

Viewing 6 replies - 1 through 6 (of 6 total)