The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
This hack is similar to the "2.0 Email new thread notifictions to subscribed users" hack by chrispadfield. My hack is an enhanced replacement to the Padfield hack.
Without this hack, subscribing to a forum does nothing but add the forum to one's user CP. By installing this hack, an email will be sent with the post's content when a new thread is posted. The major differences between this hack and the Padfield hack are:[list=1][*]Email notification contains the posted text.[*]When posting a new thread to moderated forums, notification will be delayed until the thread is approved. This also works with Wayne Luke's moderate user hack.[/list=1]This hack has been tested on vBulletin 2.2.1 through 2.2.5. Post any problems/suggestions here. My users like it as is but would appreciate any improvement. Show Your Support
|
Comments |
#32
|
|||
|
|||
![]()
Given that it had been almost 6 months since the last post, I was just wondering if this hack had been superceded by another, better one.
|
#33
|
|||
|
|||
![]()
I've made no updates. The only enhancement I can think of would be to fix it to work with polls. Creating a new poll doesn't send out an email.
|
#34
|
|||
|
|||
![]()
STEP 2
(newthread.php) Find the following code PHP Code:
PHP Code:
|
#35
|
|||
|
|||
![]()
Yes, it should work fine. I think the code in this area was first changed in 2.2.7. At least that's what my logs show without tracking down the real ZIP file.
So this line was added between 2.2.6 and 2.2.7: $bbuserinfo['username'] = htmlspecialchars($bbuserinfo['username']); The hack addition would still go after the 4th brace in that area--the 2nd brace after the above, quoted line. Although I have yet to upgrade my forums--don't tell anyone--from your post, at least this area should be fine. I'm very glad to see that this hack will no longer be necessary in vb3! I think vb3 has its own version anyway. Paul |
#36
|
|||
|
|||
![]()
I've had this hack in my forums since 2.2.1 up to 2.2.7. For some reason I just noticed that extra line of code and wanted to check after I upgraded to 2.2.9
|
#37
|
||||
|
||||
![]()
Works great except for one problem
see below how would someone get the thread to send out links instead of the vb code url and /url take out the a's before url and that is what shows up in email, shows up with the url vb code tags, anyway to fix that Quote:
|
#38
|
|||
|
|||
![]()
Personally, I like the markup since it doesn't change the meaning. But this should do the trick:
In newthread.php, find my hacked like: Code:
$postcontents=unhtmlspecialchars($message); Code:
$postcontents=strip_tags(bbcodeparse2(unhtmlspecialchars($message),1,1,0,1)); |
#39
|
|||
|
|||
![]()
I have a question for the forum. I installed this Hack and love it -- it worked a few weeks ago when someone posted a very short message (like 300 characters). All who were subscribed to the specific forum received the email alert.
Today, however, someone posted a message (which was about 12,000 characters) and the message wasn't emailed out to folks subscribed to the forum. The only difference in the messages that I can see is the length of the posting. Does anyone have *any* insight into what might have happened this time around? I haven't changed any of the vBulletin set-up in the time between the first post and the second. I installed the Hack on 1/17/2003 and am running vBulletin 2.2.8. Thanks! |
#40
|
|||
|
|||
![]()
I posted #38 and didn't hear back from anyone....
I installed this hack and it worked several times. Nothing has changed on my board (it's just been running along, all fine), and I haven't installed any hacks or anything new. But now the hack doesn't work. If someone posts to a forum I'm subscribed to, I don't get the email alert. If anyone is out there and can help me I'd really appreciate it. Thanks a lot. |
#41
|
||||
|
||||
![]()
Just installed on my board [link] and it works like a charm! Nice work, thank you very much.
Any chance of adding the Poll feature soon. If so, this would be a perfect hack! ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|