best way to add php code to side panel

byttebytte
edited March 2007 in Vanilla 1.0 Help
What's the best way to add php code to the sidepanel?
I need a way to randomly display banner ads from my database based on a script I wrote for my main website.

Comments

  • Would http://lussumo.com/addons/?PostBackAction=AddOn&AddOnID=207 do the job?
  • Thanks for the tip, but I'm afraid it wouldn't. I need to be able to track banner displays, so I'd like to add some PHP code.
    But maybe I need to look for an add-on that places my script somewhere else on the page, like the google ads on this forum below every discussion page. I guess that wouldn't be too hard a thing to do.
  • Lets go for http://lussumo.com/addons/?PostBackAction=AddOn&AddOnID=218 then?
  • hey, that looks to be a cool extension. I'll test it to see if it allows for PHP code as well. Thanks for the tip, I had been searching the extensions but hadn't found this one.
  • This is no good for the side panel bytte. I've been trying every sidepanel extension and none of them work for adding php content as far as I can see. If you find something let me know and i'll do the same. regards keith
  • edited February 2007
    Jim solved my problem which is similar to yours bytte. Take a look at the discussions here:

    http://lussumo.com/community/discussion/5146/script-in-sidepanel/#Comment_57793
  • Thanks Keith. I've put my banner in the header though now, with stuffdisplayer add-on.
  • How do I add small notes to the side?!!
  • MarkMark Vanilla Staff
    edited March 2007
  • I was just gonna add what Mark said. I have successfully, with very little vanilla knowledge, made my own add-on that adds a menu tab and an another that adds "upload file" in the panel section. I advise you to do the same using the simple $Panel->AddString([String containing your php code],[placement code])
This discussion has been closed.