The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Contextual Forum Subscriptions Hack Details »» | |||||||||||||||||||||||||
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 |
#12
|
|||
|
|||
Still no email, except this:
Database error in vBulletin 2.2.2: Invalid SQL: SELECT user.username,user.email FROM subscribeforum,fictionalley.user WHERE subscribeforum.forumid='55' AND subscribeforum.userid=user.userid AND user.userid<>'42' mysql error: Access denied for user: 'xxxx-xxx@localhost' to database 'fictionalley' mysql error number: 1044 |
#13
|
|||
|
|||
Those references to "fictionalley" were removed from the file about 30 min ago. (I think there were 2 of them.) I had to clear my browser cache for some reason before I'd get the file to download right from vb.org.
|
#14
|
|||
|
|||
ok, cache cleared.
|
#15
|
|||
|
|||
Works great....nice work.
|
#16
|
|||
|
|||
Glad to hear it. Thanks for helping me find my slip ups.
|
#17
|
|||
|
|||
Appreciate your help.
|
#18
|
|||
|
|||
kippesp,
We installed your hack on vB 2.2.4, and all was well -- it worked exactly as promised. But after I upgraded to vB 2.2.5 last week, the hack stopped working -- any idea why? I mean, did I overwrite something that needs to be reinstalled, or is your hack not compatible with 2.2.5? Also: I would like to set my site default that all users are subscribed to all 8 of my forums when they sign up -- they'd have to go into their CP to unsubscribe. Do you know how I could accomplish this? |
#19
|
|||
|
|||
hadley,
Is it still not working? I've gone through this hack again and applyed it to a fresh 2.2.5 vB. It is compatible with 2.2.5. I've also updated my test forum to 2.2.5 and this hack also worked. Since the hack is mostly contained in one area of newthread.php, I'd start there. (Changes for moderated threads in mod/moderate.php are independent of the changes in newthread.php.) I assume the board still has emails enabled and other emails are working? As far as forcing subscriptions on a user: Is it okay to hardcode the forumids? Or should the forumid list be controlled through the admin CP? Should users be subscribed on being activated? Or should users be subscribed on registering? If they are subscribed on registering, they will need to be able to access their user CP or you'll have some mightly "T'd" off users who can't unsubscibe themselves. |
#20
|
||||
|
||||
Quote:
Quote:
Quote:
Quote:
Thanks for your help -- and let me know if you want to take this conversation offline -- I wasn't sure... |
#21
|
|||
|
|||
Won't this potentially create a huge amount of emails? What if you have 8000 users and 50 forums. Say 4000 subsribe to an average of 5 forums. That makes 20,000 subscriptions total. Now let's say each of those forums get's an averge of 10 new threads per day. That would generate 200,000 emails! That's alot of server load on an email server along with bandwidth. Even if you half my numbers in the exmaple it's 100,000 emails! This can be a scary one for active boards...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|