• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Last Post Avatar XF2 demo Tutorial ?s...

[xFv]

Previously Cylent1
#1
Hello!
This is in regards to this tutorial HERE.
I am at the create the code event listener part of the tutorial and I am stuck.
So I have a couple ?s you might be able to help me with.
  1. What the php tutorial shows does not contain a namespace and class, do I add that along with the contents of the php file also?
  2. What would be the method name be for the php file?
  3. What should this php file be named and where does it go after I create it?
If anybody could help me with this since I cannot locate the author, that would be awesome.
Thank You!