![]() |
this is awesome man, I saw the hack awhile from someone else back but it wasnt complete, or somthing.... oh well, looks great, I plan to install it asap.
|
If you want the Quicky Reply Box to not appear when the thread is closed, you can simply wrap an if statement around it.
ORIGINAL: Code:
if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) { New: Code:
if ($thread[open]) { |
Worked great larryz. Thanks. :)
|
nice - I'll install this later! :)
|
Great hack, and so easy! Works perfect for me ...
|
Updated the text file with new code to hide the box from non-mods in closed threads.
Add this: Code:
if (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) { Code:
$replybox=''; |
In your template, you have
<input type="hidden" name="signature" value="yes"> Listed twice. I think you should have signatures tured off by default also ... |
Fixed... if you want to have sigs turned of just delete that hidden field.
|
Quote:
|
Just FYI:
This is a GREAT hack...and I am sure my members are going to love it. Only one complaint: In your instructions for the template creation, it would REALLY be great if you could set the templates to use the replacement values...the blues you used looked REALLY funky on my forums until I went in and reset them...and it would be nice to know that the table bg colors would change if/when the site templates are changed. But again: Good job! |
All times are GMT. The time now is 01:45 AM. |
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:
|