Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Email Via Forum V0.3 for YaBB 2.4 (Read 4268 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Email Via Forum V0.3 for YaBB 2.4
May 5th, 2010 at 7:22pm
Print Post  
Email Via Forum V0.3

Description:
----------------
As is stands at the minute, the only way for Members to send emails to other Members is through their own email program. This Mod will add a new option in Admin Center to enable Members to send emails via the forum. Members will then have the option to receive emails even if their email address is hidden.

Notes:
--------
- This feature only works for Members. If you allow Guest posting, then emailing Guests will still open the users own email program.

Credits:
----------
A big thanks to Carsten for his help with passing user data through a hidden form field.
http://www.carsten-dalgaard.dk/cgi-bin/yabb2/YaBB.pl

And thanks to Mick (www.info4alien.de) for the German and German_Du Language translations.

Screenshots:
-----------------
Send Email:


Email Sent:


User CP - Profile - Contact Information:


User CP - Profile - Options:


Admin Center - Advanced Settings - Email:


Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload SendEmail.lng to the relevant Languages directory in ASCII mode.
4) Upload SendEmail.pl to the Sources directory in ASCII mode.
5) Go to 'Admin Center => Advanced Settings => Email' and check 'Enable Emails to be sent via the forum' to enable this feature.

Files to edit:
----------------
Admin/ModList.pl
Admin/NewSettings.pl
Admin/Settings_Advanced.pl
Languages/English/Admin.lng
Languages/English/Email.lng
Languages/English/Profile.lng
Sources/Display.pl
Sources/Load.pl
Sources/MemberList.pl
Sources/MyCenter.pl
Sources/Profile.pl
Sources/SubList.pl
Sources/System.pl

Zip package:
-----------------
EmailViaForum_V0_3.mod
EmailViaForum_V0_3_German_Patch.mod
EmailViaForum_V0_3_German_Du_Patch.mod
cgi-bin/yabb2/Languages/English/SendEmail.lng
cgi-bin/yabb2/Languages/German/SendEmail.lng
cgi-bin/yabb2/Languages/German_Du/SendEmail.lng
cgi-bin/yabb2/Sources/SendEmail.pl

History:
---------
V0.1 - First release - 5th May 2010
V0.2 - Added Member Group permissions and Member profile option - 9th May 2010
V0.3 - Added Member option to receive emails via the forum even if their email is hidden - 25th May 2010
« Last Edit: May 27th, 2010 at 4:40pm by Derek Barnstorm »  

EmailViaForum_V_0_3.zip ( 14 KB | Downloads )
Back to top
 
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Email Via Forum V0.1 for YaBB 2.4
Reply #1 - May 6th, 2010 at 9:52pm
Print Post  
I not got round to testing yet as i been abit busy.so i give it an good look and test at weekend.
Nice mod Derek this could be very useful for our board..how about makein it so admin can set member groups..as i wouldnt want new members start send spam email etc etc to my members.I proby only set this to only afew groups as i have an limt emails that can be sent per day from my home server...

Btw great work you mod coders do..

Thanks
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Email Via Forum V0.1 for YaBB 2.4
Reply #2 - May 7th, 2010 at 12:00am
Print Post  
Thanks chillipepper.

I'll take a look at the group permissions and hopefully get something up over the next few days...
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Email Via Forum V0.1 for YaBB 2.4
Reply #3 - May 9th, 2010 at 6:16pm
Print Post  
Hi,
Derek, can Members decide to get no eMails?
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Email Via Forum V0.2 for YaBB 2.4
Reply #4 - May 9th, 2010 at 7:14pm
Print Post  
Hi Mick - long time no speak.

mick wrote on May 9th, 2010 at 6:16pm:
can Members decide to get no eMails?

Yep. It doesn't change that setting -  If you have 'Hide Email from public?' checked, then no one will be able so send you an email...

chillipepper wrote on May 6th, 2010 at 9:52pm:
how about makein it so admin can set member groups

Okay, that's done now - V0.2 attached to the first post.

I've also changed it so that once it's enabled in Admin Center, Members then have the choice to enable it in Profile - Options.
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Email Via Forum V0.2 for YaBB 2.4
Reply #5 - May 9th, 2010 at 8:11pm
Print Post  
Derek Barnstorm wrote on May 9th, 2010 at 7:14pm:
Yep. It doesn't change that setting -If you have 'Hide Email from public?' checked, then no one will be able so send you an email...

I think, it will be nice to have two settings:

1. Hide (normal) Email from public

and

2. Can Users contact you via forum-mail (They can't see your eMail-Adress)


Hope, you understand, what I mean.


Edit:
Derek Barnstorm wrote on May 9th, 2010 at 7:14pm:
I've also changed it so that once it's enabled in Admin Center, Members then have the choice to enable it in Profile - Options. 

I think, I mean this option Wink
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Email Via Forum V0.2 for YaBB 2.4
Reply #6 - May 9th, 2010 at 8:25pm
Print Post  
mick wrote on May 9th, 2010 at 8:11pm:
Edit:
Derek Barnstorm wrote on May 9th, 2010 at 7:14pm:
I've also changed it so that once it's enabled in Admin Center, Members then have the choice to enable it in Profile - Options.  

I think, I mean this option Wink

This option only enables members to choose if they want to 'Send' email through the forum, not 'Receive' email sent from the forum...

I could look into to the option you suggested of 'Reveiving' too if you want me to...
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Email Via Forum V0.2 for YaBB 2.4
Reply #7 - May 9th, 2010 at 8:34pm
Print Post  
Derek Barnstorm wrote on May 9th, 2010 at 8:25pm:
I could look into to the option you suggested of 'Reveiving' too if you want me to...

I think, it will be a great option Wink
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Email Via Forum V0.2 for YaBB 2.4
Reply #8 - May 9th, 2010 at 8:36pm
Print Post  
Okay, I'll take a look at it over the next few days and see if it's workable...
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Email Via Forum V0.3 for YaBB 2.4
Reply #9 - May 25th, 2010 at 3:51pm
Print Post  
Sorry about the time it's taken me with this, it took me longer than I thought it would do. Done now anyhow...

V0.3 attached to the first post.

Any problems, let me know...
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Email Via Forum V0.3 for YaBB 2.4
Reply #10 - May 26th, 2010 at 3:08pm
Print Post  
Hi Derek,

thanks for the work. I think, that I can test it next week. On Friday I go to a little holiday, untill this I have a lot of program Wink

Greetings
Mick
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Email Via Forum V0.3 for YaBB 2.4
Reply #11 - May 26th, 2010 at 3:32pm
Print Post  
Okay, no problem Mick. Have a nice holiday.
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Email Via Forum V0.3 for YaBB 2.4
Reply #12 - May 27th, 2010 at 4:16pm
Print Post  
Hi,

found a time-window  :grin2:

Installed and tested with different preferences.
Looked very good! Thanks Derek!

German-Patches attached. You can add them
to the package in 1st post.

Greetings
Mick

Edited:
Attached Files deleted (they are in 1st Post now)
« Last Edit: May 27th, 2010 at 9:14pm by mick »  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Email Via Forum V0.3 for YaBB 2.4
Reply #13 - May 27th, 2010 at 4:39pm
Print Post  
Thank you very much, Mick - I've added them to the zip package.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint