Howto include some PHP code

Help
2004-10-20
2012-10-11
  • Rishabh Manocha

    Rishabh Manocha - 2004-10-20

    Hey guys,
    I was wondering how and where I Can include some of my own PHP code.
    I basically want to have a stats aggregator running(http://bbclone.de).
    If i use PHP pages made by me, the stats aggregator works just fine(http://gavamail.sf.net/bbclone/) but If i include some PHP code into bottom.tmpl(in themes->default->..->bottom.tmpl), the stats are not aggregated. I have checked the PHP code and it should be working fine. I placed a test page inside the same directory as bottom.tmpl(to make sure I was giving the correct link) and it works just fine.
    If you wish to, you can see my bottom.tmpl here:
    http://gavamail.sourceforge.net/phpwiki/themes/default/templates/bottom.tmpl

    Could someone please tell me how I could do this. My ideal situation would be to put this code somewhere from where I Can also extract the Page title being displayed so that I can parse that to the aggregator too.
    Oh and BTW, I am using phpwiki 1.3.9 with mysql.
    Thanks

     
    • Rishabh Manocha

      Rishabh Manocha - 2004-10-22

      can someone please help me with this??
      I really wanna have better stats than what sf provides.
      Thanks

       
    • Reini Urban

      Reini Urban - 2004-10-22

      You are doing fine.
      The code is executed as you can see with the sf.net images.

       
      • Rishabh Manocha

        Rishabh Manocha - 2004-10-22

        Thanks for the reply.
        Even though I have this code on the bottom.tmpl file, the stats data is not updated. You can see that pafe at http://gavamail.sf.net/bbclone/.
        I tried an echo "Hello" in bottom.tmpl and that worked, so I am wondering why this is not working. Do you have any idea why?
        Thanks again.

         
        • Reini Urban

          Reini Urban - 2004-10-22

          sorry
          i don't do any support for bbclone.

           

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks