Wordpress and Jinzora integration

Discussion in 'PHP' started by timelf123, Mar 22, 2007.

  1. #1
    Hey all!
    I run a blog about the Wii and would like to do several things to integrate it with my current Jinzora streaming music install.

    So far I have made the code for a form that uses php get to log the user in, with one drawback... it is in plaintext...

    Code:
    <form action="http://www.hackmiiwii.com/music/index.php" method="get">
    Username: <input type="text" name="user" />
    Password: <input type="text" name="pass" />
    <input type="submit" />
    HTML:
    I do not know the inner workings of Wordpress well enough to do this any other way, but what I really want to do is either use the php session or add some code to the wp-login form that also logs in the user in Jinzora... I know this is possible, as it has been integrated with Joomla, xoops, etc.


    Is anyone familiar with Jinzora and/or Wordpress? What I want to do now is implement
    http://www.hackmiiwii.com/test/window_store.html
    my version of the XSPF player into my standard jinzora install (mine uses a lightbox like effect to pop the player up, instead of a new window, which means that users on the Wii can leave the page open with the player on top), which is using a Wii Opera friendly theme, but the code is way above my current level...

    Anyone have ideas?

    Attached is the code that calls the player

    Even if you do not know any of this, a response is appreciated!


    Thanks!
    Tim
     

    Attached Files:

    timelf123, Mar 22, 2007 IP
  2. timelf123

    timelf123 Peon

    Messages:
    897
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Bump, I guess I just need to dig deep into the way both Wordpress and jinzora store cookies and sessions, and pass them from wordpress to jinzora somehow...
    I am a php noob, so this may be tough, but I just bought a book, so maybe that will help ;)


    As for the javascript popup, I am still trying to figure out how that code works... Can someone comment the php for me to teach me what is going on? It would be most appreciated ;)
     
    timelf123, Mar 24, 2007 IP
  3. timelf123

    timelf123 Peon

    Messages:
    897
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Anyone have what it takes? ;)
     
    timelf123, Mar 25, 2007 IP
  4. timelf123

    timelf123 Peon

    Messages:
    897
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ;)

    ik someone here can help this great project out
     
    timelf123, Mar 30, 2007 IP
  5. streety

    streety Peon

    Messages:
    321
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm not really familiar with jinzora and only a little more so with wordpress as I mostly use serendipity.

    However I have considered doing something similar in serendipity and although I decided in the end to approach the problem differently it didn't seem to be too difficult.

    It seemed mainly to be a matter of juggling the includes in my case though if you can figure out what cookie/session values are set in each you may be able to just setup those values and cut out much of the hard work.

    I'm assuming here that both scripts are on the same domain and server.
     
    streety, Mar 30, 2007 IP