![]() |
Quote:
Edit: Figured it out...see two posts down. |
Ok ive managed to understand the variant and add images. This is my example below:
www.sog-team.co.uk/forum/showroster.php This is the information contained in the templates: showroster_usergroup Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Code:
<tr> Hope that helps |
OK...I figured it out.
I had ALL of my usergroups included on the View Forum Leaders. (Namely because I want all my users to show on this special page if they filled out the custom field irregardless of their usergroup). Problem is, there's too many to list...so the white page. When I took the biggest usergroup off of the View Forum Leaders...the page started displaying perfectly. So...two things:
|
Quote:
Meaning. If Germany is their country, are you referring to Germany.gif? EDIT: I just saw your second post. That's exactly what I was going to be suggesting as long as the files were in the same format as the country name. Otherwise, I was going to put some code in the PHP file that would make the whole word lowercase. Glad you got it working. |
Quote:
Quote:
Quote:
|
Thanks Sarcoth,
I'd like it to only show users who have entered anything into field5. (so if nothing was entered in field5, they would not be included) Thanks a lot for your assistance! |
Quote:
Code:
if (sizeof($groupcache) >= 1) Code:
if (sizeof($groupcache) >= 1) |
I managed to get the users avatar working in mine using https://vborg.vbsupport.ru/showthread.php?t=83150
I am using this for more of an "About Us" page http://www.goblinarmy.com/community/aboutus.php My showroster_usergroup Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> My showroster_usergroupbit Code:
<tr height=150> |
That great SgtOliver. The funny thing is I have been working on it since yesterday and just got it work about an hour ago but went out to lunch. I'll post my changes here for you anyhow. Use them if you are interested.
Open the showroster.php file. *************************** Find: Code:
require_once('./global.php'); Code:
require_once(DIR . '/includes/functions_user.php'); Find: Code:
($hook = vBulletinHook::fetch_hook('showgroups_user')) ? eval($hook) : false; Code:
$avatarurl=fetch_avatar_url($user[userid]); Add a column for the Avatar header to your showroster_usergroup template. Code:
<td class="thead">Avatar</td> Add a column for the Avatar image to your showroster_usergroupbit template. Code:
<td class="$bgclass">$avatarimage</td> You would also have to make some table adjustments (ie. colspan) to get it all even again. The spacer.gif image I am using is attached if you want to use that as well. That's it. |
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" |
All times are GMT. The time now is 04:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|