vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   default poll (https://vborg.vbsupport.ru/showthread.php?t=59062)

#01 12-09-2003 08:22 AM

default poll
 
I am setting up a board where people can vote on each item that I make a thread about. Basically I want them to have the same question and same answers available on each thread.

I would like to have a hack that would let me create a default poll. All I would need to do is create one in the admin panel... then whenever I made a new thread I would have an option at the bottom of the screen just below the "Yes! post a poll" section that would say "Post Your Default Poll".

Is it possible that someone could make a hack that would do something like this?

It would make things a lot easier for me.

I wouldn't mind a different idea than I posted. Or is there a hack allready available that does this? I've looked on the board for a few days and can't find anything close.

Thanks to anyone who can help me. :)

#01

sabret00the 12-10-2003 01:49 AM

this could be done via an edit to the postings.php i think, anyway that might put you in the right direction, basically you wanna code it so that when you post it makes the poll unless you click the tick to make the thread then it will make the you specified thread.

but all your answers should come via reading the posting.php :)

#01 12-10-2003 07:09 AM

Thx for the reply. I will take a look at that. But I am not a coder yet. So I don't think I'll be able to figure it out. Can anybody maybe post some code for me to try?

Tanx


All times are GMT. The time now is 09:58 AM.

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.01728 seconds
  • Memory Usage 1,706KB
  • 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
  • (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