vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Customizable Roster (https://vborg.vbsupport.ru/showthread.php?t=180432)

Sarcoth 05-29-2008 09:45 PM

Quote:

Originally Posted by IR15H (Post 1535495)
Some Questions

1) My suggestion for custom order is to have all usergroups named with a number in front of it: 1-, 2-, etc. Then put something like the following within the .php file to change the $user['title'] names to what you want to appear.

Code:

switch($user['title']) {
        case '1-A':
                $Title = "A";
                break;
        case '2-D':
                $Title = "D";
                break;
        }

Then you need to figure out how to get that into your template.

2 & 3) I'll look into that when time permits.


Quote:

Originally Posted by IR15H (Post 1535495)
Some Suggestions

I'll definitely try out your suggestions and put those in my next version, thank you.

Quote:

Originally Posted by IR15H (Post 1535495)
A Request

I originally tried to do that when I first started off making this mod but had some problems. I have a much better understanding of the code now though and will see about getting it changed for the next version. Again, thank you.

michael5472 06-01-2008 09:05 PM

Quote:

Originally Posted by IR15H (Post 1535495)
I don't know how to enable BB code in the field, and I can't view users profiles without signing up, so don't know what else you use the "Play Monitor" field for, but a possible idea that may you might find suitable is;
  • Change your "Play Monitor" description to say "Enter the server IP you wish to track".
  • Enter the IP in that field: eg; 217.163.28.224:28960
  • In your showroster_userbits template, put this;


If that's not of any use to you then I'm afraid you'll have to wait for someone else to reply regarding enabling BB code, as I can't help you.

This worked with a bit of tweaking

I put this code in
HTML Code:

<td class="$bgclass" nowrap="nowrap"><if condition="$user[field15]"><img src="http://www.gametracker.com/server_info/$user[field15]/b_560x95.png" alt="$user[field15]" border="0" /><else />No Server Tracked</if></td>
THANKS A LOT

michael5472 06-02-2008 05:21 AM

ok i just showed my members what i had been working on and one thinks it would be a good idea to have the profile pic on like the avatarl.

How would i work this in ?

Code Monkey 06-02-2008 05:49 AM

Is this limited to one clan only or can it be used by multiple clans that home at a forum? To show their own separate clan page.

Dagothar 06-03-2008 11:43 AM

Well, I apologize, but my newness to vBulletin has potentially screwed something here. Your instructions were very clear, and I've been looking forward to your roster.

But I see no difference to the configurable Members List nor to the Roster/Show Groups (View Forum Leaders' Page).
I've ensured I've added the 3 files to the correct place; I've followed all the Readme.txt instructions.
Why would it then not show? It should replace the Members List, correct?

Sarcoth 06-03-2008 11:55 AM

Quote:

Originally Posted by michael5472 (Post 1538384)
ok i just showed my members what i had been working on and one thinks it would be a good idea to have the profile pic on like the avatarl.

How would i work this in ?

I'll see what I can figure out on that.


Quote:

Originally Posted by Code Monkey (Post 1538400)
Is this limited to one clan only or can it be used by multiple clans that home at a forum? To show their own separate clan page.

I'm sure it can be done with multiple clans. The easiest way would probably be to have separate showroster.php files for each clan. Just rename the showroster.php to the name of your clan like, clan1roster.php. Add a new field that has the players pick their clan. Somewhere near the top of the code, set up an <if> statement that only runs the code for those that happen to be in that particular clan.

I'm sure there's a way you could also do it with just the showroster.php file and by adding some more code, I just can't see it yet. As long as your fields are not too difficult, I could try to come up with something for you.



Quote:

Originally Posted by Dagothar (Post 1539620)
Well, I apologize, but my newness to vBulletin has potentially screwed something here. Your instructions were very clear, and I've been looking forward to your roster.

But I see no difference to the configurable Members List nor to the Roster/Show Groups (View Forum Leaders' Page).
I've ensured I've added the 3 files to the correct place; I've followed all the Readme.txt instructions.
Why would it then not show? It should replace the Members List, correct?

Did you go to the /forum/showroster.php? You'll need to type that in and make a link to it somewhere on your site. You could find where the Member List code is in the navbar template and change the link too.

Dagothar 06-03-2008 12:53 PM

Quote:

...Did you go to the /forum/showroster.php? You'll need to type that in and make a link to it somewhere on your site. You could find where the Member List code is in the navbar template and change the link too.
:erm: :up: :D
No, I hadn't. But type that in, and Voil?, there it is!
Now to find that pesky navbar code...
Thanks!!

Sarcoth 06-04-2008 02:46 AM

<font color="Blue">UPDATE ALERT:

I've done a lot of updates on this mod over the last week. I am hoping to have the new version posted by the end of the week; Sunday maybe. The only thing I'm missing is the new permissions change that IR15H requested. I've always wanted to get switched over to that. I haven't looked at it yet, but I should have some time this week or weekend.

IR15H - I think I made all the changes you mentioned. I also have a working version with the color coded last activity you requested. I'll see about giving an optional addition for DOB for those that want it.

Michael - I added a profilepic part as well for those that want to use it.</font>

Brian30fl 06-04-2008 03:55 PM

are u adding the ability to have differant guilds to be used instead of just 1? or maybe seperate roster pages?

Sarcoth 06-04-2008 04:39 PM

Quote:

Originally Posted by Brian30fl (Post 1540723)
are u adding the ability to have differant guilds to be used instead of just 1? or maybe seperate roster pages?

Brian, I'll try to dabble in that a little this week and see how far off I would be from implementing it. If I can't finish it by the end of this week though, I'll make that my top priority for the next version. I've been playing with some idea's lately though and I think I know how it can be done; no promises yet.


All times are GMT. The time now is 01:51 PM.

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.01328 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_html_printable
  • (9)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
  • (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