Entrance Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
June 28, 2025 - @50.75 (what is this?)
Activity rating: Four Stars Posts & Arts: 63/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :happy:  :pc: There are community newsletters here! :pc: :happy: Super News: Upload a banner!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  Rarebit 'Archive' section help needed


« previous next »
Pages: [1] Print
Author Topic: Rarebit 'Archive' section help needed  (Read 147 times)
94673
Casual Poster ⚓︎
*


⛺︎ My Room
Itch.io: My Games

View Profile WWW

Joined 2024!
« on: June 19, 2025 @262.19 »

hi everyone,

I've been trying to use Rarebit for my webcomic but I can Not figure out what I've done with the archive as it's totally messed up now...


you can see on the page here <<- warning for flashing! here, and as you can see it's just gone completely haywire and I've no clue how to fix it really. I only want the 'chaptered' archive and not all of the other ones, and I'd also prefer if it wasn't constantly flashing because it hurts my eyes a bit. Does anyone know what I should do? I saw one person give a fix for this on Reddit but I'll be honest their message was really unclear and I am very stupid. and even if I do get the chaptered layout I can't see in the js file anywhere how to divide the pages into chapters anyhow so if you know how to fix that too it'll be literally lifesaving thank you

if you need any other screenshots or links or what have you please let me know. I'm so tired 

edit also if anyone knows how to stop it from saying 'AUTHORS NOTE' in massive text at the bottom of each page also that'd be grand. I'm at my wits end really /dramatic
« Last Edit: June 19, 2025 @530.46 by 94673 » Logged

tarraxahum
Full Member ⚓︎
***


Xx_O_o_xX

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tarraxahum
iMood: tarraxahum
Matrix: Chat!

View Profile WWW

First 1000 Members!Joined 2022!
« Reply #1 on: June 20, 2025 @543.10 »

Okay full disclosure, it's been a while since I've installed Rarebit and figured out all these quirks myself, so I'm mostly going by comparing your code and mine. I also use the chaptered approach, so hopefully that helps.

I am not entirely sure about the flashing, here's hoping it maybe gets fixed if we manage to fix everything else

So first of all, I seem to have thrown out this part entirely

Code
 <div class="chrono">
            <h2>Chronological Order</h2>
        </div>

        <div class="lastfirst">
            <h2>"Latest First" Order</h2>
        </div>

Because really if you only need the chapters, then you don't need these two things.

Then, in another file, comic_archive.js

I think you also need to throw out this part

Code
writeArchive(
    "chrono", //class of the div that you want this section of the archive to appear in. to have it be on your html page, make an empty div with this class.
    1, //earliest page to list
    maxpg, //latest page to list. setting to maxpg will make it automatically update with the latest page
    -1, //if set to 0, list is displayed "latest first". if set to -1, list is displayed chronologically
    false, //if set to true, each comic will have its own thumbnail image next to it. if a comic doesn't have its own thumbnail, it'll be set to the default thumbnail.
    true //if set to true, each comic will have a display number
);

writeArchive("lastfirst", 1, maxpg, 0, true,true);

For the same reason, so that only the chapter parts are left. I honestly hope that that fixes the flashing...

And then lower where you have

Code
writeArchive("chapter1",1,3,-1,false,true)

Because you have it "false, true" and the rest of them "false,false" is the reason why chapter one is numbered and the rest of them aren't, which makes them look additionally chaotic. And idk if that really matters but this line is also missing a ";" at the end.

I will be honest, I believe I remember having some struggle with this part too, and I think what worked (for some reason) is just. Copypasting this ENTIRE thing every time I need to create a new chapter, with line breaks and comments and everything:

Code
writeArchive(
    "chapter2", //class of the div that you want this section of the archive to appear in. to have it be on your html page, make an empty div with this class.
    42, //earliest page to list
    66, //latest page to list. setting to maxpg will make it automatically update with the latest page
    -1, //if set to 0, list is displayed "latest first". if set to -1, list is displayed chronologically
    true, //if set to true, each comic will have its own thumbnail image next to it. if a comic doesn't have its own thumbnail, it'll be set to the default thumbnail.
    true //if set to true, each comic will have a display number
);

(^ it's mine, change the numbers and true/falses back to yours)

Because for some reason every time I tried to write a small neat "writeArchive("chapter2", 4, 9, -1, false,false);" (<-- like yours) something broke.

So if nothing else helps, try that?  :ohdear:

----

And if you want to get rid of the AUTHOR'S NOTES you gotta open the html file of your comics main page (/writing/xmen/index.html in your case) and tweak this section:

Code
<div id="authorNotes">
    <h2>Author Notes</h2>
    <!-- write the author notes for the current page-->
    <div class="writeAuthorNotes"></div>
  </div>

Either delete the words or the entire section if you don't want the notes as a function entirely.

I don't know how well I am explaining, but hopefully any of this helps?.. Feel free to ask for any clarifications in case mine are also hard to understand.
Logged



"Why change the past, when you can own this day?" (c)
94673
Casual Poster ⚓︎
*


⛺︎ My Room
Itch.io: My Games

View Profile WWW

Joined 2024!
« Reply #2 on: June 20, 2025 @698.80 »

@tarraxahum

thank you SO much for being willing to help, I'm super happy and the authors note thing fixed it, thank you :) I can't believe I missed that aagh

on the other end... I seem to have broken the archive function completely and not even restoring the js to the original file seems to fix anything... ah, well, at least it isn't flasing anymore?  :ohdear:

that wasn't anything you did wrong though, I must've followed some instruction wrong... ahh this is so frustrating. I have no idea how I managed to break it.
Logged

tarraxahum
Full Member ⚓︎
***


Xx_O_o_xX

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tarraxahum
iMood: tarraxahum
Matrix: Chat!

View Profile WWW

First 1000 Members!Joined 2022!
« Reply #3 on: June 20, 2025 @819.07 »

on the other end... I seem to have broken the archive function completely and not even restoring the js to the original file seems to fix anything... ah, well, at least it isn't flasing anymore?  :ohdear:

Are you sure though? When I click on the link the archive is displayed properly and all the links lead where they're supposed to!

Maybe neocities just wasn't updating the page properly for you?
Logged



"Why change the past, when you can own this day?" (c)
94673
Casual Poster ⚓︎
*


⛺︎ My Room
Itch.io: My Games

View Profile WWW

Joined 2024!
« Reply #4 on: June 20, 2025 @882.58 »

Are you sure though? When I click on the link the archive is displayed properly and all the links lead where they're supposed to!

Maybe neocities just wasn't updating the page properly for you?

holy hell. I just checked again because of this notif on melonland and it works now????

you are a sorcerer or something, I just know it  :wizard:

no but seriously thank you very much for the help today c:  I was just so idk I couldn't think anymore. thank you  :4u:
Logged

tarraxahum
Full Member ⚓︎
***


Xx_O_o_xX

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tarraxahum
iMood: tarraxahum
Matrix: Chat!

View Profile WWW

First 1000 Members!Joined 2022!
« Reply #5 on: June 21, 2025 @11.74 »

no but seriously thank you very much for the help today c:

Yuppie, glad it works! I don't get to help out too often, usually I'm the one going around asking questions, so it's my pleasure to be the sorcerer for once :3 Good luck with your site and your comic!
Logged



"Why change the past, when you can own this day?" (c)
Pages: [1] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi