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)
-   -   Integration with vBulletin - Replace search with Google Custom Search (https://vborg.vbsupport.ru/showthread.php?t=229247)

Brandon Sheley 06-03-2010 02:37 AM

Is there another google search mod for the latest vB?

Preech 06-03-2010 08:34 AM

I've been using it. I have had no problem.

Merih 06-18-2010 11:23 AM

4.0.4 isnt becoming :(

rockabilly 06-20-2010 11:57 PM

I am using 4.04 and I followed SemperFideles instructions very carefully.
When I do a site search, it displays a the search page and I can see the google adsense on the top and to the right, but it does not display any of the search results.

The page says:

" Your search - autos - did not match any documents.
Suggestions:
Make sure all words are spelled correctly.
Try different keywords.
Try more general keywords."

It seems that I am almost there, but I can't get any results to come up. Does anybody have any ideas? Thanks in advance!

SemperFideles 06-21-2010 12:48 AM

Quote:

Originally Posted by Veer (Post 2045188)
Please update for vb 4.0.3

Quote:

Originally Posted by Loco.M (Post 2047412)
Is there another google search mod for the latest vB?


Search Mod is the same for 4.0.3 and 4.0.4. When you upgrade you have to replace the form code in the navbar template. The form code is really "version agnostic". The only thing that might change in the future is the format for creating a custom page but, for now, it's working fine.

lubbie 06-21-2010 03:35 PM

Just an idea, but i would like to have 2 checkboxes above or below the searchbox where u can select the search at google or in forum. Is that also possible?

rockabilly 06-21-2010 04:51 PM

As a follow up to my previous post, the google search mod works if I specify another URL of a totally different website of mine when I set up the google adsense code.
But when I revert back to my site's URL, it won't search my site.
My site is new and it is not yet indexed in google. Could this be the reason why google won't find search results for my site, because it is not indexed by google? I just submitted my sitemap to google in hopes that this mod will work when google indexes my site.

Thank you.....

Quote:

Originally Posted by SemperFideles (Post 2056710)
Search Mod is the same for 4.0.3 and 4.0.4. When you upgrade you have to replace the form code in the navbar template. The form code is really "version agnostic". The only thing that might change in the future is the format for creating a custom page but, for now, it's working fine.


SemperFideles 06-21-2010 07:30 PM

Quote:

Originally Posted by rockabilly (Post 2057012)
As a follow up to my previous post, the google search mod works if I specify another URL of a totally different website of mine when I set up the google adsense code.
But when I revert back to my site's URL, it won't search my site.
My site is new and it is not yet indexed in google. Could this be the reason why google won't find search results for my site, because it is not indexed by google? I just submitted my sitemap to google in hopes that this mod will work when google indexes my site.

Thank you.....

That makes sense. Search results are *only* what Google has indexed. This is a "drawback" on one level that it's not going to index private fora or pages that have not yet been indexed. The advantage is that it tends to give more relevant results as the built in search engine for vBulletin is relatively crude in comparison to the $Billions Google invests in search engine research.

SemperFideles 06-21-2010 07:34 PM

Quote:

Originally Posted by lubbie (Post 2056980)
Just an idea, but i would like to have 2 checkboxes above or below the searchbox where u can select the search at google or in forum. Is that also possible?

Yes, it is possible. The mod to the navbar template falls between two form tags. You could add selection criteria to determine whether google.com or your site are searched when the user hits the search button. The problem you'll experience with this is trying to implement this in a way where it doesn't make your navbar get "fatter" unless you don't care about that. I don't have the time to tweak the form code to do this but you can find the form tags you could choose for your form by doing a search on Google and playing around with it.

hany_c_v 08-01-2010 06:57 AM

very nice ,

i did it here

www.mngol.com


All times are GMT. The time now is 08:07 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.01138 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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