Topic: Update Mycontact form

Added   Parsley   ( Javascript forms validation )
more info here


Preview in Monstra demo


Download here


Note: if you like errors with custom language change in mycontact.plugin.php line 33.

 Javascript::add('../../../post/2226/plugins/mycontact/lib/i18n/forum_subdomain/messages.en.js','frontend',11);

Change name file messages.en.js with messages.es.js or this




Php code :

     // Contact
      
    // Subscribe
     

Shortcode :

 
  // Contact 
  {mycontact}
  // Subscribe
 {mycontact type="subscribe" }


Preview photos:



::::::  Normal ::::::

https://dl.dropboxusercontent.com/u/23834858/portfolio/mycontact%20photos/StyleCapture_2013-06-11_19-40-02_791.png

:::::: Errors ::::::

https://dl.dropboxusercontent.com/u/23834858/portfolio/mycontact%20photos/StyleCapture_2013-06-11_19-40-25_86.png
https://dl.dropboxusercontent.com/u/23834858/portfolio/mycontact%20photos/StyleCapture_2013-06-11_19-40-44_905.png



Subscribe

::::::  Normal ::::::

https://dl.dropboxusercontent.com/u/23834858/portfolio/mycontact%20photos/StyleCapture_2013-06-11_19-41-10_20.png


::::::  Errors ::::::

https://dl.dropboxusercontent.com/u/23834858/portfolio/mycontact%20photos/StyleCapture_2013-06-11_19-41-19_695.png
https://dl.dropboxusercontent.com/u/23834858/portfolio/mycontact%20photos/StyleCapture_2013-06-11_19-41-32_30.png

::::::  You are a robot? ::::::
https://dl.dropboxusercontent.com/u/23834858/portfolio/mycontact%20photos/StyleCapture_2013-06-11_19-42-14_475.png

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

2 2013-06-12 17:20:05

Re: Update Mycontact form

Great! Thanks!
All your plugins are great!!

Re: Update Mycontact form

Ru language.
=> Add in the plugin folder

Download

P.S.:
If you add the language in the folder after installing the plugin, then re-install the plugin from the admin panel.
(Plugins / MyContact-Delete. New plugins / MyContact (Контактная форма) / Install.)
Sorry for my bad English sad

Re: Update Mycontact form

dear i installed last version of monstra and ur plugin.... does not really work well....

http://s33-temporary-files.radikal.ru/4315c5ea67a64a64927d4088bfa148f7/-929206895.jpg
even i put wrong mail without "@" it say message send...
no validation nothing works sad

default monstra, default theme, and ur plugin..

and also that weird space in "message form" ... how to remove it?

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Update Mycontact form

even i put wrong mail without "@" it say message send no validation nothing works sad

I make clean installation for Monstra and install the plugin and work well. Try to clean cache.


and also that weird space in "message form" ... how to remove it?

where is this?

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: Update Mycontact form

where is this?


http://s31-temporary-files.radikal.ru/5b67264a88bf484d9a94e4fa9c02408d/-929206895.jpg


http://s31-temporary-files.radikal.ru/ab5960baf4cf493aa3cf5980b3b713c8/-929206895.jpg

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Update Mycontact form

is a ghost smile

remove this in myfrom.view.php is a blank code

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

8 2013-07-30 03:27:31

Re: Update Mycontact form

still there xD

*useing Mozilla firefox 22.0*

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Update Mycontact form

still there xD

You've cleared the cache? or if you have autocomplete active, you need cleaning.

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: Update Mycontact form

yes i clean cash and yes i try again and clean again... still there Q_Q

p\s fixed now no space i messup with code a bit sory smile
no more problem smile)

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Update Mycontact form

There is not a form validation on my blog, check it up: http://remaja-muslim.com/contact

Jefry_D's Website

Re: Update Mycontact form

I have 2 questions...

1)Why i cant see message sent by User via ur form in admin panel when i click Reply i see only this "Your menssage" instead of user message o_O ( i can see user message only before clicking "reply", i dont understand it )

2) Why do i get a mail in gmail from my own mail adress not from email of user who set a message via contact form?
(example user with mail: "monstra@gmail.com" sent me a message, but i got on my mail romanart@gmail.com the message from romanart@gmail.com instead of monstra@gmail.com, i cant even answer that message from my mail, i can only reply from admin panel on monstracms)

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Update Mycontact form

RomanArt wrote:

I have 2 questions...

1)Why i cant see message sent by User via ur form in admin panel when i click Reply i see only this "Your menssage" instead of user message o_O ( i can see user message only before clicking "reply", i dont understand it )

2) Why do i get a mail in gmail from my own mail adress not from email of user who set a message via contact form?
(example user with mail: "monstra@gmail.com" sent me a message, but i got on my mail romanart@gmail.com the message from romanart@gmail.com instead of monstra@gmail.com, i cant even answer that message from my mail, i can only reply from admin panel on monstracms)

1 - Go to myContact.admin.php    line 89 and add this 

     ->assign('user_menssage', $user_menssage)

Now go to views/backend/reply.view.php and write for example in line 25,

     '

User Question:

'. '

'.$user_menssage.'
'.

2 -  If you need  see user mail you need change the template.

You can use this vars:   ( you can see in help button )

Name user   
Email user   
Subject user   
Menssage user   
Your codes
Your name   
Your menssage   
Your email   
Other codes
Site name   
Site url   
..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

14 (edited by RomanArt 2014-02-11 04:15:01)

Re: Update Mycontact form

Thanks.
First question is done, working well...
about 2nd question i dont really get where i should change my_mail to user_mail.
Cause if u go to page romanart.ru/contact and sent me a message it will come on my mail from my mail Q_Q even gmail saying like there is a hacker or so ahhah cause mail suppose to come from ur mail to my cause u sent it from website via contact form.



everytime someone sent message via contact form i got a mail on my theromanart[=]gmail.com mail.

Example: u sent me message from romanart.ru/contact
ur mail: nakome[=]gmail.com

i got an email on my mail from my MAIL(theromanart[=]gmail.com) instad of nakome[=]gmail.com looks like i sent mail to myself but it was u who sent message via contact form.

i gave up dont know how to explane anyone smile

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Update Mycontact form

Try this:

Go to myContact plugin section click in Edit Template and in line 88 paste this code,

                          

There is ouput of shortcodes

Name user
Email user
Subject user
Menssage user
Your codes
Your name
Your menssage
Your email
Other codes
Site name
Site url
..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website