Wedge

Public area => The Pub => Plugins => Topic started by: Arantor on March 30th, 2012, 06:57 PM

Title: Which next? [Poll]
Post by: Arantor on March 30th, 2012, 06:57 PM
OK, so I've officially had enough of bug wrangling for the moment, having spent my afternoon wrestling with things unsuccessfully.

So, which plugin should I write next?
Title: Re: Which next?
Post by: Dragooon on March 30th, 2012, 07:00 PM
I'd say pizza one but that'd be an old joke. I always liked the idea of having the ability to call the attention of an user to a topic(Similar to mentions in Facebook or Google+) without having to explicitly PM somebody or shout out loud in the Thoughts area. I always wanted to implement this but was waiting for some notification type system in Wedge(Basically this idea was the reason I started liking the whole notifications-api thing).
Title: Re: Which next? [Poll]
Post by: Arantor on March 30th, 2012, 07:02 PM
Yeah, there needs to be a notification subsystem and it needs to be core. I have some ideas on how to achieve this - and if I have anything to say about it, it will go in sooner rather than later. But I want a smaller goal that I can just work on in the meantime, just to gently ease myself into thinking about making awesome code again (since that's what the notifications thing really needs, a dose of creativity)
Title: Re: Which next? [Poll]
Post by: Dragooon on March 30th, 2012, 07:06 PM
Well in that case:

1) A tournament type system
2) Ad management
3) Chinese takeout menu.
Title: Re: Which next? [Poll]
Post by: Arantor on March 30th, 2012, 07:11 PM
Oooh, I've added a tournament system to the list (and reset all the votes)... though I'm not quite sure what features, specifically, it would need to have. But I'll figure it out, I'm sure, haha.

Chinese Takeout menu, that could be hard. That reminds me, I should post the picture I took yesterday of the Yum-Yum Oriental Restaurant...
Title: Re: Which next? [Poll]
Post by: MultiformeIngegno on March 30th, 2012, 07:22 PM
I replied 'something else' because I was thinking about a wiki system.. :cool:
Title: Re: Which next? [Poll]
Post by: Dragooon on March 30th, 2012, 07:23 PM
Damn, now I want to make a tournament plugin(Not that I will, I hardly got any time as is :P). Would be quite useful for clan gaming websites which conduct tournaments on a fairly regular basis. Although it will need to support various tournament formats(league, round-robin, knockout etc) to be useful.
Title: Re: Which next? [Poll]
Post by: Arantor on March 30th, 2012, 08:00 PM
That does pretty much go without saying, actually, that it needs some options to be actually useful ;)
Title: Re: Which next? [Poll]
Post by: spoogs on March 30th, 2012, 09:04 PM
Voted for the tournament system as I have a very strong feeling that AJAX/shoutbox is coming eventually anyway :P
Now to go dig up the ideas i had for a tourney system :D
Title: Re: Which next? [Poll]
Post by: Farjo on March 30th, 2012, 09:09 PM
I voted for the chatroom because I didn't know it was coming anyway :lol: My 'other' would be a treasury system to take donations into paypal or similar. Thanks for asking :)
Title: Re: Which next? [Poll]
Post by: Arantor on March 30th, 2012, 09:16 PM
Oh, all of these are inevitable at some time (even the treasury). Even if I were a betting man, I would not lay a bet on whether or not I'll be writing at least one variation on the ideas of each, since I have a very strong interest in making sure Wedge as a platform has the facilities to really make it worthwhile to move to.

It's more a case of which I look at next, and in some ways I'm glad to see that ad management isn't yet enjoying a run-away lead since while it needs doing, it's far less interesting than a tournament system... :whistle:

Mind you, a basic ad management system is probably a quicker job than a tournament system anyway.[1]

I should point out, also, that I'm strongly considering making all the main candidates here (shoutbox, ad system, tournament system and bookie system) being paid. Not because I want to profiteer, but simply because it will cut back my support hassle that will come with all of them. That said, the ad one in particular should really be paid, regardless of anything else, simply because if you're planning to make money on a Wedge-based site, I don't see why you shouldn't put some money in yourself, or build it yourself.[2]
Posted: March 30th, 2012, 09:15 PM

Also added treasury as an option, if people want to change their votes...
 1. Even if I just make it feature-comparable with Ad Management for SMF, it'll probably only take a couple of days, but settling for that is not in my to do list, because it isn't what I would call polished. It's functional, nothing more.
 2. Note, in all the cases I'm talking about, I'm looking at no more than $10 for a *lifetime* subscription. It's not about making money. It is about limiting support and I know I'll be putting at least some of that back towards hosting in the end, too. It is no accident that Wedge supports lifetime subscriptions as a core feature.
Title: Re: Which next? [Poll]
Post by: spoogs on March 30th, 2012, 09:24 PM
As always paid work is fine by me.... hmmm come to think of it I still can't find that donate to Wedge button :hmm: :lol:

Title: Re: Which next? [Poll]
Post by: Arantor on March 30th, 2012, 09:28 PM
I don't think Nao or I are really keen on 'donations'. I know I'm not that keen on the idea, I'd much rather keep it as a true transaction, you pay for something, you get something. That way there's no 'but I donated so I should be entitled to...' drama, including the SMF Charter members debates over paid betas etc.

I keep hoping that the logo isn't going to change so that I can properly look into getting t-shirts and other branded merch that we can offer to sell, but every time I sit down and go looking for folks to trade with, a newer, better logo comes along!

It does also, sort of, raise the question whether some kind of store plugin is also on this list any time soon, and while I'll do one at some point[1] it probably won't be any time soon, though it would certainly make a paid mod site probably a bit easier to manage than using paid subs to do it >_>

This is why I like the idea of paid mods, but in the $5 to $10 bracket for a one-off licence. You get the mod, the author gets the cash, and there's no illusion over what you are or are not entitled to.
 1. And prettier, more rugged and generally better than that other pile of crap that a certain SOMEONE was selling.
Title: Re: Which next? [Poll]
Post by: Farjo on March 30th, 2012, 09:43 PM
I've paid for an SMF mod and if I knew it was written well I'd be happy to pay for a Wedge plugin. To be honest it always amazes me that there's so much software for free, so paid for software always seems fair.
Title: Re: Which next? [Poll]
Post by: Arantor on March 30th, 2012, 10:17 PM
I too am often amazed by the level and quality of free software, but one of the things that bothers me about free software is how so many problems get solved over and over again.

My favourite example is GIMP vs GNOME/KDE/Unity/XFCE. On the one hand we have GIMP. A strong, long established, but oft derided bitmap manipulation program. On the other hand, we have multiple different solutions at trying to solve how to make a usable desktop on Linux. Now, if a fraction of the effort that went into reinventing the wheel of GNOME/KDE/Unity/XFCE went into a GIMP competitor (or even core GIMP development), it wouldn't be seen as this half-baked PS wannabe (even though it really isn't)

That's half the problem with free software: people make what they want to make, not necessarily what is needed or desired, but what they want to make. In consequence, we see scenarios like we have with SMF: we have two ad management mods (one of which dates from 2006, and isn't even that heavily changed since then) and half a dozen portals - as compared to (AFAIK) no tournament mod, or half the calendar expansions people have requested, just as a random example.

This is where the paid market really exists: whereas the free market will only support what people are prepared to spend time building, the paid market will support people who don't *want* to write a given product but will do so to sell it if the demand is there.

I don't *want* to write an ad manager, but I know I feel a certain responsibility to do, because the demand most assuredly is there for one.
Title: Re: Which next? [Poll]
Post by: nolsilang on March 31st, 2012, 12:59 AM
Quote
Note, in all the cases I'm talking about, I'm looking at no more than $10 for a *lifetime* subscription. It's not about making money. It is about limiting support and I know I'll be putting at least some of that back towards hosting in the end, too. It is no accident that Wedge supports lifetime subscriptions as a core feature.
About the support, so it will be a private forum for support?
Title: Re: Which next? [Poll]
Post by: Nao on March 31st, 2012, 01:09 AM
Something else.
Who voted what. I miss that from noisen ;)
Core or plugin doesn't matter actually.

Just an idea if you're bored. It's not too long to implement.

Sorry about not being there. Spent the evening discussing Saint Seiya Omega. It was an interesting day... ;)
Title: Re: Which next? [Poll]
Post by: Arantor on March 31st, 2012, 01:11 AM
Yes, for those plugins it will be a private forum, access only given to those who actually purchase the plugin. Otherwise, what would stop you going elsewhere to less... legal... places, acquiring them, then coming to the forum for support (wherein you might think you're entitled to support for something you haven't paid for)


@Nao: I'd rather it be core. It should also take into account whether the poll starter wishes others to have access to that information, or whether the admin would rather disable it entirely.
Title: Re: Which next? [Poll]
Post by: Nao on March 31st, 2012, 10:53 AM
Certainly, plenty of permissions are possible, which is probably why I'm not doing it for the moment... :P
Title: Re: Which next? [Poll]
Post by: nolsilang on March 31st, 2012, 11:21 AM
I don't mind paying for important plugin :) about shoutbox, I think it will be similar to thoughts on wedge homepage? You can use it to chat or it is not the intended function?
Title: Re: Which next? [Poll]
Post by: Alanthar on March 31st, 2012, 11:29 AM
A tournament system sounds very interesting.
I did write one (tournaments / raids) for SMF. Should be interesting to rewrite it for Wedge. Looking forward to it.
Title: Re: Which next? [Poll]
Post by: Arantor on March 31st, 2012, 12:42 PM
Quote from 0x on March 31st, 2012, 11:21 AM
I don't mind paying for important plugin :) about shoutbox, I think it will be similar to thoughts on wedge homepage? You can use it to chat or it is not the intended function?
Of course you can use it to chat, but firstly it's set up for threaded conversations and secondly it's mostly a 1-on-1 conversation  held in public, if that makes sense. It is, essentially, a miniature version of Twitter held on the site.

For at least one site I run myself, it would be far from suitable. I run a site that discusses specific software development, and having something that is essentially a private chatroom is much more effective for me; if thoughts were to reload via AJAX and be continuously updated, I might be persuaded to use that instead, but as it stands, I'd much, much rather make use of a dedicated shoutbox facility where I could chat with other forum members 'live' and have it be 'everyone chats here, posting to the same wall', such as it is. Think IRC, but tied directly to the forum rather than running an IRC server.
Quote from Alanthar on March 31st, 2012, 11:29 AM
A tournament system sounds very interesting.
I did write one (tournaments / raids) for SMF. Should be interesting to rewrite it for Wedge. Looking forward to it.
I wasn't actually aware that anyone had completed one for SMF, at least not to the point of being sufficiently completed so as to be usable, though I saw multiple people attempt to start one.
Title: Re: Which next? [Poll]
Post by: Alanthar on March 31st, 2012, 12:48 PM
I didn't publish it on sm.org. Reasons for that are similar to your reasons contemplating some plugins being paid.
Title: Re: Which next? [Poll]
Post by: Arantor on March 31st, 2012, 01:04 PM
Fair enough, I can fully understand that (seeing as how I did actually set up my own free plugins site once and still got people who are too stupid to read what's put in front of them), but I wasn't even aware anyone had done it - let alone shared it. It always seemed to be one of those 'all talk and no trousers' things.
Posted: March 31st, 2012, 12:58 PM

Also, I'm interested to note how the voting is currently split. Makes it hard to pick something to do!
Title: Re: Which next? [Poll]
Post by: Dragooon on March 31st, 2012, 01:46 PM
I'm fairly sure there has been about 1 or 2 tournament plugins for SMF, one of them was a port of some phpBB add-on. I don't think any ever got finished though.
Title: Re: Which next? [Poll]
Post by: Nao on March 31st, 2012, 02:37 PM
Quote from Arantor on March 31st, 2012, 01:04 PM
Also, I'm interested to note how the voting is currently split. Makes it hard to pick something to do!
Pick the only one that stands out then...... vBookie :lol:
Title: Re: Which next? [Poll]
Post by: Arantor on March 31st, 2012, 05:09 PM
OK, when we get to 20 votes in total, I'll close voting and start working.
Title: Re: Which next? [Poll]
Post by: Arantor on April 1st, 2012, 12:57 PM
Eh, we're at 19 votes and that won't change the result too significantly, so the first thing I'm going to work on is an ad management system.

I'm not sure yet just how powerful I want to make it but we'll see. I have already gone to find the two for SMF, to see if there's anything (experience, usability) that's salvageable (because code won't be), but I'm not exactly that hopeful. We'll soon see :)
Title: Re: Which next? [Poll]
Post by: Norodo on April 1st, 2012, 01:19 PM
Good luck. It does make sense to charge for an advertisement system. :-)

I don't really care. I don't use ads on my pages. I feel they deteriorate the quality feeling of the site. Though I can understand why some people might want them.
Title: Re: Which next? [Poll]
Post by: TE on April 1st, 2012, 06:48 PM
Quote from Norodo on April 1st, 2012, 01:19 PM
I don't really care. I don't use ads on my pages. I feel they deteriorate the quality feeling of the site. Though I can understand why some people might want them.
AD management is a 'must have' :cool: I need it on all of my forums to cover hosting expenses..
Title: Re: Which next? [Poll]
Post by: Arantor on April 1st, 2012, 06:53 PM
Which mod are you currently using, out of curiosity?
Title: Re: Which next? [Poll]
Post by: TE on April 1st, 2012, 07:03 PM
the one which has been taken over by vblamer.. (but an older version).. initial developer was IIRC jerm?!?
Title: Re: Which next? [Poll]
Post by: Norodo on April 1st, 2012, 07:07 PM
Quote from TE on April 1st, 2012, 06:48 PM
Quote from Norodo on April 1st, 2012, 01:19 PM
I don't really care. I don't use ads on my pages. I feel they deteriorate the quality feeling of the site. Though I can understand why some people might want them.
AD management is a 'must have' :cool: I need it on all of my forums to cover hosting expenses..
My only problem would be that to earn back 10 dollars I'd have to go at least 6 months. For me it's better to just... Pay it all out of my pocket. :)
Title: Re: Which next? [Poll]
Post by: Arantor on April 1st, 2012, 07:14 PM
Quote from TE on April 1st, 2012, 07:03 PM
the one which has been taken over by vblamer.. (but an older version).. initial developer was IIRC jerm?!?
Yes, it was written by jerm, back in 2006, IIRC.
Quote from Norodo on April 1st, 2012, 07:07 PM
My only problem would be that to earn back 10 dollars I'd have to go at least 6 months. For me it's better to just... Pay it all out of my pocket. :)
I'm still thinking $5 to $10, really depends how much complexity I give it. But at the same time, it's a one off fee and you can use it on as many sites as you want.
Title: Re: Which next? [Poll]
Post by: Norodo on April 1st, 2012, 08:09 PM
Quote from Arantor on April 1st, 2012, 07:14 PM
Quote from Norodo on April 1st, 2012, 07:07 PM
My only problem would be that to earn back 10 dollars I'd have to go at least 6 months. For me it's better to just... Pay it all out of my pocket. :)
I'm still thinking $5 to $10, really depends how much complexity I give it. But at the same time, it's a one off fee and you can use it on as many sites as you want.
Oh don't get me wrong, I think 5-10 quid is quite reasonable for such a thing. If anything, it is my situation that is different from the norm. :)
Title: Re: Which next? [Poll]
Post by: Arantor on April 1st, 2012, 08:20 PM
*nods* The big thing is capability vs acceptability. It is one thing to rule out access to people who cannot pay, either due to PayPal restrictions or other restrictions, and another to rule out access to people who simply do not want to pay.

The $5-$10 barrier is primarily a level where the bulk of people are in the 'cannot' rather than 'will not' category, and those I can deal with on a case by case basis - but if you can't (as opposed to won't) pay $5 for an ad system, you're probably not paying (much if at all) for hosting, meaning that very likely you're not going to be handling the kinds of traffic that actually would *pay* ads anyway.

It's a long, complex and messy cycle. If I could be assured that I wouldn't have to deal with ungrateful idiots, I would have no hesitation about things being free but I dealt with too many ungrateful idiots (both at SMF and more recently) to make me want to give everything away for free.
Title: Re: Which next? [Poll]
Post by: Nao on April 2nd, 2012, 05:27 PM
Basically -- if we know you, guys, we won't make you pay :P

(Just like I offered AeMe2 to friends who asked for it.)
Title: Re: Which next? [Poll]
Post by: Arantor on April 2nd, 2012, 05:28 PM
Yup, I already figured anyone with a Friend or Consultant badge would be given a free pass anyway.
Title: Re: Which next? [Poll]
Post by: billy2 on April 2nd, 2012, 05:54 PM
/melooks around the room; checks his 'Friends' badge hasn't gone
Are you sure you accounted for me ?
:)
Quote from Arantor on April 2nd, 2012, 05:28 PM
Yup, I already figured anyone with a Friend or Consultant badge would be given a free pass anyway.
Title: Re: Which next? [Poll]
Post by: Arantor on April 2nd, 2012, 05:58 PM
Yup. I hadn't spelled it out in big letters because 1) there isn't yet a plugin site, only an SVN repository that is privately managed, and 2) I didn't want to spark a 'can I puleeeeeease have a Friends badge?' attitude.
Title: Re: Which next? [Poll]
Post by: lazyt on April 3rd, 2012, 02:53 AM
'can I puleeeeeease have a Friends badge!!!!!   :rotfl: :rotfl: :rotfl: :rotfl: :rotfl:


Seriously though anyone who won't pay the amounts named isn't serious about the site they want it for. Heck I earned a $100 in six months off of a new forum. Even paying $20 for the plugin that would be a $80 profit.

Oh if I post here much you will find I have a off the wall sense of humor.
Title: Re: Which next? [Poll]
Post by: PantsManUK on April 3rd, 2012, 10:30 AM
Poll closed already? Damn...

I'd have voted for a donation plugin (using Treasury in SMF at present and really like it), and whether I'm asked to pay or not, I'll donate when such a thing exists, no matter who writes it.
Title: Re: Which next? [Poll]
Post by: Arantor on April 3rd, 2012, 12:32 PM
Well, voting for the donation plugin still wouldn't only have brought it to 2nd place, as I said I'd close it when 20 votes had been cast and at that point, 19 votes had been cast.

I've already written about half of the ad management code (that I want to write for now) and a donation manager will no doubt be second.
Title: Re: Which next? [Poll]
Post by: Nao on April 3rd, 2012, 02:27 PM
Hey Pete, if you're bored and don't want to work on current Wedge fixes and stuff, mind if I share part of my to-do list with you? Maybe you'll find something nice to work on :)

(click to show/hide)
update new topic stats when splitting and merging a topic?

pm preview fails when replying to self

have a post unapproved. it links to the moderation center, which does NOT list unapproved posts anywhere...!
clicking the approve button doesn't work either.

merge posts: merge Likes as well!

add a nofollow bbcode!

Add a "IN THIS TOPIC" select box to the top search box... (see Noisen.com)

remove smiley -> JS popup has \n\n (VERY oddly, not all calls to JSE() generate a double-encoded \n, quick moderation items are fine... what's done differently?)

add smartphone/tablet icons next to user names in Who's Online and Info Center...?

write some UI for default_index (either an existing Source file, or a cat/board number)

add a 'force current GIF avatar transparency' setting for users?

unlink [topic prefixes], like on noisen.com (see noisen patch)

use reqWin for popups in media area, instead of zoomedia (which is not as practical here)

only accept A-Z keystrokes in select box if dropdown is open..?

add an actual action=thoughts page, with advanced filtering/sorting (i.e. either linear of threaded), and link that in the homepage.

img.resize JS (from theme.js) should only be printed (in the HTML) when a resized image is used...?
Title: Re: Which next? [Poll]
Post by: Arantor on April 3rd, 2012, 04:50 PM
It's not that I'm bored, it's that with *everything* going on here, I don't entirely feel able to tackle the big things that need tackling, if that makes sense. Working on a plugin is a smaller goal to hit rather than the very large to-do list I see with Wedge, which is never ending.

Of that list...
* nofollow bbcode - what exactly should it do? There's a lot more to it than simply adding the base bbcode, it is essentially duplicating the url bbcode including all the preparsing and calls to fixTags.

* merging likes - yeah, I forgot about that. I'll look at that shortly, should be relatively quick to implement.

* smartphone/tablet icons should be doable enough; the user agent is stored in the log_online table when the action is also logged, so it's not as if it's a huge ask to figure that out, really. Might be nice, actually.

* A-Z keystrokes, yeah, that's bitten me when I've set a different privacy and forgotten to click on the textbox again, heh. But it needs to be 0-9 plus A-Z, since I can well imagine numeric entries as well as textual ones

* resize JS... that does depend on whether Zoomedia is used or not, really, since it may or may not be applicable then.
Title: Re: Which next? [Poll]
Post by: Nao on April 3rd, 2012, 05:56 PM
Quote from Arantor on April 3rd, 2012, 04:50 PM
Of that list...
* nofollow bbcode - what exactly should it do? There's a lot more to it than simply adding the base bbcode, it is essentially duplicating the url bbcode including all the preparsing and calls to fixTags.
I was thinking of a tag that would turn all links *inside* its contents to nofollow... Should be rather easy to take the body, and do a regexp on it... (Although it would have to be done last. And I'm not sure whether Wedge converts tags as it finds them, or by nesting level, and even then, top-level or low-level first..?)
Quote
* merging likes - yeah, I forgot about that. I'll look at that shortly, should be relatively quick to implement.
Yep ;)
Quote
* smartphone/tablet icons should be doable enough; the user agent is stored in the log_online table when the action is also logged, so it's not as if it's a huge ask to figure that out, really. Might be nice, actually.
Yeah, sometimes I have nice little ideas like that... :eheh:
It's the kind of thing that could help socially... "Okay I've sent this guy a PM, he's online but why isn't he replying...?"
---- Because it sucks to answer a PM or anything with quotes on a smartphone :P
Quote
* A-Z keystrokes, yeah, that's bitten me when I've set a different privacy and forgotten to click on the textbox again, heh.
Yes, and in iOS mode it's worse -- if you select a privacy and then type a thought, it'll reopen the select box. This is because Wedge doesn't remove focus from the select box when it's closed. It was actually a personal preference -- I thought that in terms of UI, it behaved more logically for people who used a keyboard. And indeed it works when you use tab to get out of the box. But if you click, it doesn't always focus it out... Maybe it's ONLY an iOS bug, I don't know.
Quote
But it needs to be 0-9 plus A-Z, since I can well imagine numeric entries as well as textual ones
Any key > 0x20, really...
Quote
* resize JS... that does depend on whether Zoomedia is used or not, really, since it may or may not be applicable then.
Indeed. It was more of a... transition before doing the Zoomedia stuff.
Title: Re: Which next? [Poll]
Post by: Arantor on April 3rd, 2012, 06:01 PM
Quote
I was thinking of a tag that would turn all links *inside* its contents to nofollow... Should be rather easy to take the body, and do a regexp on it... (Although it would have to be done last. And I'm not sure whether Wedge converts tags as it finds them, or by nesting level, and even then, top-level or low-level first..?)
As it finds them. It steps through the post, looking for each instance of a ], and parses as it finds, with the exception of code tags which are handled separately - first.
Quote
Yeah, sometimes I have nice little ideas like that... :eheh:
It's a good idea, but I think it should also be an option too.
Quote
if you select a privacy and then type a thought, it'll reopen the select box. This is because Wedge doesn't remove focus from the select box when it's closed. It was actually a personal preference -- I thought that in terms of UI, it behaved more logically for people who used a keyboard.
But of course if you're normally using a keyboard/mouse combo, you'll click, but the selectbox still has focus even when it seems like it shouldn't have.
Quote
Any key > 0x20, really...
There aren't that many keys you really need to worry about, 0-9 and A-Z are really it, rather than any printable character.
Title: Re: Which next? [Poll]
Post by: Nao on April 3rd, 2012, 06:06 PM
Quote from Arantor on April 3rd, 2012, 06:01 PM
As it finds them. It steps through the post, looking for each instance of a ], and parses as it finds, with the exception of code tags which are handled separately - first.
So, I guess it could be done only by parsing nofollow tags after all other tags, like for the footnote tag...
Quote
It's a good idea, but I think it should also be an option too.
Of course. And you know how I hate manipulating UI stuff... :P

Oh, speaking of UI... The Media area's menu is pretty fucked up when it comes to doing contextual tabs. Because it's made up of various sections that aren't physically linked, it's not possible to automatically generate the contextual tabs through template_generic_tabs or whatever. I had to add a 'force_tabs' option to 'skip' looking through the menu array and just use whatever data force_tabs provides instead. Still, it's broken... I don't know if there's much of a point in doing that.
My main concern was that AeMe uses template_button_strip to basically show what is a contextual tab strip of related areas in the menu... Meh.
Any opinion?
Quote
There aren't that many keys you really need to worry about, 0-9 and A-Z are really it, rather than any printable character.
Maybe "=", too... Things like that...
Anyway, I think I should just remove focus, like a regular sbox.
Title: Re: Which next? [Poll]
Post by: Arantor on April 3rd, 2012, 06:32 PM
Quote
So, I guess it could be done only by parsing nofollow tags after all other tags, like for the footnote tag...
It depends how much inelegance you'd be prepared to put up with, and possible performance issues. It would be possible to add a flag in when the tag is detected to be 'nofollow' and reset it when closed, and use that flag in conjunction with the validate function for URL tags. But not the best way it could be handled.
Quote
Of course. And you know how I hate manipulating UI stuff...
I like writing interesting UI, I hate writing dull UI - like the ad management one.
Quote
My main concern was that AeMe uses template_button_strip to basically show what is a contextual tab strip of related areas in the menu... Meh.
Any opinion?
I'd personally rather it be rewritten to be the same structure and style as other uses of the generic menus, which also means it would be possible to cleanly extend it with hooks etc. if authors want to do so. But it's ultimately your baby and I'd rather let you make that call.
Quote
Maybe "=", too... Things like that...
Anyway, I think I should just remove focus, like a regular sbox.
I can't see = ever being used properly in a selectbox (outside the admin panel in which case people are almost certainly not using the keyboard). But yeah, I agree that removing focus would be better.
Title: Re: Which next? [Poll]
Post by: Nao on April 3rd, 2012, 11:00 PM
Quote from Arantor on April 3rd, 2012, 06:32 PM
It depends how much inelegance you'd be prepared to put up with, and possible performance issues. It would be possible to add a flag in when the tag is detected to be 'nofollow' and reset it when closed, and use that flag in conjunction with the validate function for URL tags. But not the best way it could be handled.
Scratch that.
Could be done through a post-group permission... (Easiest example.)
When showing a post, if they don't have permission to get rid of nofollow, go through the anchor tags in the post and add a nofollow.
I'm not sure it's the best option (especially, where do we determine the permission for the *author* rather than the current user...?), but it's better than a nofollow tag which itself is unlikely to be used by anyone... (If you don't want to give PR juice to someone, then just don't link to them. Or use a code tag around the link...)
Quote
I'd personally rather it be rewritten to be the same structure and style as other uses of the generic menus,
Let me explain. There are two menus in AeMe, basically.
- The admin area's menu, which basically does things the same way as other areas do,
- And the media area's menu, which itself is built entirely on custom URLs and won't show contextual tabs for that reason.

I rewrote the media area menu to show said tabs, but it's not working perfectly. You can already have a look here (only works on the Moderate section, though, as Admin redirects to the admin area, Albums only show one tab, and Home doesn't show anything.)
I still need to replace the 'Media' we:cat's with a we:cat that says the actual section name (it used to, it just won't for now...)

Now, the question would be: is there a point in offering contextual tabs in the media area...? I think there is, but OTOH, perhaps it takes space in the upper area that would be better used by something else... (And if I start adding a 'description' for each entry, they'll take even more space I guess. But a description would be nice for some areas like Add Album...)
Quote
which also means it would be possible to cleanly extend it with hooks etc. if authors want to do so.
Well, I suppose it's all automated even in the current SVN version...?
It's just that the contextual tab code is a bit messy. I think it's because Dragooon wrote it back when he wanted to support SMF1 as well... And I've always hated the code for contextual tabs (you need a PhD to decrypt it), so no one bothered to change it again.
Quote
I can't see = ever being used properly in a selectbox
No, but using it in an input box could lead Wedge to open a list of boards in a select box to a section that says "===> Board"... Although I don't think there should be any case of this happening.
Quote
(outside the admin panel in which case people are almost certainly not using the keyboard). But yeah, I agree that removing focus would be better.
Oh oh... This means I'll have to look into my sbox code again... :P
Title: Re: Which next? [Poll]
Post by: Arantor on April 5th, 2012, 02:48 AM
Quote
Scratch that.
Could be done through a post-group permission... (Easiest example.)
When showing a post, if they don't have permission to get rid of nofollow, go through the anchor tags in the post and add a nofollow.
I'm not sure it's the best option (especially, where do we determine the permission for the *author* rather than the current user...?), but it's better than a nofollow tag which itself is unlikely to be used by anyone... (If you don't want to give PR juice to someone, then just don't link to them. Or use a code tag around the link...)
Don't make it a post count *permission* but make it based on post count separately. Karl wrote a mod for sm.org which was later turned into a public mod that works on this basis (Anti Spam Links) So it's certainly feasible to approach and doing it in core would be neat.
Quote
Now, the question would be: is there a point in offering contextual tabs in the media area...? I think there is, but OTOH, perhaps it takes space in the upper area that would be better used by something else... (And if I start adding a 'description' for each entry, they'll take even more space I guess. But a description would be nice for some areas like Add Album...)
I see what you mean. The way I see it, if the tabs are going to be used, it should be cleaned up and set up much as the others are set up, for consistency and it will make it extensible through plugins should folks want to.

But that's not to say the tabs have to be used. Whatever makes the most sense UI-wise; considering that the post layout for example has contextual UI.
Quote
Well, I suppose it's all automated even in the current SVN version...?
No, but if it's set up much as the others are, adding it in then becomes a matter of just adding a hook which receives the menu structure, but if it's a lot more complex, setting it up requires more thought and work.

You're right that the tab code is a mess generally, and it would be nice to properly harmonise things, since the profile and admin menus are set up differently (as there's pre-processing to handle permissions, as opposed to passing them to the menu handler)
Quote
No, but using it in an input box could lead Wedge to open a list of boards in a select box to a section that says "===> Board"... Although I don't think there should be any case of this happening.
I don't imagine it would really be used that way, as such I have no qualms about restricting = from being used in the SB as a keyboard shortcut.