The Website

Forum Issues? Site Suggestions?

Re: The Website

Postby Phauss » Thu Sep 11, 2014 10:06 pm

The image host is functionally done, code-wise.

SUMMARY:
-Albums can be created and images can be moved into and out of them.
-Viewing an album will display only the images assigned to it.
-For coding purposes, allowing more than 1 album per image won't be possible. It's a lot of database work that doesn't need to happen.
-User- and album-specific URL's exist. I need to run through the code for album-specific privacy. The entirety of a user's uploads (in albums and not) and private images are protected, though.
--- http://aserverwith.no-ip.org/img.php?user=Phauss, http://aserverwith.no-ip.org/img.php?us ... &album=all, and http://aserverwith.no-ip.org/img.php?us ... album=none will return a "prohibited" page.
--- http://aserverwith.no-ip.org/img.php?us ... album=GIFs will return the "GIFs" album page.
--- http://aserverwith.no-ip.org/img.php?us ... album=test and http://aserverwith.no-ip.org/img.php?album=test will both return a "doesn't exist" page (unless you made an album called "test".)
-Images that are individually private will not be shown to other users regardless of that user's privacy settings unless directly linked.
-If someone other than the uploader is viewing an image album, they will not be able to change individual image settings. The album navigation menu and the overall privacy toggle button are also hidden.

To do:
-Make an album viewable to those not logged in. (Should be easy.)
-Allow album editing (name, privacy.)
-Clean up how images are displayed. Purely aesthetic with no code change.
We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

Re: The Website

Postby Phauss » Fri Sep 12, 2014 4:23 pm

Well, I fucked up. The user data tied to each image, specifically the uploader usernames, have all been replaced with zeroes. 0's. z3r035. All of the other information is intact, but the username is critical for displaying stuff on the page and there's no easy way to fix it. The image files still exist, so image links won't be broken, but still. Fuck.

I'm going to wipe all data entries with a '0' uname (not the files though, so no broken links.) The vast majority of images were mine anyways, so I'll just deal with it. Album and user preference data was not affected and still exists.

Image
We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

Re: The Website

Postby Phauss » Sat Sep 27, 2014 10:05 am

I got bored last night/this morning and decided to fix an error notification in the upload script. What started as just changing one line of code quickly turned into finishing the image host layout. Now it's not only functional, but it doesn't inflict 15 seconds of blindness after looking at its ugliness. I know I'm probably going to be the only one who ends up using it, but I feel a lot better about cleaning it up. No more big, out of place buttons, everything's aligned, shortened file names are displayed, and a lot of code was streamlined behind the scenes. Anyways, here's what the image gallery looks like in case anyone wants to see it without the hassle of actually uploading anything.

Image

And here's what the front page box looks like fully populated. The boxes will stretch to fill the recent upload area, so it might look a bit weird until you upload those first four images. I could change it, but I'd rather not deal with everyone's unique resolution and screen size.

Image

I guess the last thing I'd like to do is have images open in lightboxes when you click on the thumbnails, similar to how resized images on the forums work.
We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

Re: The Website

Postby Phauss » Tue Dec 16, 2014 3:13 pm

I will be working on the forums for a little while. There are a lot of things that are out of date, and I've been keeping this version because of customizations I've made to the board. I have gotten enough experience at this point to feel comfortable rewriting code to fit updated forums. I will be working on the backup server before applying code to the main server due to the sensitivity of the forum databases.
We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

Re: The Website

Postby Clow » Tue Dec 16, 2014 11:55 pm

Proper image resizing inside spoilers when?

Also, the space after spoilers is still there.

Like this.
Spoiler: show
Like this.

Like this.
What do you call a midget fortune teller who has escaped from prison?
A small medium at large.
Image
http://aserverwith.no-ip.org/img/Pizzer ... 809317.png
User avatar
Clow
Site Admin
 
Posts: 1758
Joined: Thu Oct 01, 2009 7:09 pm
Location: THE VAN, IT'S GREAT IN HERE

Re: The Website

Postby Phauss » Wed Dec 17, 2014 5:44 am

Yep, I plan on redoing some of the bbcode with the update, especially the youtube code. The old bbcode will still exist just so that I don't break older forum posts; it just won't be on the "write post" page.
We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

Re: The Website

Postby Clow » Wed Dec 17, 2014 7:15 am

>fullscreening youtube videos on-page

Image
What do you call a midget fortune teller who has escaped from prison?
A small medium at large.
Image
http://aserverwith.no-ip.org/img/Pizzer ... 809317.png
User avatar
Clow
Site Admin
 
Posts: 1758
Joined: Thu Oct 01, 2009 7:09 pm
Location: THE VAN, IT'S GREAT IN HERE

Re: The Website

Postby Phauss » Wed Dec 17, 2014 5:57 pm

Clow wrote:Proper image resizing inside spoilers when?

Also, the space after spoilers is still there.

Like this.
Spoiler: show
Like this.

Like this.

It looks like the code has always worked as intended, but not in a way that's very intuitive, I guess. For example:

Here's how we've been doing spoiler boxes
Spoiler: show
with some spoiler text

and where we've been putting text after the spoiler.

Here's how that looks:
Code: Select all
Here's how we've been doing spoiler boxes
[spoiler]with some spoiler text[/spoiler]
and where we've been putting text after the spoiler.


How I've gotten rid of the gap:
Here's a spoiler box
Spoiler: show
and some spoiler text
with no gap above the next line of text.


I only had to put the next line after the spoiler in-line with the spoiler tag (or it's closing tag, if you're dealing with long spoilers.)
Code: Select all
Here's a spoiler box
[spoiler]and some spoiler text[/spoiler]with no gap above the next line of text.


This is the same issue I have with the table tags. It is extremely tedious to work with tables in an in-line format rather than the nested format used when working with raw HTML. I'm beginning to believe that in-line formatting is a limitation of BB code and not necessarily the code it's supposed to represent. A demonstration below:

Spoiler: show
Code: Select all
[table]
[tr]
[td]cell 1[/td]
[td]cell 2[/td]
[/tr]
[tr]
[td]cell 3[/td]
[td]cell 4[/td]
[/tr]
[/table]

Comes out with a lot of empty lines above it:
Table:


cell 1cell 2
cell 3cell 4

When done correctly...
Code: Select all
[table][tr][td]cell 1[/td][td]cell 2[/td][/tr][tr][td]cell 3[/td][td]cell 4[/td][/tr][/table]

It looks like this.
Table:
cell 1cell 2
cell 3cell 4

That is why my webcomics table is such a nightmare to edit. I certainly didn't format it this way by choice.
Code: Select all
[table][tr][td][color=#FFBF00]Name[/color][/td][td][color=#FFBF00]Notables[/color][/td][td][color=#FFBF00]Ongoing[/color][/td][td][color=#FFBF00]Complete[/color][/td][td][color=#FFBF00]Su[/color][/td][td][color=#FFBF00]Mo[/color][/td][td][color=#FFBF00]Tu[/color][/td][td][color=#FFBF00]We[/color][/td][td][color=#FFBF00]Th[/color][/td][td][color=#FFBF00]Fr[/color][/td][td][color=#FFBF00]Sa[/color][/td][td][color=#FFBF00]Sporadic[/color][/td][/tr][tr][td][url=http://www.gunnerkrigg.com]Gunnerkrigg Court[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://dresdencodak.com]Dresden Codak[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://requiem.seraph-inn.com/]The Pheonix Requiem[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][etd][/etd][td][center][color=#BF4000]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://smbhax.com/]Supermassive Black Hole A*[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://rosalarian.com/yume/]YU+ME[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][etd][/etd][td][center][color=#BF4000]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://xkcd.com/]xkcd[/url][/td][td][center][color=#00FFFF]■[/color] [color=#FFFF00]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://nerf-this.com/]Nerf This[/url][/td][td][center][color=#0040FF]■[/color] [color=#FFFF00]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://www.girlyyy.com]Girly[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color][/center][/td][etd][/etd][td][center][color=#BF4000]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://dreamless.keenspot.com/]Dreamless[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][etd][/etd][td][center][color=#BF4000]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.bittersweetcandybowl.com]Bittersweet Candy Bowl[/url][/td][td][center][color=#0040FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.goblinscomic.com/]Goblins[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://www.spinnyverse.com/]Spinnerette[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.nexttownover.net/]Next Town Over[/url][/td][td][center][color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.grrlpowercomic.com/]Grrl Power[/url][/td][td][center][color=#0040FF]■[/color] [color=#FFFF00]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.misfile.com/]Misfile[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.guildedage.net/]Guilded Age[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.tryinghuman.com/]Trying Human[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://www.olympusoverdrive.com/]Olympus Overdrive[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://www.endcomic.com/]The End[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.gogetaroomie.com/]Go Get a Roomie[/url][/td][td][center][color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.unsoundedcomic.com/]Unsounded[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.shotgunshuffle.com/]Shotgun Shuffle[/url][/td][td][center][color=#0040FF]■[/color] [color=#FFFF00]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://thepunchlineismachismo.com/]Manly Guys Doing Manly Things[/url][/td][td][center][color=#0040FF]■[/color] [color=#FFFF00]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://aquapunk.co]Aquapunk[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://unlifecomic.com]Unlife[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.feywinds.com/]Fey Winds[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][/tr][tr][td][url=http://chirault.sevensmith.net/]Chirault[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://www.straysonline.com/]Strays[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://abominable.cc/]The Abominable Charles Christopher[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][/tr][tr][td][url=http://hingescomic.blogspot.co.uk/]Hinges[/url][/td][td][center][color=#0040FF]■[/color] [color=#8000FF]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][tr][td][url=http://monsterkind.enenkay.com/]Monsterkind[/url][/td][td][center][color=#00FFFF]■[/color] [color=#0040FF]■[/color] [color=#FFFF00]■[/color][/center][/td][td][center][color=#40BF00]■[/color][/center][/td][etd][/etd][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][td][center]■[/center][/td][etd][/etd][etd][/etd][/tr][/table]
We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

Re: The Website

Postby Phauss » Wed Dec 17, 2014 10:10 pm

Clow wrote:>fullscreening youtube videos on-page

Image


Youtube code has been updated. Everything works as it should (that means full screen, too.)

The code uses different tags and it's a lot more user friendly. Take the video URL and slap it between "yt" tags as it is with no modification, like so:
Code: Select all
[yt]https://www.youtube.com/watch?v=BB2ksm4hxfs[/yt]


We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

Re: The Website

Postby Phauss » Wed Dec 17, 2014 11:20 pm

Forum update complete. I'll work on redoing the image resizer tomorrow.
We are each a beautiful and unique snowflake that will melt in hell.
User avatar
Phauss
Site Admin
 
Posts: 1086
Joined: Thu Oct 01, 2009 10:30 am
Location: Here and There

PreviousNext

Return to Suggestions and Ideas

Who is online

Users browsing this forum: No registered users and 1 guest

cron