There is a feature that was recently added which is the 'Edit Password' upon saving a generator that isn't yours (you are remixing another person's generator). It is for recovering/saving an edited generator without logging in (or those users that are having trouble with saving generators since the email verification is having problems). Steps: 1. Click edit in the generator you want to edit. 2. Upon saving, and **opt to create a generator** (since you can't save a generator to an account since you are not logged in), it would then give out a 'edit password'. **Remember/Save this generated string as well as the *newly* created URL (not the original one).** 3. Later on (as long as the local storage is not cleared) you can navigate again to that newly created page (while still not logged in into an account) then enter the edit password after clicking save to return back/apply your changes to the generator. ##### [A video demo of how it works.](https://streamable.com/7cbesl)

3
5
[Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    Possibly missing ending quotations?

    Before the "negative", you didn't close the quotation then you used a dot instead of a comma in transitioning to the negative

    ...
    "Style Name":{
      "prompt": "...",
      "negative": "..."
    },
    ...
    
    1
  • Glitch.me + ai-character-chat
  • VioneT VioneT Now 100%

    If you are trying to run the 'ai-character-chat' on glitch, you wouldn't be able to do so. Since AI plugins doesn't work in other domains, only in Perchance. I suggest looking into the OpenCharacters which is Perchance based off of.

    1
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    I tested it, and it seemed to be working properly, possibly something on the AI's response inside the <image> tag that borked the code?

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    Can you send me the character link again. I would assume that you do not have [input.description] on the prompt or [input.negative] on negative on the pasted style like so:

      ...
      "Professional Photo": {
        // When adding a new prompt, you need to add [input.description] to help the code know what would be the prefix and suffix of the prompt. [input.negative] is not as required.
        prompt:
          "[input.description], {sharp|soft} focus, depth of field, 8k photo, HDR, professional lighting, taken with Canon EOS R5, 75mm lens",
        negative:
          "[input.negative], worst quality, bad lighting, cropped, blurry, low-quality, deformed, text, poorly drawn, bad art, bad angle, boring, low-resolution, worst quality, bad composition, terrible lighting, bad anatomy",
      },
      ...
    
    
    2
  • Please readd the resources button in the top bar & add an option to hide the AI button in the editor
  • VioneT VioneT Now 100%

    I think frequency of access, and maybe a habit of turning to the resources page to look for the plugins/templates.

    I think that the resources page is an 'all-in-one' page for a lot of things related to Perchance that isn't on the 'tutorial'. I'll ping @eatham@lemmy.world for other opinions.

    While we're at it, maybe also create a 'notice/terms and conditions' regarding the use of AI on the platform. A lot of people are also asking for this, although I just redirect them to the AI FAQ that I compiled and directly on the plugin pages. Maybe an official one so it is compiled and in one place.

    Also, maybe a very long shot, and may be breaking for the user/account data (or maybe just tie it to local storage). An option to customize the navbar through account settings? Like we only want the 'generators', and 'hub' to button to show on the navigation as well as hiding the 'ai helper' permanently on the HTML panel than just minimizing it.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    Not sure, I don't really dabble on the NSFW content, so I won't know lmao.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    No problem! It was actually an oversight on my part lmaooo

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    Here is an updated code in the AI Artist.

    It seems that there was a problem in setting the properties in the character itself, in which those properties are already existing in the AI Artist character.

    But since you've transferred the code to another character, those properties are undefined and cannot be accessed so it cannot change it. I've managed to fix it by just setting default values.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    You can share the character link like this:

    This won't share any threads, just the character.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    I'm not really sure, have you added a new style to it, maybe some syntax errors that doesn't allow the custom code to run? Can you link a 'share link' of the character?

    I've added a fix here to not say 'AI Artist (style)' but 'Character Name (style)' and the styles should be added after clicking the button on the /change-style, although you still need to edit/create a new image to apply the style.

    Here is a video on applying the styles.

    1
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    You need to create a new image or edit the current one to apply the style.

    1
  • lemmy.world and text image generator their password same or not?
  • VioneT VioneT Now 100%

    Lemmy.world is separate from Perchance, and isn't affiliated with Perchance. It is a Federated Forum Platform, see this post for more Information about Lemmy.world.

    Perchance.org on the other hand is a platform for sharing and creating random text generators. Logging in to Perchance would allow you to save/create generators. The AI tools is just an addition to the page.

    You can use different login details on both pages.

    3
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    The custom code is written on the character itself. You can open it up by clicking the pencil icon on the thread. Here is a step by step guide to add custom codes for your character. You do not need to create a new page for it.

    Here is AI Artist v2.2 which has my vionet20-t2i-styles-importable. I've also commented on the custom code there the formatting on adding your own styles on the styles object.

    2
  • Please can someone help me with this 😭😭
  • VioneT VioneT Now 100%

    I'll also link some reddit posts that were having troubles with gibberish outputs, mainly on the ai-chat though some are on ai-character-chat:

    I haven't encountered one myself, and I'm don't really use it much.

    1
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    By editing the syntax, you mean this input fields on the character settings?

    Currently yes, after every message, it would reapply the current styles, which would remove all of the changes you have made on those inputs.

    Here is the updated character (AI Artist V2.1) that should handle those user inputs to stay. However, if you change styles, it would be overwritten by the new ones.

    If I misunderstood the request, please feel free to point me to the right direction.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT Now 100%

    Edit: Here is the updated AI Artist V2.

    There's the T2I-Artist and the AI Artist V2 in this ai-character-chat Docs. Although it is not optimal. I'm going to try refactor it and I'll update this comment after I'm done.

    2
  • Hub bug: hash in address does not open corresponding tab
  • VioneT VioneT Now 100%

    I think if it doesn't currently break, then keep it the same way XD

    1
  • Hub bug: hash in address does not open corresponding tab
  • VioneT VioneT Now 100%

    I've just added the functionality to use hashes, thanks for the suggestion. The tabs were accessible through URL params before, e.g. page=learn and for the chat rooms e.g. chat=general. Hash now takes precedence to set the tabs on load. Although the URL params would still work if no hash is provided.

    I've also added an Id to each tab so the hash would be re-added on the URL for the specific tab opened.

    1
  • Embedding one input inside another
  • VioneT VioneT Now 100%

    It seems to me you are accessing the other inputs with :? It should be [input.Lighting] not [input:Lighting] if you have an input with:

    Lighting
      label = Lighting
      type = select
      options 
        ...
    

    Also, you can have the lists in the prompt like so:

    Line-Art style
      prompt
        [input.description], (line drawing:1.8), (no gradients:1.8), clean lines, no color, black and white, visible hatching, high contrast, high resolution, high detail, intricate details, 4k, wallpaper, concept art, pen on paper, [input.Lighting != ""] ^[input.Lighting]
        [input.description], (line drawing:1.8), (no gradients:1.8), clean lines, no color, black and white, visible hatching, high contrast, high resolution, high detail, intricate details, 4k, wallpaper, concept art, pen on paper,  ^[input.Lighting == ""]
      negative = [input.negative], low-quality, deformed, text, poorly drawn, 3D, color, gradients, greyscale, shading
    

    So that you can use Dynamic Odds in selecting which prompt to use if input.Lighting was added/selected.

    You could also link the generator so we can directly see any problems.

    1
  • cross-posted from: https://lemmy.world/post/19286382 > There has been a couple of Community Events in [Casual Perchance](https://lemmy.world/c/casual_perchance) since its implementation via Lemmy World posts. > > #### What kind of events would you like to see or be part of? > > Some of the old events were: > - **Generator Jam** - like a Game Jam but with generators based on a theme > - **Plain** - create a generator that fits the specified theme > - **Useful Generators** - generators that can be imported/useful for other generators (i.e. importable lists or plugins etc.) > - **Mad Science** - not generators but anything made with Perchance Syntax. > - **Contribute to a Generator** - didn't get much traction, like a Generator Jam, but you allow others to give feedback/suggestions throughout the event to the generator you have submitted. (Might change this to just a Feedback/Suggestion Jam, submit your generators for feedback and suggestions and don't require to create a new generator) > - **Image Challenge** - Mostly AI Images generated with Perchance text-to-image-plugin based on a theme. > > Also, feel free to give any feedback or suggestions about the Community Events. Some more specific feedback/suggestion categories are: > - Length of Events > - Type/Content of Events > - Engagement or Retainability of Participants > > Note that you can **host your own Community Events**, see [this post for an explanation](https://lemmy.world/post/14744285).

    5
    0

    There has been a couple of Community Events in [Casual Perchance](https://lemmy.world/c/casual_perchance) since its implementation via Lemmy World posts. #### What kind of events would you like to see or be part of? Some of the old events were: - **Generator Jam** - like a Game Jam but with generators based on a theme - **Plain** - create a generator that fits the specified theme - **Useful Generators** - generators that can be imported/useful for other generators (i.e. importable lists or plugins etc.) - **Mad Science** - not generators but anything made with Perchance Syntax. - **Contribute to a Generator** - didn't get much traction, like a Generator Jam, but you allow others to give feedback/suggestions throughout the event to the generator you have submitted. (Might change this to just a Feedback/Suggestion Jam, submit your generators for feedback and suggestions and don't require to create a new generator) - **Image Challenge** - Mostly AI Images generated with Perchance text-to-image-plugin based on a theme. Also, feel free to give any feedback or suggestions about the Community Events. Some more specific feedback/suggestion categories are: - Length of Events - Type/Content of Events - Engagement or Retainability of Participants Note that you can **host your own Community Events**, see [this post for an explanation](https://lemmy.world/post/14744285).

    0
    0

    ![](https://lemmy.world/pictrs/image/f3889aca-b153-49a9-a9b0-2079eba7dce3.png) # Unexplored Wilderness Create generators that invoke the wilderness (nature, danger), curiosity (discovery, documentation), and adventure (heading into the unknown, trailblazing), be it fictional or non-fiction. Make generators with the lines of an odyssey to unexplored regions, mapping the vast reaches of the galaxy, or looking deep within oneself. When: `August 7, 2024 12:00PM UTC` to `August 28, 2024 12:00PM UTC` ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = Unexplored Wilderness description = Create generators that invoke the wilderness (nature, danger), curiosity (discovery, documentation), and adventure (heading into the unknown, trailblazing), be it fictional or non-fiction. type = Generator Jam image https://lemmy.world/pictrs/image/f3889aca-b153-49a9-a9b0-2079eba7dce3.png // Can be multiple pictures to randomize the banner image :) start = 07 August 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings end = 28 August 2024 12:00:00 UTC+0000 color = linear-gradient(77deg, #386945, #30aa34) rules = Make generators with the lines of an odyssey to unexplored regions, mapping the vast reaches of the galaxy, or looking deep within oneself. // For Generator Jams with Perchance URL generators // The generator's $metadata is also parsed immerse-in-senses author = Vionet20 type = Text // For Image Events images // You can request a format of other events just ask on the forum! // Banner Info: // Generator Used: text2image-generator // Prompt: a behind the character shot of a small group on high elevation overlooking an unexplored forest region, exploration, adventure, high fantasy, concept art // Negative Prompt: \[mountains, mountain ranges, high mountains, columns of rocks:0.05\] // Resolution: 768x512 // Art Style: [Vionet20-Styles] Comic/Manga Illustration ``` :::

    0
    0
    perchance.org

    **Update 4: Fixed** Update 3: It seems that changing the 'src' of the `iframe` of the embedded seems to apply the changes. Clicking on the 'Go to Event' buttons on the home tab seems to revert the page to its previous versions. A [video recording of the problem](https://streamable.com/7hpgf2). Update 2: Can confirm that the changes are reflected after a couple of minutes, for now. Update: The embedded page has now reflected the changes. Will monitor if any other changes are immediately (or at least after a little bit of time) reflected. I'm posting again to re-open a previous bug. Previous Post: https://lemmy.world/post/15639946 Currently, the [/hub](https://perchance.org/hub) where the [/hub-events](https://perchance.org/hub-events) is embedded to, doesn't have the updated /hub-events page. I've updated the code in the /hub-events last July 25. But currently, the change to it isn't reflected on the embedded /hub-events on the /hub at the [Events tab](https://perchance.org/hub?page=events). Last time, it updated itself after a few minutes, but now two days have passed it hasn't updated yet.

    3
    4

    ![](https://lemmy.world/pictrs/image/9688ee6a-de53-4c57-925f-0473df2cbda2.png) # What Came Before? Ever wondered what is the past of your characters? What happened to the world before? Or you just want to time travel the past? Generator Jam for July would be about the past! Create generators that generate backstories, alternate history, travelling to the past, and others! When: `July 8, 2024 12:00PM UTC` to `July 29, 2024 12:00PM UTC` ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = What Came Before? description = Generator Jam for July - What Came Before? Create generators that generate backstories, alternate history, travelling to the past, and others! type = Generator Jam image https://lemmy.world/pictrs/image/9688ee6a-de53-4c57-925f-0473df2cbda2.png // Can be multiple pictures to randomize the banner image :) start = 8 July 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings end = 29 July 2024 12:00:00 UTC+0000 color = linear-gradient(157deg, #03355b, #ecdb96) rules = Create Generators that are about the Past! // For Generator Jams with Perchance URL generators // The generator's $metadata is also parsed // For Image Events images // You can request a format of other events just ask on the forum! ``` :::

    0
    0

    There seems to be a `overflow` issue on the `comments-plugin`'s settings and fullscreen buttons. ![](https://lemmy.world/pictrs/image/bb69f077-9387-4405-b158-389c20f044cc.png)

    5
    4

    ![](https://lemmy.world/pictrs/image/e5a38895-65b6-468e-80f7-e2a1fa609c30.png) # Importables Do you have ideas for lists, plugins, or templates that can be used by others? Now is the time to create it! 'Importables' Generator Jam! Useful Generators, Plugins, HTML Widgets, CSS Styles. Generators that can be imported to other generators! When: `June 10, 2024 12:00PM UTC` to `June 28, 2024 12:00PM UTC` > Thank you NecoBridge for the theme suggestion! ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = Importables description = Do you have ideas for lists, plugins, or templates that can be used by others? Now is the time to create it! 'Importables' Generator Jam! type = Generator Jam image https://lemmy.world/pictrs/image/e5a38895-65b6-468e-80f7-e2a1fa609c30.png // Can be multiple pictures to randomize the banner image :) start = 10 June 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings end = 28 June 2024 12:00:00 UTC+0000 color = linear-gradient(231deg, hsl(127 0% 61%), hsl(201 17% 31%)) rules = Create Generators that can be imported! Plugins, Lists, HTML Templater, CSS Styles // For Generator Jams with Perchance URL generators // The generator's $metadata is also parsed simple-toc-plugin author = Vionet20 type = plugin rainbow-plugin2 author = thatOnePerchanceGuy type = plugin no-reason-js author = thatOnePerchanceGuy type = plugin power-rain-plugin author = Bluepower type = plugin perchance-author author = Eatham type = plugin // For Image Events images // You can request a format of other events just ask on the forum! ``` :::

    0
    0

    Not sure when this problem happened, but if you take a look at https://perchance.org/a-testing-gen which has an embedded Perchance page to https://perchance.org/b-testing-gen, the changes on the embedded generator /b-testing-gen, isn't applied on the iframe on /a-testing-gen. I've tried disabling the cache on DevTools, reloaded both gens (and saved them again) and the changes on /b-testing-gen isn't applied on the /a-testing-gen.

    4
    4
    perchance.org

    #### [Improved Make Table Plugin](https://perchance.org/improved-make-table-plugin) This is a modification of the [make-table-plugin](https://perchance.org/make-table-plugin) with added features: - Row Heights (option to change heights of each row) - Row Alignments (option to change the alignment of the text in the row) - Header Rows (makes the first row of the table bold, and an option to stylize it) - Footer Rows (last row bold, and option to stylize it) - Column Header (bold first column of the table, and option to stylize it) - Caption (adds a Caption to the table, with option to place it at the top, and at the bottom, and to stylize it). Here is an example of a table that can be made from it: ![](https://user-uploads.perchance.org/file/7cd5a4bb541a58ea9bf1f92b7691b0c2.webp) I've also created a Helper to help create tables with the plugin at [Improved Make Table Plugin Helper](https://perchance.org/improved-make-table-plugin-helper).

    2
    0

    Suppose we have the following list: ```plaintext createInstance = {import:create-instance-plugin} person name = [this.nameList] nameList Salman Manny Rhian age = {31-49} child = [this.child_obj] child_obj name = [this.nameList] nameList Anne Arram Amelia age = {3-17} ``` If we output: ```text [p = createInstance(person, "deep"), p.name] [p.age] [p.name] [p.age] ``` We can see that it has fixed the `name` and the `age` property on the instance. However, if we output: ```text [p = createInstance(person, "deep"), p.child.name] [p.child.age] [p.child.name] [p.child.age] ``` It would throw `undefined`. Now looking at similar list: ```text person name = {Salman|Manny|Rhian} age = {31-49} child = [this.child_obj] child_obj name = {Anne|Arram|Amelia} age = {3-17} output [p = createInstance(person, "deep"), p.child.name] [p.child.age] [p.child.name] [p.child.age] ``` This would have the values fixed and working. Looking at the code of the `create-instance-plugin`, it would only allow the 'deep' fixing of properties **if** there isn't any items/lists in it. What that means is the following: ```text child_obj name = [this.nameList] nameList Anne Arram Amelia age = {3-17} ``` This object/list, has a list ( `nameList`) within it as well as properties (`name` and `age`), while: ```text child_obj name = {Anne|Arram|Amelia} age = {3-17} ``` Only has properties. and based on `Line 22` of the `create-instance-plugin`: ```js ... } else if(propValue.getPropertyKeys && propValue.getPropertyKeys.length > 0 && propValue.getLength === 0) { ... ``` If the list to be fixed has a list within it other than the properties i.e. `propValue.getLength` is not zero, then it wouldn't fix the properties within it. The first `child_obj` has a `nameList` with it, and upon calling `propValue.getLength` it would have `1` while the second `child_obj` will return a `propValue.getLength` of `0` since it doesn't have any lists. Thus, the solution for the problem is just removing the `propValue.getLength === 0` check OR create another check without it. --- TLDR; `propValue.getLength === 0` at `Line 22` of the [create-instance-plugin](https://perchance.org/create-instance-plugin) can be removed to allow properties that rely on same level lists to be fixed. [Here is the demo of the problem](https://perchance.org/vnm320e3k6) with a 'remixed' create instance plugin with the fix.

    5
    6

    I've been made aware that the [code](https://rentry.org/eam24g79) I've written to access text-to-speech from ElevenLabs API is no longer working. I've tested it and it seems that the CORS-Proxy that is being used in `ai-character-chat` currently doens't allow `POST` methods (which is being used to 'post' the text to be 'spoken' in ElevenLabs). Not a major/priority issue but might be nice to be fixed. I also wonder how many are using text to speech (even just using the [Speech Synthesis code](https://user-uploads.perchance.org/file/a0da0da67fe07f8ad9981ef3665d12fb.txt)) in the `ai-character-chat`....

    4
    19

    Found out about this possible improvement to the [URL Params Plugin](https://perchance.org/url-params-plugin) in which you currently **cannot** pass through URL params in the `null.perchance` domain in an `<iframe>` i.e. it doesn't parse the passed through parameters. I was able to pass through parameters in an iframe in the normal `perchance` domain, but without the `null` part, it has the navigation bar and seems to mess up the CSS. I'm currently applying it to 'navigate' from the 'Home' tab of the hub to the 'Events' tab, then select the appropriate events page using the URL params.

    7
    3

    cross-posted from: https://lemmy.world/post/14744285 > I've mentioned this [on another post](https://sh.itjust.works/comment/11155328), but I'll create a new thread to hear other opinions. > > I'm proposing to have the **Community Events on Perchance Hub be hosted on this Lemmy Community.** > > To accomplish this, the **Forms** tab on the Perchance Hub would be changed to **Events** tab. It would host the Event posts from this community. > > That is, **anyone** can post an Event thread here and it would be **mirrored** on the Perchance Hub. > > Technical Notes: The posts here would be retrieved (via the Lemmy API) and the posts would be filtered to events only. The Event posts will then be parsed and neatly displayed on the Perchance Hub. This would mean that the posts would have a **template** to follow. > > This is so that **anyone** is welcome to create Events and those Event makers would be the ones who will **manage** their own events (no longer needing to wait the Perchance Hub update). > > This way, there could be different events running, managed by different people, with different topics, event types, and limitations/rules and to update the details on the Perchance Hub, the event creators can just **edit** the event posts and it would reflect on the Hub. > > Not yet sure about what details would be on the Perchance Hub. But something like [@BluePower](https://sh.itjust.works/u/BluePower)'s [Upcoming Events Page](https://perchance.org/power-generator-manager-preview?page=events) might be a good format/structure to remix with (although the comments plugin on each event on Perchance Hub might not be used since the Event Post already have a comments/thread to talk with). > > Technical Notes: The mirrored details can probably include a cover image, ability for the creators to change the colors on the Hub, specify if it is an 'image' event, 'generator/page' based event, etc., so the formatting on the Hub would be nice. > > In Summary: > - Community Events will be hosted in https://lemmy.world/c/casual_perchance > - Events are now hosted/managed by Event Creators > - The posts would have a (somewhat strict) template to nicely structure them on the mirror on the Perchance Hub. > - Events can simultaneously ran by different people, with different topics, event types, limitations or rules. > - Events can be updated by the Event Creator > - Event Details and Content / Template Format is not yet decided > - Format in the Perchance Hub is not yet designed. > > Additional Notes: > - With this, I might remove the 'announcement modal' on the hub upon first visit (or when there is update to it) to remove the clutter. > - Might also implement a dark mode to the Hub. (will require quite an overhaul on the hub page) > - Might dynamically add the Event's banner on the Home Page for each event (with the most recent and about to end event on the top). > - I currently do not have a stable internet so these changes might take a while to implement xD

    7
    6

    I've mentioned this [on another post](https://sh.itjust.works/comment/11155328), but I'll create a new thread to hear other opinions. I'm proposing to have the **Community Events on Perchance Hub be hosted on this Lemmy Community.** To accomplish this, the **Forms** tab on the Perchance Hub would be changed to **Events** tab. It would host the Event posts from this community. That is, **anyone** can post an Event thread here and it would be **mirrored** on the Perchance Hub. > Technical Notes: The posts here would be retrieved (via the Lemmy API) and the posts would be filtered to events only. The Event posts will then be parsed and neatly displayed on the Perchance Hub. This would mean that the posts would have a **template** to follow. This is so that **anyone** is welcome to create Events and those Event makers would be the ones who will **manage** their own events (no longer needing to wait the Perchance Hub update). This way, there could be different events running, managed by different people, with different topics, event types, and limitations/rules and to update the details on the Perchance Hub, the event creators can just **edit** the event posts and it would reflect on the Hub. Not yet sure about what details would be on the Perchance Hub. But something like [@BluePower](https://sh.itjust.works/u/BluePower)'s [Upcoming Events Page](https://perchance.org/power-generator-manager-preview?page=events) might be a good format/structure to remix with (although the comments plugin on each event on Perchance Hub might not be used since the Event Post already have a comments/thread to talk with). > Technical Notes: The mirrored details can probably include a cover image, ability for the creators to change the colors on the Hub, specify if it is an 'image' event, 'generator/page' based event, etc., so the formatting on the Hub would be nice. In Summary: - Community Events will be hosted in https://lemmy.world/c/casual_perchance - Events are now hosted/managed by Event Creators - The posts would have a (somewhat strict) template to nicely structure them on the mirror on the Perchance Hub. - Events can simultaneously ran by different people, with different topics, event types, limitations or rules. - Events can be updated by the Event Creator - Event Details and Content / Template Format is not yet decided - Format in the Perchance Hub is not yet designed. Additional Notes: - With this, I might remove the 'announcement modal' on the hub upon first visit (or when there is update to it) to remove the clutter. - Might also implement a dark mode to the Hub. (will require quite an overhaul on the hub page) - Might dynamically add the Event's banner on the Home Page for each event (with the most recent and about to end event on the top). - I currently do not have a stable internet so these changes might take a while to implement xD

    1
    0

    Here is my attempt on modifying the [`tabs-plugin`](https://perchance.org/tabs-plugin) to allow 'Nested' Tabs. Link to the [Modified Plugin](https://perchance.org/e9ik1pgg7l#edit). [Demo Generator](https://perchance.org/gea0vpav7r#edit) using the modified plugin. > This was made to address the problem of SynthAce (asked at the [Perchance Hub - Learn Tab](https://perchance.org/hub?page=learn)) ::: spoiler Technical Notes - I have reverted the 'minified' `window.Tabs` function to the un-minified to learn more about how the function works. > The code is originally from [Zoltantothcom's Vanilla JavaScript Tabs Project](https://github.com/zoltantothcom/vanilla-js-tabs) - On the `let titles` code, I have removed the `onclick` on the `<li>` elements as removing them didn't have any impact on the plugin. I have also added a dataset attribute `tablist` on the `<a>` elements inside the `<li>` elements which will be the `tabListKey` (this is important to only reset the current tab's list and not all the tabs). - On the `let contents` code, I've also renamed the `data-belongs-to-tab-list` to just `data-tablist`. - On the main div with class `tabs-plugin`, I've also added the `data-tablist` to specify which tab has which key. - On the reverted `Tabs` function, I've added a `tabList` variable which is taken from the tab list key of the main tab element. - I've modified the `reset` function to pass through the tab list key to only reset the tab with the same keys, preventing resetting of the other tabs. It uses the `querySelectorAll` and selects only the items with the specified tab list key. - I've also modified the `onClick` function to pass through the tab list key to only update ( and reset ) the specified tab. Since previously it would update **all** tabs which causes problems in nested tabs. :::

    4
    1

    [@perchance@lemmy.world](https://lemmy.world/u/perchance) - pinging dev :) Here is my implementation of 'remembering' the resized size of the `textarea` inputs. It is using the `ResizeObserver` ([documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)) and will only observe `textarea` elements with `resize` style property enabled. It is enabled with the `@inputs`: ``` [remember(root, "@inputs")] ``` **EDIT**: It would only save the resized size **if you have inputs** on the textarea. **EDIT 2**: Fixed width responsiveness (for elements with `width: 100%; max-width: ... ; resize: vertical` where if the width gets lower than its maxed, it would save the width and fix the size without option to resize it back (since it is only `resize: vertical`). It now only saves the resizable direction i.e. height if resize is `vertical` and vice versa. For `both` or normal `textarea` it would save both width and height. Here is the modified plugin: https://perchance.org/t2w8fixecn Here is an example of it: https://perchance.org/5tfbmi0gtc

    4
    4

    Due to the number of similar questions about the AI tools, here is a compiled list of frequently asked questions about the AI tools in Perchance. # [Perchance AI FAQ](https://rentry.org/perchance-ai-faq) Please read it carefully and if you have any questions that isn't mentioned there, you can comment here.

    5
    0

    On the `ai-text-plugin`, there is a way to get the inputs that were sent to the AI using the `onStart(data)` function: > `onStart(data)` - the code you put in this will run at the start of the generation process. You can access the inputs being used with `data.inputs.instruction`, `data.inputs.startWith`, etc. I am wondering if we could also get the same for the `text-to-image-plugin`? It can be either on the `onStart(data)` or on the `onFinish(data)` in which we can get the inputs/static values that were used for the response of the AI e.g. `data.inputs.prompt`, `data.inputs.negativePrompt`, etc. With this, some features that can be implemented is a *local history of past generations*, in which the previous inputs were temporarily stored in the storage (or on the local storage so even if the page reloaded, the history is saved), then the users can revisit the previous generations (I have set up something similar like this on my text to image generators but they have some hacks to work). This is not really a priority but might be good to have. Thanks!

    6
    19
    https://www.reddit.com/r/perchance/comments/1ajj91l/false_positives_regarding_adblocker_still_an_issue/

    Posted from Reddit https://www.reddit.com/r/perchance/comments/1ajj91l/false_positives_regarding_adblocker_still_an_issue/

    5
    4
    VioneT Now
    43 435

    VioneT

    VioneT@ lemmy.world

    Doing Perchance.org things...

    Links