Giter Site home page Giter Site logo

rmcgirr83 / contactadmin Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 8.0 240 KB

This form allows guests and/or registered users to either send an email or send a PM to admins or make a Post in a designated forum. It also overrides the default contact admin link found on the forum. A port of the phpBB 3.0.x mod “Contact Board Administration”. Latest version requires at least PHP 8.0.

License: GNU General Public License v2.0

PHP 79.11% HTML 20.89%

contactadmin's People

Contributors

mannixmd avatar matrix3600 avatar phpbb-es avatar prosk8er avatar rmcgirr83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contactadmin's Issues

PHP 8.1 compatability question - PHP Warning: Undefined array key in ext/rmcgirr83/contactadmin/event/listener.php on line 151

One of my boards running phpBB 3.3.8 with Contact Admin 1.3.7 was recently updated to use PHP 8.1 (8.1.11). I've posted https://www.phpbb.com/customise/db/extension/contact_admin/support/topic/239431 but haven't received any replies.

I'm periodically seeing the following in my error_log:

[16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_bot" in /home2/xxx/public_html/forum/ext/rmcgirr83/contactadmin/event/listener.php on line 151
[16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_bot" in /home2/xxx/public_html/forum/phpbb/textformatter/s9e/renderer.php on line 178
[16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_registered" in /home2/xxx/public_html/forum/phpbb/textformatter/s9e/renderer.php on line 179

I have tried a number of different steps using the navbar Contact us link and haven't been able to determine what or when this error gets generated.

Is the extension compatible with PHP 8.1 and should I be concerned with this PHP Warning?

Error message doesn’t have it HTML content parsed/displayed

Hi @rmcgirr83,

  • if I activate the extension option to send email,
  • if I disable the global phpBB option to send mail on the forum,
  • if I send the form from the /contactadmin page,
  • It displays an error message: “There is an error with the configuration of the Contact Administration.
    The extension is set to send an email but the configuration isn’t setup to send emails. Please notify the administrator or webmaster: mailto:[email protected]” that it content isn’t parsed/displayed.

contact admin error message html content isn t parsed

Little bug in 1.4.3

Hi,

I have found a little problem in the new file /controller/main_controller.php at line 184.

I think the "elseif" should be a "if", otherwise it is never executed if contactadmin_method is CONTACT_METHOD_POST.

Best regards,

Message will not sended on PHP 8.0

Today i switched from PHP 7.4 to PHP 8.0.
After that i tried to send serveral Test Messages via Contact Admin 1.3.7 but this was not sended all times.
So i swichted back to PHP 7.4 and i tried it again. All messages where sended / received.

Currently i use phpBB 3.3.3

Kind Regards

Hide GDPR checkbox for registered users?

(Not really an issue per se, more like a feature request… 😊)

I was pleased to see the extension now caters for GDPR-type confirmation, but was wondering whether the relevant checkbox could be hidden for registered users, as those should have already agreed to the terms of the board’s privacy policy.

Also, as it stands, the checkbox label text doesn’t make complete sense for them, as they don’t need to enter any name or e-mail address… 😉

Fatal error

Hallo,
after installing the estension, my forum has become unreachable: I can only use admin panel.
If I uninstall the extension, the issue remains. Any suggestions?

Thanks a lot,
Fantabaffo.

This is the error message:

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid repository file' in /membri/hifi/vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator/Repository.php:30 Stack trace: #0 /membri/hifi/vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator/RepositoryCollection.php(22): s9e\TextFormatter\Plugins\BBCodes\Configurator\Repository->__construct('/membri/hifi/ve...', Object(s9e\TextFormatter\Plugins\BBCodes\Configurator\BBCodeMonkey)) #1 /membri/hifi/vendor/s9e/text-formatter/src/Configurator.php(7374): s9e\TextFormatter\Plugins\BBCodes\Configurator\RepositoryCollection->normalizeValue('/membri/hifi/ve...') #2 /membri/hifi/vendor/s9e/text-formatter/src/Configurator.php(7344): s9e\TextFormatter\Configurator\Collections\NormalizedCollection->set('default', '/membri/hifi/ve...') #3 /membri/hifi/vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator.php(37): s9e\TextFormatter\Configurator\Collections\NormalizedCollection->add('default', '/membri/hifi/ve...') #4 /membri/hifi/vendor/s9e/text- in /membri/hifi/vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator/Repository.php on line 30

Require of phpbb/phpbb makes problems with composer installation

Hi,

I've tried to install your extension via composer.

I've added "rmcgirr83/contactadmin": "1.1.*" to my phpBB composer.json and run ../composer.phar update, but then phpBB tries to install the extension and your extension tries to install phpBB, which won't work.

This led to:

$ ../composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for phpbb/phpbb No version set (parsed as 1.0.0) -> satisfiable by phpbb/phpbb[No version set (parsed as 1.0.0)].
    - rmcgirr83/contactadmin 1.1.0 requires phpbb/phpbb >=3.1.3, <3.4 -> satisfiable by phpbb/phpbb[3.1.3, 3.1.4].
    - Can only install one of: phpbb/phpbb[3.1.3, No version set (parsed as 1.0.0)].
    - Can only install one of: phpbb/phpbb[3.1.4, No version set (parsed as 1.0.0)].
    - Installation 

I think you should remove this part: https://github.com/rmcgirr83/contactadmin/blob/master/composer.json#L22 and online keep line #30

With reference to: https://area51.phpbb.com/docs/dev/31x/extensions/tutorial_basics.html#composer-json

Regards

PS: Tagging the versions here on github, would be nice, too. :) 1.1.1 and higher is missing. :(

SQL ERROR [ mysqli ]

I am using 3.2 version of phpBB, and Contact Admin 1.1.1

I have it set to post in a forum, and when a user is signed into the site it works great, but if they are not logged into the forum they get this error when submitting the form.

General Error
SQL ERROR [ mysqli ]

Column 'user_ip' cannot be null [1048]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

Feature: Enable/Disable Header Link

Could we get a way to disable the 'Contact US" link in the header. Have a menu system, where I link it. The way phpBB Rules extension allows this.

Display Contact US link in the header: Yes/No

I have strange problem with current version and PHP 3.1.10

I try to send a test e-mail and got such exception stack:

[phpBB Debug] PHP Notice: in file [ROOT]/ext/rmcgirr83/contactadmin/core/contactadmin.php on line 426: Use of undefined constant CONTACT_METHOD_EMAIL - assumed 'CONTACT_METHOD_EMAIL'
[phpBB Debug] PHP Notice: in file [ROOT]/ext/rmcgirr83/contactadmin/core/contactadmin.php on line 430: Use of undefined constant CONTACT_METHOD_PM - assumed 'CONTACT_METHOD_PM'
[phpBB Debug] PHP Notice: in file [ROOT]/ext/rmcgirr83/contactadmin/core/contactadmin.php on line 225: Use of undefined constant CONTACT_METHOD_EMAIL - assumed 'CONTACT_METHOD_EMAIL'
[phpBB Debug] PHP Notice: in file [ROOT]/ext/rmcgirr83/contactadmin/core/contactadmin.php on line 250: Undefined variable: phpEx
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5337: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5337: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5337: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)

Do someone have ideas what it could be?

Release tags not up to date

Hi,

at the moment the release tags are not up to date: https://github.com/rmcgirr83/contactadmin/releases

The latest version should be 1.1.5. That makes it hard to use composer to install your extension, because only dev-master is a bit dangerous. One wrong push from you/or other, might kill my live website on next ./composer.phar update. :(

Would be glad, if you would use the tagging again.

Regards

Use "Contact E-Mail" info to send the emails there

Hello

I was wondering if it's possible to change a detail of this extension.

When you set to use email, you can (A) send the form to all the admins emails, (B) send the form to the founder (if you check that option).

However, the built in contact form (at least in PHPBB 3.3.0) use email entered in the "Contact Email" info in ACP -> Client Communication -> Email Configuration (And Contact Name)

Is possible to use this (As a third option or replacing the all admins option)? Or maybe put a single email to send the contacts?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.