![]() |
Quote:
Thank you again for your help! :) |
Is there is a way to show notifications for those linked accounts in the dropdown? like maybe a "Total Notifications"? to show an admin someone has interacted with one of the linked accounts? If I am using a few linked accounts for different management, I want to know if there is a notification for that account without having to switch over to it first.
|
Quote:
Actually, you can do two things: a) You can edit plugins (actually, one plugin of this mod in question). b) You can edit installation xml file by yourself, or use one I attached and upload it with allowing overwrite to assure it is accepted by vB. Everything will stay the same, except, of course, you'll have additional working hook (or completely new one) that you now can place in header template where you want it. I don't know what exactly you intend to do, but I still use things as I described in second post (much faster to see all linked accounts and it needs only one click). Sorry for missing image, imageshack dropped it. :( Anyway, creating new, previously not existing hook is the best path and afterwards placing it in template of choice (navbar, footer, whatever someone prefers). At least I see it that way. Quote:
Linked accounts are still completely separate. This mod just makes easy switching between them. No information (except linked accounts) is stored about them. And I agree it would be useful to see if there are new PM's or other notifications about other accounts. |
Quote:
Although, now I'm seeing this issue (in fact it's been there all along, but I thought it'd be easier to take care of...) Screenshot with space highlighted and Chrome's inspect for reference: https://vborg.vbsupport.ru/external/2015/01/15.jpg There's a couple of things I'm confused about... 1: There's an li with an id of "qas_switch" that was empty (it also had an empty href tag) - I have that id set to display none, because it was creating more space. 2: The QAS is in the next li, but there's a weird empty href tag in there too, before the actual link. When I inspect and do display:none on that one, the space goes away and all is well. I'm not sure why there's an empty href tag there and because the link is being added in through the Navigation Manager, there's no way for me to edit the html. Any ideas how to get that empty href to go away? I can't do something like this (li#yui.gen0 { a: display:none; }) as that would remove all the links in that id. |
That's strange. I just checked, I don't have empty href tag. I use version given here. Interesting is, picture is back again, so you can see how it looks like.
Anyway, maybe you did something wrong? |
Quote:
If I wanted to do this one without using the new .xml, do I need to uncomment one of the lines at the bottom of the code? This is what is in this board's QAS: Handle Switch: PHP Code:
Thank you, Alan for your patience! :) |
Well, I'm using hook in my version and template which I modified to create output I like as shown in the image (both are in my xml version, you only need to place hook manually where you want output).
Here is used phrase for navigation, but how vB handles it, I don't know, maybe that creates problem, maybe not, I'm not on vB4.2.1+ But, when updating, you just can reload older version and allow overwrite if you don't like new version. Every setting will stay the same this way. So you can play with different versions of QAS. About code, you could try to uncomment hook locations and see if it will work on your version of vB. |
I had to take a break looking at this... but finally at it again!
Okay, after some testing... this is what I've found... PHP Code:
Doing this, the QAS link is now the very last link in the navbar and there is no extra funky space that I was seeing. I'd prefer this to not be the last link in the navbar, but I definitely won't complain as the extra space to the side was bothering me more than the order does. :) Thank you for your help, Alan! |
If I understand you correctly, now you're using two hooks: navbar_end and navbar_after_links? As in the code isn't version you described you're using.
Anyway, from what you did if I get it correctly, there's a problem with Navigation Manager, who creates that extra space, which is probably bug in vB. You could always add new hook location in template navbar at exact place where you want QAS switch and add it in the plugin code. |
I've just commented out two of the hook locations, and now am using this one, which seems to work and not break anything:
PHP Code:
PHP Code:
Being used to how the navbar worked in vb3, I'm considering just not using the Navigation Manager at all and just hardcoding the links in there in the order that I want them. |
All times are GMT. The time now is 08:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|