June 21, 2011 at 11:58 pm #4729
Like your feeback plugin. I’ve installed it inside our membership website. I’d like to know which files I have to modify so that the plugin takes the name and email fields from a user cookie when they post feeback or comments.
What I want is not to require logged in users to provide name and email when they’re already logged in.
Thanks for letting me know.
ChrisJune 22, 2011 at 12:57 pm #47336
I think the easiest way to implement what you want is to adjust the contact form function. It can be found after following code in html_output.php:
function avia_feedback_commentform($user, $context = 'feedback', $post_id='')
You could i.e. fill in the input field values by using wp functions like: http://codex.wordpress.org/Function_Reference/get_userdata or http://codex.wordpress.org/Function_Reference/get_currentuserinfoJune 22, 2011 at 11:52 pm #47337
Thank you for the replay. I did what you suggested and it worked.
However, I another issue now: the commenting and sorting don’t work. I’m not sure what I did wrong. It was all working even after I made the change in html_output.php to take email and name from a cookie.
If you want to have a quick look:
1) You need to first login to our platform: http://tenscores.com/login (email:firstname.lastname@example.org password:demo)
2) Go to the page where the plugin is installed: http://www.tenscores.com/account/requests/
You’ll see that nothing displays when clicking on the comment link or the sorting buttons (popular, newest, etc)
Thanks for your help,
ChrisJune 23, 2011 at 12:31 am #47338
I just found what the problem is. It doesn’t work when I’m under SSL (https://). When the page is accessed in normal mode ( no https) it works fine but using the secured server makes it not to work properly.
What can I do to make it work under a secured environment?
ChrisJune 24, 2011 at 1:37 am #47339
Fixed the SSL issue with tips from this thread: http://www.kriesi.at/support/topic/avia-feedback-plugin-issues-with-chrome
I spent the whole day trying to fix it while the solution was already on the forum. You could have saved me a lot valuable time simply by replying quick with a link to the solution. Quite deceiving.
ChrisJune 24, 2011 at 5:37 am #47340
The topic ‘Avia Feedback Single Sign on’ is closed to new replies.