Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

User Status & Avatar on comments

Asked Modified Viewed 3,047 times
B
Bruno
B
Bruno 10
  • Junior Member, joined since
  • Contributed 48 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
asked
Junior Member

Hey I'm trying to add the user status (online/offline) and avatar to comments, but I don't know where to add the SQL "user_lastvisit" and "user_avatar" I have try on comments_include.php but no luck please someone help me out
0 replies

3 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Nice, very cool, can I see it in action?
Edited by Craig on 27-07-2011 19:46,
0 replies
B
Bruno
B
Bruno 10
  • Junior Member, joined since
  • Contributed 48 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Fangree_Craig wrote:

Hi,

I have attached Extended Comments Infusion by me (Fangree Productions) this is for PHPFusion v7.01 but you can find the code to show avatars and online status it should help you out.

Edit: I must also add that comments in 7.02 (if it's 7.02 your using) are now rendered in theme.php so it might need to be theme.php you add the code but I am not 100% sure as I have not played around with the new render comments yet. ;)


thx for the quick reply.... I'm using 7.02, I'm going to try on theme.php

Got it to work heh I had to add this on comments_include.php

$c_arr['c_con'][$i]['user_name'] = $data['user_name'];
$c_arr['c_con'][$i]['user_avatar'] = $data['user_avatar'];
$c_arr['c_con'][$i]['user_lastvisit'] = $data['user_lastvisit'];
Edited by Bruno on 27-07-2011 04:10,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Hi,

I have attached Extended Comments Infusion by me (Fangree Productions) this is for PHPFusion v7.01 but you can find the code to show avatars and online status it should help you out.

Edit: I must also add that comments in 7.02 (if it's 7.02 your using) are now rendered in theme.php so it might need to be theme.php you add the code but I am not 100% sure as I have not played around with the new render comments yet. ;)
Edited by Craig on 27-07-2011 02:23,
Craig attached the following file:
extended_comments_1.zip [No information available / 350 Downloads]
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

B
B
Bruno 10
  • Junior Member, joined since
  • Contributed 48 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet