Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2011, 02:01 PM
tanand79 tanand79 is offline
 
Join Date: Dec 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default post is advertising

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.
Attached Images
File Type: jpg see_Ads.jpg (171.3 KB, 0 views)
Reply With Quote
  #2  
Old 01-14-2011, 02:47 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 01-14-2011, 03:59 PM
tanand79 tanand79 is offline
 
Join Date: Dec 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
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
Reply With Quote
  #4  
Old 01-14-2011, 05:35 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
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 .

Quote:
Originally Posted by tanand79 View Post
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.
Reply With Quote
  #5  
Old 01-14-2011, 06:14 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Code:
$template_hook[postbit_end]
add:

Code:

<!-- 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...
Reply With Quote
  #6  
Old 01-15-2011, 03:45 AM
tanand79 tanand79 is offline
 
Join Date: Dec 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i wanna show to all members
how to do that?
Reply With Quote
  #7  
Old 01-15-2011, 05:16 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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:
Code:
$template_hook[postbit_end]
add:

Code:

<!-- 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...
Quote:
Originally Posted by tanand79 View Post
i wanna show to all members
how to do that?
Remove this:

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

Code:
<if condition="$post['isfirstshown']">
Reply With Quote
  #8  
Old 01-17-2011, 03:07 AM
tanand79 tanand79 is offline
 
Join Date: Dec 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks done.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04273 seconds
  • Memory Usage 2,262KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete