Advertisement:
2by2host

Author Topic: 1.x ssi_topPoster() - Adding avatars to it  (Read 755 times)

Offline Liam_michael

  • SMF Hero
  • ******
  • Posts: 1,776
    • Free Homework Help
1.x ssi_topPoster() - Adding avatars to it
« on: April 27, 2012, 11:17:52 PM »
Could someone please show me how to add an avatar to the ssi_topPoster() SSI function?

Thank you  :)
Biology Forums - For All Your Science Needs

Featuring
  • Custom Gallery
  • Dictionary
  • Arcade
  • & Blog

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,918
  • Gender: Male
  • I don't speak German.
    • IchBin.us
Re: 1.x ssi_topPoster() - Adding avatars to it
« Reply #1 on: April 28, 2012, 05:09:06 PM »
Done something similar here with a query. You can see what you need to add for attachments by looking at this code probably.

http://www.tinyportal.net/index.php?topic=31670.msg260625#msg260625
Brad "IchBin™" Grow        TinyPortal        Themes
Coding Guidelines       

Offline Liam_michael

  • SMF Hero
  • ******
  • Posts: 1,776
    • Free Homework Help
Re: 1.x ssi_topPoster() - Adding avatars to it
« Reply #2 on: April 28, 2012, 06:39:26 PM »
Done something similar here with a query. You can see what you need to add for attachments by looking at this code probably.

http://www.tinyportal.net/index.php?topic=31670.msg260625#msg260625

IchBin, for some reason, when I add yours to a portal, I get a continous loop somewhere that causes the creation of these massive dump files. I used yours for the longest time, but now I find it unstable. :-[
Biology Forums - For All Your Science Needs

Featuring
  • Custom Gallery
  • Dictionary
  • Arcade
  • & Blog

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,918
  • Gender: Male
  • I don't speak German.
    • IchBin.us
Re: 1.x ssi_topPoster() - Adding avatars to it
« Reply #3 on: April 28, 2012, 08:00:58 PM »
Well I did see I missed a global there. But that certainly should not cause a dump file. Dump files are caused from PHP or apache crashing on the server. There's nothing in the code that should do that though. You don't have to use the code though. The idea is to see how it's done, and add to your code what you need.
Brad "IchBin™" Grow        TinyPortal        Themes
Coding Guidelines       

Offline Liam_michael

  • SMF Hero
  • ******
  • Posts: 1,776
    • Free Homework Help
Re: 1.x ssi_topPoster() - Adding avatars to it
« Reply #4 on: April 28, 2012, 09:13:03 PM »
Well I did see I missed a global there. But that certainly should not cause a dump file. Dump files are caused from PHP or apache crashing on the server. There's nothing in the code that should do that though. You don't have to use the code though. The idea is to see how it's done, and add to your code what you need.

Oh true, I will study it a bit more and hopefully put something together.
Biology Forums - For All Your Science Needs

Featuring
  • Custom Gallery
  • Dictionary
  • Arcade
  • & Blog