Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Arantor
976
Features / Re: CSS inheritance issue
« on April 15th, 2013, 12:14 AM »
Even though it's in index.member.css and declared after everything else? ;)
977
Features / Re: CSS inheritance issue
« on April 15th, 2013, 12:06 AM »
It would be hard to break anything, the grand total of CSS changes is currently:

Code: [Select]
/* And for the infraction history. Guests cannot see it.
------------------------------------------------- */
$inf_active = #cfc
$inf_expired = #f8faf8
$inf_revoked = #ffc

.windowbg.inf_active
background-color: darker($inf_active, 3%)
.windowbg.inf_expired
background-color: darker($inf_expired, 3%)
.windowbg.inf_revoked
background-color: darker($inf_revoked, 3%)

.windowbg2.inf_active
background-color: $inf_active
.windowbg2.inf_expired
background-color: $inf_expired
.windowbg2.inf_revoked
background-color: $inf_revoked

(this way I get to alternate colours nicely)
978
Features / Re: CSS inheritance issue
« on April 14th, 2013, 11:43 PM »
What is the benefit compared to:
Code: [Select]
input.warn extends input.submit
background: url($images/warning_ban.gif) 5px center no-repeat
background-color: #fff0e3
:hover
background-color: #fff5e8

I still need to set all the colours, all the other stuff gets inherited.

If I'm honest, this is why I don't touch the style code unless I have to because it doesn't seem to matter what I do, it's at least three generations behind how you're doing it.

* Arantor is tempted to remove the changes except those 'strictly' necessary, seems easier. Saves more bandwidth too.
Posted: April 14th, 2013, 10:18 PM

Removed extra button, saves even more bandwidth that way.
979
Features / Re: Miscellaneous/WIP screenshots
« on April 14th, 2013, 02:26 PM »
Yeah, there is that, but I didn't just want to have the wording on the right.
980
Features / Re: Miscellaneous/WIP screenshots
« on April 14th, 2013, 06:27 AM »
Another shot of the infractions system in action. Still WIP.
981
Archived fixes / Re: Wuthering theme misses Facebook icon
« on April 14th, 2013, 02:54 AM »
It could well be an ad-blocker. ;)
982
Features / Re: New revs
« on April 14th, 2013, 12:21 AM »
(3 files, 1KB)

Revision: 2053
Author: arantor
Date: 13 April 2013 23:20:07
Message:
! Stupid bug with a string being redeclared accidentally. (ManageBans.template.php, ManageBans language file)
----
Modified : /trunk/Themes/default/ManageBans.template.php
Modified : /trunk/Themes/default/languages/ManageBans.english.php
Modified : /trunk/Themes/default/languages/ManageBans.french.php
983
Archived fixes / Re: Wuthering theme misses Facebook icon
« on April 13th, 2013, 09:46 PM »
Well, it's there for me right now in Wuthering.

If it's blocked for you, I'd wonder why your browser is blocking:
Code: [Select]
//static.ak.fbcdn.net/rsrc.php/v1/yH/r/eIpbnVKI9lR.png

as an image reference.

(Oh, and yes, it is legal to exclude the protocol. That way you suddenly and magically become agnostic to HTTP vs HTTPS)
984
Plugins / [Plugin] Re: Notifications system (1.0)
« on April 13th, 2013, 04:25 PM »
Quote
So, was that sarcasm..? (I'm having a Sheldon moment here.)
No, it wasn't. The question was: did I give the page permission to use notifications. Yes, I did. While many users might be like 'wut, permission? derp derp', I was aware I would need to give it permission, which I did and I told it to use my own Twitter account for testing, and as such I added a tweet and it didn't show - and yes, I left the tab open for a while.

I'm not opposed to it, but I don't really like the idea of a Webkit only feature in the core right now.
985
Features / Re: CSS inheritance issue
« on April 13th, 2013, 03:57 PM »
Quote
Still. I don't see why you're not declaring this way..?
Because I started out by copying what the others did :P

And yes, when you put 5px center in there, there's no inheritance problem because it's explicitly redeclaring the bit that was being overridden...

This is what I was getting at, I'm well aware that in the background shorthand, it's 0 0 - except it was supposed to be inheriting from an existing one, I didn't want it to be overridden.
986
Features / Re: Miscellaneous/WIP screenshots
« on April 13th, 2013, 06:20 AM »
Just quickly, in case anyone's wondering why I need to do this page.

In the SMF days, Profile > Actions > Ban this user would merely redirect to the add ban trigger page, with some details filled in.

This time around, though, we don't have ban triggers as such, consequently we also don't have the old add trigger page, so I have to write a shiny new one. No huge deal, but it's one of the things that's been kicking around for a while that needed to happen.

@Nao, the button with icon is the new input.warn class I made. It's defined in index.member.css and I solved the issue I had by simply reincluding the same declaration for background-position into the declaration (so the new background declaration doesn't override the previously defined background-position)
987
Features / Re: Miscellaneous/WIP screenshots
« on April 13th, 2013, 06:15 AM »
One of the things I never did when overhauling the ban system was fix up the Profile > Ban User page. Now, as mentioned I was sort of playing with it, but there still wasn't a way to actually ban a user from their profile.

Here's the WIP I have of that.
988
Off-topic / Re: Shared Hosting Info FYI 4 all to consider.
« on April 13th, 2013, 12:02 AM »
Quote
Wedge are working hard everyday to decrease the amount code
Nah. We've added a *lot* more code than we've taken out.
Quote
50MB and 1000 tables!
50MB? I have a shoutbox archive bigger than that. 1000 tables... that's clever, either you have one *massively* modified installation or you have at least a dozen SMF installs. Sounds to me like you have a slightly oversold host.
Quote
First thing that comes to mind is that they say when you sign up that you have unlimited databases and storage,
First thing that comes to mind is how they're lying to you. Unlimited anything is impossible.
Quote
Ok unlimited DB's and storage and accounts ( Domains, )
Still impossible.
Quote
But they should tell you these things when you sign up and not have this hidden in the terms of service and or change the terms of services after you sign up and expect you to be happy with these changes. Just saying...
Ah but that's the devil in the detail. You're not supposed to know, or care, that there are hundreds of other users, running possibly thousands of sites - on a single server.
Quote
Got to make serious Bucks to have a server unless you, run your own machine ( Hint).!
I pay $40/month for a pretty hefty VPS.
Quote
But they to me are not be truefull when advertising this stuff! and should be clearly stated before sign up. and you need to pray you don't get allot of visits daily! LOL
The reality is that any site that is growing will eventually extend beyond the facilities it currently has. I know forums that run on small clusters because even dedicated servers can't cope with the load.
989
Features / Re: New revs - Public comments
« on April 12th, 2013, 08:33 PM »
Quote
! The old Profile Notifications page is still there, but it wasn't showing up to do duplicate array entries. (Profile.php)
From r2052... when it was added, it was very deliberately done the way it was so that we would have the thread of where to start when removing the old notifications system because of the new one being added.
990
Features / Re: Mail entities and stuff.
« on April 12th, 2013, 08:23 PM »
Quote
- $message is parsed only once, AFAIK, and then sent to multiple recipients (i.e. sendmail() supports multiple recipients). So I don't think there's any problem with the number of calls to PURL code...
That wasn't what I meant. There are plenty of times the content will be different each message. The sort of scenario I'm thinking of is the notifications for outstanding topics for moderation - it will be different for every language, but the links still have to be parsed multiple times as a result (once per language)

Not to mention that sendmail can still pass its own content BACK to itself. But that's less of an issue.
Quote
- Then what should we do? Convert anchors to text..?
I don't know. I really don't know, and truth be told I'm having a real hard time keeping everything else straight in my head.