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)

Palehorse74480 01-16-2011 07:00 PM

If this was integrated into this...

https://vborg.vbsupport.ru/showthread.php?t=231352

That would rock!

kether1 01-29-2011 04:42 PM

Just a note: The xhtml validator says that using the <p=id ... and then calling a class is not the proper way to do the css for this modification. Is there a way to do this that will not cause a fail when validating the xhtml of my site? (http://validator.w3.org) The css works as expected, but under validation I get several errors because of this. Any suggestions on how to correct it? I tried changing the <P=id to <div class=, but that ruined the css.

Thanks,
Kether

baghdad4ever 02-02-2011 08:09 AM

thanks

installed

cagbaazee 03-15-2011 10:17 AM

Hello. Thanks for the Mod.. I have following your instruction and install according to u. But what i need that it is not properly display.. I need it to be in Center Position and more ever it should be in Home page only instead in every pages. Need it to be install above the navbar.

My website - http://gurusecret.info\vbforum

please check and let me know what is wrong with it.


Thanks

unitrash 03-17-2011 03:16 AM

Does this not work for 4.1.2?

I applied this to an earlier version and it worked fine. Repeated the process recently to 4.1.2 and no luck for some reason.

stained 03-17-2011 07:09 AM

Yes, this definitely works in 4.1.2.

Add the lines in red to the first section of Starbug's additional.css code. This will center the welcome box on a fluid-width forum.


/*------------------------------------------------------------------------------
| #> Large Rectangle Ad + Welcome Text below navbar
+-----------------------------------------------------------------------------*/
.ads_lr_wrapper {
border: 2px solid #000000;
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
-moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
background: #999999;
width:850px;
height:290px;
padding: 5px 5px 5px 5px;
margin-left: auto;
margin-right: auto;


}



If you want centered and the nice shadow (mentioned by Starbug earlier in the thread) just amend the first section of his additional.css code to:



/*------------------------------------------------------------------------------
| #> Large Rectangle Ad + Welcome Text below navbar
+-----------------------------------------------------------------------------*/
.ads_lr_wrapper {
border: 2px solid #000000;
-moz-border-radius:5px 5px 5px 5px;
-khtml-border-radius:5px 5px 5px 5px;
-webkit-border-radius:5px 5px 5px 5px;
-moz-box-shadow:4px 5px 8px rgba(0, 0, 0, 0.6);
-khtml-box-shadow:4px 5px 8px rgba(0, 0, 0, 0.6);
-webkit-box-shadow:4px 5px 8px rgba(0, 0, 0, 0.6);
background: #999999;
width:850px;
height:290px;
padding: 5px 5px 5px 5px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
}

Obviously you'll need to change the background colour and border colour to suit your own colour scheme.

cagbaazee 03-18-2011 01:47 PM

Hi... Thanks for mod.. everything is working fine. but i request u how can i put it up above the images. please check :

http://gurusecret.info/vbforum

I hv mark as install and also member of yr wonderful website.

Cheers

StarBuG 03-18-2011 09:37 PM

@cagbaazee
Just place my code above the other ad code in your navbar template

synseal 03-24-2011 05:34 PM

Thanks for this, I have edited the code a bit to suit my forum and made the welcome message an image for SEO reasons but it looks okay to me.

http://www.techkings.org/forum/

Thanks Starbug for this hack!.

preemz10314 05-11-2011 07:50 PM

Works great. Thank you very much. Really cleaned up my guest message as my forum is private. Just one thing, I am not certain but I think people who use AD Block, do not see this at all...

p.s Thanks stained your code worked perfectly. Marked as installed* 5stars and nominated.


All times are GMT. The time now is 10:04 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.01171 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
  • (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