PDA

View Full Version : post is advertising


tanand79
01-14-2011, 02:01 PM
How to do like that advertisement in vbulletin 3.8x
can u give me the mod or code same like that advertisement after the post check in screen shot i attach it.

Digital Jedi
01-14-2011, 02:47 PM
I've done this just by using the putting your ad code in the default ad templates. You just copy the HTML to make it look like a typical postbit post. I'm not sure if there's a mod that does this for you.

tanand79
01-14-2011, 03:59 PM
I've done this just by using the putting your ad code in the default ad templates. You just copy the HTML to make it look like a typical postbit post. I'm not sure if there's a mod that does this for you.

i will put ads code write " BANNER CODE"
can u give me the code to do like that

TheLastSuperman
01-14-2011, 05:35 PM
I've done this just by using the putting your ad code in the default ad templates. You just copy the HTML to make it look like a typical postbit post. I'm not sure if there's a mod that does this for you.

There is for 4.x I know not sure about 3.x but yes agreed you can do it by copying the code and using a template conditional ;).

i will put ads code write " BANNER CODE"
can u give me the code to do like that

You PM'd me a link:

https://vborg.vbsupport.ru/showt...ter+first+post

Click that link ^

When you copy links don't highlight them and then paste right-click and say copy link location etc otherwise when you paste a link like that it won't work :(. Repost that link please and we'll take a look.

BirdOPrey5
01-14-2011, 06:14 PM
If you visit my forum you see I do this ad for guests only... here is the code I use in postbit legacy:

Directly below:
$template_hook[postbit_end]

add:




<!-- 2nd Post Ad -->
<if condition="$post['isfirstshown'] AND $show['guest']">
<img src="/forums/images/icons/blank.gif" height="5" border="0" />
<table id="postbit_as" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">

<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> Don't want to see ads? <a href="register.php">Register</a> for free!</td>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_ad">


<div class="bigusername">JUOT Ad</div>
</div>
<div class="smallfont">Guest Only Ad</div>
</td><td>
<!-- icon and title -->
<div class="smallfont">
<strong>Sponsored Advertisement</strong>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->

<!-- message -->
<div id="post_message_ad">


AD CODE HERE


</div>

</div>

</div>
<!-- / message -->

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
&nbsp;
</td>
</tr>
</table>


</if>
<!-- End 2nd Post Ad -->



Youll have to customize the image paths...

tanand79
01-15-2011, 03:45 AM
i wanna show to all members
how to do that? :)

TheLastSuperman
01-15-2011, 05:16 AM
If you visit my forum you see I do rhis ad for guests only... here is the code I use in postbit legacy:

Directly below:
$template_hook[postbit_end]

add:




<!-- 2nd Post Ad -->
<if condition="$post['isfirstshown'] AND $show['guest']">
<img src="/forums/images/icons/blank.gif" height="5" border="0" />
<table id="postbit_as" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">

<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> Don't want to see ads? <a href="register.php">Register</a> for free!</td>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_ad">


<div class="bigusername">JUOT Ad</div>
</div>
<div class="smallfont">Guest Only Ad</div>
</td><td>
<!-- icon and title -->
<div class="smallfont">
<strong>Sponsored Advertisement</strong>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->

<!-- message -->
<div id="post_message_ad">


AD CODE HERE


</div>

</div>

</div>
<!-- / message -->

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
&nbsp;
</td>
</tr>
</table>


</if>
<!-- End 2nd Post Ad -->



Youll have to customize the image paths...

i wanna show to all members
how to do that? :)

Remove this:

<if condition="$post['isfirstshown'] AND $show['guest']">

Example:

<if condition="$post['isfirstshown']">

tanand79
01-17-2011, 03:07 AM
thanks done.