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 |
#72
|
||||
|
||||
Quote:
Right now I am having the problem, (Yes I installed this a long time ago and am trying to fix a problem with it) If the user has it selected to return inside the thread, they are returned to the top of the thread. I want it so that it will return them directly to their post. I have that hack that numbers each thread and creates a hyperlink to each thread, but I don't know exactly how to get it to go back to their post after they submit their post. I tested it and it does look like the problem is with this hack. (I think) Can somebody please help me? |
#73
|
||||
|
||||
standard reply: anyone tested this in 2.3.0?
|
#74
|
||||
|
||||
I would assume it works fine in 2.3.0 because I just installed it on 2.2.9 with no problems at all.
I also added this option to the registeradult and registercoppa templates. Also added it to modify user and add user in the admin CP. Great HACK! |
#75
|
||||
|
||||
Anyone know if it actually works in 2.3? There must have been changes to the PHP files we're supposed to edit. I can't find all the things I'm supposed to replace.
Anyone have an update? |
#76
|
|||
|
|||
Thanks for this hack! I just installed it in 2.3 and didn't have any troubles.
Well, I never did find this in the poll.php: PHP: // redirect if ($threadinfo[visible]) { with PHP: // redirect if ($threadinfo[visible] && !$sendtoforum) { Cindy |
#77
|
||||
|
||||
Oops -- double post.
|
#78
|
||||
|
||||
Cindyd,
Try PHP Code:
|
#79
|
||||
|
||||
My members have been begging for this but I just can't get it to work. :disappointed:
I have version 2.3. When I hit the post reply button I get a parse error in the newreply.php file, line 645 which is right around the last edit for that file. Would anyone be willing to help me??? |
#80
|
|||
|
|||
Ive read the thread and I see a few mentions of how to get this to work with the quick reply box but I dont see anything definite. Can anyone tell me how to implement this with the quick reply box?
|
#81
|
|||
|
|||
Anyone??
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|