vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Google in quick search with forum style (https://vborg.vbsupport.ru/showthread.php?t=129076)

MadKad 10-13-2006 10:00 PM

Google in quick search with forum style
 
This mod can all be explained easy by looking at the screen shot or trying it at our forum here

This mod is easy to install just read the text file and away you go. files included:

2 txt files

Files are:

1 READ ME FIRST.txt
1 code and install.txt

Edits, just one template = navbar

Remeber to click install, thank you :cool:

ChavMagnet 10-14-2006 04:32 PM

Awesome Thank You 1st Post WOOT

MadKad 10-14-2006 06:33 PM

:D Glad it put a smile on your face

RYoBiOS 10-14-2006 08:48 PM

I don't find
$vbphrase[show_posts]</label>
:surprised:

MadKad 10-14-2006 09:25 PM

Have you tryed searching just for $vbphrase[show_posts]

if you find it that way the </label> tag should be right next to that aswell

its deffently there :)

RYoBiOS 10-14-2006 11:03 PM

Nothing,I don't find even after your suggestion :(

MadKad 10-14-2006 11:43 PM

hmm thats weird, could you post the template code so I could look :)

RYoBiOS 10-15-2006 12:02 AM

Now I remembers that I not I have updated the navbar because I have modified something :rolleyes:
Were do I code insert?
:D

RYoBiOS 10-15-2006 07:35 AM

no, I have a mistake, the navbar is update to 3.6.2 but not there is $vbphrase[show_posts]

:classic:

MadKad 10-16-2006 02:53 PM

hmm if you updated it then there should be one in there, is that text file the updated version?

ComputerVitals 10-18-2006 02:15 AM

Bonus..

Thanks for the code

MadKad 10-18-2006 10:45 AM

thank you for clicking install :D

malmazan 10-18-2006 02:07 PM

Well that would be a way to search for phrases, since the search on vb cannot and sometimes you just need that.

You might want to search in "mysite.com/myforum" as opposed to "mysite.com" if you have significant content in the rest of the site

MadKad 10-18-2006 02:49 PM

Quote:

Originally Posted by malmazan
Well that would be a way to search for phrases, since the search on vb cannot and sometimes you just need that.

You might want to search in "mysite.com/myforum" as opposed to "mysite.com" if you have significant content in the rest of the site


true ;)

dodgeboard.com 10-19-2006 03:21 AM

Quote:

That is it all should be working, you need to change the google form code to your own, ie pub code, channel, website and logo on page that form send you to
Ok, I am not sure if I follow this. Where de we get our pub code, channel info?

And how can we change the image size where our logo is? This one is too small and scrunches up my banner into a tiny little box.

MadKad 10-19-2006 08:27 AM

Quote:

Originally Posted by dodgeboard.com
Ok, I am not sure if I follow this. Where de we get our pub code, channel info?

And how can we change the image size where our logo is? This one is too small and scrunches up my banner into a tiny little box.

Hi you need to go into your adsence account and

click on tab My Acount and at the bottom you will see Property info then next to AdSense for Search: you will see

partner-pub-042478249018####

you only need the pub-042478249018####

as for chanles you dont need to use this if you dont want :)

dodgeboard.com 10-19-2006 12:20 PM

What if we don't have an adsense account? Can we still use the search feature?

MadKad 10-19-2006 12:36 PM

er well I dont see why not, but the only thing is that you would be using my id ect ect, I dont mind on that but not sure on the style on the page thing.

I will have to have a look into see about the style etc etc :)

Dimitrio 10-28-2006 01:22 PM

nice, but what if I want to display the results in the same window and not open another one?

MadKad 10-28-2006 02:42 PM

Quote:

Originally Posted by Dimitrio
nice, but what if I want to display the results in the same window and not open another one?

np, where it says

HTML Code:

<form method="get" action="http://www.google.com/custom" target="google_window">
change for

HTML Code:

<form method="get" action="http://www.google.com/custom" target="_top">

Please note that this will or could drive traffic away from your forum :)

Infizzle 11-11-2006 09:42 PM

I like this install, but I was wondering if you could help me figure out how to use the google coop search instead of the google custom...? I have fiddled around with it, but am still learning and have been unable to substitute. Thanks.

Infizzle 11-11-2006 11:27 PM

Quote:

Originally Posted by Infizzle
I like this install, but I was wondering if you could help me figure out how to use the google coop search instead of the google custom...? I have fiddled around with it, but am still learning and have been unable to substitute. Thanks.

Nevermind. I figured it out. Thanks.

SparKeh 11-19-2006 10:44 PM

Quote:

Originally Posted by RYoBiOS (Post 1097153)
I don't find
$vbphrase[show_posts]</label>
:surprised:

I can't find anything like this on mine either

transitbus 11-19-2006 11:41 PM

ignore this post

transitbus 11-19-2006 11:43 PM

Quote:

Originally Posted by SparKeh (Post 1121148)
I can't find anything like this on mine either


Make sure when you search that there is no space after </label>

MadKad 01-01-2007 09:50 PM

I have found that I get some nice clicks from this, am I the only one or does any one else get the same?

BigJimTheLug 01-08-2007 06:22 PM

Hey, I installed this and now my "Go" button does not work.

The google search works fine and so does advanced search, but "Go" button is a not working.

I too have received a nice amount of clicks through this, but feel that I could get more if my "go" button worked.

Where can I look or what can I find to know why my "go" button does not work?

MadKad 01-09-2007 08:56 AM

Quote:

Originally Posted by MARKETPROFITS (Post 1153852)
Hey, I installed this and now my "Go" button does not work.

The google search works fine and so does advanced search, but "Go" button is a not working.

I too have received a nice amount of clicks through this, but feel that I could get more if my "go" button worked.

Where can I look or what can I find to know why my "go" button does not work?

you need to past the code from the template, one of the values must have been messed up by mistake

jw00dy 01-10-2007 10:02 AM

EXCELLENT Mod! I've got this implemented, and it's working great.

Just a couple of pointers for those of you wanting the code to use the same fonts/size as the default forum uses.

Pre-Change
Changed

Change this line to Search Google
Code:

<td class="thead">Google Search</td>
Changed
Code:

<td class="thead">Search Google</td>
Make this line so it is one big long line with no spaces or carriage returns after a > or before a <, then add class="bginput" to the beginning of the first input line, and change "Google Search" to "Go", and change size="31" to size="25"

Original line
Code:

<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Google Search"></input>

This is how you want it to look
Code:

<input class="bginput" type="text" name="q" size="25" maxlength="255" value=""></input><input class="button" type="submit" name="sa" value="Go"></input>
Now replace the RED in the following two lines with <span class="vbmenu_option">YOUR DOMAIN</span> (make sure you don't leave YOUR DOMAIN in their, put in your real servers domain name). I also removed any spaces before < and after > and no carriage returns.

Line 1
Code:

<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#000000">Web</font>

Line 2
Code:

<input type="radio" name="sitesearch" value="YOUR DOMAIN"></input>
<font size="-1" color="#000000">YOUR DOMAIN</font>

When you are done it should look like this:

Line 1
Code:

<input type="radio" name="sitesearch" value="" checked="checked"></input><span class="vbmenu_option">Web</span>
Line 2
Code:

<input type="radio" name="sitesearch" value="YOUR DOMAIN"></input><span class="vbmenu_option">YOUR DOMAIN</span>
Hope that helps someone.

MadKad 01-10-2007 12:53 PM

Nice post thank you :)

BigJimTheLug 01-10-2007 04:16 PM

Yes, I fixed it. Thank you!

Nice hack, by the way!

Earnings went up!

MadKad 01-10-2007 05:00 PM

Quote:

Originally Posted by MARKETPROFITS (Post 1155589)
Yes, I fixed it. Thank you!

Nice hack, by the way!

Earnings went up!


Nice one, and very true its about time something increases earnings :)

jw00dy 01-10-2007 08:13 PM

Quote:

Originally Posted by MadKad (Post 1155426)
Nice post thank you :)

NO, thank you for this Great addition to my site.

MadKad 04-14-2007 08:17 AM

Quote:

Originally Posted by jw00dy (Post 1155734)
NO, thank you for this Great addition to my site.

thanks :up:

BadgerDog 04-19-2007 10:37 AM

Uninstalled....

Couldn't make this work at all....

I think perhaps I misunderstood what it does. I believe I need to join google to make this work properly, as opposed to it simply imbedding the "google" search option box within my forums, similar to the way it works generically from IE?

Regards,
Badger

MadKad 04-20-2007 12:52 PM

Quote:

Originally Posted by BadgerDog (Post 1231133)
Uninstalled....

Couldn't make this work at all....

I think perhaps I misunderstood what it does. I believe I need to join google to make this work properly, as opposed to it simply imbedding the "google" search option box within my forums, similar to the way it works generically from IE?

Regards,
Badger



Sorry yes it uses google adsense search, this is so you can earn some cash :)

dknelson 05-11-2008 06:29 PM

I really like this mod but have upgraded to 3.7. Seems like it should work with 3.7 but the navbar template is a bit different and I'm not sure where to put it. Has anybody tried?


All times are GMT. The time now is 05:33 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.01260 seconds
  • Memory Usage 1,816KB
  • 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
  • (8)bbcode_code_printable
  • (2)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete