Contact Download 3.1

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

Contact


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


Changes

V 3.1

Comments
German Michael Zülsdorff Replied 1 year ago

Andy,
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
https://www.opensource-socialnetwork.org/component/view/1549/captcha

German Michael Zülsdorff Replied 1 year 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 1 year 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 2 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 2 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 2 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. :)

update

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 2 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.

https://github.com/madromas/ossn/blob/master/Contact-2.5.zip

Staff, please add it to OSSN.

Breton William Silva Replied 2 years ago

Hello,
I can't translate it into Portuguese as an administrator.

"Contact"
"Enter the email that you want to receive feedback"

Someone to help?

Catalan Chris Aug Replied 2 years ago

Hi i was wondering if you no how to change the map because i wanted it to translate in english but it's not showing english

Turkish Fatih Bayram Replied 6 years ago

I'm using the latest OSSN-Version on my site works fine. Download at the right side v2.0

Component

Developer: sathish
License ossnv4
Type: Communication
Requires Ossn Version : 5.2
Latest Version: 3.1
Last Updated 1 year ago
Repository Url View Repository

Versions