vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbArticles (https://vborg.vbsupport.ru/forumdisplay.php?f=106)
-   -   [REQUEST] Port the search articles block to CMPS search module (https://vborg.vbsupport.ru/showthread.php?t=77542)

trulylowcarb 03-05-2005 05:43 PM

[REQUEST] Port the search articles block to CMPS search module
 
Unsure where to post this, in CMPS or this forum, but would like to display 'search articles' under 'search forums' in my CMPS search module. Be the next best thing to integrating the searches.
Anything I ever do is painstakingly trial and error based, so I wanted to ask here first, before I bother trying to do this ... thanks for any help I can get!

cinq 03-15-2005 12:28 PM

Do you still need help with this ?
Hint: just some html to add into your CMPS search module.

Gellpak 03-15-2005 09:44 PM

I could use a quick how-to...

trulylowcarb 03-17-2005 01:31 AM

Encouraged by your hint, I add the following to my search module (customized for my theme), and it looked great, but it doesn't return any results for me even when I search authors by my own name ...
Code:

<tr><td class="tcat"><div align=center><font size=2 color=red>$vbphrase[vbart_searchart]</font></div></td></tr>
<tr><td class="alt1" align="left">
<form action="articles.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="dosearcharticle" />
<input type="text" name="keywords"><br>
<select name="searchby">
<option value="searchall" selected>$vbphrase[vbart_searchall]
<option value="title">$vbphrase[vbart_searchtitle]
<option value="content">$vbphrase[vbart_searchcontent]
<option value="author">$vbphrase[vbart_searchauthor]
</select><br><br>
<input type="submit" class="button" value="GO" accesskey="s" />



All times are GMT. The time now is 01:01 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.01024 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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