Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Must Read Page >> Before Posting New Thread In Forum 1.01 Details »»
Must Read Page >> Before Posting New Thread In Forum 1.01
Mod Version: 1.00, by N9ne (Coder) N9ne is offline
Developer Last Online: Mar 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (0 vote - 0 average) Installs: 19
Released: 16 Mar 2003 Last Update: Never Downloads: 5
Not Supported  

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!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 02 Apr 2003, 13:33
N9ne N9ne is offline
 
Join Date: Feb 2002
Yep, you can install it now, should work fine . Enjoy.
__________________
[Signature Goes Here]
Reply With Quote
  #47  
Old 02 Apr 2003, 18:49
Smoothie Smoothie is offline
 
Join Date: Oct 2001
yep, preview works fine now.
Reply With Quote
  #48  
Old 02 Apr 2003, 18:54
N9ne N9ne is offline
 
Join Date: Feb 2002
Glad to hear that .
__________________
[Signature Goes Here]
Reply With Quote
  #49  
Old 13 Apr 2003, 20:51
kira kira is offline
 
Join Date: Nov 2001
This seems like a perfect hack for certain forums on my site! Great work.

Quick question though -- will this "must read" page show up for everyone who tries to post a new thread, or just new posters who haven't done this before? If it's the former, I'm just worried that oldtimers might get a little annoyed if, every time they post, they're confronted by the same "must read" page that they've already read!

And I have no idea if that paragraph made any sense.
Reply With Quote
  #50  
Old 13 Apr 2003, 22:03
N9ne N9ne is offline
 
Join Date: Feb 2002
Kira, you are correct, everytime someone opts to post a new thread in the forum, the must read page comes up. However it shouldn't annoy anyone too much, as it only requires simply pressing the Proceed button to continue

Please click install if you use the hack .
__________________
[Signature Goes Here]
Reply With Quote
  #51  
Old 28 Apr 2003, 02:26
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Just wondering if anyone got it working in 2.2.9 ?
Reply With Quote
  #52  
Old 28 Apr 2003, 02:31
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Real name: Julie
is there any way to disable the "proceed" button for a few minutes/seconds? It may be a template mod
__________________
http://www.miyechi.com/storage/sig.png
Miyechi - Adventure inside
Reply With Quote
  #53  
Old 28 Apr 2003, 04:32
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Yesterday at 10:26 PM cinq said this in Post #51
Just wondering if anyone got it working in 2.2.9 ?
yes, it works fine in 2.2.9
Reply With Quote
  #54  
Old 28 Apr 2003, 09:33
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
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.
__________________
My Site: EXTREME Overclocking

Do not PM me with your iTrader problems or asking for the code. I will just delete your PM without reading it.
Reply With Quote
  #55  
Old 21 May 2003, 04:24
DelFDgfd_gT DelFDgfd_gT is offline
 
Join Date: Oct 2001
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:
-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 '.

Reporting this bug.

Last edited by DelFDgfd_gT : 21 May 2003 at 06:57.
Reply With Quote
  #56  
Old 22 May 2003, 04:17
DelFDgfd_gT DelFDgfd_gT is offline
 
Join Date: Oct 2001
well there is no help, so Im un-installing.
Reply With Quote
  #57  
Old 22 May 2003, 04:30
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Smoothie, have you run into this problem yet?
Reply With Quote
  #58  
Old 22 May 2003, 08:30
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Today at 12:30 AM Boofo said this in Post #57
Smoothie, have you run into this problem yet?
yes I have.
Reply With Quote
  #59  
Old 22 May 2003, 08:31
Smoothie Smoothie is offline
 
Join Date: Oct 2001
oh N9ne-

We need a bug fix please!
Reply With Quote
  #60  
Old 22 May 2003, 09:02
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I'm sure it only needs an addslashes somewhere.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 22:57.

Layout Options | Width: Wide Color: