PDA

View Full Version : How To Show A Banner After The First Post In A Thread


symptome
11-19-2008, 09:49 PM
This was explained in the following post ..
http://www.vbulletin.com/forum/showthread.php?t=157022
but seems not to be correct anymore (3.7.2)

What and where do I have to insert something to have the same effect?

Thanks a lot!

Marcel

supermak
11-19-2008, 11:40 PM
I´m looking for the same solution...

thanks in advance,

SEOvB
11-19-2008, 11:58 PM
use the build in ad location templates for after first reply

bluesoul
11-20-2008, 02:37 AM
Yup, it's called ad_showthread_firstpost.

Nadeemjp
11-20-2008, 02:55 AM
but guys, just like the starter of the thread, we would like to know how to do it.
so can you be kind enough to put down a way to do that?

appreciate that.

SEOvB
11-20-2008, 02:56 AM
you open the template and put your advertisement code in?

I'm not sure how else to explain it?

Do you know how to edit templates?

Nadeemjp
11-20-2008, 02:58 AM
ahhan, lolz:d
now i get the picture why this question seemed too stupid to you:d

yes sir i kno how to edit the template.
so i just edit the template and put the ad codes there? doesnt matter put it in the beginning of the template or at the end?

SEOvB
11-20-2008, 03:02 AM
There shouldn't be anything currently in the template if nothing is showing up after your first post :)

So just stick your code in there and you're set

Nadeemjp
11-20-2008, 03:11 AM
gr8 then.
came to look for 2 things, got a solution for one, but the other is still pending:D

just one more thing, i have 8 styles right now which i use alternatively. and like any other modification, i have to edit all 8 style templates for it to work on all styles, right?

SEOvB
11-20-2008, 03:18 AM
Thats right!

Glad you got it working!

Nadeemjp
11-20-2008, 03:23 AM
good friend, i did as told, but the advertisement is not appearing. any possibilities that come to your mind?

SEOvB
11-20-2008, 03:49 AM
that your showthread or postbit(_legacy) templates don't have the $ad_location variable in them.

Dismounted
11-20-2008, 03:54 AM
They don't need to have an ad_location variable. The template is parsed automatically and added to the output.

SEOvB
11-20-2008, 04:01 AM
They don't need to have an ad_location variable. The template is parsed automatically and added to the output.

I thought the $ad_location[ad_showthread_firstpost_start] was needed if they entered their code into the ad_showthread_firstpost_start template to display after the first post?:confused:

If I remove that code from my template it won't work, maybe variable isn't the correct word i was looking for then ?D:

Dismounted
11-20-2008, 04:15 AM
Ah, my bad, I stand corrected - I haven't been dabbling in the new features much.

symptome
11-20-2008, 05:02 PM
perfect, works nice for me! :)

Thanks a lot!