SELECT comment.*, user.*, filedata.*, attachment.*
SELECT comment.*, user.*, filedata.*, attachment.*, comment.username AS username
My mistake, I didn't have a vB4 database in front of me at the time.
It's likely going to be:
Change from:
PHP:SELECT comment.*, user.*, filedata.*, attachment.*
To:
PHP:SELECT comment.*, user.*, filedata.*, attachment.*, user.username AS username
'user_id' => $this->_userIdMap[$comment['userid']],
'username' => $this->_convertToUtf8($comment['username'], true),
'user_id' => $this->_userIdMap[$comment['postuserid']],
'username' => $this->_convertToUtf8($comment['postusername'], true),
My mistake, I didn't have a vB4 database in front of me at the time.
It's likely going to be:
Change from:
PHP:SELECT comment.*, user.*, filedata.*, attachment.*
To:
PHP:SELECT comment.*, user.*, filedata.*, attachment.*, user.username AS username
@Chris D , that did work although there are a few issues. It does now show the comments, attributed to the correct member. However, the member name isn't linked to their profile nor is their avatar showing up. From what I can see, it looks like it is literally pulling the name over and nothing else. Is that correct?
Sorry... I guess a link would help.
http://makerfare.com/index.php?media/halo-3-recon-and-reachcon-mashup.1087/
We use essential cookies to make this site work, and optional cookies to enhance your experience.