Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • ragingeek

    (@ragingeek)

    ok, one last thing, hopefully 🙂

    back on the path issue
    in sc_widget.php, since it is a script file you might need the full path starting w/ the drive letter

    but in sc_running.htm, since it is an Html file you just need the relative path from the root:
    /wordpress/wp-content/plugins/sc_widget/winamp.png

    ragingeek

    (@ragingeek)

    aight, i got it. the problem wasn’t w/ the preg_match stuff it was w/ the url i added a trailing slash so when the script added “/index.html” it created a double slash which resulted in an Invalid Resource. anyway it’s working now @ http://www.whineofthemonthclub.com

    ragingeek

    (@ragingeek)

    shoot, just realized the problem w/ dueced’s solution, if it’s in the sidebar, everytime the user clicks a link in your site the music either stops or starts depending on the AutoStart value. the shoutcast widget lets you choose your player then pops open a window. guess i’ll keep working on it…

    ragingeek

    (@ragingeek)

    i figured out the problem (on my server at least) is the preg_match is not working:
    preg_match(“/Server Status: <\/font><\/td><td><font class=default><b>(.*)<\/b>/U”, $file, $matches);
    $status = $matches[1];

    if i echo $status; nothing shows up
    if i echo implode(‘#’, $matches); nothing shows up
    so i hardcoded $status = “Server is currently up and public.”
    and i had to hardcode the drive letter just to get anything to show up.

    alas I like the UI that dueced’s solution produces better, so I went with that. thanks dueced! see it in action

    ragingeek

    (@ragingeek)

    the simple fix for JimAtWCU’s last issue would be to hardcode the full path, so instead of removing the first slash (as he originally mentioned) from: /wp-content/plugins/sc_widget/sc_running.htm
    you should add the full path that comes before it (as in my case):
    /wordpress/wp-content/plugins/sc_widget/sc_running.htm

    HTH – it didn’t for me, but don’t let that stop you from visiting my blog

    hopefully by the time you do, i’ll have it figured out 🙂

    Thread Starter ragingeek

    (@ragingeek)

    Any idears on how to ask a moderator to change it? Any moderators out there listening, could you change it? Thanks 🙂

    Thread Starter ragingeek

    (@ragingeek)

    Wow! Not what I expected but thanks for the tip halls. I don’t suppose there’s anyway to edit that old post. So now that I got you all off on the wrong topic, I guess no one has any remedies for the saving issue?

    Thread Starter ragingeek

    (@ragingeek)

    nevermind, i just didn’t read far enough down the page, thanks anyway.

    ps – [moderated]

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