Quote:
Originally Posted by redlabour
|
It's good of them to take a look, but it's almost certainly something for me to deal with. Let me know how you get on.
Quote:
Originally Posted by RaceJunkie
IS it possible to add an advertisement on the first post like attached image?
|
Of course!
Search for
$ad_location[ad_showthread_firstpost_start] in the postbit template and after it add
$vbam_location[post_message] (note at the end). Set your ads to display every 1 post, choose the post_message template hook from the menu and for your adcode use this:
Code:
<if condition="$GLOBALS[post][postcount] % $vboptions[maxposts] == 1">
<div style="float:right;margin-left:1em;margin-bottom:1em;">
YOUR ADVERTISEMENT
</div>
</if>
The conditional is what restricts it from really appearing every 1 posts so if you're using other postbit adcode you'll have to work conditionals around it.
While I'm on the subject, if anyone wants to include an advertisement with the last post before/if the option is added back in, just use this conditional:
Code:
<if condition="$GLOBALS[post][islastshown]">
Everything here will be shown with the last post only.
</if>
* Unfortunately, vBulletin's use of ad_location hooks prevents anyone else using them unless I've included a specific workaround, which I haven't for that one. So unfortunately you have to make your own. I'll probably just remove ad_location hooks entirely.
Quote:
Originally Posted by angeldevil
Great Mod This is a Must mod nominated for MOTM .Thank you for ur good work Redtyger
|
Very kind, glad it's helpful.