Hey, nice... It's actually one of the many features I had on my (core) to-do list. I guess I can give it up now... :)
Maybe it should be made core, BTW...? Or at least an official plugin...
Can you share it for now? :P
Maybe it should be made core, BTW...? Or at least an official plugin...
Can you share it for now? :P
![]() | ...« I say wedge wedge (in the butt) » « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson) |
Funny, when I suggested a variation on this idea (putting it as a link in the message index to a similar sort of popup) you weren't so keen.
The reason for suggesting it that way is performance saving ;)
The reason for suggesting it that way is performance saving ;)
I don't remember having this discussion before..?
I had this mod installed on one of my earlier SMF1 sites, no longer there though, but I liked it...
I had this mod installed on one of my earlier SMF1 sites, no longer there though, but I liked it...
![]() | ...« I say wedge wedge (in the butt) » « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson) |
Hey, nice... It's actually one of the many features I had on my (core) to-do list. I guess I can give it up now... :)
Maybe it should be made core, BTW...? Or at least an official plugin...
Can you share it for now? :P
And done.. Someone wants it on their site :P
Nice one live :cool:
Stick a fork in it SMF | ![]() |
Nao lurves his plugins.
Quite a change in spirit. First wanting to shy away, then wanting to install some, then... wanting to build some?
I don't blame him from shying away from plugins. If you've never had to think in that mindset before, it takes some getting used to. Fortunately I'd come from SMF where I'd already been making lots and lots of use out of it.[1]
But building is less a skill and more an art in doing the dance the right way, especially if you're used to just adding code wherever you feel like.
But building is less a skill and more an art in doing the dance the right way, especially if you're used to just adding code wherever you feel like.
| 1. | I'm not going to claim that I made *best* use of hooks, I think Dime probably has that title. But I certainly made noise about making use of them whenever possible. |
I don't believe I ever had anything against plugins, on the contrary...
I hate mods because they make your life a nightmare when it comes to upgrading the main program.
I love plugins because they never modify external code.
I don't know how to write a plugin, though. And I wouldn't want to look into it for now -- it's not time for me. I have other priorities...
But I love the fact that some of the features I'm always postponing end up in nicely made plugins. That's pretty great.
Anyway... Active Members enabled on Wedge.org :) Thanks, John!
Oh, and also thanks for reminding me (through your code) that I hadn't (yet) fixed the $_GET['title']/$_POST['t'] bug in the Like popup. Done now. (Locally.)
Also, a quick fix for the 'more' link giving out negative numbers... (Due to activemembers_num being higher than the current number of posters.)
Code: [Select]
I hate mods because they make your life a nightmare when it comes to upgrading the main program.
I love plugins because they never modify external code.
I don't know how to write a plugin, though. And I wouldn't want to look into it for now -- it's not time for me. I have other priorities...
But I love the fact that some of the features I'm always postponing end up in nicely made plugins. That's pretty great.
Anyway... Active Members enabled on Wedge.org :) Thanks, John!
Oh, and also thanks for reminding me (through your code) that I hadn't (yet) fixed the $_GET['title']/$_POST['t'] bug in the Like popup. Done now. (Locally.)
Posted: October 11th, 2012, 04:48 PM
Also, a quick fix for the 'more' link giving out negative numbers... (Due to activemembers_num being higher than the current number of posters.)
<?php
$num_active_members = count($active_members);
if (!empty($settings['activemembers_num']) && $num_active_members > $settings['activemembers_num'])
$context['active_members'][] = '<a href="#" onclick="reqWin(weUrl(\'action=activemembers;t=' . $topic. '\'), 500); return false;">' . $txt['more'] . '</a> (' . ($num_active_members - $settings['activemembers_num']) . ')';![]() | ...« I say wedge wedge (in the butt) » « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson) |
The ability to push features into plugins is one of the reasons I wanted to make sure there was a battle-hardened plugin system there ;)
Writing them isn't hard, once you get into the mindset. The mindset simply is: I can run my own code at *these* places, if I were inserting my own code there to do a job, what would I write? The rest is pure packaging.
Writing them isn't hard, once you get into the mindset. The mindset simply is: I can run my own code at *these* places, if I were inserting my own code there to do a job, what would I write? The rest is pure packaging.
agent47
- We-Gen
-



- Well that's the thing, yesterday was my first experience with the notification feature thus have a total of one notification so far. :D
- Posts: 79
Nice work live627!

Thanks for the bug fix, Nao!Quote It's purely coincidental at this point mainly because I have absolutely no ides what's on your to-do list.
But I love the fact that some of the features I'm always postponing end up in nicely made plugins. That's pretty great.
[Plugin Screenshots] Invitation Only Topics »






