boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

b2comments -- Notify Me/Subscription Options (FINAL)
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
Cyberian75



Joined: 26 Sep 2002
Posts: 1285
Location: Oregon

PostPosted: Mon Jan 13, 2003 4:03 am    Post subject: b2comments -- Notify Me/Subscription Options (FINAL) Reply with quote

First of all, this hack involves altering the database, specifically b2comments table. It is required to add a field called "comment_notify". Therefore, if you don't know how to utilize phpMyAdmin, please do not attempt to implement this hack without assistance. With or without assistance, backup your database first before you attempt anything to it. Don't say I didn't warn you.

The reason why I created this was because MT, I think, has a similiar feature where a commenter can "subscribe" to receive notifications of new comments on that particular post. So, this hack does exactly that.

You can also get the instructions and codes here.


Upgrade:

---
Now a visitor can subscribe/unsubscribe to a post without posting a comment using a separate form. This upgrade contains several error-checking mechanisms so your database would not get overloaded.

All of the modifications have to be carried out in order for it to work properly.
---
_________________
Michael P.



Last edited by Cyberian75 on Wed Oct 13, 2004 11:29 pm; edited 15 times in total
Back to top
View user's profile Send private message AIM Address
Cyberian75



Joined: 26 Sep 2002
Posts: 1285
Location: Oregon

PostPosted: Tue Jan 14, 2003 9:49 pm    Post subject: Reply with quote

If you do use this hack, please post something so I know you are implementing it. If there are more users implementing this, I will be willing to upgrade it so that it's more independent and with more sensible capabilities. Thank you.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Aziza



Joined: 12 Nov 2002
Posts: 22

PostPosted: Sun Jan 19, 2003 9:05 pm    Post subject: Reply with quote

If I get it right, this hack is for subscriptions on comments on a post? I noticed that you had a subscrition form for entries/posts on your site, is that an hack you did aswell? I'm very interested in that Smile
Back to top
View user's profile Send private message
Cyberian75



Joined: 26 Sep 2002
Posts: 1285
Location: Oregon

PostPosted: Mon Jan 20, 2003 1:46 am    Post subject: Reply with quote

Ariza,

Yes, this hack/modification is for comments on a post but not all posts. It uses a new field in the comments table in your database to turn on and off the comment notification of a particular post a user subscribes to. And yes, that "subscribe/unsubscribe" form is also my hack.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Aziza



Joined: 12 Nov 2002
Posts: 22

PostPosted: Mon Jan 20, 2003 8:46 am    Post subject: Reply with quote

Michael, is the subscription on posts an available hack? I didn't find it on your site though.. Thanks!

Cyberian75 wrote:
Ariza,

Yes, this hack/modification is for comments on a post but not all posts. It uses a new field in the comments table in your database to turn on and off the comment notification of a particular post a user subscribes to. And yes, that "subscribe/unsubscribe" form is also my hack.
Back to top
View user's profile Send private message
Cyberian75



Joined: 26 Sep 2002
Posts: 1285
Location: Oregon

PostPosted: Mon Jan 20, 2003 6:01 pm    Post subject: Reply with quote

Aziza wrote:
Michael, is the subscription on posts an available hack? I didn't find it on your site though.. Thanks!


It's here. Smile
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Aziza



Joined: 12 Nov 2002
Posts: 22

PostPosted: Mon Jan 20, 2003 8:32 pm    Post subject: Reply with quote

Thanks Michael!! Much appreciated!! Smile))
Back to top
View user's profile Send private message
Aziza



Joined: 12 Nov 2002
Posts: 22

PostPosted: Thu Jan 23, 2003 10:28 am    Post subject: Reply with quote

Michael, I've implented the hack now and I see that I must have misunderstood what your hack was all about. I would like a hack that where my vistors can subscribe through a form and then get notified whenever I post a new post. Not whenever someone has commented my post.. Do you know if an hack like that exists?

Thank you for your help!

Aziza
Back to top
View user's profile Send private message
Cyberian75



Joined: 26 Sep 2002
Posts: 1285
Location: Oregon

PostPosted: Thu Jan 23, 2003 5:28 pm    Post subject: Reply with quote

Ariza,

Sorry you misunderstood the hack. Anyway, you could use bloglet.com for that purpose.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Aziza



Joined: 12 Nov 2002
Posts: 22

PostPosted: Thu Jan 23, 2003 6:06 pm    Post subject: Reply with quote

Michael! Thanks bunches!! Just one last question and I don't even know if you know the answer: When I'm signing up at Bloglet, it's aking me for an Blog ID and in the help it says where to find it when you are suing MT, Blogger etc, however it's not letting me know how to located the ID using B2. If you by any chanse know the answer I would be grateful. Thank you so much for your help.
Back to top
View user's profile Send private message
Cyberian75



Joined: 26 Sep 2002
Posts: 1285
Location: Oregon

PostPosted: Thu Jan 23, 2003 6:15 pm    Post subject: Reply with quote

Ariza,

You don't need to provide that information for b2. And be sure to use XML or RSS2 for the "server" and "type". Click on the question mark for help.

If you have any more questions, please create a new thread.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Sat Feb 15, 2003 8:07 pm    Post subject: Reply with quote

Awesome hack. It's now operational on Diary of a Madman.
Back to top
View user's profile Send private message Visit poster's website
crisdias



Joined: 20 Feb 2003
Posts: 1
Location: Winnipeg, MB

PostPosted: Thu Feb 20, 2003 4:15 am    Post subject: kudos! Reply with quote

Awesome hack, man. I did something like this on my website and now a friend wants it. Problem is I was not sure of every step I would need to copy from my hack, ehehehe.

Only one suggestion for the next version... My hack uses a separate table (b2subscriptions) so I don't have to worry about all the code messing with b2comments. On the other hand with my hack once you subscribe you're stuck for life.

The hack will be used here: http://www.rafainc.com

Thanks for sharing it with us!
Back to top
View user's profile Send private message Visit poster's website
interney



Joined: 04 Mar 2003
Posts: 1
Location: São Paulo/SP/Brasil

PostPosted: Tue Mar 04, 2003 7:23 pm    Post subject: Notifying Reply with quote

I'm using this hack at http://www.interney.net/

Tk's a lot! Smile
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Sansnom



Joined: 31 Jan 2002
Posts: 94
Location: Paris

PostPosted: Fri May 16, 2003 5:47 am    Post subject: Reply with quote

Hello Cyberian,

I've implement your hack but I've got problems.
I use the upgrade.
In the first time, the notification works but mysql says : I can't store your comment / problem with the database / contact the webmaster... I'm the webmaster ! So, I delete the comment_notify colum in database... and now the comments are stored but the notification doesn't work anymore...

My question is : Must I follow all the step of installation since the first version, and after the upgrade to succed; or does it must work with only the upgrade steps ?

I'm not a phpman.
Thankx for all,

S
_________________
http://www.sansfin.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group