Quote:
Originally posted by Takara
If I just follow the instructions for newthread.php and newreply.php, can I just make it work with the checkbox? I'm not intrested in having the quick close on the showthread.
|
yes.
Quote:
Originally posted by Smoothie
You say find this in newthread.php:
But I can only find this...
|
go ahead and replace it. it will work. vb226 have this difference between newthread.php and newreply.php. probably you run a different version.
Quote:
Originally posted by Ambex Net
Will this work ok on 2.2.5? Just making sure before I install.
|
ya, it should work from 222 to 226...
but always check the code before you modify. do not start any hack unless you have all the code identical. that's how is done always with older versions. let me know if you got it working and i will add it in the first post as "tested in version"...
[high]
UPDATE[/high]
I just looked at the code and realised that I forgot a bracket in newthread.php (step 4).
FIND this code:
Code:
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
} else {
eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
REPLACE it with:
Code:
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
} else {
eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
}
Sorry about this. The .txt attachment is updated now.