![]() |
Wow, a full day spent on the navbar stuff. I thought I had it done yesterday, but I had to redo it again because I could not get the order setting to work. I removed the navbar code (mostly) from the php file and now it is completely done via the plugin. I renamed the template to navtab and created a new template called subnavtab to do the sorting. I had many problems getting it to work, but in the end, the subnavtab template will only show when on the showroster page (exactly what I wanted). Even if you disable the tab, you will still have access to the subnavtab sorting options. And, the order of the navtab has been completely removed from the settings and you will have to use the plugin execution order to change its order. You can still adjust the location in the ShowRoster settings though.
The subnavtab is rendered by the showroster.php file. The only problem I am having, not really sure it is a problem, but the subnavtab is rendered via a template_hook. Personally, I think it should be rendered another way, but everything I try does not work. I have no idea when the template_hook works especially since the code right after it does not do anything. It works this way though, so I guess I cannot complain; I have a headache. I have all the above options completed except for the border (#7) and dropdown menu (#6). I think the dropdown will be easier now since I have the navtab code better designed, but I will have to put it off. No one has really asked for it anyhow and I ended up going another route with setting up my own personal navtab's for my site. If anyone is interested in the code I am using for dropdowns at my site (sacredhaven.org), let me know and I'll post my code here. Anyhow, if I can complete the border code by tomorrow night I hope to have the update posted soon after or the following day. Barteh, I'll send you a PM soon on being the guinea pig since you volunteered. |
Alright, so I finished it sooner than I thought I would. Please let me know if you find any problems. I will start working on the small requests tomorrow.
|
Quote:
Quote:
Does that make it easier to understand? |
@ Mobo - Since you are asking about two things the mod already has, I am guessing you know about them. The only way they work in conjunction is by affecting all usergroups. Sadly, there is no way in the code to affect just one usergroup and the missing profilefield.
Yet, there may be a way to do it. Give me a link to your site and show me exactly what you want to do. If it takes me less than 15 minutes to think up, I'll let you know what you can do. That is the timeframe I set aside for whether it is an easy fix. Easy ones I'm willing to do. |
My site is Wings of War Aerodrome, not sure if it will help you much though.
Basically I have two custom profile fields that members enter their location in. I'd like to use these two fields to determine which roster the member should be added to, and then use the usergroup ID to determine where on the roster they should be added (Commander, Leadership, or normal user for example). |
Quote:
Quote:
I may be wrong, I just woke up, but that is how it sounds to me. It definitely looks like a medium to large project though. I think I could do it, but I am only doing small fixes from now on. Sorry. |
No worries man, thank you for looking into it.
|
Hey Sarcoth, do you have time now to sort out that fixed width of columns ? Also, i have tried everything, but that "Show Online Status" does not work.. :/ Thank you Anti..
|
What am I doing wrong here ? :(
I installed the mod, just like the instructions say. I set up the usergroups allowed to see, those to be shown and all that stuff. I added some profile fields for test to some members on the usergroup in question and filled them with infos. Now I go to the Roster and its empty, and stays empty. What did I miss here ? The board Version is 4.10 btw. |
You are missing this https://vborg.vbsupport.ru/showpost....87&postcount=3
|
All times are GMT. The time now is 02:20 PM. |
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:
|