I have been working on an archiving web app in django. I needed to create an email verification for users at signup (registration). But I'm encountering a problem with URL redirection of the email html. Here are my codes below. Kindly requesting help?????
views.py
urls.py
account_activation_email.html
Error page
I was expecting an email to be sent and when the activation link clicked, a login page appears telling the user has been successfully activated
Related
I understand how to create the app for the custom tab. However when I try to layout the next step it comes back with an error message. Can someone help me to properly layout the "With URL Redirects".
I know to put the Id number where is says YOUR APP ID and I have also placed the website in the "YOUR URL" position but it doesn't work. I have watched several videos and they all seem to be prior to the latest FB update.
The problem I am having seems to be coming from the setup for this code below that leads you to the Add Page Tab Dialog prompt. facebook.com/dialog/pagetab? app_id=YOUR_APP_ID &redirect_uri=YOUR_URL When I insert the "Your App ID" and Your URL" and hit enter I am receiving a Facebook Error message that says:
This dialog has been passed a bad parameter. API Error Code: 100 API
Error Description: Invalid parameter Error Message: Requires valid
redirect URI.
I am following this link: https://github.com/yahoo/yos-social-objc for retrieving yahoo contacts.
After providing all the credentials (i.e secret key, consumer key, app id) it is going to Safari browser for login. But after logged in, it's displaying this message:
To complete sharing of yahoo! info with xxxx, enter code xxxx into xxxx
So, I am not getting that where I should enter this code? And how will it redirect to my application.
Is something missing in Plist what should i have to add in Plist?
Any help will be appreciated.
Go through this to get Auth Key--
https://github.com/ddsakura/iOS-Yahoo-OAuth-Example
CloudSponge has an iOS widget for its contact importer. Visit test drive page from your iOS device to see how it works.
I work for CloudSponge, please let me know if you have any questions.
this will surely work:
I didn't work with the Yahoo! API yet, but in oauth it works like that:
Create an url scheme in your app. You can do that in the Info section of your project settings (URL types). Name the scheme whatever you want, for example your app id.
When you authenticate your app, you can pass a parameter named oauth_callback. Here you have to pass the name of the just created url scheme.
This should be it - when the login is ok on the Yahoo side, it will try to open the app that is registered for the url scheme it got as callback parameter.
UPDATE:
From the Yahoo! API documentation - this is the call you do when requesting the oauth token somewhere in your code (I filled in your url scheme as the callback, this is how it should look like):
https://api.login.yahoo.com/oauth/v2/
get_request_token?oauth_nonce=ce2130523f788f313f76314ed3965ea6
&oauth_timestamp=1202956957
&oauth_consumer_key=123456891011121314151617181920
&oauth_signature_method=plaintext
&oauth_signature=abcdef
&oauth_version=1.0
&xoauth_lang_pref="en-us"
&oauth_callback="JCzOzd44://"
Of course the request should be signed.
I'm new to joomla(using version 1.5.26), i have registration form with several fields, when i submit it blank, it will give required error messages, but after submitting it sucessfully, it dosen't show any success message on the redirected page.
Please tell me how to show the sucess message on redirected page
Thanks in advance
Im using dmailsubscription to register users to a newsletter. Theres an option where, once already registered and confirmed, you can get an email with the link to edit your profile.
The problem is, once you enter the email address, the page is reloaded and the plugin shows no message at all. Id like to get some sort of confirmation text, like:
"The email with the link to edit your profile was sent to xxx#xxx.com"
or at least:
"The email with the link to edit your profile was sent to your email address"
, but I dont know how.
Here's my template: http://pastebin.com/K5WVSgrY
Above
<!-- ###TEMPLATE_DELETE_SAVED### begin
But AFTER
###TEMPLATE_INFOMAIL### end-->
Try to add this:
<BR><BR><BR><BR>
<HR>
<BR><BR><BR><EM>This template is the response page when a users has requested
his password send to his email.</EM> <BR><BR><!-- ###TEMPLATE_INFOMAIL_SENT### begin
This template is the response page when a users has requested his password send to his email.
-->###GW1B###We have emailed your your details. Edit your message here.###GW1E###<BR><BR>###GW2B### <STRONG>Go back</STRONG><BR>###GW2E###
<!-- ###TEMPLATE_INFOMAIL_SENT### end--><BR><BR><BR><BR>
<HR>
I cannot find this part in your template-file.
In our app (service provider), there is a security filter to prevent viewing certain pages. For example a user can view a.xhtml but not b.xhtml. The user can login to view a.xhtml. And if he type in the URL to b.xhtml, the security filter will redirect himi to an error page.
Using josso, before login, user may type the url to b.xhtml and would be redirected to josso login page. After successful login, user will be redirected to the "back_to" page, which will be b.xhtml. In this case the security filter is not triggered, the use can see b.xhtml!
Refresh on b.xhtml then will trigger the filter and send user to error page, but too late.
We use josso 1.8.5 and tomcat 7.0.26.
Please any guru can help?
Thanks