[MODDB] Contact Board Admin

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

[MODDB] Contact Board Admin

Post by RMcGirr83 » Sun May 03, 2009 3:39 pm

Modification Name: Contact Board Admin
Author: RMcGirr83
Co-Author: Evil <3

Modification Description: Allows registered users and guests to contact either the board founder or admins by either a PM, a Post in a specified forum or via email.

Modification Version: 1.0.5

Works with: phpbb 3.0.5
Language: English

License: GNU General Public License v2

MOD Format:
Image

Mod Download: https://www.rmcgirr83.org/viewtopic.php?f=5&t=160

Notes: I took over this mod from Evil <3, thanks for your efforts Igor ;) , and made some changes a few of which I have listed below
  • Option of having only the board founder notified via either PM or Email
  • Added drop down box to select user for auths if the contact method is via forum posting
  • Fixed Forum Drop down so only those forums that allow posting can be selected
  • Placed checks in contact form for activated users as well as posting for forums (hey, things can change on a forum...right?). If someone goes to use the form and an incorrect forum or user is selected in the ACP, a message is sent to the board founder notifying them of the problem and a message stating the form is not availabe is displayed to the user.
  • Only the user auths for the posting user as selected in the ACP will be used in the PM's and Posting...otherwise the users name, etc. that is submitting the form will be used (no replacement of $user->data).Changed in 1.0.4...you can have your cake and eat it too!
  • UTF 8 is fully functional...I think
  • Other small adjustments to the modification
  • Added preview of contact information
  • Added Captcha Refresh
Demo: Here

Updating can be found here

Original DEV Topic

[EDIT]Mod updated to 1.0.5...added preview button and corrected html and language issues.[/EDIT]

[EDIT]Mod updated to 1.0.4...allows an admin to choose how the contact should be posted under in the ACP. No more features planned.[/EDIT]

[EDIT]Mod updated to 1.0.3...tightens up includes/functions_contact.php quite a bit and, I believe will be released as a validated mod...once I can get it uploaded into the MODDB[/EDIT]
Last edited by tumba25 on Mon Jul 06, 2009 2:44 am, edited 8 times in total.
Reason: Changed the subject to state that this MOD is in the MODDB
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Ashley.S.
Registered User
Posts: 468
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

Re: [RC] Contact Board Admin

Post by Ashley.S. » Sun May 03, 2009 3:50 pm

great to see the new version as I am using 0.1.4 from Evil and I want to update the mod, but I don't understand where the update instructions are from that link that you posted :?
Regards,
-Ashley.S. [ ProphpBB Free Forum Hosting Moderator ]

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Board Admin

Post by RMcGirr83 » Sun May 03, 2009 4:19 pm

EG, this shows the changes to the install.xml file

Once you click on any of the files, toward the bottom of the page will say "Get Diffs" (aka display the differences between the files). "Type of Diff" can be changed, if "color" is chosen, then yellow are changes, greens are added, reds are deleted.

Alternatively, you could always uninstall Igor's version and install this version. Should take all of 20 minutes.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Ashley.S.
Registered User
Posts: 468
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

Re: [RC] Contact Board Admin

Post by Ashley.S. » Sun May 03, 2009 4:55 pm

I think I may take the un-install & re-install option, might be easier for me
Regards,
-Ashley.S. [ ProphpBB Free Forum Hosting Moderator ]

Artack
Registered User
Posts: 312
Joined: Thu Feb 07, 2008 11:26 pm

Re: [RC] Contact Board Admin

Post by Artack » Sun May 03, 2009 5:47 pm

Can You put update instructions from 0.1.4 in package of mod?
(may be more usefull fot users update.xml)

User avatar
Ashley.S.
Registered User
Posts: 468
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

Re: [RC] Contact Board Admin

Post by Ashley.S. » Sun May 03, 2009 5:57 pm

Artack wrote:Can You put update instructions from 0.1.4 in package of mod?
(may be more usefull fot users update.xml)
that sounds better, and would help me more no doubt, less confusing that way
Regards,
-Ashley.S. [ ProphpBB Free Forum Hosting Moderator ]

Artack
Registered User
Posts: 312
Joined: Thu Feb 07, 2008 11:26 pm

Re: [RC] Contact Board Admin

Post by Artack » Sun May 03, 2009 6:31 pm

Let's wait RMcGirr83 ;)

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Board Admin

Post by RMcGirr83 » Sun May 03, 2009 7:10 pm

***sigh***

The gratitude is overwhelming to say the least. :roll:

I'll see, if I have time to write up an update, but that won't be for a long, long time as I have more important things to do at the moment, thanks.

BTW, in the amount of time that I started this topic and now, you could have uninstalled the BETA modification, which shouldn't be installed onto a live forum to begin with, and updated to this one and we wouldn't be having a "Let's wait - RMcGirr83".

Wait as long as you like. :)
Last edited by RMcGirr83 on Mon May 04, 2009 3:01 pm, edited 1 time in total.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC] Contact Board Admin

Post by IPB_Refugee » Mon May 04, 2009 1:17 am

Thanks a lot for taking this MOD over, Rich! :) A clever way to contact a board's admin(s) should even be part of phpBB's core in my humble opinion.

Regards
Wolfgang

User avatar
Hippie459MN
Registered User
Posts: 918
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [RC] Contact Board Admin

Post by Hippie459MN » Mon May 04, 2009 1:40 am

Excellent!!! I am going to update my 3 forums ASAP!!!

Love the notify forum founder/s only. :)

User avatar
dahuang
Registered User
Posts: 10
Joined: Sun Apr 26, 2009 5:26 pm

Re: [RC] Contact Board Admin

Post by dahuang » Mon May 04, 2009 8:50 am

good mod. install easy, but its not work.
when i post in "Forum post" or "Private message", the error is "SQL ERROR [ mysqli ]
Incorrect string value: '\xD6\xD0\xB9\xFA\xB1\xEA...' for column 'message_text' at row 1 [1366]"
? and post in "Email" i cant receive any email.
:oops:
对酒当歌,人生几何?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Board Admin

Post by RMcGirr83 » Mon May 04, 2009 10:49 am

:?

There is no column "message_text" in a default phpBB version 3 install, at least not one that I can find.

The emails are sent into queue ...so they aren't sent immediately.

Also, there is a small bug in the mod download. To fix, open contact.php

FIND

Code: Select all

$date					= $user->format_date($now);
REPLACE WITH

Code: Select all

$date					= gmstrftime ("%A %d-%b-%y %T %Z", $now);
FWIW, this is what a post looks like after being submitted

Image
Last edited by RMcGirr83 on Mon May 04, 2009 12:19 pm, edited 1 time in total.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Toktok
Registered User
Posts: 155
Joined: Mon Dec 15, 2008 10:27 am

Re: [RC] Contact Board Admin

Post by Toktok » Mon May 04, 2009 11:14 am

in my forum there is 2 admin. is it possible if anyone want to sent message it will sent only a particular e-mail address?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Board Admin

Post by RMcGirr83 » Mon May 04, 2009 11:25 am

If one of the admins has "Users can contact me by e-mail:" set to no, then it will only send an email to the admin that has it set as "yes".
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Re: [RC] Contact Board Admin

Post by UseLess » Mon May 04, 2009 2:00 pm

Greetings,
RMcGirr83 wrote:There is no column "message_text" in a default phpBB version 3 install, at least not one that I can find.
Not in the db but there is in the $template array... ;)
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles

Locked

Return to “[3.0.x] MODs in Development”