Sorry for the daily questions. I'm almost done, if that's any consolation.
Here's my new issue. I want member profiles to display their album images, too. I have been customizing albums.tpl to look the way I want(I tried to do this with viewprofile but, I can't call the images into the profile), figuring I would link search results to the member albums but, after using the search function, I realize that I can't link search results to member albums if the member has not created an album.
I figure there are a few ways to work around this issue but, I don't know what would work best (or at all):
- somehow call the images into the member profile (is this possible) - automatically create albums for all members - create a custom template that can call both member and image variables
What do you think is the best solution? I guess another option might be to create a switch in the search results that links to a member album if it exists or to a member profile, if it doesn't.
Just linking the album in the profile would be a lot more server-friendly. I suppose you can always try a toplist where catid={MEMBERALBUMID}... though that may only give you the person viewing the page instead of the person whose profile it is.
I realize that I can't link search results to member albums if the member has not created an album.
Why not just use a conditional? <IF {MEMBERALBUMID}>link to search</IF>
oK, I'm having a strange issue with this. I am trying to give a custom title to each page so, in the wrapper.tpl I put <title>{MEMBERCITY}, {MEMBERSTATE} Gallery</title>
It displays the member info fine for a title when viewing albums but, when viewing profiles, I just get the variables as printed above. I'm assuming this is because there is a switch or something going on in the body of the profile that calls that information after the head data has been rendered.
Is there something I can place in the wrapper that will enable me to call the specific member data in the profile for use in the title or, will this only work in ablums?
{MEMBER never applies to the wrapper. It would only default to showing the content of {THISMEMBER. Click 'page titles' in the language area to edit titles.
I've changed all the page titles but, I am still stuck with a few.
The most important title is for member albums but, I cannot find that title anywhere. I tried to create a new variable via: title_albums: {LANG_TITLE_ALBUMS}
But the album page title is still displaying: "(this member username)'s Album" as a title (giving away the username for one thing). Where can i find this title variable?
I've tried using {MEMBERCITY} and other member-specific variables in title_profile to customize the page title but, it won't display any variables for the specific member profile I am viewing. Is it possible to do this?
Along those lines, I'd like to do the same thing for member albums. It's already displaying the username in the title variable so, I should be able to use those member variables (if I could only find the title variable for it), right?
Member albums are titled with the album name. Edit the category to change its name. To change what they end up getting named by default, that's a language item, just search for 'Album' and you'll find it.
Category titles in general can be customized in 2.2, and your {MEMBERCITY} would work in that particular spot in 2.2, but as a general case template variables only work in titles when there's been a request for it.
I can't find that album title variable in the language section for the life of me. I've filtered every which way and event created a title_album to see if I could change the value that's getting displayed. I've chosen "show all language from default" a half dozen times and searched each variable with no luck. Is it possible that it's not a changeable variable in 2.15?
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on combining profiles with albums
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
Sorry for the daily questions. I'm almost done, if that's any consolation.
Here's my new issue. I want member profiles to display their album images, too. I have been customizing albums.tpl to look the way I want(I tried to do this with viewprofile but, I can't call the images into the profile), figuring I would link search results to the member albums but, after using the search function, I realize that I can't link search results to member albums if the member has not created an album.
I figure there are a few ways to work around this issue but, I don't know what would work best (or at all):
- somehow call the images into the member profile (is this possible)
- automatically create albums for all members
- create a custom template that can call both member and image variables
What do you think is the best solution? I guess another option might be to create a switch in the search results that links to a member album if it exists or to a member profile, if it doesn't.
Thanks for all your help with this!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Just linking the album in the profile would be a lot more server-friendly. I suppose you can always try a toplist where catid={MEMBERALBUMID}... though that may only give you the person viewing the page instead of the person whose profile it is.
I realize that I can't link search results to member albums if the member has not created an album.
Why not just use a conditional? <IF {MEMBERALBUMID}>link to search</IF>
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
This works great (a user would be none the wiser):
<IF {MEMBERALBUMID}><a href="albums.php?id={MEMBERID}">View Profile</a><OTHERWISE><a href="[IFADMIN../]memberlist.php?action=profile&id={MEMBERID}">View Profile</a></a></IF>
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
oK, I'm having a strange issue with this. I am trying to give a custom title to each page so, in the wrapper.tpl I put
<title>{MEMBERCITY}, {MEMBERSTATE} Gallery</title>
It displays the member info fine for a title when viewing albums but, when viewing profiles, I just get the variables as printed above. I'm assuming this is because there is a switch or something going on in the body of the profile that calls that information after the head data has been rendered.
Is there something I can place in the wrapper that will enable me to call the specific member data in the profile for use in the title or, will this only work in ablums?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
{MEMBER never applies to the wrapper. It would only default to showing the content of {THISMEMBER. Click 'page titles' in the language area to edit titles.
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
I've changed all the page titles but, I am still stuck with a few.
The most important title is for member albums but, I cannot find that title anywhere. I tried to create a new variable via:
title_albums:
{LANG_TITLE_ALBUMS}
But the album page title is still displaying:
"(this member username)'s Album"
as a title (giving away the username for one thing). Where can i find this title variable?
I've tried using {MEMBERCITY} and other member-specific variables in title_profile to customize the page title but, it won't display any variables for the specific member profile I am viewing. Is it possible to do this?
Along those lines, I'd like to do the same thing for member albums. It's already displaying the username in the title variable so, I should be able to use those member variables (if I could only find the title variable for it), right?
Thanks, Paul!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Member albums are titled with the album name. Edit the category to change its name. To change what they end up getting named by default, that's a language item, just search for 'Album' and you'll find it.
Category titles in general can be customized in 2.2, and your {MEMBERCITY} would work in that particular spot in 2.2, but as a general case template variables only work in titles when there's been a request for it.
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
I can't find that album title variable in the language section for the life of me. I've filtered every which way and event created a title_album to see if I could change the value that's getting displayed. I've chosen "show all language from default" a half dozen times and searched each variable with no luck. Is it possible that it's not a changeable variable in 2.15?