vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Must Read Page >> Before Posting New Thread In Forum 1.01 (https://vborg.vbsupport.ru/showthread.php?t=50238)

N9ne 03-15-2003 10:00 PM

Must Read Page >> Before Posting New Thread In Forum 1.01
 
Must Read Page Before Posting In A Forum
> A hack by N9ne, Copyright 2003+
> Hack created on March 16th 2003

Description: This hack will allow you to specify,
on a per forum basis, if a must read page comes up,
when someone tries to post a new thread in that
forum. You may use HTML code in the message.

After reading the page, the user is presented with two
options.

One: 'Proceed'; This will move them onto the page where
they can create the thread (ie. type up the post, subject,
etc.).

Two: 'Cancel'; This option will take them back to the forum.

Queries to run: 1

Files to modify:
admin/forum.php
newthread.php

Templates to add:
newthread_mustread

For: vB 2.x.x (created on 2.3.0)

ChangeLog
1.01: 2nd April 2003: BugFix: Post Preview now works.

Demo: Try posting a new thread in the full releases forum here, it brings up a must read page, i've re-created the system.

Credit: To DrkFusion for helping me with a HTTP_POST_VAR problem.

Note: Download the attached file and open in a text editor to view installation instructions!

N9ne 03-16-2003 12:47 AM

scrn 1.

N9ne 03-16-2003 12:47 AM

scrn 2.

afterlab 03-16-2003 12:51 AM

Good job on the hack. This will help me with my new thread system I an introducing at my website.

Erwin 03-16-2003 03:29 AM

You may want to edit your first post. It's very hard to read with all the weird symbols. :)

joeboo 03-16-2003 04:11 AM

Nice concept. I may use it in the future. And i agree with Erwin :/

partang2 03-16-2003 05:48 AM

Nice one! Is it possible to get this working when replying to a thread too?

*Clicks Install*

Dean C 03-16-2003 08:46 AM

Yes i agree with Erwin. Why did you want this hack deleted from the db?

- miSt

Boofo 03-16-2003 09:34 AM

Excellent hack, N9ne. I don't have a use for this right now but have installed it anyway. I'm sure I will be using it in the near future. Good job! ;)

Dean C 03-16-2003 10:38 AM

Im definately gon use it but im still curious as to why you didn't want it in the hack db :)?

- miSt


All times are GMT. The time now is 05:06 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.01214 seconds
  • Memory Usage 1,723KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete