phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Always notify me of replies: default


 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
~Cowboy~
Board Member



Joined: 08 Dec 2008

Posts: 297
Location: Chicago


flag
PostPosted: Thu Jan 22, 2009 7:28 pm 
Post subject: Always notify me of replies: default

Does anyone know how to change the default setting so registered users would be notified by default when some one replies to their post?
_________________
Image link
We are not refugees we are trail blazers. icon_wink.gif
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 666
Location: Texas


flag
PostPosted: Thu Jan 22, 2009 7:52 pm 
Post subject: Re: Always notify me of replies: default

Yes, I know. icon_smile.gif

You have to change the default value (if my memory is correct it's a one-line change) in the registration process. I'll get the code changes posted tonight, as I don't have access to the source right now.

If you are going to default the email profile option to "on" my suggestion would be to make sure you tell your users that during the registration process. In my experience most folks don't want more email, they want less.

_________________
phpBBDoctor Blog
Back to top
~Cowboy~
Board Member



Joined: 08 Dec 2008

Posts: 297
Location: Chicago


flag
PostPosted: Thu Jan 22, 2009 10:18 pm 
Post subject: Re: Always notify me of replies: default

Yep I already have that planned to make them aware of the change.

This should be a small change though I don't think it will be offensive considering they should be able to change it if they wish to and it will only mail then when a topic they are involved in is replied to. icon_biggrin.gif

Its kind of a test to see if it will increase the involvement of the members.

I may change it back later if they don't like it.

I have been looking for that one line all morning lol.

I think it might be in the usercp_register.php but I didn't want to change it if it only moved the default tick mark over with out setting the value properly.

Thanks for looking into this for me. icon_biggrin.gif

_________________
Image link
We are not refugees we are trail blazers. icon_wink.gif
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 666
Location: Texas


flag
PostPosted: Fri Jan 23, 2009 2:57 am 
Post subject: Re: Always notify me of replies: default

If you open usercp_register.php and find this line:
Code:
$notifyreply = ( isset($HTTP_POST_VARS['notifyreply']) ) ? ( ($HTTP_POST_VARS['notifyreply']) ? TRUE : 0 ) : 0;

Change the very last 0 to a 1. That's it. icon_smile.gif What it will do is check to see if the user has made a selection, and if so, it will take the selection they made, otherwise it will default to 1 (on) instead of 0 (off).

Give it a shot, but I'm fairly confident that's where you need to make the change. The final line would look like this:

Code:
$notifyreply = ( isset($HTTP_POST_VARS['notifyreply']) ) ? ( ($HTTP_POST_VARS['notifyreply']) ? TRUE : 0 ) : 1;

_________________
phpBBDoctor Blog
Back to top
~Cowboy~
Board Member



Joined: 08 Dec 2008

Posts: 297
Location: Chicago


flag
PostPosted: Fri Jan 23, 2009 4:21 am 
Post subject: Re: Always notify me of replies: default

Ok thanks I'll give that a try icon_biggrin.gif
_________________
Image link
We are not refugees we are trail blazers. icon_wink.gif
Back to top
Slackervaara
Board Member



Joined: 01 Jan 2009

Posts: 70



PostPosted: Sat Jan 24, 2009 2:18 am 
Post subject: Re: Always notify me of replies: default

You can also change in the database with phpMyAdmin. The phpbb_users table field user_notify from 0 to 1. This change will only affect newly registered members though.
Back to top
~Cowboy~
Board Member



Joined: 08 Dec 2008

Posts: 297
Location: Chicago


flag
PostPosted: Sat Jan 24, 2009 3:15 am 
Post subject: Re: Always notify me of replies: default

I didn't even think of that.. Thats a good idea that would be useful on the multiforums. icon_biggrin.gif
_________________
Image link
We are not refugees we are trail blazers. icon_wink.gif
Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0288 seconds using 15 queries. (SQL 0.0017 Parse 0.0010 Other 0.0261)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo