Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Unable to view {avatar} in comments
Delkathus
Posted on 17 Mar 2011, 17:42:39

Access: Member
Total Posts: 1
Joined: 2011-03-17

I have been struggling with this for a bit now and I cannot figure out why {avatar} for comments portion of the template will not work properly.

I looked at the injected information for the News {avatar} and compared it to the comments {avatar} and it has completely different variable information.

Code:
NEWS {avatar}>> <img src="http://localhost/news/uploads/'username'.jpg" />

COMMENTS {avatar}>> <img src"3" />

The comments {avatar} does link to the user profile,

Code:
<?php 
. NEWS_USERS . ".avatar AS useravatar, "
?>


and the code for pulling the information from what I can see is doing it properly but it's not coming with the same result as it does for the News section of the template. The avatar table in the SQLDB does show as "3" for avatar.

All i can figure that it's not converting it to URL format? and if so how can i fix? D:

#3359
Chris
Posted on 18 Mar 2011, 10:30:14

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Definite bug, I can replicate this. I'll fix it later today.
#3365
seiryu6
Posted on 18 Sep 2012, 19:27:47

Access: Member
Total Posts: 7
Joined: 2012-09-18

Hi!

I have the same problem... isn't there a fix for this bug??

Thanks a lot

#3955
Chris
Posted on 19 May 2013, 18:46:12

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Fix here - http://network-13.com/thread/4026-N-13-News-4-0-3/page:1#4029

#4028
Last edited by Chris at 2013-05-19 18:54:55 Reason: .
Network-13.com © 2013