![]() |
How about this:
PHP Code:
|
Same results...
|
Ok, I've found a fix!
Use this block of code instead!: PHP Code:
|
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 :D. |
that means that i can install it now???
well....... right after i update to vb2.3.0 |
Yep, you can install it now, should work fine :). Enjoy.
|
yep, preview works fine now. :)
|
Glad to hear that :).
|
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. :) |
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 :). |
Just wondering if anyone got it working in 2.2.9 ?
|
:) is there any way to disable the "proceed" button for a few minutes/seconds? It may be a template mod
|
Quote:
|
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:
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. |
well there is no help, so Im un-installing.
|
Smoothie, have you run into this problem yet?
|
Quote:
|
oh N9ne-
We need a bug fix please! |
I'm sure it only needs an addslashes somewhere. ;)
|
Hmm, that's odd, see, in newthread.php you put this code from this hack:
PHP Code:
I'm out of ideas, maybe I'll think of something later. Right now I can't do anything as I have some huge exams to take, this whole week actually [some may have noticed my absence at vb.org], I've only got my last 2 tomorrow and then I will be back :D |
N9ne-
yep, noticed this little bug a few weeks ago and forgot to mention it here. Hopefully there will a fix upcoming when you have time. |
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. (cookies) |
Quote:
|
Smoothie, try changing this:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
Try changing this:
PHP Code:
PHP Code:
|
can u make it for newreply.php too?
|
Quote:
|
Quote:
|
I'm a bit confused. Change this
PHP Code:
PHP Code:
PHP Code:
|
This is the code you need to change the last part in:
PHP Code:
|
yes! Will test more, but it looks like that fixed it.
|
Ok, test it out and post the changes in here for anyone else who has run into this problem. ;)
|
Was this eventually fixed ?
:) |
tried it, getting a parse error.
Quote:
|
Sorted out my parse error. when peeps click on new thread the proceed and cancel shows up ok, but no text. Also if they click reply it does not show at all and they can post without seeing the must read screen?
How can this hack be done so it shows up when they enter a section and not post a thread or reply? Thanks. Quote:
|
wont allow the use of html all i get is
Code:
and vb code is [*img] doesnt work either :( |
Hi there,
does anyone know if this works with vBulletin 3.6.3? Thanks for any info! |
All times are GMT. The time now is 11:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|