Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-07T00:28:37-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6518 2011-10-07T00:28:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=45008#p45008 <![CDATA[Re: Trouble with Comment Luv]]> Statistics: Posted by Cristián Lávaque — October 7th, 2011, 12:28 am


]]>
2011-10-06T10:19:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=44965#p44965 <![CDATA[Re: Trouble with Comment Luv]]> I have the same kind of problem but exactly the opposite : only my members who are logged in can use commentluv fonctionnalities. As a guest, commentluv does not appear. And it is the same with the plugin "comment reply notification".
I would like both plugin to appear for my guests to make them posting more comments !

Thanks a lot if you can help me !

Best regards

Julien

Statistics: Posted by Julien — October 6th, 2011, 10:19 am


]]>
2011-05-25T00:13:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15831#p15831 <![CDATA[Re: Trouble with Comment Luv]]>

Statistics: Posted by Cristián Lávaque — May 25th, 2011, 12:13 am


]]>
2011-05-24T23:20:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15829#p15829 <![CDATA[Re: Trouble with Comment Luv]]>

Statistics: Posted by klaydetailing — May 24th, 2011, 11:20 pm


]]>
2011-05-24T11:52:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15772#p15772 <![CDATA[Re: Trouble with Comment Luv]]>

Thanks for sharing that tip for other CommentLuv users.

Statistics: Posted by Cristián Lávaque — May 24th, 2011, 11:52 am


]]>
2011-05-24T06:52:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15759#p15759 <![CDATA[Re: Trouble with Comment Luv]]>
Code:
$url = $userdata->wp_s2member_custom_fields['website'];

this has to be inserted underneith
Code:
if (is_user_logged_in ()) {
              // get options values and insert as hidden fields
              global $userdata;
              get_currentuserinfo ();
              $author = $userdata->display_name;
              $userid = $userdata->ID;
              $url = $userdata->user_url;   
              if(!stristr($url,"http://")){
                 $url = "http://".$url;
              }

This then allows commentluv to pic up the user defined field of website as set in 'Editing Registration Field' 'Unique Field ID:' as you would know, if you set that unique field to anything other than website that line of code will not work.

Thank You so much for your help

Klay

Statistics: Posted by klaydetailing — May 24th, 2011, 6:52 am


]]>
2011-05-23T13:16:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15655#p15655 <![CDATA[Re: Trouble with Comment Luv]]> $userdata->wp_s2member_custom_fields. For example

Code:
$user_website = $userdata->wp_s2member_custom_fields['website'];  

Statistics: Posted by Cristián Lávaque — May 23rd, 2011, 1:16 pm


]]>
2011-05-23T08:48:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15638#p15638 <![CDATA[Re: Trouble with Comment Luv]]>
Code:
if (is_user_logged_in ()) {
              // get options values and insert as hidden fields
              global $userdata;
              get_currentuserinfo ();
              $author = $userdata->display_name;
              $userid = $userdata->ID;
              $url = $userdata->user_url;   
              if(!stristr($url,"http://")){
                 $url = "http://".$url;
              }

I have even tried changing some of the code around to see if I can get it working still with no avail. This section of code was found in the commentluv.php file lines 362 - 371. I apologize for my ignorance with coding but everything that I have learnt so far has come from tutorials that I have managed to piece together online. I have had no formal training and have used mostly css and plugins to get my site up and running thus far. So elaboration is greatly appreciated. Thank you for your assistance.

Clayton

Statistics: Posted by klaydetailing — May 23rd, 2011, 8:48 am


]]>
2011-05-22T11:19:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15577#p15577 <![CDATA[Re: Trouble with Comment Luv]]>
To get a single s2Member custom field for the current user, use

Code:
$user_website get_user_field('website'); 

Statistics: Posted by Cristián Lávaque — May 22nd, 2011, 11:19 am


]]>
2011-05-22T02:00:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6518&p=15571#p15571 <![CDATA[Trouble with Comment Luv]]> Statistics: Posted by klaydetailing — May 22nd, 2011, 2:00 am


]]>