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)

michaelbang 04-25-2012 08:16 PM

Does this work in 4.1.11?

Thanks.

TheLastSuperman 04-25-2012 08:42 PM

Quote:

Originally Posted by TheLastSuperman (Post 2165938)
And done! Anyone using 4.1+ download the v2 .xml, it is not currentl compatible with 4.2 i.e. it's maxed out currently at 4.1.9 however once 4.2 comes out I'll update it then.

Sincerely,

Mike

Quote:

Originally Posted by bderen (Post 2302177)
how about vb 3.8.2?

Unfortunately no however you can do a simple template edit in 3.8.x and also use conditional to achieve the same thing ;).

Quote:

Originally Posted by twista46 (Post 2306798)
4.1.11 not kompatibel. (Kompatibel ab 4.0.0 Beta 3

Minimum required version is 4.0.0 Beta 3 but max was topped at 4.1.9 why? Because this was supposed to be default long ago there was no need to have some installing something if it was fixed/default in a newer version.

Quote:

Originally Posted by michaelbang (Post 2323491)
Does this work in 4.1.11?

Thanks.

It does now please download and try the file product-innovative_ads_after_firstpost-v3.xml for use on any version past 4.1.9! :cool:

michaelbang 04-30-2012 06:04 PM

Can I combine this mod with a mod/script that will allow me to have banners rotating? Besides Google Adsense of course. I want to run my own ads on my site.

But right now, with the standard mod, I can only have two banners at a time. One left and one right. I want maybe 10 different banners rotating in the two places after the first post.

BTW - great mod! Thanks.

michaelbang 04-30-2012 09:46 PM

I'm using a solution for my ads called SimpleAds, but when I paste my ad-codes in your mod, nothing shows up. Can you tell from this code, if anything's wrong with my ad-code? Maybe it's not compatible? Or I'm using a wrong type of code?

I've tried different advertisers just to check, and they work just fine. E.g. Google Adsense. So it must be the code below.

Code:

<?php /* PMC 2012 */  chdir("/home/www/mysite.com/mysimpleads"); include_once("/home/www/mysite.com/mysimpleads/mysimpleads.php");show_ad(1); ?>
Thanks a million!

TheLastSuperman 05-01-2012 02:42 AM

Quote:

Originally Posted by michaelbang (Post 2324968)
Can I combine this mod with a mod/script that will allow me to have banners rotating? Besides Google Adsense of course. I want to run my own ads on my site.

But right now, with the standard mod, I can only have two banners at a time. One left and one right. I want maybe 10 different banners rotating in the two places after the first post.

BTW - great mod! Thanks.

I've used this with it before, works rather well - https://vborg.vbsupport.ru/showthread.php?t=188328 although two on the same page could produce missiong images every so often so perhaps find another similar style script and use one on one side, one on the other ;).

Quote:

Originally Posted by michaelbang (Post 2325038)
I'm using a solution for my ads called SimpleAds, but when I paste my ad-codes in your mod, nothing shows up. Can you tell from this code, if anything's wrong with my ad-code? Maybe it's not compatible? Or I'm using a wrong type of code?

I've tried different advertisers just to check, and they work just fine. E.g. Google Adsense. So it must be the code below.

Code:

<?php /* PMC 2012 */  chdir("/home/www/mysite.com/mysimpleads"); include_once("/home/www/mysite.com/mysimpleads/mysimpleads.php");show_ad(1); ?>
Thanks a million!

Yes it's the code, see the <?php beginning and end? vBulletin itself will not even let you paste that into a template so in other words you'll have to whip something custom up to accommodate or see if they have some alternative version (javascript or other) that will easily show when pasted into the template :cool:.

RedPoint 05-04-2012 06:56 PM

I use idevSpot-TextAds 3.0 for my textads.
The code for ads is a PHP but the "support team" from idevSpot not offer support for own clients - be my last buy from this company :mad:

The code show this:
PHP Code:

<?php $boxid=1?><?php include "/var/www/vhosts/domain/httpdocs/advertiser/adbox/adbox.php" ?>

Give a update for your addon to can use this realy dumb idev-textad?

datoneer 06-08-2012 03:26 PM

Great mod! Installed and nominated!

datoneer 06-08-2012 07:52 PM

I want to know one thing. I've notice when adblock plugin is enabled the ads area is still there(just without ads)
example: http://www.imspot.org/content-creati....html#post7501

It looks bad, can i do something to disappear totally?

datoneer 07-13-2012 05:46 PM

Amazing Mod! Rated, installed, +++++++

princesspepper 07-15-2012 10:17 AM

Quote:

Originally Posted by TheLastSuperman (Post 2323505)
It does now please download and try the file product-innovative_ads_after_firstpost-v3.xml for use on any version past 4.1.9! :cool:

I am running V4.2 PL2 and V3 will not install for me... it says it's not compatible. Is this just a case of the version number in the product file needs editing, or is it really not compatible?

princesspepper 07-19-2012 01:43 PM

I take it no one's supporting this anymore...? It's been over 2 months since the last reply from the developer...

mollila 07-25-2012 09:48 AM

Quote:

Originally Posted by princesspepper (Post 2348264)
I am running V4.2 PL2 and V3 will not install for me... it says it's not compatible. Is this just a case of the version number in the product file needs editing, or is it really not compatible?

I tried that, and got it to work.

Same thing happened to me. When trying to import while running VB 4.2.0, the import failed with error message that this plugin is not compatible.

I opened the XML file in Notepad and edited the maxversion number to be 4.2.1 instead of 4.2.0 and it installed fine, and seems to be running fine on a live site.

From:
Code:

<dependency dependencytype="vbulletin" minversion="4.0.0 Beta 3" maxversion="4.2.0" />
To:
Code:

<dependency dependencytype="vbulletin" minversion="4.0.0 Beta 3" maxversion="4.2.1" />

Nirjonadda 11-24-2012 02:18 PM

Can you update this mod work on without manual template edit ?

planetMitch 03-01-2013 07:41 PM

Quote:

Originally Posted by mollila (Post 2351262)
I tried that, and got it to work.

Same thing happened to me. When trying to import while running VB 4.2.0, the import failed with error message that this plugin is not compatible.

I opened the XML file in Notepad and edited the maxversion number to be 4.2.1 instead of 4.2.0 and it installed fine, and seems to be running fine on a live site.

From:
Code:

<dependency dependencytype="vbulletin" minversion="4.0.0 Beta 3" maxversion="4.2.0" />
To:
Code:

<dependency dependencytype="vbulletin" minversion="4.0.0 Beta 3" maxversion="4.2.1" />

Thanks for posting this -- I'm testing now on 4.2 - much appreciated.

and - if you saw this post before I edited it (removing the goof), I found the code to add the add after the 4th post... nevermind! ;)

mostafa10601 02-06-2014 03:59 AM

update this mod plz....

can not import for vb 4.2.2

TheLastSuperman 02-06-2014 06:18 AM

Quote:

Originally Posted by mostafa10601 (Post 2479298)
update this mod plz....

can not import for vb 4.2.2

Done! Download the file product-innovative_ads_after_firstpost-v4.xml

Edit: Revision pending for this mod, it works fine as-is but I'm going to re-write it so there are options to display one large ad or two side-by-side ;).

Zilvia 02-26-2014 05:18 PM

Could I pay you to make this work in 3.8.x?

TheLastSuperman 02-27-2014 06:59 AM

Quote:

Originally Posted by Zilvia (Post 2483915)
Could I pay you to make this work in 3.8.x?

Erm not supposed to talk about stuff like that in modification threads but try this out for now:
http://www.vbulletin.com/forum/forum...st-in-a-thread

^ That will serve the purpose just the same, I'll see about updating this for 3.x at a later date, already had my fill for the night (work :p).

DemOnstar 02-27-2014 01:51 PM

Quote:

Originally Posted by mollila (Post 2351262)

I followed the url above and got this from Avast.

Relax, your avast! just saved you from a virus.
Protect yourself against other types of threats by upgrading now.

Code:

URL:        http://sharkypro.synology.me/VB4/includes/middle.php...
Infection:        HTML:Agent-IS [Trj]


MYU 03-15-2014 11:47 PM

Quote:

Originally Posted by Teascu Dorin (Post 2173046)
This product is great but it seems is appearing for registered users and me as administrator also. Shouldn't be seen only by visitors /unregistered?

Thank you!

Same here, members do not see it but the mods/admin still do. I've tried my own code which works for other ad placements, it still shows for mods/admins?

Really good mod but it's starting to do my head in now. :(

TheLastSuperman 03-19-2014 12:29 AM

Quote:

Originally Posted by Teascu Dorin (Post 2173046)
This product is great but it seems is appearing for registered users and me as administrator also. Shouldn't be seen only by visitors /unregistered?

Thank you!

Quote:

Originally Posted by MYU (Post 2487567)
Same here, members do not see it but the mods/admin still do. I've tried my own code which works for other ad placements, it still shows for mods/admins?

Really good mod but it's starting to do my head in now. :(

The mod uses a template, in that template you define the <vb:if codes>

Here is the template:
Code:

<vb:comment>Start of Innovative Ads After First Post</vb:comment>
<vb:if condition="$show['guest'] OR $show['member']">
<vb:if condition="!$GLOBALS['FIRSTPOSTID']">
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
        <div class="posthead" style="height:15px;"><span class="innovativetitle"><a href="register.php">Register to remove these Ads!</a></span>
</div>
        <div class="postdetails" style="height:320px;">
<div style="margin-top:20px;"></div>
<div id="innovativeadspan">
<div id="innovativeadleft">
<vb:comment> Left Ad Code Below this Commented out line </vb:comment>
Left Ad Image/Code 1 needs to be placed here, no larger than 260 pixels in height.
<vb:comment> Left Ad Code Above this Commented out line </vb:comment>
</div>
<div id="innovativeadright">
<vb:comment> Right Ad Code Below this Commented out line </vb:comment>
Right Ad Image/Code 2 needs to be placed here, no larger than 260 pixels in height.
<vb:comment> Right Ad Code Above this Commented out line </vb:comment>
</div>
</div>
        </div>
</li>
</vb:if>
</vb:if>
<vb:comment>End of Ads After First Post</vb:comment>

What would you modify to make a change? This line:
Code:

<vb:if condition="$show['guest'] OR $show['member']">
To show it only to guests make it this:
Code:

<vb:if condition="$show['guest']">
:cool:

venomx 03-24-2014 06:02 AM

Getting ready to set up a vB site again. Would be great if this would only show if there was more than 2 posts in a thread..

I use to know how to do this... Guess I am going to have to learn all over again.

ramesh_umk3 03-24-2014 02:13 PM

for now you can refer this reply https://vborg.vbsupport.ru/showpost....8&postcount=74

venomx 03-24-2014 06:40 PM

Thanks!

cungchuctanxuan 08-02-2014 03:56 PM

Hi,
How do I change the background color?

markoroots 01-20-2015 02:45 PM

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. :)

;)

Randhal007 01-24-2015 03:33 PM

Interesting mods
but I'm having problems when using on my site

markoroots 01-24-2015 04:59 PM

Is there a possibility to count clicks and impressions?

markoroots 02-11-2015 10:07 PM

Hi there, please how can I add only one banner of 728x90 in the box?
Thanks in advance.

markoroots 02-19-2015 09:00 AM

Quote:

Originally Posted by markoroots (Post 2537084)
Hi there, please how can I add only one banner of 728x90 in the box?
Thanks in advance.

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.

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 01:33 PM.

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.01572 seconds
  • Memory Usage 1,862KB
  • 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
  • (13)bbcode_code_printable
  • (1)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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