vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - The second post is advertising (https://vborg.vbsupport.ru/showthread.php?t=239981)

Asterix_ita 07-10-2011 11:58 AM

Sorry but the request requires a completely different structure, at the moment you can only have two ads.

maneri 07-11-2011 08:33 PM

Hi Asterix:

First, thanks for the mod.

I would like to set $post[islastshown] as in post 139, is it posible to show $post[islastshown] just in case of thread with more than 5 replies ?

I mean, I do not want a thread with just 3 answers and 2 ads, I would like to set the minimum of 5 answers in order the last ad, included in $post[islastshown], to be shown.

Grazie!

Asterix_ita 07-19-2011 05:17 PM

Hi

change template postbit or postbit_legacy

find:

Code:

<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
replace with:

Code:

<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1  || ($post[postcount] % $vboptions[maxposts] >= 5 AND  $post[islastshown])">
for Italian users is possible see other options here

regards

paolpepas 07-23-2011 06:49 AM

Hello, I added ADS so long time in some sections.
Now I would like to place an ADS in a new section, keeping even the old ADS.
It's possible?

If I set “yes” in the “Activate the second Ads”
The old ads will disappear and only see the new.
Thank’s

I use the version 2.0.6

Asterix_ita 07-23-2011 06:59 AM

you can only see one AD for section, you can choose between two scripts, but only one is visible

paolpepas 07-23-2011 07:35 AM

Quote:

Originally Posted by Asterix_ita (Post 2223817)
you can only see one AD for section, you can choose between two scripts, but only one is visible


Ok thank's ;)

maneri 07-25-2011 10:13 AM

Quote:

Originally Posted by Asterix_ita (Post 2222494)
find:
Code:

<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
replace with:

Code:

<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1  || ($post[postcount] % $vboptions[maxposts] >= 5 AND  $post[islastshown])">

Hi Asterix_ita,

Thanks so much for your answer!

RedPoint 07-26-2011 06:16 AM

Hi and thanks for the wonderfull mod.
I use for all my sites a central adserver, the OpenX and this mod dont show the openX banners, the code from openX is:

Quote:

<script type='text/javascript'><!--// <![CDATA[
OA_show(5);
// ]]> --></script>
Any idea for this possibility to run openX banners in this mod?

Asterix_ita 07-26-2011 10:38 AM

I do not know the circuit and I can not do the tests

I suggest trying the following code

Code:

<script type='text/javascript'>
OA_show(5);
</script>


Taurus1 07-26-2011 01:46 PM

1 Attachment(s)
Awesome mod! Thank you very much. I would like to remove the following parts please:

Attachment 131402

Is it possible?

Thank you!

EDIT: I would also like to bring the ad inside the post a bit down please. It is right at the top. Is it possible to have it completely in the center. From left to right and bottom to top. Thanks.

EDIT AGAIN: Sorry, disregard the above. I managed to get it done myself. Thanks again!

Attachment 131403


All times are GMT. The time now is 02:39 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.01251 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete