Square Wheels Posted November 21, 2015 Share Posted November 21, 2015 I just updated my site. To help ensure I had as few issues as possible, I inactivated / removed everything so the site was starting from stock. Previously I had an online indicator, I know it's no longer part of 4.x (no idea why???), but it used to be in the Marketplace. I can't find it. How can I add a green dot next to an online user in posts? Thanks Link to comment Share on other sites More sharing options...
Admonstrator Posted November 21, 2015 Share Posted November 21, 2015 Hi, I used this addon and it's working: https://community.invisionpower.com/files/file/4268-user-online-status-in-topics/ But you have to hack a little bit within the CSS file because the dot is just too big. Link to comment Share on other sites More sharing options...
Square Wheels Posted November 21, 2015 Author Share Posted November 21, 2015 6 minutes ago, Admonstrator said: Hi, I used this addon and it's working: https://community.invisionpower.com/files/file/4268-user-online-status-in-topics/ But you have to hack a little bit within the CSS file because the dot is just too big. That one shows a green dot? 2 hat css did you use? Link to comment Share on other sites More sharing options...
Admonstrator Posted November 21, 2015 Share Posted November 21, 2015 Just now, Square Wheels said: That one shows a green dot? 2 hat css did you use? Yepp. Shows a green dot next to the user in posts. I don't use this plugin anymore so I can't tell you which css params I changed. But it should be no problem by using your developer console (within firefox or chrome) and get the right css attribute for the dot. Just change the size and everything should be cool (: Link to comment Share on other sites More sharing options...
Square Wheels Posted November 21, 2015 Author Share Posted November 21, 2015 Hmm, this is a hook, which 4.x no longer uses to install modifications. Link to comment Share on other sites More sharing options...
Admonstrator Posted November 21, 2015 Share Posted November 21, 2015 2 hours ago, Square Wheels said: Hmm, this is a hook, which 4.x no longer uses to install modifications. Sure? I'm pretty sure that I used this under 4.x ... Damn, I'm so sorry! I used another hook but as you already said this hook isn't available anymore Link to comment Share on other sites More sharing options...
Square Wheels Posted November 22, 2015 Author Share Posted November 22, 2015 Thanks. I'm willing to pay for this. Any mods out there want to earn a few bucks? It could be as simple as getting the green dot back, or more elaborate like a small badge on the corner of the avatar, or a different avatar border. Link to comment Share on other sites More sharing options...
-FP Posted November 22, 2015 Share Posted November 22, 2015 I've made a plugin for this just for my site, but it's not in the market it's so simple... I may upload it to the marketplace later someday, looking into adding the dot also to private messages... but in the meanwhile... Online Indicator 1.0.2.xml Works with 4.1.x. Link to comment Share on other sites More sharing options...
Daniel F Posted November 22, 2015 Share Posted November 22, 2015 I've seen one in the marketplace Link to comment Share on other sites More sharing options...
Square Wheels Posted November 22, 2015 Author Share Posted November 22, 2015 2 minutes ago, Daniel F said: I've seen one in the marketplace Not sure how this shows for you, but I can't view it. Sorry, there is a problem We could not locate the item you are trying to view. Error code: 2D161/2 Link to comment Share on other sites More sharing options...
Daniel F Posted November 22, 2015 Share Posted November 22, 2015 Sorry, i missed that it was hidden Link to comment Share on other sites More sharing options...
Square Wheels Posted November 22, 2015 Author Share Posted November 22, 2015 Just now, Daniel F said: Sorry, i missed that it was hidden Tease. 27 minutes ago, -FP said: I've made a plugin for this just for my site, but it's not in the market it's so simple... I may upload it to the marketplace later someday, looking into adding the dot also to private messages... but in the meanwhile... Online Indicator 1.0.2.xml Works with 4.1.x. Thank you! This works very well. I am trying to change it's size, I thought maybe I'd add this to the custom.css, but it doesn't seem to be working. I'm 100% sure it's my error. ipsOnlineStatus_offline { font-size: 40px; } Link to comment Share on other sites More sharing options...
-FP Posted November 22, 2015 Share Posted November 22, 2015 Hmm try adding !important to it, you know: ipsOnlineStatus_offline { font-size: 40px !important; } Link to comment Share on other sites More sharing options...
Square Wheels Posted November 22, 2015 Author Share Posted November 22, 2015 2 minutes ago, -FP said: Hmm try adding !important to it, you know: ipsOnlineStatus_offline { font-size: 40px !important; } Thanks! I tried that too, but it's still the same size. I tried ctrl-F5 on my browser too. Link to comment Share on other sites More sharing options...
-FP Posted November 22, 2015 Share Posted November 22, 2015 1 minute ago, Square Wheels said: Thanks! I tried that too, but it's still the same size. I tried ctrl-F5 on my browser too. Oh, the class is missing the dot at the beginning, noticed it testing, also it should work without the !important thing: .ipsOnlineStatus_offline { font-size: 40px; } Link to comment Share on other sites More sharing options...
Square Wheels Posted November 22, 2015 Author Share Posted November 22, 2015 You are very kind. I went with this: .ipsOnlineStatus_offline { font-size: 15px; } .ipsOnlineStatus_online { font-size: 15px; } I did offer to pay, and I see you are a contributor. Please PM me a PayPal account or other way to pay you. Link to comment Share on other sites More sharing options...
-FP Posted November 22, 2015 Share Posted November 22, 2015 3 minutes ago, Square Wheels said: You are very kind. I went with this: .ipsOnlineStatus_offline { font-size: 15px; } .ipsOnlineStatus_online { font-size: 15px; } I did offer to pay, and I see you are a contributor. Please PM me a PayPal account or other way to pay you. Glad it worked. No worries man, I will upload this to the marketplace for free later when I add some more stuff to it. Link to comment Share on other sites More sharing options...
Greg W Posted November 22, 2015 Share Posted November 22, 2015 Hey @-FP,this is great & simple, thanks Is there an easy way to change the Font Awesome icon in it? Link to comment Share on other sites More sharing options...
-FP Posted November 22, 2015 Share Posted November 22, 2015 15 minutes ago, Greg W said: Hey @-FP,this is great & simple, thanks Is there an easy way to change the Font Awesome icon in it? You could edit the .xml file and change fa-circle in the code with your icon, there are 2 instances of it in the Hook Data section, the online and offline icon. Save and install. I'll add a settings field to specify a font awesome icon when I publish the plugin. Link to comment Share on other sites More sharing options...
-FP Posted November 22, 2015 Share Posted November 22, 2015 I've uploaded the plugin to the marketplace, we just have to wait until they review it. For now added the indicator also to private messages and the option to specify an icon for both statuses. Link to comment Share on other sites More sharing options...
broni Posted November 22, 2015 Share Posted November 22, 2015 Thank you kindly Works well Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.