The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
This is what the hack does: It let's you preview a message when you're editing it, you can only preview when you're posting or replying the way it is now:
It works on my testserver, but I've not tested on a 'live' forum, but it seems to be working allright... Instructions 1 Backup your editpost.php file!!! and open the original one... Then: after: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
<table width=100% border=0 cellspacing=1 cellpadding=4> <TR bgcolor="#6c6081"> <TD valign=middle><smallfont color="#afa3c5"><B>Post Preview:</B></smallfont></TD> </TR> <tr bgcolor="#DEDEDE"> <td><normalfont>$previewmessage</normalfont></td> </tr> </table> <br> insert the '$postpreview' variable at the appropiate place (look into the 'newthread' template for an example) and replace: Code:
<INPUT TYPE="Submit" NAME="SUBMIT" ACCESSKEY="S" VALUE="Submit Now"> Code:
<INPUT TYPE="Submit" NAME="preview" ACCESSKEY="P" VALUE="Preview"> <INPUT TYPE="Submit" NAME="SUBMIT" ACCESSKEY="S" VALUE="Submit Now"> ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
I'll be working on the pm-preview btw
|
|
#3
|
|||
|
|||
|
No-one's interested?
|
|
#4
|
|||
|
|||
|
Sure i will use them both, I just wasn't doing much with hacks yet until 2.0 is released. I didn't want a beta 3 to come out and have to re-hack a bunch of stuff.
It would be great if you wrote a upgrade script that you ran and it automatically fixed the things, that way you could just update the script for each beta released. |
|
#5
|
|||
|
|||
|
Hi there,
hopefully didn't overlook something in between, but I definetely would appreciate to use that hack! Does it work for 2.0.1? Did you have a solution meantime for PM Preview - I know there's a hack, just interested if you worked on it, too. Thanks, -Tom |
|
#6
|
||||
|
||||
|
Yes Mas*Mind, I am very interrested in that hack !
I run v 2.2.1 is your hack fixed for that version ? any update since your former post ? waiting for news, see you |
|
#7
|
||||
|
||||
|
great hack Mas*Mind
|
|
#8
|
||||
|
||||
|
Thanks Mas*Mind! I really missed having the ability to preview my edited posts, especially when I'm using vB code. I keep finding myself using HTML instead and then I have to go in again and edit. This is a really good idea!
|
|
#9
|
|||
|
|||
|
Does this work on 2.2.2?
|
|
#10
|
||||
|
||||
|
Sweet Work!
|
![]() |
|
|