"name" used when creating new album - how to chang

glassparman
glassparman's picture

Joined: 2005-07-18
Posts: 9
Posted: Fri, 2005-09-09 17:49

When I had Gallery2/Mambo set to auto-create the album when the user first visits, it created the album with the users 'name' (first and last name).

I turned this feature off and allow the users to click on the link

"You currently don't have a photo album, but you're entitled to one. Create my album!"

at the top of the page that will create their album. Now it creates the album with the 'username' and not the 'name'.

Any idea where to change this? I really want the 'name' so it is easier to figure out who it is.

Also, if I do change this, can I just go change the album name of the ones that are wrong or is there some other tables that I have to change as well?

glassparman

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-09-09 20:08

you can just change the names no tables needed.

You have to adjust the com_galler2/pages/user_albums.php
and search for ->username and change it in ->fullname

regards,
Michiel

 
glassparman
glassparman's picture

Joined: 2005-07-18
Posts: 9
Posted: Fri, 2005-09-09 21:13

Michiel, thanks for the reply but the dir and the file you specify do not exist on my system.

glassparman

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-09-09 22:14

which version are you using then?

regards,
Michiel

 
glassparman
glassparman's picture

Joined: 2005-07-18
Posts: 9
Posted: Sat, 2005-09-10 22:19

I'm using G2B4.

glassparman

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-09-12 09:02

and which component version?

regards,
Michiel

G2+mambo test Site. This my latest version on the test bench.
Get the latest gallery2 core here

 
glassparman
glassparman's picture

Joined: 2005-07-18
Posts: 9
Posted: Tue, 2005-09-13 03:14

Opps, sorry, I meant to put that also.

version.php says:

$version['com'] = '2.0.6.B.1';
$version['g2_min'] = '0.9.31';
$version['modulemin'] = '2.0.0';

glassparman