Forum > Search results
Pages: 1 2
"Problem with Avatar code on blog page", 31st Aug 2015, 7:16 AM #1
User avatar
I ran into a strange problem with my code.
Apologies if this is a noobish problem but, I went to update my avatar for the site. And upon the refresh, the icon appeared fine on my profile, fine on the artist comments under actual comic pages. But in the blog area of my site, the image broke and the line that [v:l.avatar] created for it instead leads to a 404 page instead of my avatar.

The code is formatted in the exact same way as it is for the Artist's Comments section so I don't understand what's causing it to lead to the wrong url. It should be leading to 10116_412783.png, but instead upon inspecting element it leads to 10116_791371.png. Which is nonexistent. Is this variable broken if used out of specific context?

Merged Doublepost:

Creating a new blog entry fixed the issue. Not sure if it was just a random bug or not. Strange.
_______________________
21st Aug 2013, 11:15 PM #2
User avatar
Ooooh, I got all confused about [v:l.number] when fiddling with the archive code and I was trying to get it to work with [v:l.comicnumber] but nothing happened and I had to back up and restore the layout to look at the original variable, it wasn't listed anywhere so I thought it was just a typo.
_______________________
21st Aug 2013, 10:44 PM #3
User avatar
Oh, dang that should be put on the big stickied variable list. Can't wait to get rid of that icky script.

Also a thing I noticed wrong with that variable list was that [v:comicnumber] should be changed to [v:number] because with comic in there it doesn't do anything.

Is there an actual updated variable list somewhere? Cause that'd be really helpful.
_______________________
20th Aug 2013, 4:18 AM #4
User avatar
Biophysicist:There doesn't appear to be such a code. However, there is still a way to do this! It's kind of obnoxious though.

[c:l.newchapter]
[c:l.chaptername=Name of chapter 1]<img src="path to first chapter image">[/]
[c:l.chaptername=Name of chapter 2]<img src="path to second chapter image">[/]
[c:l.chaptername=Name of chapter 3]<img src="path to third chapter image">[/]
[/]


That's the point, I'm asking if Kyo could create this variable if it's not too much trouble/work.
Well that would do the same thing, it wouldn't really be as efficient. I'll keep it in mind as a backup though, thanks!
_______________________
"Chapter number variable? (Solved)", 20th Aug 2013, 3:58 AM #5
User avatar
Edit* My buddy managed a workaround with some JS to fix the underscore problem without touching the chapter names so we don't really need the variable anymore apparently, sorry.

Our quick fix:


function removeUnderscore() {
  var list = document.getElementsByClassName("chapt_img");
  for(var i=0;i<list.length;i++) {
    list[i].src = list[i].src.replace(" ","_").toLowerCase();
  }
}
removeUnderscore();


For this fix to work you would need to have all images have "class='chapt_img'"

I'm working on my Archive page with a friend, setting up some fancy Jquery stuff and I wanna replace the chapter titles with images, while still looping everything.

The problem is with the [v:chaptername] variable, I'd need to name the image files the same as the chapter names, but the extra files uploader changes space into underscore. Ex: Chapter One.jpg -> Chapter_One.jpg

Ultimately what would make everything easier is if there was a [v.chapternumber] so I could still display the chapter names elsewhere with the other variable without having to add underscores to the chapters.

To be clear, the way we're looping the images is by using something like this inside the archive loop:
<img src="/image/chbar[v.chaptername].jpg"/>
_______________________
Result in thread: Extra page issue
21st Jul 2013, 7:31 AM #6
User avatar
When you click "Create New Extra Page" you're essentially creating another html page that would be for something like an About page, Cast page, Extras page, or Fanart gallery. You're not actually creating a new "extra comic page" that goes into an extras gallery.

So what you wanna do is remove the 2 extra pages you made, and replace them with a single "Extras" page. And then just put all your images onto that page as you go.

If you're asking about how to keep an extra page out of the menu when making it, set it's page order to 0 and it won't appear in the overall heading.
_______________________
17th Jul 2013, 5:18 AM #7
User avatar
Though it varies between image editors, there should be an image resize feature, or if you're using Photoshop choose "save for web" and generally anywhere between 800 - 1000 pixels wide is large enough when exporting as either jpg or png, your preference might depend on whether the comic is portrait or landscape.
_______________________
Result in thread: Edit html link suggestion
16th Jul 2013, 1:16 AM #8
User avatar
I cannot wait for the new management pages to roll out then. :D
Is there an ETA on the site updates or is it just one of those, it's done when it's done kinda things?
_______________________
Result in thread: Post your works in progress
10th Jul 2013, 10:57 AM #9
User avatar
The new and improved first page of Buried, work in progress.



Ended up re-inking stuff with vectors in Manga Studio so it's print ready in the future. All that's left is toning really.
Hoping I can keep up the steam and work up a good backlog so I can finally start posting in August.
_______________________
Result in thread: Time for some moderation
9th Jul 2013, 4:55 AM #10
User avatar
The illuminati has begun to assemble.
_______________________
Result in thread: Edit html link suggestion
"Edit html link suggestion", 9th Jul 2013, 4:34 AM #11
User avatar
I know this is a thing so incredibly minor that nobody would notice. But in the Managing bar with all the quick links to different sections, the Change the Site Layout link always leads to the Premade Layout Selection screen, rather than straight to the HTML editing area.

Obviously for people who wanna stick with a quick layout this doesn't affect them at all. But it'd be nice if there were a direct link up there to the HTML editing since some of us would tend to go to html editing more frequently.

I know the premade layout selection has a direct link to it anyway so it'd only save one extra click or some downward scrolling on the management page, so it's entirely a matter of convenience. What do you guys think?
_______________________
Result in thread: What happened?
3rd Mar 2013, 5:39 PM #12
User avatar
I'm sure I had the nameservers set properly before, I'll try reverting and redoing it though and see if that works.
_______________________
Result in thread: What happened?
3rd Mar 2013, 9:18 AM #13
User avatar
My comic isn't loading either, it loads the .thecomicseries.com and etc links, but not my custom IP I set up.
_______________________
Result in thread: Blog archive question
12th Feb 2013, 1:30 AM #14
User avatar
Works great now, thanks!
_______________________
Result in thread: Blog archive question
12th Feb 2013, 12:37 AM #15
User avatar
I have it set to 1, but it does not seem to affect the blog archive page. Only comic overview.
_______________________
Result in thread: Blog archive question
"Blog archive question", 12th Feb 2013, 12:31 AM #16
User avatar
I've been tweaking with my layout a bit and I wanted to know if there was a way to make it so that only one blog entry can appear at a time on the blog archive page.

When you click the first entry, it shows up by itself, but clicking any entries after it always shows two blogs, the one you want to view, and the previous entry just before it. Is there a way to change this?
_______________________
Result in thread: Yay a preview button! :D
9th Jan 2012, 11:36 AM #17
User avatar
*bows down to the preview button*
_______________________
Result in thread: Buried
"Buried ", 8th Dec 2011, 1:03 AM #18
User avatar
Buried

Welcome to the world of Buried.

A young boy has been followed by the force of death since his birth, this force randomly decides to kill strangers and friends who get close with freak accidents and threatens to drive the boy into complete despair.

Along with his trusty shovel, this boy seeks to change his destiny, keeping distance from society in the meanwhile. Though he may think he is alone, someone or something may be lurking in the shadows...


~~~~

Updates Saturdays, starting December 31st, 2011. The new title page goes live on December 17th though.
FYI: I'm still updating the site code so nothing is final yet and have yet to add banner and footer and background images, among other things.

If you like what you see be sure to subscribe! /End Shameless Advertisement
_______________________
Result in thread: First world problems
28th Nov 2011, 4:03 PM #19
User avatar
I ran out of room on my shelf for all the new videogames I've obtained over the past month woe is me.
_______________________
26th Nov 2011, 4:29 PM #20
User avatar
I'd imagine it's something like with VGCats' multiple latest comic buttons.
One latest page button leads to say, the latest page of the main comic chapter.
Whereas another leads to the latest page of a bonus strip in a bonus chapter.

Except in this case it would also involve displaying the latest page of that particular sub-chapter/story, on the front page.

I'd like it if there were a way I could link to the start of the latest chapter with just a simple tag instead of finding which page each chapter starts on.
_______________________
Forum > Search results
Pages: 1 2