Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2003, 09:25 AM
cazzo cazzo is offline
 
Join Date: Jun 2003
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Advertising betwen posts

Please check out this link:
http://forums.multiplayer.it/showthr...4&pagenumber=2

it's possible to have in vB3 too the text-based advertisement between two posts?

thank you
Reply With Quote
  #2  
Old 09-28-2003, 10:21 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just use the post spacing mod, and include the text after the <br /> (If it creates an extra line, remove the <br />)

if you need further help, just ask.
Reply With Quote
  #3  
Old 09-28-2003, 10:47 AM
cazzo cazzo is offline
 
Join Date: Jun 2003
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in other words so?

Quote:
</table>
</td>
</tr>
</table>
ADVERTISING?
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
thank you, simply genial
Reply With Quote
  #4  
Old 09-28-2003, 11:54 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That should work. Use <span class="smallfont">ADVERTISING</span>

That will work better. And add a <br /> before if it doesn't go onto a new line once you add it.
Reply With Quote
  #5  
Old 10-04-2003, 06:48 AM
GamerzWorld
Guest
 
Posts: n/a
Default

Ho wmany adds do you want :/
Reply With Quote
  #6  
Old 10-04-2003, 07:04 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will only add one, and repeat after the end of every post.
Reply With Quote
  #7  
Old 10-09-2003, 10:12 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been wanting to do this, the only hold back has been not wanting to have the same ad every post. Would it be possible with the <if> statements to give a new text link for each post?

Dave
Reply With Quote
  #8  
Old 10-10-2003, 01:26 AM
Joe Gardner Joe Gardner is offline
 
Join Date: Oct 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I have done this on my forum, example: http://www.bikeforums.net/showthread.php?t=38748

In the postbit template, ad this at the very bottom:

<if condition="$post[postcount] == 1">
<if condition="$bbuserinfo[usergroupid] == 1">
<-- ADVERTISING CODE -->
<br>
</if>
</if>

This is shown to guests only, once a member registers, I have moved the ad down the page, right above the quick reply. If my registered members donate, they go ad-free.

The next change i will make is to ad the code to the TOP of the postbit template, and change the postcount line to "2". This way, the ad will be shown in the same place, but only if the thread has more then one post.
Reply With Quote
  #9  
Old 10-10-2003, 11:11 AM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not quite what I am looking for. You have 1 banner ad between the first and second post and no others. I would like <post1> ad1 <post2> ad2 <post3> tip <post4> quote of the day <post5> ad3 <post6>

Dave
Reply With Quote
  #10  
Old 10-10-2003, 11:09 PM
Joe Gardner Joe Gardner is offline
 
Join Date: Oct 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many ad's do you want to have? You can do it all with if or if else statements. Personaly, I wouldnt visit a forum if there was an ad or tip between every post... What about every 5th post? ie:

<if condition="$post[postcount] == 1">
<-- ADVERTISING CODE --><br>
</if>
<if condition="$post[postcount] == 5">
<-- TIP --><br>
</if>
<if condition="$post[postcount] == 10">
<-- ADVERTISING CODE --><br>
</if>
<if condition="$post[postcount] == 15">
<-- REGISTER! --><br>
</if>

Anyhow, that should give you a good start on what you can do.
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 05:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05178 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete