Contact Download 7.1

This component/theme works with latest OSSN version.
in sathish kumar 9 years ago


adds a contact page to your site allowing visitors to send some feedback or ask a question.
The contact page is addressable via the link "Contact Us" in the footer of your site.

In this component i have used the following things that is usefull for others to build component

1.How to register page ?
2.How to write action ?
3.How to write the setting page ?

For the above question you can get the answer by seeing this plugin .
I hope this will helpfull for you guys to build a new one.

This component comes with two configurable settings on the admin backend

  1. Email address to which the contact form should be sent
    this one is mandantory
  2. Any text or HTML that should appear above the contact form, e.g. an IFRAME with a road map
    you may either leave it blank in order to display only the contact form, or add any HTML code which will be displayed on top of the form then

Contact page (default view)
enter image description here

Contact page (customized with extra html + openstreetmap iframe)
enter image description here


V 3.1

German Dominik L Replied 1 year ago

Component is producing error logs

[05-May-2023 20:07:00 UTC] PHP WARNING: 2023-05-05 20:07:00 (UTC): "Attempt to read property "email" on bool" in file /home/queermeet/public_html/components/Contact/plugins/default/forms/Contact/administrator/settings.php (line 14)

[05-May-2023 20:07:00 UTC] PHP WARNING: 2023-05-05 20:07:00 (UTC): "Attempt to read property "map" on bool" in file /home/queermeet/publichtml/components/Contact/plugins/default/forms/Contact/administrator/settings.php (line 17)
[05-May-2023 20:07:30 UTC] PHP WARNING: 2023-05-05 20:07:30 (UTC): "Attempt to read property "map" on bool" in file /home/queermeet/public
html/components/Contact/plugins/default/forms/Contact/contactform.php (line 16)

Indonesian Arsalan Shah Replied 1 year ago

@Joey, it requires to edit the component there is no quick solution for it.

us Joey Champion Replied 1 year ago

How can we make this component work with Google reCaptcha v3?

German Michael Zülsdorff Replied 3 years ago

I have released a new version which is capable of using a captcha to prevent automatic submits.

enter image description here

Make sure to install the latest Captcha component to activate this feature. See

German Michael Zülsdorff Replied 3 years ago

So, as far as I understand, this component is intended for those who are NOT yet a member of the community. Logged in members don't need the form at all - they can send an internal message to the admin at any time.

gb Andy richardson Replied 3 years ago

Anyone please tell me how i can stop this from showing or opening unless logged in... i have the GDPR component too and that works perfectly with the private network component when you click it on the footer from login page it comes up says have to be logged in.. i need to do the same ting to this contact component to stop bots filling out the form..

us Roman Lohov Replied 4 years ago

~Z~ Man
One thing I have to ask. Your flag is German, Map says you are close to Berlin. Explain this to me???

(except of the German one)


us Roman Lohov Replied 4 years ago

~Z~ Man
To be honest, I completely removed google maps option on my side. I see absolute no need for it in the Contact Us form. But, since it is not my component, I felt like I can't just delete addons from it. I figured, people can decide for them self's and just delete that part if they don't need it.

I see he put the option to insert google maps link from admin panel and he comment it cause it didn't work. This option is useless in this component, so I did nothing with it.

Perhaps I can grab that google maps feature and add it to person's profile page. It will fit better there.

German Michael Zülsdorff Replied 4 years ago

Thanks for taking care of this oldie, Roman.

Before releasing your updated version:
Having a hardcoded Indian city on top of the form doesn't make so much sense, I think, while displaying the Ossn community's location instead would be a real enhancement.
And having a look at the beginning of contactform.php shows that Sathish obviously must have had a configurable option in mind - but never finished that part.

So, if you have the time to find out whether there's a Google api that allows us to enter a city name from the Ossn admin backend and get something back to feed the iframe with - I'd really appreciate.
If not, I'd vote for simply removing that map. :)


Perhaps a much simpler and even more versatile solution could be to add a textfield to the admin backend to paste the complete iframe or whatever html code into.
This way we wouldn't be forced to go with Google maps but may use other solutions like Open Street Map, too

sample openstreetmap iframe ...
enter image description here

us Roman Lohov Replied 4 years ago

I have an Updated version of this Component. Slightly changed layout. Modified system files to read languages from "locale". Russian and English are fully translated. Other languages are added but not translated(you can translate yours in "locale" folder"). Works with 5.2.

Staff, please add it to OSSN.


Developer: sathish
License ossnv4
Type: Communication
Requires Ossn Version : 5.2
Latest Version: 7.1
Last Updated 6 months ago
Repository Url View Repository