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)
-   -   Show Thread Enhancements - Innovative Ads After First Post (Or any post!) (https://vborg.vbsupport.ru/showthread.php?t=249274)

markoroots 02-25-2015 05:51 PM

no one?

TheLastSuperman 02-25-2015 09:24 PM

Quote:

Originally Posted by markoroots (Post 2533526)
Hi SuperMan :) can you make a great thing for us all???
Superman never say no :) especially the last one. :D ;)
If you make a graphic interface to integrate the use of this plugin from the Admincp and add the possibility to decide where to add the banners, after the first post, after the second or the third, or each 3 posts more better...
I think you make one of the best mod on vb.org ;)

Know that be making this, will be a really great mod. ;)

Thanks for reading and blesses for you, others more if you do these implementations for us. :)

;)

I do need to do that, in fact meant to a loooooooong time ago then simply forgot so thanks for the reminder and of course when time permits :cool:.

Quote:

Originally Posted by Randhal007 (Post 2534360)
Interesting mods
but I'm having problems when using on my site

For example? ;) :cool:

Quote:

Originally Posted by markoroots (Post 2537941)
Sorry...
I have found the answer in this thread. ;)

Only one thing...
I add this code like was explained:

<vb:comment>Start of Innovative Ads After First Post</vb:comment>
<vb:if condition="$post[postcount] == 1 OR $post[postcount] % 11 == 0">

<div class="postbit">
<h3 style="color: rgb(189, 189, 189); font-weight: bold;" class="posthead">&nbsp;&nbsp;Sponsored Links</h3>

<div align="center" style="padding:3px;" class="postbody">
<!-- Begin CigClick Network Code -->
<div style="text-align:center">
<script language="javascript"><!--//
var server_client_id = 1189;
var server_ad_channel = 1;
var server_publisher_channels = "";
var server_media_types = "hybrid";
var server_integrate_media_types = 0;
var server_ad_width = 728;
var server_ad_height = 90;
var server_ad_style = "728x90_as";
var server_code_version = "4";
var server_ad_color_border = "7E8AA2";
var server_ad_color_background = "F7FAE0";
var server_ad_color_headline = "7E8AA2";
var server_ad_color_body = "000000";
var server_ad_color_url = "666EBA";
var server_ad_random = 1;
//--></script>
<script type="text/javascript" src="http://adsby.cigclick.com/ads/display_ads.php">
</script>
<!-- End CigClick Network Code -->

</div>

</vb:if>
<vb:comment>End of Ads After First Post</vb:comment>


but in this way all the posts after the first are all visualized in a wrong way,
so I think that I make wrong something in the code.

Can someone help me please?

Thanks in advance.

Hmm seems as if you're trying to include a php script yet not so much... the script tags should work fine perhaps try using vb literal tags around your code, example:

Code:

<vb:literal>
ALL YOUR CODE HERE
</vb:literal>

As shown:

Code:

<div align="center" style="padding:3px;" class="postbody">
<vb:literal>
<!-- Begin CigClick Network Code -->
<div style="text-align:center">
<script language="javascript"><!--//
var server_client_id = 1189;
var server_ad_channel = 1;
var server_publisher_channels = "";
var server_media_types = "hybrid";
var server_integrate_media_types = 0;
var server_ad_width = 728; 
var server_ad_height = 90;
var server_ad_style = "728x90_as";
var server_code_version = "4";
var server_ad_color_border = "7E8AA2";
var server_ad_color_background = "F7FAE0";
var server_ad_color_headline = "7E8AA2";
var server_ad_color_body = "000000";
var server_ad_color_url = "666EBA";
var server_ad_random = 1;
//--></script>
</vb:literal>
<script type="text/javascript" src="http://adsby.cigclick.com/ads/display_ads.php">
</script>
<!-- End CigClick Network Code -->
</div>

It would more than likely be best to have your code in a plugin, then have it insert the code instead of trying to insert into another mods template imo.

markoroots 03-01-2015 10:49 PM

Wow! :) Great bro, it work great.
Really many thanks for the mod and for your support.
It's a Great Mod, very very useful, so I have installed it and nominated.
So we are waiting for a better development of this wonderful plugin. :)
A very good thing would be also if is possible, to add also a counter for the click and for the visualizations recived, from each banner shown.
So please don't forget us and don't forget t develop this magic mod. ;)


All the best

e24h 03-02-2015 01:02 AM

Great mod! Installed and nominated!

markoroots 03-02-2015 05:31 PM

:( I didn't see good the whole thread... :(
The banner is shown good, but the posts after the ads continue to be visualized in a wrong way. :(
What can I do?

markoroots 03-07-2015 11:33 AM

Any tip? :(

keyla31 03-08-2015 04:04 PM

love it

keyla31 03-08-2015 06:35 PM

Quote:

Originally Posted by Aramist (Post 2160288)
It's not compatible with vb 4.1 =/

can't proceed with the installation =/

Working fine on 4.2.2 maybe update your script

TheLastSuperman 03-08-2015 07:33 PM

^ Use v4 of the script, it will work on 4.2.2:

Code:

<dependency dependencytype="vbulletin" minversion="4.0.0 Beta 3" maxversion="4.2.3" />
Alternatively, you can use (Google it, its not windows notepad its actually named NotePad++ ) Notepad++ to edit any of the other three versions, you'll see a snippet of code at the top like I posted above but the Max version will be lower, edit and remove the old max version and type in 4.2.2, save the file, now install the mod and it won't stop you.

markoroots 03-11-2015 04:01 PM

Ok many thanks, I fix it. :)


All times are GMT. The time now is 11:38 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.01212 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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