So I've decided to get a Disqus account to encourage some more reader feedback. The issue being that the CG index/main page is not very Disqus-friendly. What I mean is that Disqus creates a comment string based on the URL of the page you are commenting on. For the archives, this is great, because everything has it's file-name-date URL, however for the index page this doesn't work. The Index page changes every time you update content wise, but the URL doesn't change. so the place where people are most likely to comment, the newest update, would just be overflowing with comments which do not get synced up with their appropriate page. If you click on the appropriate calendar date, you can kind of force your way past this as it brings you directly to it's dailytemplate URL. But I don't think people will be likely to do this.

In an attempt to work around this, in Siteadmin I changed the index.html template to read from dailytemplate.html instead, and then attempted to change the first page people see from index.html to dailytemplate.html again. I hoped that this would automatically redirect my page to the one with the most current dailytemplate date. But it hasn't. I'm not very good with coding, only being vaguely acquainted with html and pretty much not at all with the other languages. Is there some other option that anyone can think of that will allow me to have page-specific user comments on the front page?

Val'Cielle - A post-apocalyptic winter, a dragon goddess, and people who aren't happy about either.All Rose Have Thorns (NSFW) - A story about angsty, pansexual vampires, and the ghosts, faeries, and people that surround them.

A friend and I may have actually figured this out. I'll update tomorrow if every goes accordingly. Maybe it'll help someone else looking to get disqus.

Val'Cielle - A post-apocalyptic winter, a dragon goddess, and people who aren't happy about either.All Rose Have Thorns (NSFW) - A story about angsty, pansexual vampires, and the ghosts, faeries, and people that surround them.

To successfully use Disqus if you are code retarded there are two ways to do it. You will be using the universal code option in both attempts. One, you can install the Disqus code as is right into your Daily Template. This will generate separate comment threads into all of your archived pages but not on your main page. If you put the Disqus code into indextemplate without changing the var disqus_identifier or the var disqus_url, all of the comments made on the index page will stay on the index page and not get bumped off to their correct updates.

The second way is to do some minor code editing! Specifically this line: var disqus_url = 'http://example.com/permalink-to-page.html';

If you name your files YYYYMMDD.extension (ex. 20110625.jpg) this will work. If not, fuck I dunno? Anyway, Your code will change to: var disqus_url = 'http://userinfo.comicgenesis.com/d/***raw_date***.html'; where userinfo is your comicgen name, right? SO EASY OMG. The raw date tag inserts the correct file name right into all of your daily template and index template pages! It is amazing! So easy!! Make sure to have that line edited in both index and daily templates, and you are SET. (and run a FULL UPDATE in Siteadmin)

An alternative method, if you don't name your files YYYYMMDD, you can TRY to to change the other Disqus ID that attaches to a specific page. The code is here: var disqus_identifier = 'unique_dynamic_id_1234';, but you could replace the entire unique dynamic ID with either the ***raw_date*** tag, or the ***todays_date*** tag. However, I had a little bit of trouble when I tried this first. It could be because in attempting to test it I deleted the most current update, put it back, and ended up confusing the system majorly. If you don't delete your most current updates it MIGHT work, but no guarantee by me. Alternatively, if you know PHP or Javascript, there's some kind of fancy coding you can do, but I'm stupid in that area so this is the way to go for me!

Val'Cielle - A post-apocalyptic winter, a dragon goddess, and people who aren't happy about either.All Rose Have Thorns (NSFW) - A story about angsty, pansexual vampires, and the ghosts, faeries, and people that surround them.

I've been using IntenseDebate, and it has worked out very well. The comments on the index page wouldn't stay with the comic, so I put a link on the index page to the archived page and now the comments stay were they should. I know I could fix it with some code, but I got lazy and it works, so it's good.

Glad to hear Discus is indeed working on CG, however it is assumed it is going to be a rough go, on index. Of course you can use the archive pages as active comic pages too. I've seen loads of people do that. Have them click into the current comic page.

<KittyKatBlack> You look deranged. But I mean that in the nicest way possible. ^_^;

To successfully use Disqus if you are code retarded there are two ways to do it. You will be using the universal code option in both attempts. One, you can install the Disqus code as is right into your Daily Template. This will generate separate comment threads into all of your archived pages but not on your main page. If you put the Disqus code into indextemplate without changing the var disqus_identifier or the var disqus_url, all of the comments made on the index page will stay on the index page and not get bumped off to their correct updates.

The second way is to do some minor code editing! Specifically this line: var disqus_url = 'http://example.com/permalink-to-page.html';

If you name your files YYYYMMDD.extension (ex. 20110625.jpg) this will work. If not, fuck I dunno? Anyway, Your code will change to: var disqus_url = 'http://userinfo.comicgenesis.com/d/***raw_date***.html'; where userinfo is your comicgen name, right? SO EASY OMG. The raw date tag inserts the correct file name right into all of your daily template and index template pages! It is amazing! So easy!! Make sure to have that line edited in both index and daily templates, and you are SET. (and run a FULL UPDATE in Siteadmin)

An alternative method, if you don't name your files YYYYMMDD, you can TRY to to change the other Disqus ID that attaches to a specific page. The code is here: var disqus_identifier = 'unique_dynamic_id_1234';, but you could replace the entire unique dynamic ID with either the ***raw_date*** tag, or the ***todays_date*** tag. However, I had a little bit of trouble when I tried this first. It could be because in attempting to test it I deleted the most current update, put it back, and ended up confusing the system majorly. If you don't delete your most current updates it MIGHT work, but no guarantee by me. Alternatively, if you know PHP or Javascript, there's some kind of fancy coding you can do, but I'm stupid in that area so this is the way to go for me!

I'm confused about how to insert the code into the template files. Could some one post an example? Um before showing the example, my pages have their names going, YYYYMMDD.

...Due to that reply I guess I've greatly mistaken what was being talked about in this thread.

Off subject now I think, is it possible to code a site into allowing people to comment on it? Each comic page, on that page having feed back on it? I wouldn't think this to be a matter to question except for the fact our sites use more than one index to work.

lightbulbs wrote:...Due to that reply I guess I've greatly mistaken what was being talked about in this thread.

Off subject now I think, is it possible to code a site into allowing people to comment on it? Each comic page, on that page having feed back on it? I wouldn't think this to be a matter to question except for the fact our sites use more than one index to work.

That's what this thread is about.

The problem with just entering the code as a website like, say, Disqus gives you, is the way the comic genesis update generates each archival page for you. In order for the comment code to work, you'd need to put in the exact URL for each individual page.

Each past page in your ( or anybody's here) comic ends with [the file name of that strip].html. Remember, the file names are YYYYMMDD. The code for inserting YYYYMMDD is the raw date code mentioned above. By putting "http://whateverthecomicis.comicgenesis.com/d/***raw_date***.html" into the code for Disqus or other comment code, that will insert the YYYYMMDD into the URL for you, replacing ***raw_date*** with, for instance, 20111024. That way, comments made on that specific page will remain on that specific page. Otherwise, every comment on the index page (the first page you see when you click a site) would always stay on the index page, and would not be connected to the actual strip the comment was intended for. This allows the comments to stay connected to the strips they were intended for, instead of forever remaining on the main page and looking out of context.

I'm sure that is understood by some but not me. I can't even comprehend how to type that. Such code couldn't be put in either of the indexes because they're consistent. The only guess I have which is likely wrong is putting the code into the image file properties of the file labeled YYYYMMDD.

lightbulbs wrote:I'm sure that is understood by some but not me. I can't even comprehend how to type that. Such code couldn't be put in either of the indexes because they're consistent. The only guess I have which is likely wrong is putting the code into the image file properties of the file labeled YYYYMMDD.

I typed up a very long explanation but then the forum ate it.

Let me try this again.

In this thread we are discussing, as you said, how to add in code to our sites so that people can comment on individual comic pages.

Disqus is a site that is not associated with ComicGenesis. In order to use it, one needs to sign up there and enter some information about one's website. After one does this, Disqus provides the user with a code that can be added in to that user's website templates to allow a commenting area.

The trouble is that the code Disqus gives you requires you to put into your template the exact URL of the pages you want the comment area to appear on. However, on ComicGenesis, our archival pages are created for us. All we have to work with are the daily and index template.

You are right about both the daily and index template being consistent. This is where ***raw_date*** helps. Since we cannot go in and add in each URL for every single comic page, we use ***raw_date*** to do the job for us.

***raw_date*** is a KeenTag that inserts the date of a particular comic in the form of the file name. You remember that each comic file is labelled 20111024.jpg.

Let's say that you inserted the code ***raw_date*** into your daily template file. Let's say that you put it underneath where you have the code ***todays_comics***.

Now let's also say that you have a long archive, and you decide to go back to, just for instance, November ninth, 2009.

You are looking at the page for November 9, 2009. You scroll down and underneath your comic you would see the phrase "20091109." This is because ***raw_date*** would display the file name of that comic.

I hope this is clear so far.

Here is how ***raw_date*** helps us with the code that Disqus would give us.

We'll speak hypothetically again. Let's say you sign up with Disqus, fill out your information, fill out the information about the comic you'll be using the code for, whatever it is you need to do. Now you've signed up, and Disqus displays, in text, a code that you copy and paste into your daily and index template files in accordance with the directions that Disqus provides.

You put this into your index AND daily template files. You must put it in both, and must include ***raw_date*** in both. By including it even in the index template, you make it possible for comments made on today's comic to stay stuck to today's comic, even as you update and add more. If you did not put ***raw_date*** into the Disqus code into the index template, all comments made onto the index page (which would be http://blbllb.comicgenesis.com) would forever stay on the index page and would not stay with the comic they were directed toward.

Not speaking hypothetically anymore. Right now, you cannot do this, because you have not signed up with Disqus and received the necessary code and instructions. You would need to do that before ***raw_date*** would be of any use to you in this context.

You've been having a lot of trouble with code, though, and I would recommend waiting until you are more comfortable before you try to implement this.

The only thing you need to take into account is that the "today" page will result in comments for index.html not TODAY day. So you just fix this by putting a link to the /d/ page for TODAY instead. The same works for any other third party commenting. Use ***raw_date*** to get today's date.

The only thing you need to take into account is that the "today" page will result in comments for index.html not TODAY day. So you just fix this by putting a link to the /d/ page for TODAY instead. The same works for any other third party commenting. Use ***raw_date*** to get today's date.

Thank you for replying I thought no one cared to help me fix this dilemma . I've read over your closing comment a few times and still don't understand what it implies. I get the first halve, just not the fix. Could you please clarify it further? Just the second halve, not the first.

The only thing you need to take into account is that the "today" page will result in comments for index.html not TODAY day. So you just fix this by putting a link to the /d/ page for TODAY instead. The same works for any other third party commenting. Use ***raw_date*** to get today's date.

Thank you for replying I thought no one cared to help me fix this dilemma . I've read over your closing comment a few times and still don't understand what it implies. I get the first halve, just not the fix. Could you please clarify it further? Just the second halve, not the first.

I never really understand what Kisai says. My Dyslexia blanks in out much as it does the King James Bible. That said I'm not sure what exactly you don't understand either, so I might be teaching you to suck eggs.

I think the point is this. When you upload a new comic to your page it makes an archive page for it then and there. Normally you don't see that page because your new comic appears on the home (index) page but its there. If you type the address of your comic in http://[whatever].comicgenesis.com then add /d/[the date you updated] it'll take you there. So if you have Disqus on all you archive pages it will have it on there for your new comic.

Obviously that doesn't help because most people wont see that page but if you use the tag ***raw_date*** in a link: http://[whatever].comicgenesis.com/d/***raw_date*** then it will take your user to the hidden page and therefore to your comments.