vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Add Google adsense search to your navbar dropdown (https://vborg.vbsupport.ru/showthread.php?t=103222)

prawn 12-21-2005 09:26 PM

Yeah I was ++++ed up once for asking people to click on my banner. They kicked my account and I tried to argue with them. They copied & pasted their f*ckin TOS everytime. I thought I was mailing with a computer. You really have to be careful there.
Don't think that this is possible. Even if it was possible they might say anything is forbidden that changes the appearance of their banners.

They get like M$! ;)

ericgtr 12-21-2005 09:33 PM

Yeah, even though it technically wouldn't be changing their source code, it's still an alteration to the end result.

Moncal 12-26-2005 01:11 PM

Great idea. Thanks.

NineToez 12-28-2005 08:05 AM

Thanks! Great mod! My only wish would be to make the text box and button the exact same size as the vB to match (so I'm a little anal), but none the less a worthwhile mod.

Freezerator 12-30-2005 08:13 PM

Code:

                <tr>
                        <td class="thead">Search Google</td>
                </tr>
<!-- SiteSearch Google -->
replace this text with your adsense search code
<!-- SiteSearch Google -->

When i add this code, it breaks the table? I can't figure it out where it's happening. Can someone check this?

ericgtr 12-30-2005 08:16 PM

This is designed for 3.5.x are you still using 3.0.7? If so it's probably a matter of messing with it a little bit to get the format right in your template. I would look for you but my server is crashed at the moment.

Freezerator 12-30-2005 08:17 PM

I am sorry, i haven't updated my profile. I am using 3.5.2 since today :)

ericgtr 12-30-2005 08:28 PM

Okay, lets make sure that where it says:
replace this text with your adsense search code
is only replaced with the google code itself, no other. So you will want to start at <script> and end at </script> when pasting your code in.

Freezerator 12-30-2005 08:34 PM

http://forum.scooterforum.net/forum/

I have inserted the code, without the google script. As you can see, it looks like the table doesn't close correctly.

I have this code:

Code:

            <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
                </tr>

                <tr>
                        <td class="thead">Search Google</td>
                </tr>
<!-- SiteSearch Google -->
replace this text with your adsense search code
<!-- SiteSearch Google -->

                </tr>
                </table>
        </div>
        <!-- / header quick search form -->


ericgtr 12-30-2005 08:42 PM

On your forum it looks like it's above the default search when it should be below.


All times are GMT. The time now is 09:42 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.01134 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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