![]() |
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.
|
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.
|
STEP 2
(newthread.php) Find the following code PHP Code:
PHP Code:
|
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 |
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
|
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:
|
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)); |
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! |
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. |
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! :) |
All times are GMT. The time now is 10:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|