inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Sept 29, 2015 20:56:58 GMT -8
So, in the profile layout I made for @seriously, I've found an issue... The profile (custom Profile) appears on each tab of the user's profile with everything else from the tab displayed below it. How can I fix that to make it go back to normal? tegstestboard.boards.net/user/1/activityThis is the activity tab... But it does this on all tabs... EDIT:// I just realized the status doesn't display for all users who have a status eithe :/
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Sept 30, 2015 4:16:53 GMT -8
Ooh that's interesting! I was able to replicate the behaviour of something being on ALL tabs, with the usual stuff below it, by putting a test string in the User Profile tab of the template. So I wonder if that's where you put you profile code? If that's the case, it needs to go in the Summary tab (and you also have other template tabs for each of the profile tabs, with the exception of "Gifts") Edit: Also, what happens if you copy the status from a user whose status doesn't show up, and paste it into your OWN status? What happens if you slowly add characters to your status to increase its length, does it vanish? I'm wondering if it's a wrapping issue. Edit AGAIN: Actually, the different design of your theme was throwing me off. The avatar and control buttons DO appear in each page, and there's empty space to the right of the avatar which I'm guessing is where you've put all your changes. (I'll need to look out for this, 'cause I plan on using that empty space in a similar fashion!) In this case, you need to poll the $[route.name] variable to determine what page you're on, and show your edits there. Im guessing you want the avatar and the few surrounding labels on each tab, and the rest ONLY on the summary tab? In which case use: {if $[route.name]=="user"} <!--Display the stuff you ONLY want on the profile summary tab in here--> {/if} Best of luck, Teggers!
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Oct 1, 2015 2:23:44 GMT -8
Ooh that's interesting! I was able to replicate the behaviour of something being on ALL tabs, with the usual stuff below it, by putting a test string in the User Profile tab of the template. So I wonder if that's where you put you profile code? If that's the case, it needs to go in the Summary tab (and you also have other template tabs for each of the profile tabs, with the exception of "Gifts") Edit: Also, what happens if you copy the status from a user whose status doesn't show up, and paste it into your OWN status? What happens if you slowly add characters to your status to increase its length, does it vanish? I'm wondering if it's a wrapping issue. Edit AGAIN: Actually, the different design of your theme was throwing me off. The avatar and control buttons DO appear in each page, and there's empty space to the right of the avatar which I'm guessing is where you've put all your changes. (I'll need to look out for this, 'cause I plan on using that empty space in a similar fashion!) In this case, you need to poll the $[route.name] variable to determine what page you're on, and show your edits there. Im guessing you want the avatar and the few surrounding labels on each tab, and the rest ONLY on the summary tab? In which case use: {if $[route.name]=="user"} <!--Display the stuff you ONLY want on the profile summary tab in here--> {/if} Best of luck, Teggers! okay, fixed the display issue but not the status issue.. It allows me to update my status to what the user had her status set to, but didn't display it for her. Also, on the "admin" profile, if you go to activity, the status thing to update is there and allows you to update. But if you go to the "test" account, it's not. So it doesn't display for all users...
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Oct 1, 2015 2:31:08 GMT -8
Oh heavens You have the oddest problems! Those div tags you had to deflumux the other day to get MPs working, where were they? In a template, or plugin somewhere? Is it anything related to that? I'm thinking because per-user issues, as opposed to per template or per post/other area of the forum.
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Oct 1, 2015 3:02:07 GMT -8
Oh heavens You have the oddest problems! Those div tags you had to deflumux the other day to get MPs working, where were they? In a template, or plugin somewhere? Is it anything related to that? I'm thinking because per-user issues, as opposed to per template or per post/other area of the forum. LMAO.. yes, I know... I have the weirdest problems! LOL. It was in a template... Not a plugin. LOL
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Oct 1, 2015 3:21:22 GMT -8
Ah it was a template The post one? So what template would the status update be on on that theme, Summary tab?I'm wondering if it's another per-user thing again, a div or some other element somewhere not closed. If you go to a profile with a known status posted, what shows up when you run Inspect Elements on the otherwise empty space?
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Oct 1, 2015 3:39:14 GMT -8
Ah it was a template The post one? So what template would the status update be on on that theme, Summary tab?I'm wondering if it's another per-user thing again, a div or some other element somewhere not closed. If you go to a profile with a known status posted, what shows up when you run Inspect Elements on the otherwise empty space? Layout templates - Profile part <!--Start PF Profile Remodel by Teg at http://promoforum.net--> <!--Feel free to post this template anywhere you like. Please give credit where credit is due.--> <div class="container show-user"> <div class="title-bar"> <h1>View Profile - $[user.name] ($[user.username])</h1> </div> <div class="content cap-bottom"> <div class="ui-tabMenu"> <ul class="ui-helper-clearfix"> {foreach $[menu]}<li{if $[menu.active]} class="ui-active"{/if}><a href="$[menu.href]">$[menu.text]</a></li>{/foreach} </ul> </div> {if $[route.name] == "user"} <div class="pad-all-double clear"> <!--This is where the status update will apppear. Members will have to update this via their profile, as the status form is not included--> {if $[can.update_status]} <div class="pro_status"> <table class="pro_status"> <tr> {if $[user.personal_text]} <td class="pro_status">$[user.personal_text]</td> {/if} </tr> </table> </div> {/if} <!--This area affects the User's displan name, online/offline status, user avatar, social media icons (if the user has them) and the settings, edit profile, send message buttons.--> <div class="float-left"> <div class="pro_ava_area"> <!--User display name--> <div class="pro_user_name">$[user.name] <!--User offline/online status--> {if $[user.is_online]} <span class="online_icon_pro"><i class="online_icon_pro blink_me fa fa-heart"> </i></span> {else} <span class="online_icon_pro"><i class="fa fa-heart"></i></span> {/if} </div> <!--This area affects the User's avatar--> $[user.avatar] <!--This applies to the user group/rank--> {if $[user.group]} <div class="pro_ava_area_groups">$[user.group.stars]</div> {else} <div class="pro_ava_area_groups">$[user.rank.stars]</div> {/if}
<!--This applies to the social media/chat icons--> {if $[user.social_exists]} <div class="pro_ava_area2"> {if $[user.social_network]} <div class="social_nets"> {foreach $[user.social_network]} <!--Facebook--> {if $[user.social_network.iteration] == "1"} <a href="$[user.social_network.href]" target="_blank"><i class="social_nets-chat fa fa-facebook-square" title="Facebook"></i></a> {/if} <!--Google +--> {if $[user.social_network.iteration] == "2"} <a href="$[user.social_network.href" target="_blank"><i class="social_nets-chat fa fa-google-plus-square" title="Google +"></i></a> {/if} <!--LinkedIn--> {if $[user.social_network.iteration] == "3"} <a href="$[user.social_network.href" target="_blank"><i class="social_nets-chat fa fa-linkedin-square" title="LinkedIn"></i></a> {/if} <!--Twitter--> {if $[user.social_network.iteration] == "4"} <a href="$[user.social_network.href]" target="_blank"><i class="social_nets-chat fa fa-twitter-square" title="Twitter"></i></a> {/if} <!--YouTube--> {if $[user.social_network.iteration] == "5"} <a href="$[user.social_network.href]" target="_blank"><i class="social_nets-chat fa fa-youtube-square" title="YouTube"></i></a> {/if} {/foreach} <!--This applies to the chat icon for skype. *NOTE: The only chat item this template applies to is skype, it doesn't include, Yahoo messenger, AIM, or ICQ--> {foreach $[user.instant_messenger]} <!--Skype--> {if $[user.instant_messenger.name] == "Skype"} <i class="social_nets-chat fa fa-skype" title="$[user.instant_messenger.value]"></i> {/if} {/foreach} </div> {/if} </div> {/if} <hr> <!--This next bit applies for the settings, send message, and edit profile buttons--> <div class="pro_buttons"> $[options]<br /><br /> $[send_message_button]<br /><br /> $[edit_profile_button]<br /><br /> </div> </div> </div> <!--This next area applies to all the profile fields. This includes one custom profile text area. You can include more, but you will need to add them in.--> <div class="space"></div> {foreach $[user.custom_field]} <!--About Me/About Section--> {if $[user.custom_field.name] == "About"} <div class="content-box center-col"> <!--Custom Profile Area: It is recommended that you use text areas or things that can span across the width of the profile for this section--> <table> <tr> <th class="about_me">$[user.custom_field.name]</th> </tr> <tr class="$[user.custom_field.content_class]"> <td class="about_me"> $[user.custom_field.value] </td> </tr> </table> </div> {/if} {/foreach} <hr> <!--This is the area for all the normal profile fields--> <div class="content-box center-col" style="border: 0;"> <table style="float:right;"> <!--FIRSt ROW--> <tr> <!--Custom Title--> {if $[user.custom_title]} <td class="pro_info"><strong>$[user.custom_title]</strong></td> {else} <td class="pro_info"><em>User has no custom title</em></td> {/if} <!--User Location--> <td class="space"></td> {if $[user.location]} <td class="pro_info">$[user.location]</td> {else} <td class="pro_info"><em>Location unknown</em></td> {/if} <td class="space"></td> <!--Post Count--> {if $[user.posts]} <td class="pro_info"><em>Posts:</em> $[user.posts]</td> {else} <td class="pro_info"><em>This user has no posts</em></td> {/if} </tr> <tr> <td colspan="5"> <hr class="spaced"> </td> </tr> <!--SECOND ROW--> <tr> <!--Email--> {if $[user.email]} <td class="pro_info">$[user.email]</td> {else} <td class="pro_info"><em>User email is hidden</em></td> {/if} <td class="space"></td> <!--Gender--> {if $[user.gender]} <td class="pro_info">$[user.gender.text]</td> {else} <td class="pro_info"><em>Gender not specified</em></td> {/if} <td class="space"></td> <!--Likes Received--> {if $[user.likes]} <td class="pro_info"><em>Likes:</em> $[user.likes]</td> {else} <td class="pro_info"><em>Nobody likes me...</em></td> {/if} </tr> <tr> <td colspan="5"> <hr class="spaced"> </td> </tr> <!--THIRD ROW--> <tr> <!--Website--> {if $[user.website]} <td class="pro_info">$[user.website]</td> {else} <td class="pro_info"><em>No Website Found</em></td> {/if} <td class="space"></td> <!--User Birthday/Age--> {if $[user.birthday]} <td class="pro_info">$[user.birthday]</td> {elseif $[user.age]} <td class="pro_info">$[user.age] years old</td> {else} <td class="pro_info"><em>Birthday Unknown</em></td> {/if} <td class="space"></td> <!--Join Date--> <td class="pro_info"><strong>Joined:</strong><em> $[user.registered_on_short]</em></td> </tr> </table> </div> </div>{/if} <div class="pad-all-double ui-helper-clearfix clear"> $[content] </div> </div> </div> Summary Tab <!--$[form.header] <table> <tr> <td id="center-column"> {if $[can.update_status]} <div class="content-box center-col"> <table> <tr> <td class="status-input"> $[form.update.input] </td> <td class="status-submit"> $[form.submit.button] </td> </tr> </table> </div> {/if} {if $[user.warning.bar]} <div class="content-box center-col"> <table><tr><td class="warning-table-td">Warning Level: </td><td>$[user.warning.bar]</td></tr></table> </div> {/if} {if $[user.badges]} <div class="content-box center-col $[user.badges_container_class]"> {foreach $[user.badges]}$[user.badges]{/foreach} $[user.gift_link] </div> {/if} <div class="content-box center-col"> <table> <tr> <td class="headings">Latest Status:</td> <td>$[user.personal_text]</td> </tr> {if $[user.custom_title]} <tr> <td class="headings">Custom Title:</td> <td>$[user.custom_title]</td> </tr> {/if} {if $[user.email]} <tr> <td class="headings">Email:</td> <td>$[user.email]</td> </tr> {/if} {if $[user.website]} <tr> <td class="headings">Web Site:</td> <td>$[user.website]</td> </tr> {/if} {if $[user.birthday]} <tr> <td class="headings">Birthday:</td> <td>$[user.birthday]</td> </tr> {/if} {if $[user.age]} <tr> <td class="headings">Age:</td> <td>$[user.age]</td> </tr> {/if} {if $[user.gender]} <tr> <td class="headings">Gender:</td> <td>$[user.gender.text]</td> </tr> {/if} {if $[user.location]} <tr> <td class="headings">Location:</td> <td>$[user.location]</td> </tr> {/if} <tr> <td class="headings">Posts:</td> <td>$[user.posts]</td> </tr> <tr> <td class="headings">Date Registered:</td> <td>$[user.registered_on]</td> </tr> {foreach $[user.custom_field]} <tr class="$[user.custom_field.content_class]"> <td class="headings"> $[user.custom_field.name]: </td> <td> $[user.custom_field.value] </td> </tr> {/foreach} </table> </div> {if $[user.social_exists]} <div class="content-box center-col"> {if $[user.social_network]} <div class="social networks"> <h4>Social Networks</h4> {foreach $[user.social_network]} $[user.social_network]<br /> {/foreach} </div> {/if} {if $[user.instant_messenger]} <div class="social messengers"> <h4>Instant Messengers</h4> {foreach $[user.instant_messenger]} $[user.instant_messenger]<br /> {/foreach} </div> {/if} </div> {/if} <div class="content-box center-col"> $[recent_posts_link]<br /> $[recent_threads_created_link] </div> {if $[user.signature]} <div class="content-box center-col"> Signature <hr /> $[user.signature] </div> {/if} </td> <td id="right-column"> {if $[following]} <div id="following" class="content-box right-col"> <h4>$[view_following_link]</h4> {foreach $[following]} <div class="mini-user"> <div class="mini-avatar"> $[following.avatar_medium] </div> <span class="name"> $[following] </span> </div> {/foreach} </div> {/if} {if $[follower]} <div id="followers" class="content-box right-col"> <h4>$[view_followers_link]</h4> {foreach $[follower]} <div class="mini-user"> <div class="mini-avatar"> $[follower.avatar_medium] </div> <span class="name"> $[follower] </span> </div> {/foreach} </div> {/if} </td> </tr> </table> $[form.footer]--> But, I'm pretty sure all the divs are closed.
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Oct 1, 2015 4:05:10 GMT -8
Nothing really sticking out for me Is the affected user profile guest friendly? I might be able to have a poke around, see if there's anything not being loaded, as before with the missing MP
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Oct 1, 2015 4:10:17 GMT -8
should be, on the test site.. The user is test... LOL
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Oct 1, 2015 13:46:00 GMT -8
I shall have a look now Apologies chickadee, been a busy one today! Edit: I'm not seeing on either of your accounts where the status update is meant to be displayed. I can't even see it in the screen shot Can you clarify for me?
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Oct 1, 2015 19:03:05 GMT -8
I shall have a look now Apologies chickadee, been a busy one today! Edit: I'm not seeing on either of your accounts where the status update is meant to be displayed. I can't even see it in the screen shot Can you clarify for me? At at the top centered
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Oct 2, 2015 9:03:16 GMT -8
Oh weird, I'm not seeing it on either profile Is it a member-only viewable thing?
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Oct 2, 2015 9:31:02 GMT -8
Oh weird, I'm not seeing it on either profile Is it a member-only viewable thing? I didn't set it that way in ACP, that I know of. I wonder if that's PB default setting for status updates...
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Oct 2, 2015 10:31:46 GMT -8
Hmm. More testing is needed! I shall fire up the ol' test forum and give that a waz. Edit: nuurp Looks like if I have a profile viewable to guests, the status is, too. Is it just the profile where it's gone hoopajooped, or the miniprofiles, too? Though saying that, all your pokings of late have been in the main profile. Maybe a Red needs to get in there and deflumux a thing. Whose turn is it this time? Ermm David Clark, I ch-ch-choose you! I like you, Teggers, you're alright!
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on Oct 2, 2015 15:31:34 GMT -8
I agree, David Clark should help us figure this out! ;D
|
|