vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [REQ] Goto Forum (https://vborg.vbsupport.ru/showthread.php?t=159776)

vAsia 10-08-2007 05:33 PM

[REQ] Goto Forum
 
Hello,

Does anyone know how to create a hack where you enter the forum name and it goes to that particular forum..

Like I have a forum/category "food".

A visitor enters "food" in the field and presses "Go". Upon hitting "Go", he will be redirected to "food" forum.

If the forum doesn't exist, then it will output "Fourm not forum".

I think this requires forum id and forum name.

When people enter "food", it will search for the forumid and go there.

Something like this.

PHP Code:

if () {
   
redirect ("http://DOMAIN/forum/forumdisplay.php?f=".$forumid);


Thanks.

Spank 10-08-2007 06:15 PM

Doesn't the Forum Jump do this only without the need to type anything you just point and click from the list?

vAsia 10-08-2007 06:28 PM

The ForumJump is good, but people have to scroll and search for the forum. They might overlook, so I'd think it is better if they just enter the name if they know the name of the forum.

I want to create forum by stock ticker symbol. If people know the ticker symbol, they just need to enter the ticker symber, press enter, and they will go there.


All times are GMT. The time now is 05:21 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.00922 seconds
  • Memory Usage 1,710KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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