Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 17:30:21 GMT -8
I was working with the code when you asked me to post it here. I have fixed the line
{if $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Strike Three"}
since then. But the regular members are still messed up. I see what appear to be some {if} statements that have been left open, but I'm not messing with that.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 8, 2017 17:31:47 GMT -8
Yeah I'm still sorting through the code since there seem to be a few open tags. Sorry for the delay (:
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 8, 2017 18:01:24 GMT -8
OK I think I fixed it. Follow the below instructions and let me know how it turns out.
1. Find the following:
{if $[user.group]} $[user.group.name]<br />
It should be right above your <!-- Avatar Banners by Kami (BEGIN) --> comment. Please remove that entirely.
2. Find this line:
<!-- END - Avatar Banner Titles -->
And right above it add {/if}
I'm pretty sure that fixes things, but let me know how it turns out (:
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 18:04:01 GMT -8
Yeah I'm still sorting through the code since there seem to be a few open tags. Sorry for the delay (:
I guess that's what I was seeing. Don't have a clue how that happened. Thank for looking into it for me!!!
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 18:05:27 GMT -8
EDIT: Kami
That fixed the text below the avatar picture, but now I see this stuff above the avatar picture
simplyred {elseif 1} New Member * <--------------------------- Sky Blue Star {/if}
Admin ***** <--------------------- Red Stars {elseif 1} Full Member *** <------------------------ Sky Blue Stars {/if}
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 8, 2017 18:26:59 GMT -8
Ah! I forgot one more thing you needed to fix.
Find this:
$[user.rank.stars]<br /> {/if} {elseif $[user.rank]}
And delete that {/if}
See how that works.
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 18:29:02 GMT -8
OK I think I fixed it. Follow the below instructions and let me know how it turns out.
1. Find the following:
{if $[user.group]} $[user.group.name]<br />
It should be right above your <!-- Avatar Banners by Kami (BEGIN) --> comment. Please remove that entirely.
I put this back, and that fixed the 2nd issue.
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 18:29:50 GMT -8
Ah! I forgot one more thing you needed to fix.
Find this:
$[user.rank.stars]<br /> {/if} {elseif $[user.rank]}
And delete that {/if}
See how that works.
Please see my post above this one. If you still want me to do that, then I will.
EDIT:
<!-- Avatar Banners by Kami (BEGIN) --> <!-- BEGIN - Avatar Banner Member Group names, placed under the username --> {if $[user.group.name] == "Administrator" || $[user.group.name] == "Admin" || $[user.group.name] == "Global Moderator" || $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Strike One" || $[user.group.name] == "Strike Two" || $[user.group.name] == "Strike Three" || $[user.group.name] == "Banned"} $[user.group.stars]<br /> {elseif $[user.group.name] == "Supplier" || $[user.group.name] == "Facebook Leader" || $[user.group.name] == "Member Vendor" || $[user.group.name] == "Advocate"} $[user.rank.stars]<br /> {/if} <----------------------- removing this creates issues, so I put it back. All seems well now. {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
These are the only $[user.rank.stars]<br /> that I see.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 8, 2017 18:38:25 GMT -8
Ah! I forgot one more thing you needed to fix.
Find this:
$[user.rank.stars]<br /> {/if} {elseif $[user.rank]}
And delete that {/if}
See how that works.
Please see my post above this one. If you still want me to do that, then I will. Please remove the thing you added back and fix the above. The thing you added back has no closing tags and the thing I am instructing you to remove has an extra closing tag. Neither of these items are actually being used, so both should go, and will eliminate the problem.
The reason putting the first bit back works is because of the existence of the stray tag.
So basically you have
{opening tag}
{a bunch of other codes here that are all properly closed}
{an unrelated closing tag).
In BB Code it'd look something like this, using the 'bold' tag as an example:
[b]
[i]italic stuff[/i] [u]underline stuff[/u]
[/b]
The problem is, the stuff in the middle shouldn't be bold. Similarly, the stuff in between the first thing I instructed you to remove and the stray closing tag shouldn't be affected by the conditional that the first opening tag tries to use.
I hope that makes sense.
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 18:45:05 GMT -8
Please remove the thing you added back and fix the above. The thing you added back has no closing tags and the thing I am instructing you to remove has an extra closing tag. Neither of these items are actually being used, so both should go, and will eliminate the problem.
The reason putting the first bit back works is because of the existence of the stray tag.
So basically you have
{opening tag}
{a bunch of other codes here that are all properly closed}
{an unrelated closing tag).
In BB Code it'd look something like this, using the 'bold' tag as an example:
[b]
[i]italic stuff[/i] [u]underline stuff[/u]
[/b]
The problem is, the stuff in the middle shouldn't be bold. Similarly, the stuff in between the first thing I instructed you to remove and the stray closing tag shouldn't be affected by the conditional that the first opening tag tries to use.
I hope that makes sense.
Yup. That did the trick.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 8, 2017 18:49:17 GMT -8
So does everything display correctly now, including non-grouped profiles?
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 18:53:40 GMT -8
So does everything display correctly now, including non-grouped profiles?
Hmmm. No, it's back to being goofy again. This stuff again...
Something is still wrong. Please inspect this code.
Regular members are OK, but Bannered members get this...
Admin ***** Full Member ***
<div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}Guest<br />{/if} {if $[user.is_deleted]}<em>Deleted Member</em><br />{/if}
<!-- Avatar Banners by Kami (BEGIN) --> <!-- BEGIN - Avatar Banner Member Group names, placed under the username --> {if $[user.group.name] == "Administrator" || $[user.group.name] == "Admin" || $[user.group.name] == "Global Moderator" || $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Strike One" || $[user.group.name] == "Strike Two" || $[user.group.name] == "Strike Three" || $[user.group.name] == "Banned"} $[user.group.stars]<br /> {elseif $[user.group.name] == "Supplier" || $[user.group.name] == "Facebook Leader" || $[user.group.name] == "Member Vendor" || $[user.group.name] == "Advocate"} $[user.rank.stars]<br /> {elseif $[user.rank]} {/if} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} <!-- END - Avatar Banner Member Group names, placed under the username --> {if $[user.custom_title]}$[user.custom_title]<br />{/if} $[user.warning.bar] <br /> {if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br /> {/if} {if $[user.personal_text.message]} $[user.personal_text]<br /> {/if}
<!-- BEGIN - Avatar Banner Titles --> {if $[user.group]} <div class="arrow-left"></div> <div class="arrow-right"></div> <div class="mp-group-banner"> {if $[user.group.name] == "Administrator"} Site Administrator {elseif $[user.group.name] == "Admin"} Contest Organizer {elseif $[user.group.name] == "Global Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Contest Organizer" || $[user.group.name] == "Facebook Leader" || $[user.group.name] == "Member Vendor" || $[user.group.name] == "Banned"} $[user.group.name] {elseif $[user.group.name] == "Supplier"} Forum Supplier {elseif $[user.group.name] == "Advocate"} E-Cig Advocate {elseif $[user.group.name] == "Strike One"} Strike 1 - Barred {elseif $[user.group.name] == "Strike Two"} Strike 2 - Barred {elseif $[user.group.name] == "Strike Three"} Strike 3 - Barred {/if} </div>
<!-- This is for the second banner for anyone who gets one --> {if $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Strike Three"} <div class="arrow-left-2"></div> <div class="arrow-right-2"></div> <div class="mp-group-banner-2"> {if $[user.group.name] == "Vaping Blips Moderator"}Safe Zone Moderator {elseif $[user.group.name] == "Strike Three"}One More... Banned {/if} </div> {/if} {/if} <!-- END - Avatar Banner Titles --> <!-- Avatar Banners by Kami (END) --> {if $[user.is_member]} <div class="info" {if $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Strike Three"}style="margin-top:60px!important;"{/if}> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div><br /> {/if} {if $[user.badges_miniprofile]} <div class="$[user.badges_miniprofile_container_class]"> {foreach $[user.badges_miniprofile]} $[user.badges_miniprofile.icon] {/foreach} </div> {/if} </div>
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 8, 2017 19:16:19 GMT -8
So does everything display correctly now, including non-grouped profiles?
Hmmm. No, it's back to being goofy again. This stuff again...
Something is still wrong. Please inspect this code.
<div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}Guest<br />{/if} {if $[user.is_deleted]}<em>Deleted Member</em><br />{/if}
<!-- Avatar Banners by Kami (BEGIN) --> <!-- BEGIN - Avatar Banner Member Group names, placed under the username --> {if $[user.group.name] == "Administrator" || $[user.group.name] == "Admin" || $[user.group.name] == "Global Moderator" || $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Strike One" || $[user.group.name] == "Strike Two" || $[user.group.name] == "Strike Three" || $[user.group.name] == "Banned"} $[user.group.stars]<br /> {elseif $[user.group.name] == "Supplier" || $[user.group.name] == "Facebook Leader" || $[user.group.name] == "Member Vendor" || $[user.group.name] == "Advocate"} $[user.rank.stars]<br /> {elseif $[user.rank]} {/if} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if} <!-- END - Avatar Banner Member Group names, placed under the username --> {if $[user.custom_title]}$[user.custom_title]<br />{/if} $[user.warning.bar] <br /> {if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br /> {/if} {if $[user.personal_text.message]} $[user.personal_text]<br /> {/if}
<!-- BEGIN - Avatar Banner Titles --> {if $[user.group]} <div class="arrow-left"></div> <div class="arrow-right"></div> <div class="mp-group-banner"> {if $[user.group.name] == "Administrator"} Site Administrator {elseif $[user.group.name] == "Admin"} Contest Organizer {elseif $[user.group.name] == "Global Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Contest Organizer" || $[user.group.name] == "Facebook Leader" || $[user.group.name] == "Member Vendor" || $[user.group.name] == "Banned"} $[user.group.name] {elseif $[user.group.name] == "Supplier"} Forum Supplier {elseif $[user.group.name] == "Advocate"} E-Cig Advocate {elseif $[user.group.name] == "Strike One"} Strike 1 - Barred {elseif $[user.group.name] == "Strike Two"} Strike 2 - Barred {elseif $[user.group.name] == "Strike Three"} Strike 3 - Barred {/if} </div>
<!-- This is for the second banner for anyone who gets one --> {if $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Strike Three"} <div class="arrow-left-2"></div> <div class="arrow-right-2"></div> <div class="mp-group-banner-2"> {if $[user.group.name] == "Vaping Blips Moderator"}Safe Zone Moderator {elseif $[user.group.name] == "Strike Three"}One More... Banned {/if} </div> {/if} {/if} <!-- END - Avatar Banner Titles --> <!-- Avatar Banners by Kami (END) --> {if $[user.is_member]} <div class="info" {if $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Strike Three"}style="margin-top:60px!important;"{/if}> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div><br /> {/if} {if $[user.badges_miniprofile]} <div class="$[user.badges_miniprofile_container_class]"> {foreach $[user.badges_miniprofile]} $[user.badges_miniprofile.icon] {/foreach} </div> {/if} </div>
Try REMOVING the RED and ADDING the BLUE.
(or, alternatively, just move the RED bit to where I indicated the BLUE bit should go)
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 19:24:38 GMT -8
Doing only the red one made it worse. Adding in the blue one after that made it better, but now Bannered people don't get a Group name.
EDIT: This is the code now...
{if $[user.group.name] == "Administrator" || $[user.group.name] == "Admin" || $[user.group.name] == "Global Moderator" || $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Strike One" || $[user.group.name] == "Strike Two" || $[user.group.name] == "Strike Three" || $[user.group.name] == "Banned"} $[user.group.stars]<br /> {elseif $[user.group.name] == "Supplier" || $[user.group.name] == "Facebook Leader" || $[user.group.name] == "Member Vendor" || $[user.group.name] == "Advocate"} $[user.rank.stars]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
|
|
Vapers United
Junior Member
Taking a sec to thank the staff & member helpers for everything they do for us!
Posts: 300
inherit
220798
0
Jun 19, 2022 19:37:35 GMT -8
Vapers United
Taking a sec to thank the staff & member helpers for everything they do for us!
300
April 2015
vapersunited
|
Post by Vapers United on Aug 8, 2017 19:41:41 GMT -8
Sorry for a double post, but I found the problem and fixed it.
{if $[user.group.name] == "Administrator" || $[user.group.name] == "Admin" || $[user.group.name] == "Global Moderator" || $[user.group.name] == "Vaping Blips Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Strike One" || $[user.group.name] == "Strike Two" || $[user.group.name] == "Strike Three" || $[user.group.name] == "Banned"} $[user.group.name]<br /> <--------- had to add this line $[user.group.stars]<br /> {elseif $[user.group.name] == "Supplier" || $[user.group.name] == "Facebook Leader" || $[user.group.name] == "Member Vendor" || $[user.group.name] == "Advocate"} $[user.rank.stars]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
|
|