Register - Login
Views: 99806079
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 08:01:22 AM
Jul - Meta - Post CSS New poll - New thread - New reply
Next newer thread | Next older thread
Drag
2640
Level: 99


Posts: 1648/2641
EXP: 9990162
For next: 9838

Since: 07-03-07


Since last post: 4.2 years
Last activity: 3.4 years

Posted on 04-18-10 04:11:19 AM Link | Quote
1648
Appearance 
Post CSS:
  CSS to be used for your posts.
Post Header:
  Derpa derpa
Post Footer:
  SLAM DUNK Y'ALL


My main concern is back in ye olden day, if someone hosted a CSS file and @imported it, and then later their host went down or something, the page would hang on the person's post until the request timed out.

Plus, it'd be great for me because I'm kind of a derp and would rather my CSS be hosted locally, but I don't want to embed the entire rulesheet into my posts.

Basically, what you could do is scan all of the posts to be displayed on the page, and include each user's post CSS and just plop it into the page.

Pros:
+ CSS is hosted locally
+ Fast access, no cross-domain requests
+ Easy for users to dump/edit their post layout CSS.

Cons:
- Massive CSS dump at the header of the page.
- Layouts would need to be auto-updating, unless there's some magical way to archive the CSS with the post headers/footers.
- More crap to add to the database, wahoo.
- People being stupid with it.

I figure with the advent of CSS, and the fact that everyone uses it now, it'd be handy, but I can see where it could be a pain to implement, so I won't fret if the answer is no.

____________________
Transforming cats into robots since 1989!
Posted on 04-18-10 04:15:55 AM Link | Quote
I was thinking of something like this as well.

Rather, my idea went like this: There is a field present in the post appearance area, that lets you puts a link to your CSS file in. What would happen then is that if several posts by the same person on the same page have the same CSS link, it'll just drop a single <link rel="stylesheet" type="text/css" href="..." />, and if it finds a different one, drop that one into the header. That way the browser isn't making 3-4 different requests to the same file every time.

____________________
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 5273/12211
EXP: 99321495
For next: 552076

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 04-18-10 05:50:40 AM Link | Quote
Stats
Time/Date
04-17-10 11:50:40 PM
Posts
5273
Days Here
1019
Level
105
Metal_Man88's Post
All that's needed is a new field in the post database where header and footer are stored for each post that says 'CSS', then another one for your current one.

However that'd require changing all the pages required, and even for me, that'd be ...

____________________
Don't let an old saying get in the way of a good idea.
Eisnaught - SSQ² - Mobius Roleplay - SSS
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 3134/5390
EXP: 29075663
For next: 259342

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 342 days
Last activity: 342 days

Posted on 04-19-10 11:20:01 AM Link | Quote
04-19-10 06:20:01 AM
Post #3134
You could achieve this effect by modifying thread.php to strip style tags from the header of all but the first post by each user on the page being displayed. That also would break non-auto-updating mode, but you could just not do it if auto-update is off.
Or we could just be able to upload image and CSS files to the wiki and reference them here... Hm, can you upload and view plain text files? That may already be possible.

____________________


witty comment
why not?
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 5286/12211
EXP: 99321495
For next: 552076

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 04-19-10 03:56:22 PM Link | Quote
Stats
Time/Date
04-19-10 09:56:22 AM
Posts
5286
Days Here
1021
Level
106
Metal_Man88's Post
Plain text? There's even an SQL field named Text which can more or less accept entire plain text files.

If you wanted to get more complex, more detailed data of other file types can be stored in hex in BLOB and reassembled when used.

____________________
Don't let an old saying get in the way of a good idea.
Eisnaught - SSQ² - Mobius Roleplay - SSS
Rachel Mae

Creature of Chaos
Level: 141


Posts: 2786/5929
EXP: 33604074
For next: 515940

Since: 07-03-07

Pronouns: she/her
From: Foxglen

Since last post: 21 days
Last activity: 1 hour

Posted on 04-19-10 08:48:17 PM Link | Quote
Originally posted by HyperHacker
Or we could just be able to upload image and CSS files to the wiki and reference them here... Hm, can you upload and view plain text files? That may already be possible.
Yeah...please don't do that, thanks. The wiki isn't an all-purpose file dump. :|

____________________
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 5291/12211
EXP: 99321495
For next: 552076

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 04-20-10 12:05:46 AM Link | Quote
Stats
Time/Date
04-19-10 06:05:46 PM
Posts
5291
Days Here
1021
Level
106
Metal_Man88's Post
Oops, missed the part about the wiki.

Yeah, that'd be kind of wasting the wiki to dump files, not a very good idea.

____________________
Don't let an old saying get in the way of a good idea.
Eisnaught - SSQ² - Mobius Roleplay - SSS
Danika
6230
Level: 141


Posts: 2697/6235
EXP: 33298266
For next: 821748

Since: 10-23-09


Since last post: 1.2 years
Last activity: 1.2 years

Posted on 04-20-10 02:56:16 AM Link | Quote
Post CSS is probably a good idea for a future version of AcmlmBoard, but we probably won't see it here... =/

It's especially annoying on I1, with all of the broken posts (namely Colin's) linking to a missing CSS file =/

____________________
YouTubeDeviantArt
Windows 98 forever!
MilesH
the one hundred dollar golden name
Level: 56


Posts: 498/746
EXP: 1356666
For next: 41510

Since: 03-13-10


Since last post: 12.0 years
Last activity: 12.0 years

Posted on 04-25-10 12:08:12 AM Link | Quote
I agree with Schala, considering that our 'css' does change from time to time, whether we change code in our existing css files from our own uploaded place or simply just deleting said css file and referencing to a new one while our old posts still point to our old 'non-existant' css file(s) just as Schala had pointed out.

Perhaps maybe we should think this through and then come to a decision as to whether or not that implementing such an idea would be fruitful and beneficial so just as long as the database can handle such a feat, which I'm sure that can be done without any overloads.

And as previously mentioned, this ability could potentially be abused if used in such a way that I won't explain here out in public so I don't give any ideas to our lurkers here at Jul.

This decision I know won't be easy since not only implementing such a feature would indeed take much effort as Metal_Man88 has said earlier in this thread. This decision would need to be carefully decided if such a feature should be implemented, though I would hate to see such a feature get buried or discarded into some scrap pile, but its all a matter of deciding on whether this feature shall be implemented or not. I would really be thrilled if such a feature ever saw the light of day.

(I hope it was okay to post my thoughts in regards to this feature, even though this thread is only a few days old.)
Next newer thread | Next older thread
Jul - Meta - Post CSS New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

27 database queries.
Query execution time: 0.094087 seconds
Script execution time: 0.028489 seconds
Total render time: 0.122576 seconds