vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Split thread title into searchable keyword components (https://vborg.vbsupport.ru/showthread.php?t=72482)

Dean C 12-05-2004 05:33 PM

1/ Try this

Find:
PHP Code:

 $thread['title'] = implode(' '$twords) . '<span class="smallfont"><-- search on keyword</span>'

Replace with:

PHP Code:

 $thread['title'] = implode(' '$twords) . '<span style="font-size: 9px; font-family: font-family: Verdana, Arial, Helvetica, sans-serif;"><-- search on keyword</span>'

2/ Sure send me a PM and i'll give you my info :)

owner 12-05-2004 06:34 PM

This works nice :) ... but gotta understand how 2 use the google and yahoo in it. Awsome using this last post as well. Btw does it affect the site on google search ranks bec of this ? ... POssible to Put google search adsense into this? .... Thankyou

Dean C 12-05-2004 07:13 PM

Sorry owner, I didn't quite understand what you were saying in your last post :(

owner 12-07-2004 10:09 AM

Ok hmmm u must be knowing of www.google.com/adsense i have an account over there and iam placing their ads. Now they also have a feature of google search 2 be placed on the site. I wanted 2 know if that code is possible 2 be placed into this ? ... hmm i guess ill post the code .. here it is
Quote:

<!-- Search Google -->
<center>
<form method="get" action="http://www.google.com/custom" target="_top">
<table>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Search"></input>
<input type="hidden" name="client" value="pub-23232323(Each user has its own id code, so i guess this will be changed depending on the user,so u might wanna add this in ure description)"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH :center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000F F;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>
</table>
</form>
</center>
<!-- Search Google -->

Dean C 12-07-2004 05:28 PM

It's possible as I think you can spoof the headers as if you were posting a form with a redirection script, however I don't know if google allows you to do this? Might want to ask them?

owner 12-07-2004 07:05 PM

Hmmm true, i should ask them... but how about making up the code and presenting it 2 google and asking them if its ok 2 run it. cause they have spiders and they can catch on anything they dont like :D ... so ill ask them regarding the code you make and then publish it ? .. that k ?

Torqued 12-07-2004 07:45 PM

Quote:

Originally Posted by Torqued
What would it take so that you could get a dropdown on each word with different search options for each word? :) It would be kinda neat to be able to search on the board *or* on Google

Dean, any comments on this idea? :)

owner 12-07-2004 08:05 PM

Quote:

Originally Posted by Torqued
Dean, any comments on this idea? :)

-- I would personally love this idea ... Its nice ..

morrow 12-09-2004 02:12 PM

Welp, looks like it could be a nice hack. I've installed it but have no idea what I just installed. hahahaha... :) Is there something visual here, or is it just behind the scenes stuff like:

google search... site http://www.njflyfishing.com "trout"

something like that?

morrow 12-09-2004 02:20 PM

Ok, scratch that last question. I figured it out. What I would like to know is this. When you click on a search word, how does google or yahoo or whatever, get factored into the search. When I click on a word, the only things returned are items that are right from my site.


All times are GMT. The time now is 05:51 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.01143 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_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