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 Mar 8, 2013 5:31:31 GMT -8
Problem: #1 - Custom Titles do not show on non-staff membergroup accounts, #2 - Display Names do not change size for new member groups.
dreamsanctumsaga.proboards.com (please view-source to see codes)
Problem #1: For some reason, I cannot get CTs to display on non-staff accounts. Here is an admin account in the "admin" member group (left), and in no member group (right):
this is the same account both times, and when the member group is set to "admin" (or any other group with staff powers), the CT is visible. I don't know why this is happening. It was working fine when I last checked before today, and I have not made any changes to the coding.
Problem #2 - No matter what I do, I cannot get the display name on my new usergroup to be the proper size. I am using the MYO Mini Profile code for proboards, and while the CSS to dictate font size works for all other usergroups/no usergroups, the new one I made this morning is completely unaffected.
obviously, that display name should be the same size as the screenshots above. If I remove the account from the new membergroup, or assign it a different member group, the font size changes as it should.
I am completely baffled on both issues, and any help would be appreciated
|
|
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 Mar 9, 2013 12:02:37 GMT -8
bump!
|
|
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 Mar 11, 2013 7:03:07 GMT -8
bump
|
|
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 Mar 12, 2013 8:42:26 GMT -8
bump
|
|
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 Mar 13, 2013 10:32:14 GMT -8
bump!
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 13, 2013 12:47:43 GMT -8
Problem: #1 - Custom Titles do not show on non-staff membergroup accounts A link to a profile or mini-profile demonstrating this behavior would be gold. Problem #2 - No matter what I do, I cannot get the display name on my new usergroup to be the proper size. I am using the MYO Mini Profile code for proboards, and while the CSS to dictate font size works for all other usergroups/no usergroups, the new one I made this morning is completely unaffected. After some searching to find a group created recently that exhibits the described behavior (did I mention links are gold?) I found user=isabella and she apparently has her name colored through the admin panel which means it would be wrapped in a font and inheritance therefore broken from the ancestor span with the following rule instead taking effect body, td, font, a:hover, a:active, a:visited, .windowbg, .windowbg2, .nav, .nav:link, .nav:visited, .nav:hover { font-size: 9px; }
|
|
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 Mar 14, 2013 8:28:56 GMT -8
Thanks for the reply! For problem #1, here is an example profile. The CT should read "Caramel (Main)", which you can see when viewing the page with no headers. The same is true for this member, whose CT should read "Isabelle (Main)" and is visible with no headers. Accounts in a staff member group, such as mine have the CT -- "Admin (Kami)" -- showing. For problem #2, sorry about that! I could've sworn that I had posted a link but apparently I didn't. I removed the colour from the membergroup settings, and that fixed it. Thank you!
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 14, 2013 13:36:16 GMT -8
This is a known bug with the code, it occurs when you set the number of stars on a group to zero which throws off how the code identifes the various parts of the mini-profile. Basically it doesn't recognize a custom title if the stars are missing and it's a bug that's been around for years. I doubt it will ever be fixed especially now with the shelf life of that code being counted in nanoseconds as V5 rolls out. The problem seems to be your lack of stars. The code makes allowances for the user having no stars when it parses for the rank but no such allowances are made when it parses for custom title: var rank = (td.item(i).innerHTML.match(/<\/a><\/b><br>(.+?(<br><img.+?>)?)<br>/i))? RegExp.$1 : false;
var customtitle = (td.item(i).innerHTML.match(/<\/a><\/b><br>.+?<br><img.+?><br>(.+?)<br>member\sis/i))? RegExp.$1 : false;
The parentheses around the image as well as the question mark immediately following it makes it optional in the rank line. Those are however missing from the custom title line. Since the code is remotely hosted I guess only Chris would be able to modify it.
|
|
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 Mar 14, 2013 15:22:01 GMT -8
Ah, fair enough. Since I have the stars set not to show with the miniprofile code, I'll set everything to 1 and hopefully that fixes it! I'll deal with v5 once the forum is converted. Thank you for your replies!
|
|