How to (cleanly) inject a custom post into a thread view

  • Thread starter Thread starter pangamma
  • Start date Start date

pangamma

Guest
Member
I'm trying to create a "sponsored post" in a thread view that uses a "sponsored" account profile, and then shows up exactly like all the other posts in the thread except that the content of the message would be an ad. So custom HTML or JS. The sponsored account would be an actual account with its own signature explaining that the content is from a sponsor of the website.

I used to be able to do this in XF 1.5, but on 2.2 everything has changed. The code to make a simple post is quite...

Read more

Continue reading...
 
Top