vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding "Create Thread" to non-forum pages. (https://vborg.vbsupport.ru/showthread.php?t=195351)

schlottkej 11-03-2008 03:01 PM

Adding "Create Thread" to non-forum pages.
 
Is there a recent tutorial that details this?

Lynne 11-03-2008 03:14 PM

I'm not sure what you mean. There is a form hack which makes a new form to be filled out to post a new thread. Or are you just talking about a New Thread button on some page you wrote? I'm really not sure what you want.

schlottkej 11-03-2008 03:43 PM

Sorry for not being more clear...

I would like to add a button to each videos page that will automatically create a thread w/ that video's title. The title information is all called from $videotitle, so the form might work as well if it lets them select the proper forum ID?

Lynne 11-03-2008 03:56 PM

So you have a page that has a video on it, and you want users to click on a button to start a thread about that video with the videotitle and in a specific forum? I'm sure you can create a form on the video page with the video title in it and the forumid and then click the button and it takes you to a New Thread page with the title already filled in. If you have that button though, you may end up with lots of threads all with the same title being posted. Is that what you want?

schlottkej 11-03-2008 04:06 PM

Ideally I would like it to check if this 'video thread' has been created, but that might a little more difficult since the videos aren't stored in a DB... Could you post the URL to the form you mentioned so I can see if it can be tweaked?

Thanks so much Lynne,

Jacob

Lynne 11-03-2008 04:16 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=126676&highlight=form" target="_blank">Form Hack</a>

schlottkej 11-03-2008 07:46 PM

Thanks


All times are GMT. The time now is 02:42 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.00953 seconds
  • Memory Usage 1,714KB
  • 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
  • (7)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