The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

23.05.13 at 16:24:57, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
Email Via Forum V0.3 for YaBB 2.4 (Read 2962 times)
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



05.05.10 at 20:22:50  
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: 27.05.10 at 17:40:50 by Derek Barnstorm »  
IP Logged
 
chillipepper
Fulltime Hacker
***
Offline

, United Kingdom
Posts: 189



Reply #1 - 06.05.10 at 22:52:22  
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
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #2 - 07.05.10 at 01:00:52  
Thanks chillipepper.

I'll take a look at the group permissions and hopefully get something up over the next few days...
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #3 - 09.05.10 at 19:16:18  
Hi,
Derek, can Members decide to get no eMails?
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #4 - 09.05.10 at 20:14:45  
Hi Mick - long time no speak.

mick wrote on 09.05.10 at 19:16:18:
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 06.05.10 at 22:52:22:
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.
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #5 - 09.05.10 at 21:11:52  
Derek Barnstorm wrote on 09.05.10 at 20:14:45:
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 09.05.10 at 20:14:45:
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
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #6 - 09.05.10 at 21:25:55  
mick wrote on 09.05.10 at 21:11:52:
Edit:
Derek Barnstorm wrote on 09.05.10 at 20:14:45:
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...
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #7 - 09.05.10 at 21:34:29  
Derek Barnstorm wrote on 09.05.10 at 21:25:55:
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
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #8 - 09.05.10 at 21:36:28  
Okay, I'll take a look at it over the next few days and see if it's workable...
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #9 - 25.05.10 at 16:51:45  
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...
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #10 - 26.05.10 at 16:08:31  
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
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #11 - 26.05.10 at 16:32:41  
Okay, no problem Mick. Have a nice holiday.
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #12 - 27.05.10 at 17:16:28  
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: 27.05.10 at 22:14:55 by mick »  
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #13 - 27.05.10 at 17:39:48  
Thank you very much, Mick - I've added them to the zip package.
 
IP Logged
 
Page Index Toggle Pages: 1
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum