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 |
#12
|
||||
|
||||
Bug.
Fix: In newreply.php replace this PHP Code:
PHP Code:
Updated main post |
#13
|
||||
|
||||
Hmmm - from New reply template...
PHP Code:
|
#14
|
||||
|
||||
We have a winner!!!!
This is working with no errors. Great job, Firefly! (I am on 2.0.3 BTW) |
#15
|
||||
|
||||
Who's da winner????
Thanks. |
#16
|
|||
|
|||
Used the auto install and I keep getting this erroer
Warning: Supplied argument is not a valid File-Handle resource in /www/htdocs/forums/admin/avatar_hack_install.php on line 349 |
#17
|
||||
|
||||
[QUOTE]Originally posted by LuBi
Used the auto install and I keep getting this erroer Warning: Supplied argument is not a valid File-Handle resource in /www/htdocs/forums/admin/avatar_hack_install.php on line 349 |
#18
|
|||
|
|||
yes yes.. wrong hack I got that error on another i tried too install last night. I have school so I'll post it lateri nthe right thread. sorry
|
#19
|
||||
|
||||
I don't understand, you tried to install a hack and it didn't work and you think it's because of this hack, or you just posted in the wrong thread?
|
#20
|
|||
|
|||
posted in the wrong thread.
|
#21
|
||||
|
||||
I'm having the same problem Christine was having, but the fix you supplied for her doesn't seem to have done the job for me. It works for New Topics and Polls, but not the reply. I've double and triple checked everything, and it matches your instructions to a "T". Ran the Query with no problem. At a bit of a loss as to what to do.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|