Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Contextual Forum Subscriptions Hack Details »
Contextual Forum Subscriptions Hack
Mod Version: 1.00, by kippesp (Member) kippesp is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 7
Released: 20 Mar 2002 Last Update: Never Downloads: 1
Not Supported  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Useful inline contextual links in postbit and member profile cheat-master30 vBulletin 3.7 Template Modifications 5 16 Aug 2008 00:21

Comments
  #2  
Old 20 Mar 2002, 22:46
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
This is a great idea. I will install it after work.
Reply With Quote
  #3  
Old 20 Mar 2002, 23:03
chrispadfield's Avatar
chrispadfield chrispadfield is offline
 
Join Date: Oct 2001
Cheers for doing this looks good.
__________________
Christopher Padfield
[email protected]

http://www.deskpro.com - Manage your customer support
Now Avaliable
Reply With Quote
  #4  
Old 21 Mar 2002, 04:59
Smoothie Smoothie is offline
 
Join Date: Oct 2001
installed on ver 2.2.2. Not getting emails to subscribed forums.
Reply With Quote
  #5  
Old 21 Mar 2002, 05:20
Smoothie Smoothie is offline
 
Join Date: Oct 2001
I did however get an email:

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: '[email protected]' to database 'fictionalley'

mysql error number: 1044
Reply With Quote
  #6  
Old 21 Mar 2002, 05:29
kippesp kippesp is offline
 
Join Date: Jan 2002
YIKES! My board has special queries. Very sorry about that!

I've fixed that now. The new file does not reference a special user database. (My board has userdata in a different DB!) I'll double check my work, but it should work without errors now.

I've also added to the description in case you're unfamilure with the Padfield hack. It won't send notifications of your own posts. And it isn't all posts. Only new threads.

Last edited by kippesp; 21 Mar 2002 at 05:41.
Reply With Quote
  #7  
Old 21 Mar 2002, 05:36
Smoothie Smoothie is offline
 
Join Date: Oct 2001
ok, I'll give it another shot...

Thanks!
Reply With Quote
  #8  
Old 21 Mar 2002, 05:43
Smoothie Smoothie is offline
 
Join Date: Oct 2001
# 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
Hi-
Is there a way to avoid this step? In other words is there a way for emails to be sent without first having the thread approved?
Reply With Quote
  #9  
Old 21 Mar 2002, 05:46
kippesp kippesp is offline
 
Join Date: Jan 2002
Originally posted by Smoothie
Hi-
Is there a way to avoid this step? In other words is there a way for emails to be sent without first having the thread approved?
Sure. Take out the check for $visual in newthread.php. So what was:
if ($enableemail and $visible) {

now becomes

if ($enableemail) {

If this is how you want to use it, you would not need any of my changes to mod/moderate.php.
Reply With Quote
  #10  
Old 21 Mar 2002, 06:01
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Thanks again! Installing now.
Reply With Quote
  #11  
Old 21 Mar 2002, 06:15
Smoothie Smoothie is offline
 
Join Date: Oct 2001
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: '[email protected]' to database 'fictionalley'

mysql error number: 1044
Reply With Quote
  #12  
Old 21 Mar 2002, 06:19
kippesp kippesp is offline
 
Join Date: Jan 2002
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.
Reply With Quote
  #13  
Old 21 Mar 2002, 06:24
Smoothie Smoothie is offline
 
Join Date: Oct 2001
ok, cache cleared.
Reply With Quote
  #14  
Old 21 Mar 2002, 06:42
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Works great....nice work.
Reply With Quote
  #15  
Old 21 Mar 2002, 06:44
kippesp kippesp is offline
 
Join Date: Jan 2002
Glad to hear it. Thanks for helping me find my slip ups.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:20.

Layout Options | Width: Wide Color: