vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Profile Enhancements - Customizable Roster (Member List) (https://vborg.vbsupport.ru/showthread.php?t=141311)

Sarcoth 04-20-2007 06:01 PM

Quote:

Originally Posted by m002.p (Post 1232056)
Hmm ive just installed and get this:

http://www.sog-team.co.uk/forum/showroster.php

It appears the "<" correspond to the usergroup member count :s

Any ideas?

BTW also the member count is not in the header correctly; am I correct in thinking that this "right%" is only to adjust the alignment of the total count text? Im guessing some code is set incorrectly here :s

EDIT: I think the "showroster_sort_title" isnt correct. The phrase doesnt appear on the roster as it is not in the phrase manager.

Thanks

Matt

Matt, how did you upgrade? Did you start from scratch? It looks like you have an extra < somewhere.

The "right: #%" is only for adjusting alignment away from the right margin.

Yea, I did it again. I was supposed to take the "_sort" part out of the optional.txt. I'm going to update it now with the correct update. I'll also relook over the code to see if a < was added somewhere on accident.

m002.p 04-20-2007 06:07 PM

I was running the first version you released. I backed up the templates then imported your product allowing overwrite.

I then noticed the old templates were left "showroster_usergroups" & "showroster_usergroupbits" then reverted those to delete.

The showroster template got overwritten as you would expect.

Thanks Sarcoth

Matt

Sarcoth 04-20-2007 06:14 PM

Regarding the "<". Look at the top line of your showroster_userbit template. :)

I bet it looks like: <<tr>

m002.p 04-20-2007 06:17 PM

you were close lol it was the "<td" underneath :)

Thanks Sarcoth

BTW.... regarding the Member count text, is that my genuine fault or some coding? :s

Sarcoth 04-20-2007 06:22 PM

NP. :)

Quote:

Originally Posted by m002.p (Post 1232138)
BTW.... regarding the Member count text, is that my genuine fault or some coding? :s

I don't understand, it looks correct to me. You are free to change the words or edit it another way if you like. I was just providing a default.

m002.p 04-20-2007 06:24 PM

ah i see now.....

You must be using Net explorer.

Try using Firefox ;)

The error is clearly seen

But yes for some reason IE seems to correct it :)

Sarcoth 04-20-2007 06:26 PM

Ahhh, my bad. Sorry, I can only use IE here at work, so because of that, I do the same at home. Feel free to change the coding around to work with all browsers.

BTW, the sorting looks great on your roster. I can probably come up with a way for the group title to work for the username group as well. I'll post something shortly.

m002.p 04-20-2007 06:30 PM

Thats the thing... im not sure what is wrong with the code. Here is what I see:

Could you perhaps identify what might need changing?

http://www.sog-team.co.uk/gallery/file.php?n=28&w=o

^ Thanks, yes i will have a play myself if you dont object, but i will look forward to hearing from you regarding that :)

Sarcoth 04-20-2007 06:40 PM

It looks like Firefox forces "DIV" to go to the next line like it would normally do in IE. The only reason IE doesn't put it on the next line is because of the "position: absolute". Maybe change the <div and </div> to <span and </span>.

For your username thing, do this:

First, change the [musername] to just musername without the brackets in the SHOWROSTER template.

Then in your showroster_header template:

Find:
Code:

<tr>
        <td class="tcat" colspan="10">$user[$groupsort] &nbsp; ($usercount)</td>
</tr>

Change to:
Code:

<tr>
        <if condition="($groupsort == 'musername')"><td class="tcat" colspan="10">Usernames &nbsp; ($usercount)</td>
        <else /><td class="tcat" colspan="10">$user[$groupsort] &nbsp; ($usercount)</td></if>
</tr>

That should work like a charm. :)

m002.p 04-20-2007 06:49 PM

You are one hell of a coder ;)

Fantastic work I cannot fault it one bit ;)

BTW... are you going to add that "whos online" status to your instructions?

Instead of doing it the way I did, you can add the code to the showroster.php file also ;)

Ask me if you need any code for it.

Matt

This needs nominating as mod of the month :)


All times are GMT. The time now is 09:45 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.01473 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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