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.
  #31  
Old 01 Apr 2003, 05:47
Spitfireisgod's Avatar
Spitfireisgod Spitfireisgod is offline
 
Join Date: Aug 2002
just what i was looking for

/me installs
Reply With Quote
  #32  
Old 01 Apr 2003, 18:45
Smoothie Smoothie is offline
 
Join Date: Oct 2001
^ bump ^
Reply With Quote
  #33  
Old 02 Apr 2003, 09:55
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
has the preview bug been fixed yet???
Reply With Quote
  #34  
Old 02 Apr 2003, 11:22
Smoothie Smoothie is offline
 
Join Date: Oct 2001
No..... bump!
Reply With Quote
  #35  
Old 02 Apr 2003, 11:28
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I'm unistalling until the bugs are fixed.

/me hits the uninstall button
Reply With Quote
  #36  
Old 02 Apr 2003, 11:32
Smoothie Smoothie is offline
 
Join Date: Oct 2001
If it was indeed re-created from the system used here, maybe one of the extra smart vb.org staff could have a look at this hack and give us a fix....
Reply With Quote
  #37  
Old 02 Apr 2003, 12:28
N9ne N9ne is offline
 
Join Date: Feb 2002
Sorry guys, I've been really busy, as I've been in preparation for my trip to Italy which I leave for tomorrow.

I'll look into this in more depth now, I have an idea on how to fix it, only way to find out is to try it out .
__________________
[Signature Goes Here]
Reply With Quote
  #38  
Old 02 Apr 2003, 12:31
Smoothie Smoothie is offline
 
Join Date: Oct 2001
cool, hope we can get a fix before you leave....
Reply With Quote
  #39  
Old 02 Apr 2003, 12:33
N9ne N9ne is offline
 
Join Date: Feb 2002
Try this, in the instructions, it says to find those 2 lines in newthread.php, and replace them with the code given below, well replace that load of code with this instead, and see if it works:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Let me know if it works. I haven't got the hack installed on a board at the moment, and I just made this quick possible fix up...
__________________
[Signature Goes Here]
Reply With Quote
  #40  
Old 02 Apr 2003, 12:44
Smoothie Smoothie is offline
 
Join Date: Oct 2001
No, didn't work. Same as before, brings you back in a loop to the must read page after clicking preview.
Reply With Quote
  #41  
Old 02 Apr 2003, 12:48
N9ne N9ne is offline
 
Join Date: Feb 2002
How about this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
[Signature Goes Here]
Reply With Quote
  #42  
Old 02 Apr 2003, 12:54
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Same results...
Reply With Quote
  #43  
Old 02 Apr 2003, 12:58
N9ne N9ne is offline
 
Join Date: Feb 2002
Ok, I've found a fix!

Use this block of code instead!:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
[Signature Goes Here]
Reply With Quote
  #44  
Old 02 Apr 2003, 13:03
N9ne N9ne is offline
 
Join Date: Feb 2002
1.01 Released
Fix: Post Preview: When posting a new thread, you don't get the must read page, when you click on preview post.

First Post and DB Entry updated. New fixed attachment uploaded in first post. Everyone should re-do the step to newthread.php.

Credit: Smoothie for testing out fixes which didn't work lol, and um, me, for finding the simplistic fix .
__________________
[Signature Goes Here]
Reply With Quote
  #45  
Old 02 Apr 2003, 13:32
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
that means that i can install it now???

well....... right after i update to vb2.3.0
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 08:39.

Layout Options | Width: Wide Color: