2011-04-14, 10:08 AM
Hi,
Trying to do more with adverts.
I want to put an advert between the first and second post on each page in a thread.
I have all the logic there but not sure which hooks to use and how to actually insert the code.
I tried by putting
$post.='advert code';
$post['message'] .= 'Advert code';
But none of these seem to work. And I believe this would be putting the advert inside the first post.
How would I go about inserting in between the first and second post?
Dan
Oh I have also tried with
the postbit hook and showthread_start
Trying to do more with adverts.
I want to put an advert between the first and second post on each page in a thread.
I have all the logic there but not sure which hooks to use and how to actually insert the code.
I tried by putting
$post.='advert code';
$post['message'] .= 'Advert code';
But none of these seem to work. And I believe this would be putting the advert inside the first post.
How would I go about inserting in between the first and second post?
Dan
Oh I have also tried with
the postbit hook and showthread_start