Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
PM popup
« on October 10th, 2011, 12:06 PM »
The existing PM popup has long bugged me, and after Nas' enhanced PM popup, I thought I'd give it a shot in Wedge (as a core feature, rather than a plugin)

It's still a WIP but here's what I got so far. I may not finish it (and abandon my changes) or tweak it, haven't really decided yet.

(Yes, I know it needs a border, and some actual content.)

 pm_popup.png - 19.8 kB, 640x244, viewed 221 times.

Re: PM popup
« Reply #1, on October 10th, 2011, 12:17 PM »
Funny, now I've started doing this, I can think of a much better way of doing it, using the existing popup architecture.

(We have a setup whereby popups are not done into new windows but a small window-like structure in the lower right corner. I posted an example using that for readme files in the plugin manager - here if you want a picture)

I'm thinking I could use that to contain the popup, and it would also provide for displaying a short preview too without being so in-your-face.

Thoughts?
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Posts: 350
Re: PM popup
« Reply #2, on October 10th, 2011, 01:21 PM »
I quite like 2.0.1 with the opacity and popup going on..... but it is 'in yer face' as you rightly say. On the otherhand you have no excuses for missing one  :)
I also like the lower right window - classy  :cool:
<br /><br />cough, cough.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: PM popup
« Reply #3, on October 10th, 2011, 01:29 PM »
Quote
I quite like 2.0.1 with the opacity and popup going on.....
That's your browser doing that. The popup in 2.0 is a standard JavaScript popup, so it'll do whatever your browser does with such things.

The lower right window is, I suspect, where I'll end up doing it, just doing some other stuff first.

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Posts: 350
Re: PM popup
« Reply #4, on October 10th, 2011, 01:33 PM »
Quote
That's your browser doing that.
Told you I was clueless  ::)


Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: PM popup
« Reply #5, on October 10th, 2011, 01:39 PM »
Quote from billy2 on October 10th, 2011, 01:33 PM
Quote
That's your browser doing that.
Told you I was clueless  ::)
Nah, you're not. Most people don't realise that it's SMF leveraging your browser to do the work.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: PM popup
« Reply #6, on October 10th, 2011, 02:52 PM »
Quote from billy2 on October 10th, 2011, 01:21 PM
I quite like 2.0.1 with the opacity and popup going on..... but it is 'in yer face' as you rightly say. On the otherhand you have no excuses for missing one  :)
I also like the lower right window - classy  :cool:
My lower right popup code also has an opacity animation, you know... :P

Anyway, yeah Pete, that popup would best be using the help popup system.
Actually, any popup done with window.open() and things like that... I think there's a to-do list item about that in the list I posted a few days ago ;)

(Oh, and I forgot to reply to your comments on it... -_-)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: PM popup
« Reply #7, on October 10th, 2011, 02:58 PM »
Quote
Anyway, yeah Pete, that popup would best be using the help popup system.
Yup, that was my conclusion. Not only would it be more capable of doing things, it means no extra template work in the main template, and it'd just look better anyway.

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Posts: 350
Re: PM popup
« Reply #8, on October 10th, 2011, 02:59 PM »
Quote
My lower right popup code also has an opacity animation, you know... :P
I didnt know that Nao, no. Am I supposed to?
I have been banned from uploading images, so I doubt I have SVN access  :yahoo:


Nao

  • Dadman with a boy
  • Posts: 16,079
Re: PM popup
« Reply #9, on October 10th, 2011, 03:00 PM »
You aren't banned from anything (?), and you have demo access if you want...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: PM popup
« Reply #10, on October 10th, 2011, 03:03 PM »
I think the permissions aren't quite set right in AeMe here...

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Posts: 350
Re: PM popup
« Reply #11, on October 10th, 2011, 03:08 PM »
 :lol:

I will bob into the demo then and pm myself :)
I think I have spammed enough here for a week.




Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: PM popup
« Reply #12, on October 10th, 2011, 03:11 PM »
This isn't in the demo yet :P The demo is in fact a shade behind what the changelog says, this whole thread started out with my proposing a new idea...

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Posts: 350
Re: PM popup
« Reply #13, on October 10th, 2011, 03:14 PM »
Quote
..... this whole thread started out with my proposing a new idea...
Wierd how that happens :)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: PM popup
« Reply #14, on October 10th, 2011, 03:16 PM »
Well, I'll note it wasn't entirely original but it took a different direction minutes after I posted. It's almost like I tried to do something new, different and interesting ;) :lol: