#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 28, 2016 11:14:51 GMT -8
No worries...
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Oct 31, 2016 12:56:38 GMT -8
Okidoke.. I'll add the group restrictions and get the new plugin to you. And you wanted the class-names etc. for the cells to style them... All of the options on the posting page are held inside a table, which is within a <div> cell, that cell has an ID of mini_stats, so you can obviously get to the table with #mini_stats table or #mini_stats>table. The option titles each have a class of mini_stats_titleThe options themselves each have a class of stats_optionThe drop-down options each have the class mini_stats_dropThe options within the drop-down are held in <div> cells. Except 'None' and 'Edit', they are both <span> cells. And finally, the cell within the mini-profile has a class of post_stats, but you already know that. I think that's everything. If I have forgotten anything, let me know. Are there any more individual classes for the mini-profile portion, by chance? Specifically I'm trying to target the field names vs. the field content. From inspect element, I haven't been able to find any difference between the two for me to target by class name and there doesn't appear to be any alternatives with CSS, so I have resorted to asking you (for which I apology having to bother you again). EDIT: AHA! Nevermind! I figured out a great alternative. .post_stats b{ lets me target just the titles. bwuahahaha -pats self on back- EDIT EDIT: Dangit, I'm sorry Todge, I apparently spoke too soon. Not about the title thing, though, luckily! So I coded the post_stats how I wanted, which includes a background color and border, but apparently that shows up even when the div is empty. So when some stats are chosen, it looks great, but when someone leaves them all unselected, it just has an empty bg and border awkwardly sitting there instead of being invisible. I tried .post_stats:empty{display: none;} but that made the whole thing not display instead of just when empty like I tried to specify. Is there another way I can go about this?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Oct 31, 2016 15:55:28 GMT -8
Okidoke.. I'll add the group restrictions and get the new plugin to you. And you wanted the class-names etc. for the cells to style them... All of the options on the posting page are held inside a table, which is within a <div> cell, that cell has an ID of mini_stats, so you can obviously get to the table with #mini_stats table or #mini_stats>table. The option titles each have a class of mini_stats_titleThe options themselves each have a class of stats_optionThe drop-down options each have the class mini_stats_dropThe options within the drop-down are held in <div> cells. Except 'None' and 'Edit', they are both <span> cells. And finally, the cell within the mini-profile has a class of post_stats, but you already know that. I think that's everything. If I have forgotten anything, let me know. Are there any more individual classes for the mini-profile portion, by chance? Specifically I'm trying to target the field names vs. the field content. From inspect element, I haven't been able to find any difference between the two for me to target by class name and there doesn't appear to be any alternatives with CSS, so I have resorted to asking you (for which I apology having to bother you again). EDIT: AHA! Nevermind! I figured out a great alternative. .post_stats b{ lets me target just the titles. bwuahahaha -pats self on back- EDIT EDIT: Dangit, I'm sorry Todge, I apparently spoke too soon. Not about the title thing, though, luckily! So I coded the post_stats how I wanted, which includes a background color and border, but apparently that shows up even when the div is empty. So when some stats are chosen, it looks great, but when someone leaves them all unselected, it just has an empty bg and border awkwardly sitting there instead of being invisible. I tried .post_stats:empty{display: none;} but that made the whole thing not display instead of just when empty like I tried to specify. Is there another way I can go about this? Can you please post a direct link to where this is happening? If 'None' is selected in the stats, then that stat should not be included in the list, so it shouldn't be there for you to target.
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Nov 1, 2016 3:42:17 GMT -8
Absolutely. The site is in maintenance mode and I don't want to leave it out of MM for a long time, so here's the link alcryst.forums.net/thread/1211 and I'll take it out of MM as soon as you're online (while I'm on) =3 I could've sworn you had an account on the site so I went to just give it login permissions but I couldn't find it with the name "Todge" so who knows =/ For further information... In my mini-profile layout template, I have: <div style="font-size: 11px; font-variant: small-caps; letter-spacing: 2px; padding-left: 2px; font-family: georgia; color: #2d2821; margin-bottom: 3px; margin-top: 18px; padding: 5px; max-height: 80px; overflow: auto; background-color: #75664e; margin-left: -9px; margin-right: -9px; border-top: 1px solid #2d2821; border-bottom: 1px solid #2d2821;" class="post_stats"></div> The border-bottom, border-top, and background-color are showing up on mini-profiles that are not only empty (as in "none" selected for all fields) but aren't even in applicable groups (for example, the only groups this plugin is applied to are my human groups and it's showing up for even my horse groups) here's a visual, left side being the empty result and right side being the correct-looking when-full result: sta.sh/01m1f8k9xu58
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 1, 2016 11:56:42 GMT -8
Absolutely. The site is in maintenance mode and I don't want to leave it out of MM for a long time, so here's the link alcryst.forums.net/thread/1211 and I'll take it out of MM as soon as you're online (while I'm on) =3 I could've sworn you had an account on the site so I went to just give it login permissions but I couldn't find it with the name "Todge" so who knows =/ For further information... In my mini-profile layout template, I have: <div style="font-size: 11px; font-variant: small-caps; letter-spacing: 2px; padding-left: 2px; font-family: georgia; color: #2d2821; margin-bottom: 3px; margin-top: 18px; padding: 5px; max-height: 80px; overflow: auto; background-color: #75664e; margin-left: -9px; margin-right: -9px; border-top: 1px solid #2d2821; border-bottom: 1px solid #2d2821;" class="post_stats"></div> The border-bottom, border-top, and background-color are showing up on mini-profiles that are not only empty (as in "none" selected for all fields) but aren't even in applicable groups (for example, the only groups this plugin is applied to are my human groups and it's showing up for even my horse groups) here's a visual, left side being the empty result and right side being the correct-looking when-full result: sta.sh/01m1f8k9xu58That <div> you have added to your mini-profile layout will display a colored box with a border whether there are any stats or not. Are you sure that that is not what you're seeing? As for signing up on your site, it's possible. I have done it from time to time to try and debug a code, and I usually delete the account after that's done, so it is possible.
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Nov 1, 2016 12:58:25 GMT -8
Hmm.. well, to insert the post stats into the mini-profile, I have to use <div class="post_stats"></div> To style the post_stats, I learned that adding a style to its div would work, but then it causes the colored box with a background that I do not want when there are no stats. Is there another way I can thus style the stats without styling the empty cell?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 2, 2016 8:27:32 GMT -8
You want a box around all the stats? not singularly?
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Nov 2, 2016 9:59:28 GMT -8
Correct. Like in the right image of: sta.sh/01m1f8k9xu58The left side is what I don't want. If there's no stats, I'd like that spot to be completely blank. If there are stats, then I'd like what's on the right side. I need to be able to fully customize the CSS myself but have the CSS only applied to the stats container when it has something in it, not when empty. =/ Does that make sense?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 2, 2016 10:36:01 GMT -8
Perfectly.. Try version 0.0.8. You now have a new class... ' .ps_parent'...
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Nov 2, 2016 12:02:18 GMT -8
Perfect! It works exactly as needed. Thank you so much. =D
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 2, 2016 14:52:31 GMT -8
No worries...
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Nov 24, 2016 0:08:05 GMT -8
Todge - I'm posting here as I've asked Elfs permission to use this code on SHIELD. Do I need to do anything to get it to work? Its showing the things I need in the new post screen But I cannot work out how to add gear in. I've tried clicking on the titles when the mouse pointer changes to a hand but nothings working. I would be grateful if you could advise me on this! ((using it on: http://shieldrp.forums.net))
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 24, 2016 15:17:21 GMT -8
Todge - I'm posting here as I've asked Elfs permission to use this code on SHIELD. Do I need to do anything to get it to work? Its showing the things I need in the new post screen View AttachmentBut I cannot work out how to add gear in. I've tried clicking on the titles when the mouse pointer changes to a hand but nothings working. I would be grateful if you could advise me on this! ((using it on: http://shieldrp.forums.net)) Could you please tell me which board the plugin is set to work in? And make sure that that board is open to guests.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Nov 24, 2016 21:53:40 GMT -8
Todge - I'm posting here as I've asked Elfs permission to use this code on SHIELD. Do I need to do anything to get it to work? Its showing the things I need in the new post screen But I cannot work out how to add gear in. I've tried clicking on the titles when the mouse pointer changes to a hand but nothings working. I would be grateful if you could advise me on this! ((using it on: http://shieldrp.forums.net)) Could you please tell me which board the plugin is set to work in? And make sure that that board is open to guests. That would be something I have been unable to set up. I can find where to add options and where to add groups, no place to set up boards
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 26, 2016 3:45:44 GMT -8
Could you please tell me which board the plugin is set to work in? And make sure that that board is open to guests. That would be something I have been unable to set up. I can find where to add options and where to add groups, no place to set up boards Ahh.. Sorry, the board is not selectable with this plugin.. OK, so you are getting the options, but you are unable to set them correct? When you hover over one of the selections, you should get a drop-down selection, with 'None' at the top, followed by the items you have already added (none in your case) and 'Edit' at the bottom. Clicking on 'Edit' should open a pop-up where you can add items to that particular selection. Are you seeing this?
|
|