Photo uploaded by: [User]

Phoca Gallery - image gallery extension
User avatar
Phryll
Phoca Member
Phoca Member
Posts: 15
Joined: 06 Aug 2008, 10:30
Contact:

Photo uploaded by: [User]

Post by Phryll »

Hello,

I have the following problem:

I want to display wich User has uploaded the Picture.
I tried to save the name of the User in a database and so i modified the views\category\tmpl\default.php...
But everytimes when i try to upload a picture there is; ERROR 404, and the data is submitted with GET. :x

How can i display which User has uploaded the Picture? Is there a Special Plugin or something???

I tried to display the username with the following modification:

Code: Select all

<?php $user =& JFactory::getUser();
$username = $user->get('username');  ?>
Best Regards, Philipp Heider (Germany)
User avatar
Phryll
Phoca Member
Phoca Member
Posts: 15
Joined: 06 Aug 2008, 10:30
Contact:

Re: Photo uploaded by: [User]

Post by Phryll »

I'm also searching for an extension so that users, can create Albums in the "Upload a Picture Form".....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photo uploaded by: [User]

Post by Jan »

hi, there is no such plugin, so I cannot say what can be wrong... :(

I am working on the solution that user can create the album (category) but there are some problems, so I don't know when it will be ready... but I know that if I do it, user will be able to do only one category (album) and the album will be in the root (no subcategories) ... but it will take time... :(

Jan
If you find Phoca extensions useful, please support the project
User avatar
Phryll
Phoca Member
Phoca Member
Posts: 15
Joined: 06 Aug 2008, 10:30
Contact:

Re: Photo uploaded by: [User]

Post by Phryll »

Okay Vielen Dank Jan!
Werde weiterversuchen, dass man den Fotographen (User) angezeigt bekommt.
Wenn ich die fertige Lösung habe, schicke ich sie dir!

Viele Grüße, Philipp :wink:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photo uploaded by: [User]

Post by Jan »

Ok, danke, Jan
If you find Phoca extensions useful, please support the project
MADKing
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Jun 2009, 04:07

Re: Photo uploaded by: [User]

Post by MADKing »

Is there already a solution for showing the username?

Habit ihr schon eine Lösung zur Anzeige des Usernamens gefunden?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photo uploaded by: [User]

Post by Jan »

Hi, this is planned (with improving frontend uploading behaviour)

Jan
If you find Phoca extensions useful, please support the project
thoman
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Jun 2009, 11:38

Re: Photo uploaded by: [User]

Post by thoman »

Hello there

I am also looking forward for this function to display "picture uploaded by xxxx" Iam running a free photo gallery but I still need to know whose uploading the picture, and may be later to be included in the statistic as well.

May be I can play around with the code but I am not sure which file I can tweak.

Thanks
Post Reply