Version: 1.00, by N9ne
Developer Last Online: Jul 2019
Version: 2.3.x
Rating:
Released: 03-15-2003
Last Update: Never
Installs: 19
No support by the author.
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!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I think it would be cool you could add a feature in so they only had to click agree once, unless you made a change to that page then you could reset everyone's info and it would popup the page again for them. Otherwise they might get used to just scrolling and clicking okay without actually reading what is there.
I realize doing that would probably create a lot of extra work thought...
Koutaru - you might be able to disable the button using javascript.
This is a pretty sweet hack, I am planning on adding it in my forum soon.
I have a little request. Instead of making this work in a certain forum, how can it be done when visiting the index.php?
Basically, when you visit my site, you get the MUST READ page, you click Proceed, and you can view the forums.
Also, I'd like it so that you only have to click it ONE time...
If the index.php must read is too much for you, can you tell me two things...
1. how to enable it in newreply.php
2. only click proceed once.
==========
BUG REPORT
==========
If you put a ' in your Must Read message in Admin CP, it will come up with an error.
Example:
Quote:
-BETA-<br>
Please make sure you have replied to www.forum.com.<br>
If you haven't, please so now.
Error Message:
Database error in vBulletin Control Panel 2.2.9:
Invalid SQL: UPDATE forum
SET
styleid='1', title='Public Chat', description='',
active='1', displayorder='1', parentid='1', parentlist='2,1,-1',
allowposting='1', cancontainthreads='1', daysprune='30',
newpostemail='', newthreademail='',
moderatenew='0', allowhtml='1', allowbbcode='1',
allowimages='1', allowsmilies='1', allowicons='1',
styleoverride='0', allowratings='0', countposts='1',
moderateattach='0', mustread='1',mustreadtext='-BETA-<br>
Please make sure you have replied to [url]www.forum.com.[/url
If you haven't, please so now.', security='1', forumpass='', passtimeout='0'
WHERE forumid='2'
mysql error: You have an error in your SQL syntax near 't, please so now.', security='1', forumpass='', passtimeout='0'
' at line 10
mysql error number: 1064
The code works from start of the bold to end of bold then stops.
The code in bold and underline error says invalid syntax for '.