ddirty
Forum Replies Created
-
Thank you so much!
Everything is working as planned.
Thanks for considering adding this feature to next version. Thanks again!
-Dave
Hey The_champ,
Thanks again for being so quick to reply.My problem with 2.1.0 is that I have facebook/g+ setup in the admin panel but their login buttons do not show on the register/login. I got around this by editing the css (removing display:none and few other tweeks) all buttons are showing up and working properly.
I do have a PROBLEM with the register redirect. It works fine for facebook/g+ but when you do twitter with it, it does not redirect you. I assume it has to do with the save email prompt that you have to fill out. Could you send me the code modification I would have to do for twitter register redirect?
Thanks again! I do recommend adding a register redirect option in your next version as it is something that was very important to me and I have seen many other people asking/talking about this in other plugins/posts.
Thanks.
-DaveThanks for taking the time to update me with this.
I tried these modifications in version 1.0.2 ( since 2.0 when I upgraded on my dev site the facebook/g+ buttons disappear also had some other bugs so I have been using 1.0.2 with no problems). However was unable to get the registration redirect working properly.
I edited line 330 in social_login.php to:
// check if email exists in database if(isset($profileData['email']) && $userId = email_exists($profileData['email'])){ // email exists in WP DB the_champ_login_user($userId); return true;
Changed it to
// check if email exists in database if(isset($profileData['email']) && $userId = email_exists($profileData['email'])){ // email exists in WP DB the_champ_login_user($userId); return array('status' => true, 'message' => 'registration');
Then in common.js i changed line 134
if(data.status == 1){ location.href = '<?php echo the_champ_get_login_redirection_url(); ?>'; }
changed to
if(data.status == 1){ if(data.message == 'registration'){ location.href = 'REDIRECTION_URL'; }else{ location.href = '<?php echo the_champ_get_login_redirection_url(); ?>'; } }
However still on registration it stays on the page they registered on.
Any info on getting this working would be amazing, as right now its a fragmented experience for my users as if they register without social login they get pointed to a landing page with faq/help and social login register users are left in the dark/not proper flow.
Thanks again
-DaveForum: Plugins
In reply to: [YOP Poll] Retrieving Polls/Latest Poll List from a Loop/QueryThanks!!!
Works!
Cant wait till poll images/categories are in so I can display those automatically with this query too.Forum: Plugins
In reply to: [YOP Poll] Poll Image and CategoryHello YOP Team,
Yes that is currently what I am doing but in the future getting staff to fill in the polls this will become a problem for them. Will just be a better integration/easier with the image upload field in there.I was going to code it myself into your script but was afraid of not being able to update your plugin (as it would overwrite my code) for future updates.
-Dave
Forum: Plugins
In reply to: [YOP Poll] Poll Image and CategoryHi YOP Team,
Sure in the “admin.php?page=yop-polls&action=edit&id=2” page I want a “Poll Image” meta box where I can upload a different image per poll. Then in my poll template above the poll question I am going to have the poll image ( e.g. this image: http://i.imgur.com/TKGnGB8.png ) .
Any other details or more information you may need feel free to ask, or contact me directly.
Thanks again!
-Dave