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 |
#32
|
|||
|
|||
Works for 2.2.0!!! I love this hack, thanks again!
|
#33
|
||||
|
||||
Thanks LuBi.
|
#34
|
|||
|
|||
If I'm not mistaken, you forgot to add:
PHP Code:
PHP Code:
BTW: Any idea why the following line does NOT work? PHP Code:
|
#35
|
|||
|
|||
Just a query about this hack, is the checkbox automatically checked to take the user back to the forum?
If not how do I make it so it is? basicly I want it so it is on as default. |
#36
|
||||
|
||||
oh~thankz FireFly!!
this very useful~~~ |
#37
|
||||
|
||||
[QUOTE]Originally posted by bobbydavro
Just a query about this hack, is the checkbox automatically checked to take the user back to the forum? If not how do I make it so it is? basicly I want it so it is on as default. |
#38
|
||||
|
||||
I so wanna install this hack! *makes note to do it after work*
Um, I'm a bit new still and I'm not sure what hacks work with what versions. I'm using v.2.2.1. Will this work with it? |
#39
|
||||
|
||||
Should be.
|
#40
|
||||
|
||||
but chen i 'm using v2.2.1 and use ur code it can't work!!
but when i use ur code and tommy boy's code it works!! so i think would u miss some thing?? |
#41
|
||||
|
||||
WOW!
Very nice hack! But an attached file to download the hack would be nice! Greetings StarBuG |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|