PDA

View Full Version : How to post ads after first post


Breakthecycle2
12-12-2011, 10:47 PM
I did a search, but the problem I am having is the grey box the ad is in, overlaps everything. How do I do the attached. (please note that I am not using Adsense, rather I'm using lijit advertising. Works the same way).

kh99
12-13-2011, 12:03 AM
I see the image of what you want to do, but I don't understand what's happening now. Can you provide a link or something?

Breakthecycle2
12-13-2011, 01:36 AM
I fixed the overlapping problem, but i'd like it to look like the other image.

Breakthecycle2
12-14-2011, 01:48 PM
Or like this.

kh99
12-14-2011, 02:04 PM
Oh, I think I see now - you want it to look like a post. You could just render the postbit_legacy template and create a fake $post array for it. Or maybe it's easier to copy the postbit_legacy template to an ad template and make the necessary changes.

Breakthecycle2
12-14-2011, 02:48 PM
That's what I was thinking, but I don't know how to do that. LOL

kh99
12-14-2011, 02:54 PM
Well, you can put a template in the text box where you configure ads, right? So you could copy the postbit_legacy template and replace {vb:raw post.message} with the existing ad code. Then you need to do a lot of editing because there'll be a lot of other vb:raw's in there that need to just be changed to some string or html. It'll probably be a bit of a pain, but I don't know how else to do it other than to start from scratch and write html that looks like the other posts.

Breakthecycle2
12-14-2011, 03:12 PM
Thanks for that, but I think I need some more help with this.