vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   poll hack mod (https://vborg.vbsupport.ru/showthread.php?t=3182)

09-13-2000 06:29 PM

is there a way to make a forum THE only forum polls can be created in?

my general forum and other forums are getting over run with crazy polls, is this out there or easy to do?

09-14-2000 12:40 PM

I haven't added polls yet, but I assume that you could simply remove the "create new poll" link on all of the forums.

Then, in the one forum you want Polls, alter that one template, putting the link for polls on that forum display.

09-14-2000 12:56 PM

Would that work? I thought the "forumdisplay" template controlled the look and feel of all of them? I think you'd have to alter some of the main code in the forumdisplay.php file to achieve this...

09-14-2000 01:33 PM

Actually you don't. vBulletin is set up so that each forum can have its own "ForumDisplay" template. For the forum you wish to have polls in do this.
  1. Go into the ForumDisplay Template and copy it to the clipboard.
  2. Create a new template i.e. PollDisplay. Paste the contents of your ForumDisplay template into the new one and save.
  3. Edit both templates to your hearts content.
  4. Modify the forum you want to display polls, in the second section you can specify which templates to use to override the default templates. In the Forum Display box put the name of your new template.

09-14-2000 01:45 PM

seems a much easier task than i had thought.


All times are GMT. The time now is 11:42 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.00917 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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