inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 24, 2020 11:31:38 GMT -8
Images used in the plugin may no longer be publically available / host went down / non-https which I believe Safari is cracking down on. Could you link to the forum & post in question? I'm using my own images which I loaded into WordPress. (WordPress was the only hosting site I could find -- and I looked at about a dozen -- that kept the exact filename that I uploaded. All other hosting sites hashed out a new filename for each image, with no ability to rename them.) Could you provide a link to your forum with a post that is showing this behavior? It's hard for me to diagnose without anything to go off of.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 24, 2020 10:32:39 GMT -8
Why do some plugins work on some browsers but not on others? This probably has either a short answer or a long one. One of my plugins (which isn’t supported, I don’t think) works with Firefox but not with Safari. It’s the poker plugin. In Safari, it just shows five broken image icons (it’s those boxes indicating your image can’t load). But I suspect this is a universal issue with many many plugins. Images used in the plugin may no longer be publically available / host went down / non-https which I believe Safari is cracking down on. Could you link to the forum & post in question?
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 24, 2020 9:49:52 GMT -8
Hi Pebble Glad to meet you! I've enjoyed the fruits of your labor, particularly the IP Look Up Buttons plugin. I really wish that had been editable but Chris has the patience of a saint and walked me through creating a similar plugin. With the exception of RADesign , all the people you mentioned have been around recently. Wormopolis had taken a long break but reappeared a few months ago. Among others, bennett , elli , and Lynx have done some nice work lately. As for me, I'm a beginner with JS so I haven't contributed much in plugins but I've been able to help a few people with some layout template mods and CSS. Sadly, Virgil Sovereign hasn't been active for quite a while. Bennett 🚀 is-a-me, bennett is someone else lol. I was formerly known as iPokemon 👍
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 9, 2020 12:43:28 GMT -8
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 6, 2020 14:44:35 GMT -8
Open a new window with just the video; downloads do not show across separate windows.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 4, 2020 4:32:52 GMT -8
I don't think a plugin would be able to access the LESS source file that we see in the Style Sheet via the Admin panel. But we could ask Brian , as I reckon he would know. A workaround was already suggested (though according to MDN it isn't compatible with IE), but I did want to explicitly state that this is the case and any CSS you add to a plugin can't use existing LESS variables nor does it ever go through the LESS compiler. IE is on the way out 🥳
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 3, 2020 9:46:00 GMT -8
1. Can we create our own unique variables there (not sure exactly what they're called, so defaulting to the term variable), such as: @mysetting: #cccccc;? Hi Lynx I think they're called LESS variables. lesscss.org/# The part that begins with @ and is punctuated with : is the variable and the part that follows and is punctuated with ; is obviously the value. You absolutely can create your own. Just be careful to use a unique name that hasn't already been used in the Style Sheet. I don't know if there would be a problem if the variable was defined later in the Style Sheet than where it is used to substitute a value, so to be safe I'd suggest: declare first, substitute later. 2. If we can create them, how can they be used (have you made your own and found a use for them)? As Kami mentioned, they're convenient in any situation where changing a value in one place will automatically change it for many declarations. My favorite use for them is for additions to the Visual Editor. 3. Any idea if plugins can grab the info off of those? I can't say for certain, but I very much doubt it. When a theme is saved, LESS compiles what we see in the 'Style Sheet' and creates the actual publicly available css file which is used with the theme. For instance, if you View Page Source when viewing the Support Forum using the proboards.com theme, you'll see the HTML is referring to this css file: <link rel="stylesheet" type="text/css" media="screen" href="//storage.proboards.com/1/css/kgJlmzgGZtKKY0GoNBfD.css" id="forum_style" /> That file has all the substitutions made for the variables and the variable declarations are not present. I don't think a plugin would be able to access the LESS source file that we see in the Style Sheet via the Admin panel. But we could ask Brian , as I reckon he would know. You could inject your LESS variables into CSS variables, and then you could use those variables in plugins as well. In the theme: :root { --primary: @primary; } In a plugin's CSS: .button-in-plugin { background-color: var(--primary); }
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 30, 2020 17:48:26 GMT -8
On a hot day, I love some iced cold brew with a splash of alt-milk (preferably oat / almond, lactose intolerance is the worst). On a cooler day, a nice espresso with some frothed alt-milk can't be beat.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 27, 2020 6:35:34 GMT -8
Oh that's a shame. Is there a way to bring the message box to an earlier screen so it's not after they have registered? Or make it mandatory? Thanks You could potentially have it show first thing after they login for the first time based on if they've filled out said fields for a plugin. Of course, it would be bypassable if their javascript is turned off but could at least be a barrier of entry for normal users.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 17, 2020 12:33:39 GMT -8
I wanted hovering an image to reveal a div. I actually got it working as intended! It wasn't working the first time because the way I'm used to doing it, on another site, relied on an external library. Using standard CSS, it works fine! I do have a related issue, however. When two such images are side-by-side, it is only possible to hover the leftmost image (unless I very carefully move my cursor down the div, in which case I can hover the other image). I'm sure I've made a simple mistake, but I can't figure out what that mistake is. I did try putting pointer-events:none on the offending div, .hoverhelioptile, but it didn't help, so I removed it again. If you have a style tag forum you can test this on, and can understand what I've done wrong, I'd appreciate guidance. [nospaces][div][attr="style","width:67%; display:inline-block; margin-right:10px; vertical-align:top; font-size:14px"] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. [/div]
[div][attr="style","width:30%; display:inline-block; vertical-align:top; text-align:right"] [div][attr="class","parenthelioptile"][attr="style","display:inline-block"] [div][attr="class","hoverhere"] [a href="https://pokemonrapture.freeforums.net/post/1112"][img style="max-width:100%;" src="https://media.discordapp.net/attachments/742286317274005614/744667650063466566/Helioptile_sprite_ish.png"][/a] [div style="margin-bottom:20px;background-color:#fde97375;border-radius:10px;padding:5px;"][attr="class","hoverhelioptile"] [b]"Helioptile"[/b] | [b]Helioptile[/b] | [b]Lvl 1[/b] | ♂[break][span style="padding:2px;line-height:12px;background:#F8D030;border-radius:2px;"][b]Electric[/b][/span] [span style="padding:2px;line-height:12px;background:#A8A878;border-radius:2px;"][b]Normal[/b][/span]
[table style="table-layout:auto;margin-right:0px;margin-left:auto;"][tbody][tr][td style="padding:3px;"][b]Max HP[/b][/td][td style="padding:3px;"][b]Attack[/b][/td][td style="padding:3px;"][b]Defense[/b][/td][td style="padding:3px;"][b]Speed[/b][/td][/tr][tr][td style="padding:3px;"]8[/td][td style="padding:3px;"]10 [/td][td style="padding:3px;"]8 [/td][td style="padding:3px;"]14 [/td][/tr][/tbody][/table][break] [b]Ability:[/b] Dry Skin: Water attacks heal 25% of its maximum HP; takes 25% more damage from Fire; in bright sunshine, loses 1/8 of its maximum HP each turn; in rain, recovers 1/8 of its maximum HP each turn[break] [b]Held item:[/b] none[break] [b]Moves:[/b] Mud-Slap, Tail Whip[/div][/div][/div]
[div][attr="class","parentnincada"][attr="style","display:inline-block"] [div][attr="class","hoverhere"] [a href="https://pokemonrapture.freeforums.net/post/843"][img src="https://cdn.bulbagarden.net/upload/8/8b/Spr_3r_290.png" style="max-width:100%;"][/a] [div style="margin-bottom:20px;background-color:#e0d0d075;border-radius:10px;padding:5px;"][attr="class","hovernincada"] [b]"Dragon"[/b] | [b]Nincada[/b] | [b]Lvl 1[/b] | ♂[break][span style="padding:2px;line-height:12px;background:#A8B820;border-radius:2px;"][b]Bug[/b][/span] [span style="padding:2px;line-height:12px;background:#E0C068;border-radius:2px;"][b]Ground[/b][/span]
[table style="table-layout:auto;margin-right:0px;margin-left:auto;"][tbody][tr][td style="padding:3px;"][b]Max HP[/b][/td][td style="padding:3px;"][b]Attack[/b][/td][td style="padding:3px;"][b]Defense[/b][/td][td style="padding:3px;"][b]Speed[/b][/td][/tr][tr][td style="padding:3px;"]7[/td][td style="padding:3px;"]8 [/td][td style="padding:3px;"]12 [/td][td style="padding:3px;"]4 [/td][/tr][/tbody][/table][break] [b]Ability:[/b] Compound Eyes: [b]+2[/b] to the DC of each accuracy check[break] [b]Held item:[/b] none[break] [b]Moves:[/b] Sand Attack, Scratch [/div][/div][/div][/div]
[newclass=.hoverhelioptile,.hovernincada]display:none[/newclass] [newclass=.parentnincada:hover .hovernincada]display:block[/newclass] [newclass=.parenthelioptile:hover .hoverhelioptile]display:block[/newclass] If that code is broken in any way beyond the hover being wonky, I likely copied it improperly. If you don't need them to be on the same line, then this is possible. Otherwise, having them on the same line and showing a block div below them is going to cause major reflows of the layout and will always be a hard hover to get right. Here's them on new lines, which makes it super easy: [nospaces] [div] [attr="style","width:67%; display:inline-block; margin-right:10px; vertical-align:top; font-size:14px"] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/div]
[div] [attr="style","width:30%; display:inline-block; vertical-align:top; text-align:right"] [div] [attr="class","hoverable"] [a href="https://pokemonrapture.freeforums.net/post/1112"][img style="max-width:100%;" class="fr-fic fr-dii" src="https://media.discordapp.net/attachments/742286317274005614/744667650063466566/Helioptile_sprite_ish.png"][/a] [div style="margin-bottom:20px;background-color:#fde97375;border-radius:10px;padding:5px;"] [attr="class","hover-target"] [strong]"Helioptile"[/strong] | [strong]Helioptile[/strong] | [strong]Lvl 1[/strong] | ♂[break] [span style="padding:2px;line-height:12px;background:#F8D030;border-radius:2px;"][strong]Electric[/strong][/span] [span style="padding:2px;line-height:12px;background:#A8A878;border-radius:2px;"][strong]Normal[/strong][/span]
[table style="table-layout:auto;margin-right:0px;margin-left:auto;"][tbody][tr][td style="padding:3px;"] [strong]Max HP[/strong] [/td][td style="padding:3px;"] [strong]Attack[/strong] [/td][td style="padding:3px;"] [strong]Defense[/strong] [/td][td style="padding:3px;"] [strong]Speed[/strong] [/td][/tr][tr][td style="padding:3px;"]8[/td][td style="padding:3px;"]10[/td][td style="padding:3px;"]8[/td][td style="padding:3px;"]14[/td][/tr][/tbody][/table] [break] [strong]Ability:[/strong] Dry Skin: Water attacks heal 25% of its maximum HP; takes 25% more damage from Fire; in bright sunshine, loses 1/8 of its maximum HP each turn; in rain, recovers 1/8 of its maximum HP each turn[break] [strong]Held item:[/strong] none[break] [strong]Moves:[/strong] Mud-Slap, Tail Whip[/div] [/div] [div] [attr="class","hoverable"] [a href="https://pokemonrapture.freeforums.net/post/843"][img style="max-width:100%;" src="https://cdn.bulbagarden.net/upload/8/8b/Spr_3r_290.png" class="fr-fic fr-dii"][/a] [div style="margin-bottom:20px;background-color:#e0d0d075;border-radius:10px;padding:5px;"] [attr="class","hover-target"] [target name="nincada"] [strong]"Dragon"[/strong] | [strong]Nincada[/strong] | [strong]Lvl 1[/strong] | ♂[break] [span style="padding:2px;line-height:12px;background:#A8B820;border-radius:2px;"][strong]Bug[/strong][/span] [span style="padding:2px;line-height:12px;background:#E0C068;border-radius:2px;"][strong]Ground[/strong][/span]
[table style="table-layout:auto;margin-right:0px;margin-left:auto;"][tbody][tr][td style="padding:3px;"][strong]Max HP[/strong][/td][td style="padding:3px;"][strong]Attack[/strong][/td][td style="padding:3px;"][strong]Defense[/strong][/td][td style="padding:3px;"][strong]Speed[/strong][/td][/tr][tr][td style="padding:3px;"]7[/td][td style="padding:3px;"]8[/td][td style="padding:3px;"]12[/td][td style="padding:3px;"]4[/td][/tr][/tbody][/table] [break] [strong]Ability:[/strong] Compound Eyes: [strong]+2[/strong] to the DC of each accuracy check[break] [strong]Held item:[/strong] none[break] [strong]Moves:[/strong] Sand Attack, Scratch[/div] [/div] [/div]
[newclass=".hover-target"]display: none;[/newclass] [newclass=".hoverable a"]display: block;[/newclass] [newclass=".hoverable a:hover + .hover-target"]display:block;[/newclass]
However, if you are an administrator on your forum, I have a plugin that I've been working on that could be of use to make the inline items work.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 16, 2020 14:24:16 GMT -8
antimoany you can add a :hover pseudo class with the [newclass] tag from Style Tags, such as: [div][attr="class","hover"]Hover Me[/div] [newclass=".hover:hover"]background-color: red;[/newclass]
This only works when in the BBcode editor of the PB reply area, and not in the output tab. Ah, thank you for confirming! The code you supplied is working for me. That's the exact structure I tried before coming here, but trying it again I now realise the CSS I was using just doesn't work. I'm not actually sure why, by all accounts it should work and, as true HTML/CSS, does. But there's another method to getting the same outcome that does work, so it's not a problem. Thanks for saving me the headache. Rather than jump to "hover doesn't work" I probably should have tried a simple background-color rule myself... Could you give an example of what you are trying to achieve?
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 16, 2020 9:53:57 GMT -8
antimoany you can add a :hover pseudo class with the [newclass] tag from Style Tags, such as: [div][attr="class","hover"]Hover Me[/div] [newclass=".hover:hover"]background-color: red;[/newclass]
This only works when in the BBcode editor of the PB reply area, and not in the output tab.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 11, 2020 18:38:40 GMT -8
Hello, Is there any widget that we can insert on forums that would show members different time zones all around the world and what time is there? I found some clocks under the library but that doesn't exactly cover what I'm looking for. Also searched for widgets outside proboards but most of them have a limit of just two time zones so also wouldn't cut it. Any suggestions? Hi Maf, Attached is a very rudimentary world clock / timezone plugin. All you need to do is install the plugin, and put this snippet wherever you want the times to show (forum wrapper template for example): <div id="timezone-container"> <timezone-board></timezone-board> </div> You'll have to provide any additional timezones that you want via the settings tab, and you can change how it outputs using the "Output" option as well. Let me know if you have any questions / need help changing the output.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 10, 2020 14:23:40 GMT -8
Attached is the Magic Pool plugin for others, if anyone else would like to use it: Just add the following to your profile page where you want the ticker to show: 'mp_container' being whatever you set in the admin settings for the "Element ID". <div id="mp_container"> <magic-pool></magic-pool> </div>
Attachments:Magic Pool.pbp (3.08 KB)
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 9, 2020 18:08:41 GMT -8
It could look like near-real time because it could show how many MP should be awarded when no longer at rest. Something like: Basically it would just do that counting up until there's no more MP to earn. And then they could click "Rest" again to cash in the MP. Or a third button specifically for that purpose is also an option. That would absolutely work. I would be very interested in this. I would rather have a 'claim' button to 'cash in' the gained mp if possible. I do need the base of '20' to be able to be set to different amounts based on groups set by admin. Cause not everyone gets 20. It's based on their character's races. dependent on their group... their magic pool could be 20, 16, 12, 8 or 4. If you can't make that a feature in the plugin though, that's okay. I can work around it. I can just give members strict orders that certain chars can't go above a certain mp. Just a quick update, I've been working on this plugin today and will try to finish it up tomorrow. I really only have to do the "spend" functionality. Would you like for there to be a way to specify "items" (per group, too) that could be used to spend the MP in the admin panel? Or just a simple popup with the amount they would like to spend?
|
|