OSCLASS: Validate an email address - osclass

I'm a newbie to OSClass. I have downloaded a setup and configured in my machine. In user registration page, there is no client validation. It is validating a form in server side. I'm using modern theme. What kind of criteria are being validated in osclass for an email address?
Please advice.

you have set mail server in osclass setting.you can set it with mandrill free account 12000 emails/month.for more detail you check mandrill integration with osclass 3.3.x

Modern theme is quite old now and not supported anymore.
Bender is the current theme for Osclass nowadays.
In Bender and other theme, front validation is usually handle by the jQuery Validate plugin but it's completely up to you.
Take a look in the *.form.php file in the Osclass Github. This is where Javascript is done (ugly but the subject is a work in progress).
You could also take a look at Pop theme (designed by the Osclass team), here.

Related

Phalcon 3 and Swift Mailer

I want to integrate Swift Mailer in Phalcon 3 using dependency injection. I have already seen various ways to do solve this issue in Phalcon and Phalcon 2.
It would be great if you can help me with this issue.
Use https://github.com/phalcon-ext/mailer and follow its instruction and you will get a working solution to send emails through Swift Mailer in Phalcon 3.
That being said there were a few issues which I had to tackle to get things up. So here is a list of changes that you have to make on your end:
If you are going to use smtp then change the port to 587 and encryption to tls
Apart from it you are going to face error from google and it will send a security alert to attached gmail id. In the security email which I received; I clicked on allowing access to less secure apps
And then it took me to a google sign-in page where I was able to lower security by allowing less secure apps to access my gmail account.
There might be a better way to send email without lowering security access. If you find one then please let me know.
The github page says to add in your code require_once('vendor/autoload.php'); you can do it in index.php located inside the public folder.

Install a BigCommerce Stencil Theme

I have developed two Stencil themes following the BigCommerce online docs.
As of to date: how does one go about installing a theme developed against Stencil on BigCommerce?
After filling out the upload request form (as instructed) and bouncing around with their tech support all night and morning -- who insisted on pointing me to docs on how to use a customizer.
I am being told installation of custom Stencil themes is not possible (?) until June.
Please tell me this is just a misinformed rep.
This is a pending feature, as you were told. Currently, custom theme uploads have to be done manually by a member of the BigCommerce staff. The upload request form goes to the team that has the ability to do so, but is actively limited by bandwidth since it is uncommon for a developer to need only a single upload.
Some information about this is listed under our new and pending features page.

How to create a WebHook with WCF to GitHub Enterprise?

I wanna create a WebHook to integrate with a server GitHub Enterprise. I want to use WCF to create this service, but I don't found a tutorial or step by step. This is my first work with WebHooks, and I did not found the model of the structure of the service to integrate with GitHub.
Anybody have a solution, example or the way to developer this? What methods, parameters and names I need use? The documentation of GitHub is not clear to me.
Thanks.
The methodology to create webhooks in the UI on earlier versions of GitHub Enterprise is very similar to GitHub.com and is now identical on GitHub Enterprise 11.10.340 and later.
Using the UI is a case of browsing to the repository in question, select the "Settings" icon on the right, select "Service Hooks" and configure the appropriate hook. (The wording has changed slightly in GitHub Enterprise 11.10.340 to match what you see on GitHub.com).
If there isn't already a predefined service, a standard "WebHook URLs" hook should do the trick. This will POST the push payload to the URL you enter here.
You can also create the webhook using the API. If you're not running GitHub Enterprise 11.10.340 or later, you can refer to our archived documentation at https://developer.github.com/enterprise/11.10.320/, specifically https://developer.github.com/enterprise/11.10.320/v3/repos/hooks/ for how to use the API to create a webhook. If you're running GitHub Enterprise 11.10.340 or later the documentation at https://developer.github.com/webhooks/ applies to these versions of GitHub Enterprise.
You'd then need to ensure the recipient of this POST knows how to process the payload and act upon it.
A good service to use to check the payload from any webhook is http://requestb.in/.

Integrating Mailchimp embeded form with an SSL website

I am trying to integrate a Mailchimp sign up form with my website. I generated the form in Mailchimp and copied the embed code to my site. The problem is that my site has an SSL certificate and when my potential clients try to sign up to my mailing list it gives them a security warning (in firefox) saying:
"Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.
Are you sure you want to continue sending this information"
Is there any way to avoid getting this warning?
Thank you very much for any help.
I was also facing the same problem using default embed code provided by mailchimp, but that wasn't working on SSL site.
So after Googling for solution i found this link:
Stop MailChimp Forms Breaking Your SSL
https://www.ostraining.com/blog/coding/mailchimp-forms-ssl/
and it wasn't a big problem simply need to change the url from list-manage1.com to "list-manage.com"
simply need to test after removing 1 from the list-manage1.com and it worked fine after that.
It also works fine for post-json embed urls.
Short answer. No
Longer answer. No, you are stuck with that warning. You are posting to an unsecured site from a secured site and the user will get this notification.
It's more work than a simple embed, but you can do this using the MailChimp API which has support for SSL. See the section entitled HTTPS / Secure Connections in the API docs.
You can edit the form Mailchimp provide to embed so that it uses https and not http in the action url.

Wordpress FB plugin

I am currently trying to make use of a FB login plugin for Wordpress.
In one of the support threads, it mentions the issue I am having is commonly fixed if you:
“Switch the “Encrypted Access Token” setting to ‘Enabled’.”
I don't have this option in the advanced app settings:
http://dl.dropbox.com/u/35816363/otto.jpg
Can someone please advise what is wrong in my app settings that this option is not available?
Thanks
Lee
Have you migrated your app to oAuth 2.0? As far as I know, that setting “Switch the “Encrypted Access Token” setting to ‘Enabled’.” will only appear when you've set your app to oAuth 2.0.
I think you could accept the migration by activating the Open Graph feature in the app settings [-> get started] (if not, I apologize in advance; I did this many moons ago ^^;) On a side note: Activating Open Graph comes with the Timeline preview in your FB profile.