Forum

Buy me a beer or a book?

amazon PayPal - The safer, easier way to donate online!

Sorry, old forum posts are lost.

Because the old forum software wasn't upgradeable to Joomla 1.7 I have used new software and porting over the data unfortunately wasn't worth the hassle. Please accept my apologies and re-post any unsolved posts!

 

Forum

Udjamaflip Extensions

Any bugs/problems/suggestions for any extensions listed on this website then please post here.
Public write access is disabled. Please login or register
Last post
Forum  » Udjamaflip Extensions  » Selecting username from comment
SnakesOnly

SnakesOnly
2 posts
---
Location:
n.a.
23.01.2012 05:08

Selecting username from comment

Hi all,

As I only allow comments by registered users on my site, so I am adjusting the avatar section in the helper.php file from mod_udjacomments so it will select the profile image from my kunena forum.

The routine to select an image works when I detect the current logged on user and select the username from that variable, but to make it work based on the username within a comment I need to find the variable of udja comments which posts that username of existing comments.

But I cannot seem to find it, can anyone help me with this?
You would make me very happy!

Kind regards,

Jos

Edited by SnakesOnly - 23.01.2012 05:09




 
SnakesOnly

SnakesOnly
2 posts
---
Location:
n.a.
23.01.2012 05:31
Re: Selecting username from comment
I believe I have found it.
Should be

$item->full_name

or

$comment->full_name

But both will not work in the helper.php file, can someone confirm which one is the correct variable? And how I can use this variable in the helper.php file?

Edited by SnakesOnly - 23.01.2012 05:55




 
Forum  » Udjamaflip Extensions  » Selecting username from comment

Free Downloads