vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Searching text not in a tread or post: (https://vborg.vbsupport.ru/showthread.php?t=96623)

rtmiles 09-20-2005 06:55 PM

Searching text not in a tread or post:
 
Hello, my web site has a lot text artical that I have created (Mainly movie synops). I have created the pages using the index.php (modified). The question I have is, is there a way to make text searchable. Keep in mind that I would only say want to make the title of say an actors name searchable in order to keep server load down....

I am still doing some mod work but here is the link to my spalsh page

http://www.cinematalk.us

Thanks,
rtmiles

Marco van Herwaarden 09-20-2005 08:46 PM

Are you storing those articles in the database?

rtmiles 09-20-2005 08:53 PM

No, but I most likely could..

merk 09-21-2005 03:25 AM

google for site:www.site.com <keywords>.. (that will keep your search load down heaps! :banana: )

rtmiles 09-22-2005 12:42 AM

How would I go about adding a peace of text or word to the vb data base.

Was was thinking of doing somthing along the lines of this:

blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah,
[function add to database] Key word or text [/function add to database]
blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah

This way I would have complete control over the search words or text and it would not mater if it was in a post aslong a the function was in the php code.

Im not that great at php but from editing code for hacks I am guessing their is a simple function for adding a word to a database.....

Thanks,
rtmiles

Sorry for all the questions but I think I my be over thinking the issue...

For my purposes I am only entering titles so doing it manual would work if I knew how.

I think I could just make a php file called say submitsearch.php and do the following..(Im not a coder so this is just the methodology per say, I will have to look up how to actualy code it)....

{

input type = text (search term or terms)

input type = text (location in url format , I think SQL uses forum ids but this would need to be an actual link??)

input type = text (Output text (What shows up in search result))

buttion = submit

onsubmit query (php fuction to add the word)

}

Im guessing I could use the search table already set up in SQL if I knew what the different comands did i.e. : (searchid, forumchoice, orderedids, etc...)

Thanks for your help in advance....


All times are GMT. The time now is 04:24 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.01625 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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