YesNoOk

Show content

This section allows you to browse the content for this member. Note that you can only see content for which you have sufficient viewing permissions.

*
Nightwish is Offline
Contact Nightwish:

Nightwish

Administrator

Messages by Nightwish

    
Re: minor things
 January 24, 2013, 14:41:56 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Been busy for the last couple of weeks, so there wasn't much activity.

I merged https://github.com/silvercircle/SMF/pull/7 which was open for about 5 months now - no idea why, never seen it and never got a notification for this pull request which seems strange, but github sometimes does act a bit weird. It's now merged with the member cards stuff being the biggest change.

Also. smarty was updated to the latest version that includes at least one important bugfix.

Plus, some other minor fixes. Compiled templates are now purged after changing certain theme settings, and the location for compiled themes is now "per theme" (e.g. $FORUMHOME/template_cache/theme_1/ is now the location for compiled templates for the theme with the id 1).
    
Re: minor things
 November 07, 2012, 18:44:50 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

I've added the current action a user is doing to the profile summary view. If the member is logged in, his last activity field will not only show the timestamp but also the last action he was performing (similar to what the who's online page displays).

If a member has set his online status to "invisible", this information will only be visible to administrators, of course. All others see "hidden".
    
Re: minor things
 October 26, 2012, 16:31:20 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Also, the geoip plugin is now functional and can hook into the profile summary page and show location info to admins and profile owners (normal users cannot see geoip location for other members though).

It's probably not so useful, just an experiment to see where more hooks are badly needed for the user profile system.
    
No change logs any longer, here's why
 October 22, 2012, 12:42:10 View in topic context
 Posted by Nightwish  in No change logs any longer, here's why (Started by Nightwish October 22, 2012, 12:42:10
 Board: Change logs

I've stopped posting change logs here, because there is now (for some time even) an easier way to see what's going on in the development department. On the forum frontpage, I've added a gitfeed block in the side bar that shows the 5 most recent commits and also providing links to them. The commits are generally more detailed than the change logs here ever were and allow you to browse the code changes directly.

I'm still keeping an internal change log which I'm going to publish on the Wiki (not yet there, because I first need to re-format the fairly big file to wiki formatting).
    
Re: minor things
 October 11, 2012, 16:14:53 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Hey um, I wanted to add more activities, and I was wondering about the software design there. Why do you use constant numbers with defines there? isn't that a bad idea for extensibility? Is this just a temporary thing?
These are only the predefined ones that must always exist and are part of the default population in the activity_types table. It should be possible (by plugins and hooks) to add custom activity types. The hooks are not yet implemented, but yeah, it's planned to support custom activity types.

Ultimately, the activity_types table defines what activities are available.

     Posted: October 26, 2012, 16:22:35
BTW: Don't wonder about the style looking different every couple of days. I'm just playing around to see how easy/not-so-easy it is to change various parts of the look.

I've also started to play around with SASS but I still prefer the SCSS syntax.
    
Re: minor things
 September 30, 2012, 14:38:04 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

fyi, I'm in the process of doing a css rewrite using sass and compass of the default layout right now.
At this point, I'm simply porting the css into cleaner sass syntax without changing templates. But ultimately, I aim to have the entire html use exclusively semantic descriptions, shifting all layouting into the css. If I'm doing this right, at the end of this there should be no style attributes left besides ajax things like "display: none" or dynamic ones, and no layouting class names like "floatleft".
All style attributes in the templates are just temporary hacks or leftovers from the old templates. The plan is to kill them anyway (except for the very few that are needed). Layouting classes like floatleft do make sense though, because they easily allow to make the theme RTL aware (not that the current theme is fully RTL compatible, but the basic idea still stands).

Quote
Some of the queries were not executed properly. This could be caused by an unsupported (development or old) version of your database software.
I'm surprised the installer doesn't throw more serious errors :) Install.php (and especially upgrade.php) are totally untested. The last test with install.php was a couple of months back, before some database changes were made.

FYI: I'm also pretty busy at the moment, so activity was a bit low in the last couple of days. It's just temporary :)

Additionally, this forum may be go down for a short while in the next couple of days, since the server will be deactivated at the end of october, I need to switch to a different host.
    
Re: minor things
 September 23, 2012, 23:08:19 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

doesn't seem particularly slow to me even for members with huge amounts of posts. oh well.
No, it's not slow. Checked the queries and they're all fine - no file sorts or other evil things. The range limit is strange, but it's definitely from SMF as it's still in the 2.1 code base in unmodified form.
    
Re: minor things
 September 23, 2012, 14:52:27 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

back from some absence (again)

In Profile-View.php in showPosts(), is the $range_limit yours? It seems to be a performance thing, but on my forum it hides huge numbers of posts for some members, in one extreme case all but two out of 1500. Ditched it for now.
Hm, cannot remember implementing such a thing, so it's probably a SMF feature. I can vaguely remember a discussion about performance problems of the find content feature a while ago (during 2.0 development), so maybe that feature is just buggy. Will have to check this against current smf 2.1 code (which has most of the known 2.0 bugs already fixed).
    
New moderation feature(s)
 August 31, 2012, 20:55:59 View in topic context
 Posted by Nightwish  in New moderation feature(s) (Started by Nightwish August 31, 2012, 20:55:59
 Board: Showcase

1. Topic bans

Topic bans are meant to be a lightweight moderation feature to deal with members who usually behave normally. Sometimes, discussions can get heated and members who otherwise act calm and within the board rules, may say things they shouldn't. Topic bans can be used to expel a member from a specific topic only without altering his or hers forum permissions. A topic ban means that a member cannot post or otherwise actively participate in a thread (i.e. he also cannot modify his message(s), add a poll or link the topic to a calender event). A member who has been banned from a topic can, however, still read it normally.

Topic bans can be set to expire automatically after a specified number of days or be permanent until lifted by a moderator.

Who can issue topic bans?
Administrators and global moderators can issue topic bans in all boards. Moderators can issue them in boards they moderate. Moderators who can issue warnings can also attach a topic ban to a warning unless the warning is a general one (not related to a specific post made by the member and therefore also not related to a topic).

How?
Moderators will see a new icon in the bottom left corner of a post. This will open the topic ban page to either set a new or lift an existing topic ban. When a moderator issues a warning for a post made by a member, a new option will allow him or her to set a topic ban when submitting the warning form. In either case, a expiration time (in days) can be specified and a expiration time of 0 means, the ban will be permanent until a moderator will lift it manually.

If a topic has one or more topic bans attached to it, moderators will see a small notice at the bottom of the topic page (where the moderator buttons are located), telling them that some members are banned from the topic. Members who are banned will see a red-boxed notice at the top and bottom of the topic page, telling them they are banned and cannot post in the topic. If a member is banned, all UI elements for replying to or quoting and editing of messages are absent.

Additionally, posts made by members who are topic banned or have a warning status that results in consequences (i.e. watch list or muted) will be marked with a slightly different title bar in topic display. Currently, it's a one pixel red bottom border, but this can easily be changed in the skin style sheet. Only moderators will be able to see this.
Code: (css)
div.keyinfo.watched {
border-bottom:1px solid red !important;
}
    
Re: minor things
 August 31, 2012, 01:26:47 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

And yeah, SphinxQL works all fine :)
Ok, then I can remove the old code soon.
Quote
come to think of it, shouldn't something like a topic ban be fairly easy implementable as an addon?
Maybe later. Right now, the mod system isn't able to perform db changes and such. Apart from this, it's not really difficult to convert it into a plugin (except for the warning system integration maybe).
    
Re: minor things
 August 30, 2012, 18:51:10 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Incoming changes:
  • Some styling changes in the default theme (there is now only one theme_variant - default).
  • Topic bans. Moderators can now ban members from specific topics only without changing their permissions. A member who has been banned from a topic can not participate in it (no post/reply/modify), but can still read it normally. Topic bans can expire automatically after x days (done in daily maintenance) or be permanent until lifted by a moderator. A member who has been banned from a topic will see a notice explaining it.

    Right now, the UI is sparse - moderators will see a new button next to the warning/report button in the bottom left corner of a post. This will lead to the moderation center where a ban can be set or a existing ban can be lifted.

    Viewing existing topic bans by topic or member will be added to the moderation center soon and the topic ban system will be integrated into the warning system allowing a moderator who can issue warnings to set a topic ban together with a warning.

    This requires a db scheme change with the new table topicbans.

Edit:

@Valodim: Does the SphinxQL work over there? Because if it does, I'm going to deprecate the old sphinx code soon. It's buggy anyway, throwing errors when using certain sorting methods and a bit slower than SphinxQL. Also, it's a bit confusing to have Sphinx twice in the search method administration UI.
1 Like It 
    
Re: minor things
 August 26, 2012, 13:49:31 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Problem with entering text in Cyrillic - for exapmle when i try to add Topic prefix or Post ratings. In Latin letters are okay
Should be fixed with the last commit from today, but please note that the admin UI for both features (topic prefixes and ratings) is very basic at the moment and some features are missing.
    
Re: minor things
 August 19, 2012, 16:43:36 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Today, I've added SphinxQL SearchAPI support. This commit shouldn't conflict with anything search-related, but some testing is needed before I can deprecate the old Sphinx search support which is really no longer needed, because SphinxQL was implemented around version 1.0 quite some time ago.

SphinxQL should improve search performance even further and also fix the bugs with some result sorting methods not being available with the old Sphinx API.

SphinxQL requires a minimal change to the existing sphinx.conf. The port for incoming SphinxQL queries must be specified and must be different from the standard port.
Code: (text)
searchd
{
        listen = 3312
        listen = 3313:mysql41   << this one
        log = /var/sphinx/log/searchd.log
        query_log = /var/sphinx/log/query.log
        read_timeout = 5
        max_children = 30
        pid_file = /var/sphinx/data/searchd.pid
        max_matches = 1000
}

Sphinx settings were overhauled as well, all strings should now be translatable and the "Test connection" button should also perform a test for SphinxQL connections.
    
Re: minor things
 August 17, 2012, 13:37:21 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Ok fine...

Just some notes about the changes from the last couple of days. Nothing ground-breaking, just template stuff mainly. PM templates are done, profile templates about 90% done.

Plans for the near future: finish the template stuff, then get the mobile theme into a usable state (the first version will probably be very basic and bare-bone, supporting only the most important pages - board index, message index and topic display).

     Posted: August 18, 2012, 17:19:43
About today's commit:

Make sure Profile.template.php does NOT get removed from Themes/default as it's still needed in Register(). I already moved it to Deprecated/, but this was in error. The last commit should revert this anyway, just to make sure...
    
Re: minor things
 August 11, 2012, 23:57:28 View in topic context
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

fyi: not slacking off, but I need to prepare a presentation for uni for monday that's why I'm MIA right now.
Yeah, have read it over there...
Quote
Restructuring the stylesheets is a great idea. While you're doing that, have you ever looked at SASS? Whole new dimension of stylesheets :)
Yup and I *might* be using that at some point, just not now.
Quote
quickreply and edit should have a bigger min-height
They should now auto-expand (and shrink) as needed and only start with a small height (if not, force-reloading might help, you may still have the old scripts in the cache).