vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - Customizable Roster (https://vborg.vbsupport.ru/showthread.php?t=235326)

Tirabytes 08-31-2010 05:50 AM

Would it be possible to have coloured "Group" names rather than forum default? Like if the Username is red, so is the Group?

BTW great mod. :)

Sarcoth 08-31-2010 11:28 AM

Quote:

Originally Posted by asbc (Post 2091874)
This is a great mod!!

I was wondering, I have paid subscriptions set up for my usergroup. Is it possible to show the subscription expiry date in one of the roster columns?

I'm sure it is possible. No idea where that data is pulled from though. I'll look into it when I have some time, but probably not till after this semester is over.

Quote:

Originally Posted by Tirabytes (Post 2091907)
Would it be possible to have coloured "Group" names rather than forum default? Like if the Username is red, so is the Group?

BTW great mod. :)

I don't recall that being anywhere in the vb code, so you'll have to put the colors in on your own. Nevermind, I just tried it. Since there is no vb code in there to do that, that I know of, it will take a good amount of coding to do. I was going to suggest you just edit the template and put in your color that you want, but that will only force every group to appear that color. There needs to be a variable. Obviously the best variable is the usergroup. I know how to do it, I just don't have the time right now with school. Calc B and Physics in the same semester means studying every waking hour.

betts02 08-31-2010 08:39 PM

Very good update

Just wondering on how the group settings are used ?

I dont get how its used and what to put

chers in advance

Dragonsys 09-01-2010 03:45 PM

Quote:

Originally Posted by Sarcoth (Post 2088372)
The problem is that both mods are using the same Execution Order for the tab. I guess they have a default order when on the forums and then when you go to the page for the particular mod, it takes precedence. So, what you need to do is go into the plugins and change the Execution Order for one of them. The "ShowRoster Tab for Navbar" is the name of the plugin for this mod. If you want the roster mod first, then change it to 4, otherwise change it to 6 or something larger.

Most mods use 5 as the default, so you may encounter that problem again. Now you know how to fix it. I'll change this to another number once I figure out how to set the execution order within the mod code.

So, I changed the Exec order to 6 for Roster and 99 for Project Tools, and the tabs still switch order when you click on them, so this is not the solution. I think it has to do with this bit of code:
Code:

$navbarloc = $vbulletin->options['showroster_navbar_loc'];
$navbarorder = $vbulletin->options['showroster_navbar_order'];

switch ($navbarloc) {
    case '1':
        $nbloc = 'navtab_start'; break;
    case '2':
        $nbloc = 'navtab_middle'; break;
    case '3':
        $nbloc = 'navtab_end'; break;
}

Quote:

Originally Posted by asbc (Post 2091874)
This is a great mod!!

I was wondering, I have paid subscriptions set up for my usergroup. Is it possible to show the subscription expiry date in one of the roster columns?

the data comes from the subscriptionlog table.
The fields you would need to read are: subscriptionid, userid, expirydate and status
The basic SQL Query would be something like this:

Only Active Subscriptions:
Code:

SELECT subscriptionid,userid,expirydate FROM ".TABLE_PREFIX."subscriptionlog WHERE status = 1
Only one particular Subscription:
Code:

SELECT userid,expirydate FROM ".TABLE_PREFIX."subscriptionlog WHERE subscriptionid = {Your_Subscription_ID}

Hall of Famer 09-03-2010 05:52 AM

This sounds cool for an RP site. XD

owning_y0u 09-04-2010 11:46 AM

got a small problem, i have several usergroups that i want to get in to this, but if there are more then 12 users in that groups it only shows the first 12 members in the user group.

besides that i only have 1 Administror account but is shows me 2.

Sarcoth 09-04-2010 02:59 PM

Quote:

Originally Posted by owning_y0u (Post 2093637)
got a small problem, i have several usergroups that i want to get in to this, but if there are more then 12 users in that groups it only shows the first 12 members in the user group.

besides that i only have 1 Administror account but is shows me 2.

Well, that is definitely not possible. I'm using the same version as the one I have here and I have 34 members in one of my groups. All of them are showing. Check my FAQ and make sure you are not using the filter. Not sure what's up with the admin account thing, I'd need to be able to see your site to figure that one out.

owning_y0u 09-06-2010 03:11 AM

Quote:

Originally Posted by Sarcoth (Post 2093706)
Well, that is definitely not possible. I'm using the same version as the one I have here and I have 34 members in one of my groups. All of them are showing. Check my FAQ and make sure you are not using the filter. Not sure what's up with the admin account thing, I'd need to be able to see your site to figure that one out.

it's Fixed now thanks,

About the administrator issue it has been fixed as well, we work with 2 layer of admins,
1 Full admin, and 2 semi admin (which can not edit or see all the Admin CP things)
problem was that one of those users was also a additional user to the administrator group.

any change that you are planning to use the all the Vb stylevars? as i dont like the black border for the table's and cells

CMSTemplateZ 09-06-2010 03:51 AM

Tagged for now, Cheers.

Do you think this would be a nice addition for a Battlefield forum ?

AfterWorldForum 09-06-2010 04:33 AM

Are there any plans to set this up on a per-usergroup level so multiple clans could be supported on the same forum?

Sorry if this has been asked before, I just saw the mod, and missed that functionality when I went over the first few posts.


All times are GMT. The time now is 10:55 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
  • Page Generation 0.01602 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete