[Feature request] userid + userimage

Phoca Guestbook - creating guestbooks in Joomla! CMS
stuifbergen
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Jun 2008, 15:44

[Feature request] userid + userimage

Post by stuifbergen »

Hi there,

I checked out some guestbooks and yours is just what I'm looking for. Compliments!

In Joomla 1.0.x I did use Akobook and then I added some code so the usedid's where added in the db. With this userid it was possible to do a lookup in the table _users for the profileimage and show this next to the entry.
Unfortunately I don't have enough knowledge abount MVC programming, so I'm don't know how to add this to the component.

I allready read on this forum you will store the userid in the db in the future. Maybe it's a nice idea to show the profileimage to the entries...

Keep up the good work!

Regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Feature request] userid + userimage

Post by Jan »

Hi, which information should be there?, there is a name and an e-mail...

Jan
If you find Phoca extensions useful, please support the project
stuifbergen
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Jun 2008, 15:44

Re: [Feature request] userid + userimage

Post by stuifbergen »

Quick reponse, thanks!

In the table _phocaguestbook_items is a column called userid which is always filled with '0'.
If this column will be filled with the userid from the registered user who wrote an entry, it is possible to create a link to the users profile. Also it's possible to put the user's picture next to the entry.

See this old site as an example:
http://ado20.hansstuifbergen.nl/index.p ... &Itemid=27


Regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Feature request] userid + userimage

Post by Jan »

Ok, I understand, I add it into a feature request list
If you find Phoca extensions useful, please support the project
Post Reply