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)

Sarcoth 08-12-2010 11:32 AM

@Gleedo - Yea, I just realized that myself actually. I will fix that in the next version, which I am trying to finish by the end of the week.

Sarcoth 08-12-2010 04:10 PM

Version 4.0.5 has been completed and will be posted shortly. In the meantime, here is the changelog.

Version 4.0.5 - August 12, 2010
  • Templates: statbits has been added for the new statistics table. SHOWROSTER has had some code added to work with the new statbits template. Small changes have been made to other templates.
  • CSS template has had some new code added to address the new statistics table.
  • A new option settings "ShowRoster Group Settings" has been added for use with the new statistics table.
  • A lot of new code has been added to the showroster.php file to work with the new statistics table.
  • The image path that is used when a user does not have an avatar has been fixed.

You can see a working roster here: Sacred Haven Guild Roster

I do not have a walk through on how to use statistics table, you will have to play with it to figure out how they are set. If you are confused, I'll answer your questions here as long as you have the product listed as Installed.

At this time, I do not have any plans for future updates. I will always listen to suggestions, some of them I may add. Usually those that have numerous people interested in them. College starts up again next week for me, so I don't plan to have much time for this after that. I'll try when I can though.

On a side note, I am working on another modification to link the Vanguard: Saga of Heroes guild database with the showroster mod. I had it working back in 3.8, so I just need to rework the code.

Thanks to all those that have installed this mod. Special thanks to all those that have helped me with it over the last couple years.

Sarcoth 08-16-2010 07:18 PM

Wow. I cannot believe I had a release without any problems or questions. My classes start tomorrow so I'll assume all is well. I'll trust in Dragonsys and others in answering any questions you have. Otherwise, I'll answer them as soon as I can. It may take a day or two depending on my homework/study load, but I will get to them.

Requests/suggestions will probably be put off until December, but feel free to submit them. There's always a chance I'll find some time; just don't count on it.

CoZmicShReddeR 08-17-2010 08:29 AM

Thanks for the update!

unknown22 08-18-2010 07:11 AM

Will this work on vbulletin 4.0.6?

Sarcoth 08-18-2010 11:08 AM

Quote:

Originally Posted by unknown22 (Post 2085642)
Will this work on vbulletin 4.0.6?

I've never had a problem with this mod not working for a higher version. My guess is that it will work for all vB4 versions. When it doesn't, I'll fix it. I haven't upgraded yet, but someone will surely tell me if they encounter a problem.

unknown22 08-18-2010 02:17 PM

I'm trying to set it up as so:

User Name SteamID - SteamProfile Post Count Date Joined Last Online Online Status

The steam id does not show i set it user profile filed field2 single text box and added it to
ShowRoster Settings, and is there another way to make more categories under the the 4 line roster Like yours in the demo.

I also didn't see

Step 6: Admincp > Styles & Templates > Expand > ShowRoster Templates > SHOWROSTER, showroster_header, and showroster_userbits

Sarcoth 08-18-2010 02:39 PM

Quote:

Originally Posted by unknown22 (Post 2085787)
I'm trying to set it up as so:

User Name SteamID - SteamProfile Post Count Date Joined Last Online Online Status


The steam id does not show i set it user profile filed field2 single text box and added it to
ShowRoster Settings, and is there another way to make more categories under the the 4 line roster Like yours in the demo.

I also didn't see

Step 6: Admincp > Styles & Templates > Expand > ShowRoster Templates > SHOWROSTER, showroster_header, and showroster_userbits

How did you add the field2 to the settings? You only typed field2 yes? You'll need to enter your SteamID in your own profile. If you've done all that, I'm not sure why it is not showing. What's the link to your roster? Make sure unregistered users can view it.

What extra categories do you mean?

Not sure how better to describe the location of the ShowRoster templates. If you are new to vb, then I don't recommend adjusting that anyhow. Get everything else you asked about working first.

mbeelen 08-18-2010 07:25 PM

Can you also make it possible that the ranks near the username are showed.

Checked a few things, but bbcode is not working same as HTML.

Cheers.

p.s it's also working for 4.06

Sarcoth 08-18-2010 07:41 PM

Quote:

Originally Posted by mbeelen (Post 2085938)
Can you also make it possible that the ranks near the username are showed.

Checked a few things, but bbcode is not working same as HTML.

Cheers.

p.s it's also working for 4.06

Go to the showroster_userbits template:

Find:
Code:

                        <a href="member.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}-{vb:raw userinfo.username}">{vb:raw userinfo.musername}</a>
Somewhere near there (above, behind, wherever you think looks best), Add:
Code:

{vb:raw userinfo.rank}
I think it would look better if you switched out the code from one of the columns though.

I.E.:
Code:

<vb:if condition="$show[field1st] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column1]}}</td></vb:if>
Please click installed.

unknown22 08-19-2010 03:15 AM

I pmed you the link. Basicall trying to set it up like yours but different, like categories for different ranks and is it possible for members to automatically get assigned to the roster.

Sarcoth 08-19-2010 12:12 PM

Quote:

Originally Posted by unknown22 (Post 2086119)
I pmed you the link. Basicall trying to set it up like yours but different, like categories for different ranks and is it possible for members to automatically get assigned to the roster.

I have class all day Tuesdays and Thursdays, so I probably won't be able to get to answer you again until tomorrow. Anyhow, your problem is either one of two things:

1) You do not have the correct "Usergroups displayed on the roster" set.
2) You have a field being filtered that is preventing everyone from appearing on the roster. Remove the "field7" or whatever number you have there so nothing is being filtered out. "Choose a field to be filtered (I.E. field7). Users that leave this field blank will not appear on the roster."

I will have to leave that field blank in the future since this is the second time someone has had that problem. I'll add it to the FAQ though.

Categories: Once the roster displays users, you'll have better luck in getting that to work. Just play with it. You'll need to pick a column that users have things in common with other users. I'll gladly explain it more in detail when you get the roster working. Just ask the questions.

There are various ways you can get users assigned to the roster automatically. One way is by using the filtering field. When they update that field so it is no longer blank, they'll appear on the roster. Another is by using another mod that puts the users in different usergroups when they accomplish certain things on the forum. When they are put into the usergroup you have set for the roster, they'll then appear. You could also use another mod that makes them fill out a form, when they fill it out, they are moved to a usergroup that puts them on the roster. I only provide support for the filtering though, and there is not much more I can say on that.

unknown22 08-19-2010 03:59 PM

Well thanks for it working!

There a way to add post count field, and organized the roster leaders > recruits.

Sarcoth 08-19-2010 05:38 PM

Quote:

Originally Posted by unknown22 (Post 2086412)
Well thanks for it working!

There a way to add post count field, and organized the roster leaders > recruits.

In between classes right now. Not sure about the post count because it all depends on whether it is in the user table or not. I don't think it is, but perhaps the post count can be pulled globally. You can organize the usergroups anyway you like; check out the txt files that came in the Mod and one of them gives a brief description of each setting.

Please click installed for this mod.

unknown22 08-20-2010 03:22 AM

It doesn't show how to order them by how you like i have 8 member ranks there all mixed up and not in order the leader rank should be at the top but it's at the bottom.

Trek 08-20-2010 03:34 AM

Quote:

Originally Posted by unknown22 (Post 2086685)
It doesn't show how to order them by how you like i have 8 member ranks there all mixed up and not in order the leader rank should be at the top but it's at the bottom.

You add your usergroups in the order you want them displayed.

unknown22 08-20-2010 06:55 AM

Yeah i don't get it how. "usergroupid" doesn't show by name only number

Leader
co-leader
staff
lower-staff

right now it's

co-leader
staff
lower-staff
Leader

Dragonsys 08-20-2010 02:51 PM

Quote:

Originally Posted by unknown22 (Post 2085787)
I also didn't see

Step 6: Admincp > Styles & Templates > Expand > ShowRoster Templates > SHOWROSTER, showroster_header, and showroster_userbits

Expand is not in the Styles & Templates. He is telling you to Expand the ShowRoster Templates section. So it will actually look like this:

Admincp > Styles & Templates > ShowRoster Templates > (all the templates)

Dragonsys 08-20-2010 02:53 PM

Quote:

Originally Posted by unknown22 (Post 2086735)
Yeah i don't get it how. "usergroupid" doesn't show by name only number

usergroupid is only a number, so it cannot be sorted by name if this is what you are using. if you want to sort by the usergroup name the call will have to be done differently.

unknown22 08-20-2010 03:41 PM

I'm sorry i don't understand how that would fix the roster.

Step 6: Admincp > Styles & Templates > Expand > ShowRoster Templates > SHOWROSTER, showroster_header, and showroster_userbits

what do i do there??

Trek 08-20-2010 09:37 PM

AdminCP -> Settings ->Show Roster

Look for the option "
Usergroups displayed on the roster (comma separated ID list). The order of usergroups are how they are displayed ONLY when using 'title' as your primary sort field below."

The usergroups there are the ones that will show on the roster, put them in the order you want them to appear in the roster, whatever that order might be.

At least, I think this is what you are asking to do. =)

Sarcoth 08-21-2010 04:02 AM

Thanks Trek/Dragon, that is what I think he is asking as well.

Sorry I did not answer here sooner. One of my other databases was hacked last night and it effected all my .php files over my entire site. Thankfully, only the database hacked was harmed, but I can restore that. It just goes to show, always update your software to the most recent release. Everything is finally cleaned though.

pixscotty 08-21-2010 07:53 PM

CHeers,
Installed and using. Great for community managment and can be used for many games.

unknown22 08-23-2010 02:56 PM

I installed 2 mods and they both created name tabs servers and roster

Format Name tabs on site.

Forum, What's New, Roster, Servers

But when i click on roster it switches positions with servers Only seems to be with roster people been telling me so i decided to ask.

Sarcoth 08-23-2010 03:24 PM

Quote:

Originally Posted by unknown22 (Post 2088363)
I installed 2 mods and they both created name tabs servers and roster

Format Name tabs on site.

Forum, What's New, Roster, Servers

But when i click on roster it switches positions with servers Only seems to be with roster people been telling me so i decided to ask.

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.

Stryker412 08-23-2010 08:15 PM

I just installed this mod. I wanted to use it to better show our members who the admins are on our game servers. I have a custom usergroup that each admin is added to when they are accepted. When I put in the usergroupid to be added to the roster, nothing shows up at all.

Sarcoth 08-23-2010 08:22 PM

Quote:

Originally Posted by Stryker412 (Post 2088482)
I just installed this mod. I wanted to use it to better show our members who the admins are on our game servers. I have a custom usergroup that each admin is added to when they are accepted. When I put in the usergroupid to be added to the roster, nothing shows up at all.

Most likely the filter, which someone else asked about last week. Check this page or the FAQ on page 1.

Stryker412 08-23-2010 09:15 PM

Quote:

Originally Posted by Sarcoth (Post 2088484)
Most likely the filter, which someone else asked about last week. Check this page or the FAQ on page 1.

Got it thanks, not sure how I missed that FAQ.

Stryker412 08-24-2010 02:28 PM

One small issue. When click on the Roster tab it moves position when on the Roster screen.

unknown22 08-24-2010 02:32 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.

Sorry where is that Settings > options? within admincp

Dragonsys 08-25-2010 06:40 PM

Quote:

Originally Posted by Stryker412 (Post 2088864)
One small issue. When click on the Roster tab it moves position when on the Roster screen.

https://vborg.vbsupport.ru/showpost....&postcount=265

Dragonsys 08-25-2010 06:43 PM

Quote:

Originally Posted by Sarcoth (Post 2088372)
I'll change this to another number once I figure out how to set the execution order within the mod code.

in your xml file change:
Code:

<plugin active="1" executionorder="5">
For the navbar plugin

I think pretty much everyone defaults to 5...

unknown22 08-26-2010 05:28 PM

Wheres the xml file i can't see it on includes/xml folder or vbulletin admincp panel in manage products

Dragonsys 08-26-2010 07:40 PM

Quote:

Originally Posted by unknown22 (Post 2089932)
Wheres the xml file i can't see it on includes/xml folder or vbulletin admincp panel in manage products

the one you import into admincp. That msg was more for Sarcoth.
if you have th emod installed, then yo ugo to Admincp -> Plugins & Products -> Plugin Manager -> Product : Showroster Mod -> ShowRoster Tab for Navbar (edit)
Change Execution Order from 5 to something else

unknown22 08-27-2010 01:13 AM

It only said this

Code:

if (THIS_SCRIPT != 'showroster') {
    if ($vbulletin->options['showroster_navbar_tab'] == 1) {
        $accessgroups = explode(',', $vbulletin->options['showroster_access_groups']);
        $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;
        }

        //if (THIS_SCRIPT == 'showroster')
        //{
        //    $vbulletin->options['selectednavtab'] = 'showroster';
        //}
        //$template_hook['navtab_end'] .= vB_Template::create('showroster_navbar')->render();
        $templater = vB_Template::create('showroster_navbar');
            $templater->register('accessgroups', $accessgroups);
        $template_hook[$nbloc] .= $templater->render();
    }
}


Sarcoth 08-27-2010 01:38 PM

Look again, but this time look at the entire plugin; not just the code.

unknown22 08-27-2010 03:03 PM

Yea i see the xml document from the zip file of showroster and see where to change it but i don't see it on the vbulletin admincp.

Sarcoth 08-27-2010 04:11 PM

Quote:

Originally Posted by Dragonsys (Post 2090009)
the one you import into admincp. That msg was more for Sarcoth. if you have the mod installed, then yo ugo to Admincp -> Plugins & Products -> Plugin Manager -> Product : Showroster Mod -> ShowRoster Tab for Navbar (edit)
Change Execution Order from 5 to something else

Quote:

Originally Posted by unknown22 (Post 2090365)
Yea i see the xml document from the zip file of showroster and see where to change it but i don't see it on the vbulletin admincp.

@unknown - Dragonsys told you exactly how to get to the plugin in the admincp, there is no other way to describe it. Once in the plugin, you can't miss the Execution Order. Ignore the xml file, that was directed at me and not you. That would do you no good since you've already installed the mod.

@Dragonsys - Yea, I know where that is, I plan to switch it in the next version if I ever make one. :) I guess what I meant to say is that I wish I knew how I could control that as an option on the ShowRoster settings page.

Dragonsys 08-27-2010 06:14 PM

1 Attachment(s)
Quote:

Originally Posted by Sarcoth (Post 2090385)
@Dragonsys - Yea, I know where that is, I plan to switch it in the next version if I ever make one. :) I guess what I meant to say is that I wish I knew how I could control that as an option on the ShowRoster settings page.

lol I gotcha ;)
you know, that is a good question. I might have to look into that.

Quote:

Originally Posted by unknown22 (Post 2090365)
Yea i see the xml document from the zip file of showroster and see where to change it but i don't see it on the vbulletin admincp.

Not sure how else to tell you how to find it, so here's a picture

asbc 08-31-2010 04:23 AM

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?


All times are GMT. The time now is 02:43 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.01851 seconds
  • Memory Usage 1,856KB
  • 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
  • (5)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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