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)

Freezerator 12-30-2005 08:46 PM

You are right, and that is the problem. The code i have pasted here above shows that i have c/p it on the right spot right? It's underneath
Code:

<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
so i can't see where it goes wrong.

ericgtr 12-30-2005 08:56 PM

Hmm.. without being able to look at my templates at the moment it's hard to tell but this does look suspect:
Code:

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

                </tr>
                </table>

Looks like there are two closing tags, is that last </tr> in the template by default? You can do a "View Original" to tell.

XtremeOffroad 01-04-2006 05:29 PM

This is Great, Thanks for sharing.
Installed.

LBSources 01-04-2006 11:42 PM

Quote:

Originally Posted by ericgtr
Hmm.. without being able to look at my templates at the moment it's hard to tell but this does look suspect:
Code:

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

                </tr>
                </table>

Looks like there are two closing tags, is that last </tr> in the template by default? You can do a "View Original" to tell.

works great ..

[high]* LBSources clicks install[/high]

venomx 02-13-2006 05:15 PM

I use the Adsense RevShare hack, I dont think I can use this.. I wish I could :(
Nice Mod ericgtr :)

RichieBoy67 02-13-2006 06:00 PM

I am having a strange problem. I add the code to the proper place and my forums become centered. I have no idea what is causing this.

never mind..... Thanks

ericgtr 02-13-2006 09:36 PM

Quote:

Originally Posted by venomx
I use the Adsense RevShare hack, I dont think I can use this.. I wish I could :(
Nice Mod ericgtr :)

I haven't looked at the code for that but it might not be too hard to integrate.

venomx 02-13-2006 10:51 PM

Well the revshare hack only works when its shown right below the first users post.. I cant seem to make it work elsewhere.. :(

bizpro 05-16-2006 04:37 AM

Installed and works great!

shanemcse 05-19-2006 04:18 PM

I had to remove "</table>" from the Google code to allow "New Posts: and
Todays Posts:" to not get cut off from the drop down menu. Is it OK to remove that from the google code?

</td></tr></table>
</form>
<!-- SiteSearch Google -->


All times are GMT. The time now is 07:34 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.01188 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)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