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)

StarBuG 10-23-2010 08:01 PM

It is just that this ideology makes me sick and I can't believe that people are still that stupid to follow it even though everyone knows it costs millions of innocent lives.

Even some Germans are still denying history and uphold old "ideas" and idealize them blinded to the truth.

I just hope that you are not one of those people.

I hope that one day the world will learn that racism leads only to destruction of us all and that we are all humans living on the same planet regardless of our origin.

So back to topic.

stained 10-24-2010 12:05 AM

I've already explained what my forum is. We could of course disagree on the ethics of exploring the science of click-through rates on a site visited by people looking for help with their medical problems but hey, let's not go there. As you say, back on top

barcena 10-24-2010 12:16 AM

When I'd install everything on the child forum everything went well StarBug, but on the original/parent forum style is just not. I sent you a private message with a more detailed explanation, help.

BarelyHangingOn 11-07-2010 01:48 PM

An easier way to incorporate your hack is to alter the default Guest Message through the Notices interface in the admin panel.

StarBuG 11-08-2010 06:24 AM

Quote:

Originally Posted by Burtman (Post 2119027)
An easier way to incorporate your hack is to alter the default Guest Message through the Notices interface in the admin panel.

If you like the yellow out of the box message go ahead and alter it.
I like the look of mine better ;)

kether1 01-11-2011 04:15 PM

Starbug,
I very much like this. Thank you. I do have a question that has not been addressed here. How does this play with VBSEO and SEO in general. I notice on the vbseo site that they recommend replacing welcome text with images so that spiders read your content and don't see the same thing over and over. What are your thoughts on this sir?

Thank you for your time. This is a very attractive modification. I am currently playing with this on my test installation to get it styled like my site.

I wish I could create the drop shadow and curved corners as you have on your site:http://www.patientenfragen.net/en/. It is very attractive. Nice work! :up:

Kether

StarBuG 01-12-2011 11:36 AM

You can put the Text next to the Ad as image if you are concerned about SEO influences.
I don't do it because I think Google can figure out which parts on a page (like navigation and footer) repeat themselves without much meaning.

Also the drop shadow is simple CSS. You can copy it from my site.

kether1 01-12-2011 12:42 PM

Quote:

Originally Posted by StarBuG (Post 2147978)
You can put the Text next to the Ad as image if you are concerned about SEO influences.
I don't do it because I think Google can figure out which parts on a page (like navigation and footer) repeat themselves without much meaning.

Also the drop shadow is simple CSS. You can copy it from my site.

Thanks for your reply.

Regarding the CSS drop shadow, I would not know how to copy it from your site. LOL. I have been reading about how to do it on different code sites on google. The thing that puzzles me is that, from what I can tell, the css you supplied is supposed to create a drop shadow. A div inside another div that is slightly offset and a different color (usually grey) seems to be how it is done. I will keep trying to figure it out. I will also take another look at your site using firefox to see if I can view the source of your page. Maybe I can copy it that way. :)

Regardless, thank you.
K

StarBuG 01-12-2011 08:42 PM

no the drop shadow is done by this:

Code:

.ads_lr_wrapper { border: 2px solid #274C84; -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: #ffffff; width:850px; height:315px; padding: 5px 5px 5px 5px; margin-bottom: 10px; }
Anyway, you'll find updated versions of my AdSense modifications on my new Website:

www.AdSenseExperts.com

kether1 01-13-2011 05:22 PM

Thanks, I have visited your site several times. :)

Best regards,
Kether

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.

StarBuG 05-11-2011 08:12 PM

Ad Block users don't see the AdSense Ad but will see the quest message

preemz10314 05-11-2011 09:01 PM

Also, I would like to note, that firefox users, if the admin decides to add a few more lines of text, the text bleeds over the block. But for chrome it adjust automatically... any idea on this? or is it just the way it is?..... Regardless this is by far one of my favorite mods. I thank you very much.

StarBuG 05-11-2011 09:26 PM

You need to adjust the size variables in the CSS code for that

lycheepassion 06-02-2011 05:00 PM

Anyone see this as more effective than default adsense header?

lycheepassion 06-02-2011 05:07 PM

What if I have HIGH adsense already how can I replace w/o losing the other placements?

lycheepassion 06-02-2011 05:12 PM

Is this just for unregistered members? How can I show the other regular header to registered so I still have an ad there?

StarBuG 06-02-2011 06:50 PM

Quote:

Originally Posted by lycheepassion (Post 2202751)
What if I have HIGH adsense already how can I replace w/o losing the other placements?

Test it, it is that simple ;)

Quote:

Originally Posted by lycheepassion (Post 2202749)
Anyone see this as more effective than default adsense header?

What is your default AdSense header?
But the answer is most likely yes

Quote:

Originally Posted by lycheepassion (Post 2202757)
Is this just for unregistered members? How can I show the other regular header to registered so I still have an ad there?

Remove the guest condition ;)

lycheepassion 06-02-2011 08:41 PM

My default is what Vb has as default basically - I dont want to lose my pblishing rights if I test and it has more than 3 ads

lycheepassion 06-02-2011 08:44 PM

its in nav header below removed code for now to test this

AshMagic 06-03-2011 01:43 PM

Hey,

I've added this code exactly but can't get it to work properly.
I have cleared my cache in both IE and Firefox but it still displays the old message style.

The only way I can view it is if I login, then logout. The new message style shows on the 'Cookies Cleared' page but not on any other page anywhere!?!

Im on 4.1.3

rishimodi 06-24-2011 05:32 AM

I've the same problem, please check my site whitegadget(dot)com

StarBuG 06-24-2011 11:56 AM

You need to NOT use the vBulletin notice system. Whenever a vBulletin notice is shown the Ad wont show. You can remove
Code:

AND !$show['notices']
and it will show with the vbulletin notices but I would rather recommend you switch off notices as long as these are standard vBulletin notices like welcome guest.

cakeforums 07-20-2011 10:31 PM

Installed and works great... thank you

mgcom 09-13-2011 03:49 PM

great thanks

stupid question

i do i center the box

cheers

byalik 09-27-2011 01:44 AM

nevermind

byalik 09-27-2011 03:05 AM

How do you control what pages it shows up on. For example what if you don't want it to show up on the vBulletin CMS page and the blog page?

bosken 09-28-2011 04:22 PM

Quote:

Originally Posted by byalik (Post 2250437)
How do you control what pages it shows up on. For example what if you don't want it to show up on the vBulletin CMS page and the blog page?


Yes, I wonder that to!

bosken 09-28-2011 06:03 PM

This does not work with automatic translate, Translation by vB Enterprise Translator 2.4.4 :(

EDIT: Probably not the the add-on that?s doing this.

cagbaazee 10-03-2011 12:53 PM

where to remove the notice.

I didnot see it working. I did follow your instruction but it doesnot show. What is the problem..

Will it works in Vbulletin 4.16

Thanks

Quote:

Originally Posted by StarBuG (Post 2212146)
You need to NOT use the vBulletin notice system. Whenever a vBulletin notice is shown the Ad wont show. You can remove
Code:

AND !$show['notices']
and it will show with the vbulletin notices but I would rather recommend you switch off notices as long as these are standard vBulletin notices like welcome guest.


preemz10314 10-03-2011 02:19 PM

Quote:

Originally Posted by cagbaazee (Post 2252680)
where to remove the notice.

I didnot see it working. I did follow your instruction but it doesnot show. What is the problem..

Will it works in Vbulletin 4.16

Thanks


Turn off your guest notices.


All times are GMT. The time now is 01:30 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.01335 seconds
  • Memory Usage 1,822KB
  • 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
  • (8)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