The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
This hack gives the user the option to select whether he wants to be sent to the forum after posting, or to the thread he posted in.
You can select this option in your profile, and also at the bottom of the new post screen. In newreply.php replace PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
<br><input type="checkbox" name="sendtoforum" value="yes" $sendtoforumchecked> <b>Go back to forum:</b> after posting would you like to return to the forum. Code:
<br><input type="checkbox" name="signature" value="yes" $signaturechecked> <b>Show Signature:</b> include your profile signature. Only registered users may have signatures. Code:
<tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Use 'Send to forum' by default?</b></normalfont><br> <smallfont>Using this option will send you back to the forum after posting a new message.</smallfont></td> <td bgcolor="{secondaltcolor}"><normalfont> <input type="radio" name="sendtoforumdef" value="yes" $sendtoforumdefchecked> yes <input type="radio" name="sendtoforumdef" value="no" $sendtoforumdefnotchecked> no </normalfont></td> </tr> Code:
<tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Use 'Email Notification' by default?</b></normalfont><br> <smallfont>Using this option emails you whenever someone replies to a thread that you have participated in.</smallfont></td> <td bgcolor="{secondaltcolor}"><normalfont> <input type="radio" name="emailnotification" value="yes" $emailnotificationchecked> yes <input type="radio" name="emailnotification" value="no" $emailnotificationnotchecked> no </normalfont></td> </tr> PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
ALTER TABLE user ADD sendtoforumdef SMALLINT(6) DEFAULT '0' not null AFTER emailnotification Show Your Support
|
Comments |
#2
|
||||
|
||||
hmm, want this but its a long hack. Is it possible you can make a zip of this please. Itll be appreciated.
Thank you |
#3
|
||||
|
||||
Umm... there's nothing to zip here.
Do you want me to attach the instructions as a text file? |
#4
|
|||
|
|||
I cant find that anywhere. In newreply.php replace ?? Where is it and how do I get to it? Also is this been tested? thanks!!
http://www.buffalobillsinsider.com/g...ard/index.php3 |
#5
|
||||
|
||||
This was tested succesfully on v2.0.3.
I see your question was answered in another thread, so I won't bother. |
#6
|
||||
|
||||
Hi Firefly - excellent job!
I loaded this up and am not having any trouble with new topics or polls or the UserCP but the newreply isn't working. I have the box on the screen so I know it isn't in the template but when I check it, the system ignores it. No error message, it just returns to thread. What am I missing here? |
#7
|
||||
|
||||
Thanks Christine.
Sounds to me as if you didn't make the necessary changes to newreply.php. Double check that, and get back to me. |
#8
|
||||
|
||||
Wow - that was quick.
That was my concern - newreply.php was the only one I was thinking would affect it from the changes I saw. Blah. I tried a few times last night and didn't see any mistakes. I shall try again now and let you know! |
#9
|
||||
|
||||
Hmmmm - still not working.
Here is what I added to newreply.php - I am including the code above and below as well. PHP Code:
PHP Code:
|
#10
|
||||
|
||||
Weird, everything's in place.
Umm, check in your newreply template that the name of the checkbox is sendtoforum. That's really the only thing I can think of... |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|