4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: qpatrick on April 03, 2003, 12:43:55 PM

Title: User name by ecard
Post by: qpatrick on April 03, 2003, 12:43:55 PM
Another question:

At the ecard function, I want to place the user name of the photographer under the photo next to the title. But I used user_name and it didn't work.

Every time there was a different user name with the same photo. Which code I must use to retrieve the photographer's user name ??

Thanks in advance !

Patrick
Title: User name by ecard
Post by: V@no on April 05, 2003, 10:51:19 AM
open postcards.php
Find:
Code: [Select]
     "postcard_url" => stripslashes($postcard_url),
add right after:
Code: [Select]
     "user_name" => $image_row['user_name'],
then use {user_name} in /lang/<yourlanguage>/email/postcard_message.html
Title: Thankx
Post by: qpatrick on April 05, 2003, 12:27:02 PM
Thank you for your solution. The solution worked fine, although I used the {user_name} in my templates. But with a little modification it worked great !!

Thanx V@no
Title: ecard
Post by: qpatrick on April 09, 2003, 11:44:57 AM
A new problem arised.  Everything worked great, but if you retrieve the ecard the user name won't be displayed.

Why isn't it working only at the retrieve side ??

Thanks in advance !!

Patrick
Title: User name by ecard
Post by: V@no on April 09, 2003, 03:22:17 PM
sorry, what do u mean by "retrieve" ?
Title: User name by ecard
Post by: qpatrick on April 10, 2003, 12:49:53 AM
I mean, when the recipient go to the site and see his card.....