vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Adsense integration together with nice welcome message - StarBuG optimized blending (https://vborg.vbsupport.ru/showthread.php?t=250649)

synseal 10-19-2010 07:11 PM

Hello, thank you for sharing this excellent mod, is there a way of adding another advertising block at the side of the first one.

When I try to add it in the navbar template after the first advert, it just adds the second add below rather than at the side of the 1st add.

Many thanks.

ictvb 10-19-2010 08:55 PM

Looks neat StarBuG. Do you know if this combination performs better than 2 large rectangles next to each other? (as suggested by many forum ad placement tutorials).

guni75 10-20-2010 06:39 AM

Thanks for the good add on for my guests. ;)

I have a fluid theme and i try to put it in a table. But then have a problem with the background from forum. the background stop direkt under your add on.

what is the right way?

Sorry about my english and i dont know so much about html and css.

Thanks

barcena 10-23-2010 06:13 AM

I can't get the two to be on the same rectangle.

The adsense will be on top of the Please Register blah blah blah, instead of everything looks "horizontal" it looks like "vertical", the Adsense in top of the invitation to join the site instead of been side by side.

Help Please.

Also, how can I make a border to wrap the whole thing like StarBug did on his site?

Thanks so much.

StarBuG 10-23-2010 07:12 AM

Quote:

Originally Posted by TalkDisneyChann (Post 2111691)
For some reason I can't get to the border to show. It's not the same color as the background, so im not sure what the problem is.

Which border?

Quote:

Originally Posted by synseal (Post 2111758)
Hello, thank you for sharing this excellent mod, is there a way of adding another advertising block at the side of the first one.

When I try to add it in the navbar template after the first advert, it just adds the second add below rather than at the side of the 1st add.

use float:left; as additional CSS command for the first Ad, that should do the trick.

Quote:

Originally Posted by ictvb (Post 2111795)
Looks neat StarBuG. Do you know if this combination performs better than 2 large rectangles next to each other? (as suggested by many forum ad placement tutorials).

Did not try that but I hate it to slap ADs into my users faces.
I want to at least offer them something which is the welcome and call to action.
But that is my approach, feel free to test other ways.

Quote:

Originally Posted by barcena (Post 2113073)
I can't get the two to be on the same rectangle.

The adsense will be on top of the Please Register blah blah blah, instead of everything looks "horizontal" it looks like "vertical", the Adsense in top of the invitation to join the site instead of been side by side.

Help Please.

Also, how can I make a border to wrap the whole thing like StarBug did on his site?

Sounds like you forgot to add the code into the additional.css template.
Without the CSS the mod wont work.

barcena 10-23-2010 07:37 AM

No I dind't forgot StarBug, in fact I actually changed the colors and all. But it just won't work side by side but rather one in top of the other and it does looks pretty awful. :(

PS. I copied the following, one into the Navbar and the other into the additional.ccs template

PHP Code:

<vb:if condition="THIS_SCRIPT != 'search'  AND !$show['notices'] AND $show['guest']">
 <
div class="ads_lr_wrapper">
  <
div class="ads_lr">
    <
script type="text/javascript"><!--
google_ad_client "pub-xxxxxxxxxxxxxxx";
/* 336x280, created 10/22/10 */
google_ad_slot "xxxxxxxxxxxxxxxx";
google_ad_width 336;
google_ad_height 280;
//-->
</script>
<
script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</
script>
  </
div>
  <
div class="ads_lr_welcome">
   <
p id="welcome_bold_big">Welcome to sdadfadfdf!</p><br>
     
     <
p id="welcome_normal">More adsfadfad blah blah dfadfa!"</p><br>
     
            <ul>
             <li><b>&nbsp;&raquo;</b>  adfadfadfadf</li> 
             <li><b>&nbsp;&raquo;</b>  sdfasdfasdfadf</li> 
             <li><b>&nbsp;&raquo;</b>  asdfasdfadfad</li>
             <li><b>&nbsp;&raquo;</b>  asdfsdfdf</li>
            </ul>
            
            <br>
            
            <p id="
welcome_bold">.Etc etc etc</p><br>

            <p id="
welcome_normal">blah blah blah!</p><br>
            
            <p id="
welcome_bold_big"><a href="http://www.xxxxxxx.com/register.php">Register blah blah blah  </a></p><br />
            
            
<p id="welcome_small">Yadah Yadah ?etc etc adfadjkfadkjfadjf!</p>
  </
div>
 </
div>
</
vb:if> 

PHP Code:

.ads_lr_wrapper {
    
border2px solid #FFCC66;
    
-moz-border-radius-bottomleft:5px;
    -
moz-border-radius-bottomright:5px;
    -
moz-border-radius-topleft:5px;
    -
moz-border-radius-topright:5px;
    
background#ECE8DB;
    
width:850px;
    
height:290px;
    
padding5px 5px 5px 5px;
}

.
ads_lr {
    
positionrelative;
    
background#ECE8DB;
    
width336px;
    
margin-left10px;
    
margin-right30px;
    
float:left;
}

.
ads_lr_welcome {
    
background#ECE8DB;
    
positionrelative;
    
width460px;
    
margin-top10px;
    
margin-leftauto;
    
margin-right10px;
    
float:right;
}

#welcome_normal {
  
font-size:normal;
  
font-family:Helvetica;
  
text-decoration:none;
  
text-alignleft;
}

#welcome_small {
  
font-size:x-small;
  
font-family:Helvetica;
  
text-decoration:none;
  
text-alignleft;
}

#welcome_bold {
    
font-weight:bold;
    
font-size:normal;
    
font-family:Helvetica;
    
text-decoration:none;
        
text-alignleft;
}

#welcome_bold_big {
    
font-weight:bold;
    
font-size:large;
    
font-family:Helvetica;
    
text-decoration:none;
        
text-alignleft;
        
color:#274C84;



StarBuG 10-23-2010 08:02 AM

Send me your link and I take a look.

But I guess that your welcome text is larger then 460px and that is causing the problem

stained 10-23-2010 08:51 AM

I've been using this (and your other enhancements for second and last posts) for the last few weeks and they are performing much better than anything else I've tried. The welcome message has performed particularly well so thank you very much for sharing your ideas StarBuG. The only change I made was to enter an extra line at the end of the welcome text to tell people to scroll down the page :)

StarBuG 10-23-2010 02:05 PM

You are welcome

As a German I just hope that you don't uphold nor emphasise the stupid ideology from the topic of your forum.
We all need to learn from our history otherwise it will repeat itself in our future and effect us and our children for the worse.

I also hope that you considered the Google program policies:

Quote:

Sites with Google ads may not include or link to:
  • Content related to racial intolerance or advocacy against any individual, group or organisation


stained 10-23-2010 04:02 PM

My forum doesn't contain 'ideology'. It's a militaria forum for collectors - something which is stated quite clearly in the box you designed and which I'm quite sure you looked at...

However, even if it were the type of forum you mentioned it would frankly have absolutely nothing to do with you. How dare you even mention that in this thread.


All times are GMT. The time now is 09:15 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.01139 seconds
  • Memory Usage 1,784KB
  • 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_php_printable
  • (5)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