vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   My threads link only for one subforum (https://vborg.vbsupport.ru/showthread.php?t=185463)

kud0gfx 07-16-2008 04:30 AM

My threads link only for one subforum
 
Hi everybody.

i have this code
Code:

<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$bbuserinfo[username]" rel="nofollow">Konularım</a></td>
this rules for see started posts by an user in all the forum, could I make something that limites the search to one "forum, and their subforums"

i guess it could be just a variable..

kud0gfx 07-17-2008 06:26 AM

fetch_search_forumids (line 548)
void fetch_search_forumids ( &$forumchoice, [ $childforums = 0])

* &$forumchoice
* $childforums

i think i can do something with this, but i dont know exactly how...
some help?

Marco van Herwaarden 07-17-2008 08:38 AM

Just add "&forumchoice=<<ListOfForumids>>" to the search link.

kud0gfx 07-17-2008 09:07 PM

yeah, it was what i tried, but it does'nt work

Dismounted 07-18-2008 07:00 AM

"&forumchoice[]=FORUMIDS"

kud0gfx 07-19-2008 02:22 AM

Quote:

Originally Posted by Dismounted (Post 1578229)
"&forumchoice[]=FORUMIDS"

thanks so much, it worked!


All times are GMT. The time now is 10:54 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.01633 seconds
  • Memory Usage 1,719KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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