YesNoOk

Recent Posts

    
Re: To twig or not to twig
 February 22, 2013, 13:52:48 View in topic context
#31
avatar  Posted by Suki  in To twig or not to twig (Started by Nightwish June 22, 2012, 23:05:24
 Board: EosAlpha Bulletin Board System - development

oh! I wish I had read this before :P I also take a look at twig and had the same results, I jut checked it against an experimental blog code, using a framework contributed to the slow times as well.

As much as I personally like the default SMF template system (not because is easy to use but because is pretty much the only template engine I ever used) I also can see the benefit (for themers) of using an "inverse" method, aka, wordpress template where PHP is inside HTML. But thats somehow ugly and I def wouldn't want thousands of <?php ?> tags just filling up space.

As for template engines like smarty or twig, I have mixed feelings, when I see a twig template, my mind immediately goes "oh, yet another pseudo code and syntax  I need to learn", perhaps it is just me being reticent, I still need to find a cute HTML template and port it over to twig code to see if I'll ever be interested on it.

And I agree, the templates def needs to lose some weight if they want to fit in a pretty and fashion twig engine :P  that not only applies for normal templates but for mobile versions as well, there is just too much displayed data that makes it terrible difficult to implement a really nice, clean and objective mobile version.
    
Re: minor things
 February 19, 2013, 07:07:15 View in topic context
#32
 Posted by Nightwish  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

Just another note about templates.

There is now a new maintenance option in the admin panel (Forum Maintenance -> Routine -> Clean all compiled templates). It will do like instructed and purge the entire cache of compiled templates. In some cases, smarty may fail to properly track all the dependencies and may use already compiled templates, instead of re-compiling them when the source file has been changed.
    
Re: minor things
 February 18, 2013, 23:58:24 View in topic context
#33
avatar  Posted by Valodim  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

hey there. just wanted to send a keepalive. I'm also quite busy with uni stuff at the moment, but still around  :P

we had a couple of minor bugs which I quickfixed in the meantime. I'll send patches at some point when I have some time :)
    
Re: minor things
 January 24, 2013, 14:41:56 View in topic context
#34
 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
#35
 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
#36
 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
#37
 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
#38
 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
 October 11, 2012, 15:49:24 View in topic context
#39
avatar  Posted by Valodim  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

No sweat :)

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?
    
Re: minor things
 September 30, 2012, 14:38:04 View in topic context
#40
 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 28, 2012, 19:05:01 View in topic context
#41
avatar  Posted by Valodim  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".

     Posted: September 29, 2012, 20:47:59
install.php:

Quote
Some of the queries were not executed properly. This could be caused by an unsupported (development or old) version of your database software.

Technical information about the queries:
Line #1966: Column count doesn't match value count at row 29
Line #2217: Incorrect table definition; there can be only one auto column and it must be defined as a key
    
Re: minor things
 September 25, 2012, 01:53:05 View in topic context
#42
avatar  Posted by Valodim  in minor things (Started by Valodim July 27, 2012, 11:26:30
 Board: EosAlpha Bulletin Board System - development

git blame -> contact the developer? or maybe just get rid of it :P
    
Re: minor things
 September 23, 2012, 23:08:19 View in topic context
#43
 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, 16:44:29 View in topic context
#44
avatar  Posted by Valodim  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.
    
Re: minor things
 September 23, 2012, 14:52:27 View in topic context
#45
 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).