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 03-27-2007 08:30 PM

I updated the hack to version 1.02 for anyone that is interested.

I am planning to add the ability to sort the columns but I'm concerned what effect that will have on the current design. I like the current usergroup/user look of it. If that doesn't flow with sorting, I may have to make a separate hack for it.

BTW, please pay close attention to the fact that I changed the names of some variables. You do not need to do this upgrade if you are happy with your current version. If you update, follow all the steps over again so you don't miss anything.

Thank you to all those that have installed this hack.

m002.p 03-27-2007 08:32 PM

Great "First Install" :D

Sarcoth 03-27-2007 08:33 PM

Quote:

Originally Posted by m002.p (Post 1213918)
Thanks Sacroth.

I have another question, how do you create the title for the page like the one in your demo "Clan Roster"?

Ie the title you have "Sacred Haven - Vanguard Guild Roster"

Here's the code I use for my SHOWROSTER template. You'll have to make adjustments depending on the template you are using. BTW, that's my real guild roster too. Makes a great demo I think. :)

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[show_roster]</title>
</head>
<body>
$header
$navbar

<table width="100%"  cellpadding="0" cellspacing="0" border="0">
        <td width="9" height="6"><img width="9" height="6" border="0" src="images/Darkness/darkness/a4.gif"></td>
        <td width="100%" height="6" background="images/Darkness/darkness/a5.gif"></td>
        <td width="9" height="6"><img width="9" height="6" border="0" src="images/Darkness/darkness/a6.gif"></td>
</table>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr align="center">
                <td class="tcat">Sacred Haven - $vbphrase[show_roster]</td>
        </tr>
</table>

<table width="100%"  cellpadding="0" cellspacing="0" border="0">
        <td width="9" height="6"><img width="9" height="6" border="0" src="images/Darkness/darkness/a1.gif"></td>
        <td width="100%" height="6" background="images/Darkness/darkness/a2.gif"></td>
        <td width="9" height="6"><img width="9" height="6" border="0" src="images/Darkness/darkness/a3.gif"></td>
</table><BR>

$usergroups (or $rosterheader)

$footer
</body>
</html>


Brian31fl 03-27-2007 08:36 PM

can u make it where its shows differant groups than forum leaders?

Sarcoth 03-27-2007 08:38 PM

Quote:

Originally Posted by Brian31fl (Post 1213938)
can u make it where its shows differant groups than forum leaders?

What do you mean Brian? I'm willing to give you help with almost anything on this. I'm having a lot of fun with the coding. Learning something new everytime someone asks me a question. :)

Also, check back to the following post in case that answers your question.

https://vborg.vbsupport.ru/showpost....6&postcount=30

Brian31fl 03-27-2007 08:46 PM

Quote:

Originally Posted by Sarcoth (Post 1213940)
What do you mean Brian? I'm willing to give you help with almost anything on this. I'm having a lot of fun with the coding. Learning something new everytime someone asks me a question. :)

Also, check back to the following post in case that answers your question.

https://vborg.vbsupport.ru/showpost....6&postcount=30

basicly i want the roster to show differant usergroups then whats on the forum leaders page is it possable to do that?

m002.p 03-27-2007 08:54 PM

the new mod doesnt seem to be functioning Sacroth. The page doesnt display (ie the usergroup bits) :S

Sarcoth 03-27-2007 08:56 PM

Oh. Yes, it is possible. That is something I am working on as well. I forgot to mention that in post #61. My goal is to steer away from the showgroups and include a new group. I could probably get it working with a few code adjustments in the .php file, but I'd rather get it done the right way. Sounds like something I should focus on next and just put sorting off a little longer.

I'll send out an update message when I get that one done.

Sarcoth 03-27-2007 08:58 PM

Quote:

Originally Posted by m002.p (Post 1213948)
the new mod doesnt seem to be functioning Sacroth. The page doesnt display (ie the usergroup bits) :S

Did you follow the new steps? I'll verify everything when I get home. Time for me to go.

Brian31fl 03-27-2007 09:00 PM

Quote:

Originally Posted by Sarcoth (Post 1213950)
Oh. Yes, it is possible. That is something I am working on as well. I forgot to mention that in post #61. My goal is to steer away from the showgroups and include a new group. I could probably get it working with a few code adjustments in the .php file, but I'd rather get it done the right way. Sounds like something I should focus on next and just put sorting off a little longer.

I'll send out an update message when I get that one done.

okay thanks would like to see that :) since i want my forum leaders and guild roster seperate.

thanks for the fast reply


All times are GMT. The time now is 01:42 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.01279 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_code_printable
  • (5)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