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)

TheLastSuperman 02-27-2011 01:41 AM

Quote:

Originally Posted by azcs bryan (Post 2167203)
First off, thank you for taking something that required a whole ton of editing, and simplifying it for us "common folk" ;)

I edited the adsafterfirstpost.css to read:

height: 200px;


rather than 260px, because I love the location and placing, however I would like to make it shorter in display. It hasnt reflected any changes tho, and is still displaying the 260px box/container. Am I doing something wrong?

thanks again!

In there are three definitions related to the height check it out:

Code:

#innovativeadspan {
width: 100%;
height: 260px;
margin-right: auto;
margin-left: auto;
}
#innovativeadleft {
width: 45%;
height: 260px;
float: left;
margin-left: 15px;
}
#innovativeadright {
width: 45%;
height: 260px;
float: right;
margin-right: 15px;
}

The innovativeadspan is the "Container" then innovativeadleft and right are for those sides respectively. If you change the left or right height to 200 then also change the innovativeadspan as well however the span should control the overall height regardless simply tinker to see the results but the span is the master value per say ;).

azcs bryan 02-28-2011 12:20 AM

Quote:

Originally Posted by TheLastSuperman (Post 2167408)
In there are three definitions related to the height check it out:

The innovativeadspan is the "Container" then innovativeadleft and right are for those sides respectively. If you change the left or right height to 200 then also change the innovativeadspan as well however the span should control the overall height regardless simply tinker to see the results but the span is the master value per say ;).

I tried and tried but to no avail, with editing the css. I was however successful when i edited the postbit_legacy_ads_after_firstpost

the section here:

Code:

        <div class="postdetails" style="height:220px;">
<div style="margin-top:10px;"></div>

Originally the height:220px was set to 320px, as well as the margin-top:10px was set to 20px. Either way, that was successful!

Thank you for this awesome addon, and I will be eagerly awaiting the next version with Admin CP editing of the ads! :DAttachment 127017

abdicar 03-03-2011 01:50 AM

Hello developer, this is very important and cool mod.

I just want to ask you, why it is not compatible by default with lasts versions? Because we see mods that works with a lot of versions in the future and well looks like each new version break this mod.

Thank you for your feedback

TheLastSuperman 03-05-2011 03:44 AM

Quote:

Originally Posted by abdicar (Post 2168959)
Hello developer, this is very important and cool mod.

I just want to ask you, why it is not compatible by default with lasts versions? Because we see mods that works with a lot of versions in the future and well looks like each new version break this mod.

Thank you for your feedback

This is supposed to be default functionality, last time I checked it was still not working i.e. a bug so I added a version dependency to the code. When it's fixed this mod will no longer be required and some max out the version simply not knowing what's on the way... I hope those making modifications in regards to the editor are not as a change is in store there as well ;).

sweetguy2004 03-06-2011 06:38 AM

nice script make it more admin friendly i will wait for next version coz i dnt like to edit templates.

LbR 03-13-2011 02:04 PM

Brilliant product man!!! thanks

Teascu Dorin 03-13-2011 11:01 PM

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!

flaguns 03-17-2011 05:52 AM

Very nice!! Thanks a ton, I really like this.

I changed the height as mentioned above, and changed the margin to a 10px 10px 10px 10px instead of just the 20px top and I really think it looks great! :up:

Luca_000 03-20-2011 12:36 PM

hello,
if i would like to put the post after the first one of each page and after the sixth message (if present), how i can do?
thank you

denman75 03-20-2011 02:04 PM

would be great if u can insert your own adverts ,and leave google ads out


All times are GMT. The time now is 03:05 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.01042 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)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)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