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)

ViktorDA 03-20-2010 02:39 PM

Avatar is not displayed I think because of an incorrect path to the avatar. And no matter where it is stored or base or in the folder as a file

Sarcoth 03-20-2010 03:16 PM

Gotcha. It probably has something to do with avatar settings then. Since I have my settings a certain way, it is working for me. I need to figure out a way to get it to work for everyone though. Can you tell me all your avatar settings?

Front Range 4x4 03-20-2010 03:24 PM

If the avatars path relates to the profile rather than postbit that would probably explain my issue since I don't have the avatar visible in the profile.

Sarcoth 03-20-2010 04:10 PM

@Front Range - Ahha! I think I understand the problem now. I'll see what I can do about the avatars then. But, I'm also concerned about your joined date and last activity not working either.

CoZmicShReddeR 03-20-2010 04:23 PM

Also with Fixed theme "Member Count" is pushed outside the table...

Also would like to see is the sort table spread out with the display tables...

ViktorDA 03-20-2010 06:28 PM

I also found a variable already in the code page:
PHP Code:

<table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="1" bordercolor="#565545" width="100%" align="center"

variable $stylevar probably not processed.

Front Range 4x4 03-20-2010 06:30 PM

Quote:

Originally Posted by Sarcoth (Post 2007118)
I'm also concerned about your joined date and last activity not working either.

I'll have to re-visit those Sarcoth, I'll edit the templates again and see if it's my error which it very well may be. Unregistered users can view it now if you'd like to see it.

Front Range 4x4 03-20-2010 06:36 PM

Joined date is now working even though 'on in ACP - I just removed just the <if> </if>

I'll have to do some more editing for the last activity but suspect that will work the same.

edit: Last Activity is also working, removed <if> statement as above

Front Range 4x4 03-20-2010 06:58 PM

As mentioned previously my modification to the Profile is probably the cause if the avatar not showing and not worth figuring out. I'm extremely pleased with it now that the Joined Date & Last Activity are displayed. Thank you for the great mod & support, I hope I didn't waste your time on what appears to have been my error.

:up:

Sarcoth 03-20-2010 08:44 PM

@ Front Range - NP. I'm curious about those IF statements. I do have some in there now because there are new options that you need to set in the ShowRoster Settings which turn the Joined Date/Last Activity on. Although, they are on by default.

@ Viktor - Thanks, I'll take care of those.

@ Cosmik - Can I see your roster so I can look at what you mean? I think I know, but I'd like to see what it is doing. You'll need to give unregistered users permissions to view.

CoZmicShReddeR 03-20-2010 09:06 PM

Ok I loaded it back... Having issues with the beta 4.03 version with usergroups... :)

I have uninstall it to update groups!

Front Range 4x4 03-20-2010 09:18 PM

Quote:

Originally Posted by Sarcoth (Post 2007226)
@ Front Range - NP. I'm curious about those IF statements. I do have some in there now because there are new options that you need to set in the ShowRoster Settings which turn the Joined Date/Last Activity on. Although, they are on by default.

I have them turned on but it didn't help, once I removed the IF statements they popped right up. :cool:

CoZmicShReddeR 03-21-2010 12:29 AM

Also sorting can that be a drop down menu that might help the spacing out and would look nicer...

Sarcoth 03-21-2010 06:53 AM

Quote:

Originally Posted by Front Range 4x4 (Post 2007237)
I have them turned on but it didn't help, once I removed the IF statements they popped right up. :cool:

Did you download the new .php file as well? I just noticed the new xml file had more views than the php so I'm thinking that some of you were installing the new xml and not using the new php file. The post with the xml said the php file was 2 posts up. :p

Quote:

Originally Posted by CoZmicShReddeR (Post 2007320)
Also sorting can that be a drop down menu that might help the spacing out and would look nicer...

I'm not sure what you mean.

CoZmicShReddeR 03-21-2010 06:41 PM

It was suggested to me to create a drop down menu for people to chose how they want to see the listing/sort instead of the table where you can click on the info to change the order you have a drop down menu with the listing of like where it says status at the top and there is a row of all the info about the roster users...

Sarcoth 03-22-2010 12:14 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2007694)
It was suggested to me to create a drop down menu for people to chose how they want to see the listing/sort instead of the table where you can click on the info to change the order you have a drop down menu with the listing of like where it says status at the top and there is a row of all the info about the roster users...

Interesting. You gave me an idea. I'll see what I can do.

Sarcoth 03-22-2010 06:03 PM

1 Attachment(s)
All sorting should be working in this beta version. See attachment if you want to try it out. I haven't seen any errors. Please keep in mind, ALL options for this version are set in the ShowRoster Settings. There is no need to edit any usergroups. The bitfield file in the includes/xml folder can be deleted to avoid confusion.

Before I release the next full version:

1) I still want to get the avatar problem fixed, but I am having problems duplicating the problem. I need to know some options that you have on your forums before I can figure out what to do on mine. If you have a problem with the avatars working and you have a duplicate of your forums set up as a test site, let me know. I'd like to use that as a test bed so I can work out that problem. In the meantime, I'll keep looking into it.

2) I'm going to try and put together a different type of sorting area like Cozmic suggested. That is what I am working on now.

EDIT: #2 has been completed. I guess I'll release 4.0.3 as soon as I can figure out how to do the avatars. The zip file has been updated.

Check out my roster to view some of the changes: http://sacredhaven.org/forumsh/showroster.php
The Adventure/Crafting Level columns are set to a single table format. You can do that with any column. You can also adjust the direction they are sorted.

EDIT again: I found a small problem with the sorting again. I thought I had it all worked out, but apparently I missed something. The default sort works perfectly, but once you do another sort, the users with blanks for the column you are sorting will not appear on the list. That's fine, but it is supposed to be an option to do that. I'll figure it out tonight.

CoZmicShReddeR 03-22-2010 08:43 PM

I uninstalled the previous version and installed the one you just posted with the new showroster.php

I am having issues with the usergroups with this latest one it doesn't show and it makes a field in usergroups with a button but no info and when I click the button and click ok I get a database error...

Code:

Database error in vBulletin 4.0.2:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Registered Users',
        `description` = '',
        `usertitle` = '',
        `opentag` = '',
        `closetag` = '',
        `passwordexpires` = '0',
        `passwordhistory` = '0',
        `downloads2permissions` = '127',
        `downloads2extrapermissions` = '0',
        `excludecatlist` = '',
        `downloadsmaxuploadtotal` = '-1',
        `downloadsmaxdailydl` = '-1',
        `downloadsmaxdailyfiles` = '-1',
        `downloaddelaygrp` = '60',
        `micromembers` = '31',
        `psiwd_options` = '0',
        `forumpermissions` = '12317183',
        `attachlimit` = '0',
        `showrosteraddpermissions` = '1',
        `trmpermissions` = '0',
        `dbtech_vbactivitypermissions` = '2',
        `vbblog_general_permissions` = '519166',
        `vbblog_customblocks` = '5',
        `vbblog_custompages` = '5',
        `vbblog_entry_permissions` = '8191',
        `vbblog_comment_permissions` = '974',
        `dbtech_vbshoutpermissions` = '2108',
        `genericpermissions` = '1579685575',
        `pmquota` = '50',
        `pmpermissions` = '3',
        `pmsendmax` = '5',
        `pmthrottlequantity` = '0',
        `calendarpermissions` = '63',
        `wolpermissions` = '1',
        `adminpermissions` = '0',
        `genericpermissions2` = '1',
        `genericoptions` = '62',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '100',
        `avatarmaxheight` = '100',
        `avatarmaxsize` = '30000',
        `signaturepermissions` = '237567',
        `sigpicmaxwidth` = '500',
        `sigpicmaxheight` = '100',
        `sigpicmaxsize` = '10000',
        `sigmaxrawchars` = '1000',
        `sigmaxchars` = '500',
        `sigmaxlines` = '0',
        `sigmaxsizebbcode` = '7',
        `sigmaximages` = '4',
        `albumpermissions` = '255',
        `albumpicmaxwidth` = '600',
        `albumpicmaxheight` = '600',
        `albummaxpics` = '100',
        `albummaxsize` = '0',
        `usercsspermissions` = '63',
        `visitormessagepermissions` = '63',
        `socialgrouppermissions` = '251767',
        `maximumsocialgroups` = '5',
        `groupiconmaxsize` = '65535'
WHERE usergroupid=2;

MySQL Error  : Unknown column 'showrosteraddpermissions' in 'field list'
Error Number  : 1054
Request Date  : Monday, March 22nd 2010 @ 05:40:13 PM
Error Date    : Monday, March 22nd 2010 @ 05:40:13 PM
Script        : http://www.cozworld.com/admincp/usergroup.php?do=update
Referrer      : http://www.cozworld.com/admincp/usergroup.php?do=edit&usergroupid=2
IP Address    : 99.158.234.165
Username      : CoZmicShReddeR
Classname    : vB_Database
MySQL Version : 5.1.41

Also the Roster tab only shows when I go to the http://www.cozworld.com/showroster.php

Sarcoth 03-22-2010 09:37 PM

Did you delete the bitfield_showroster.xml in the includes/xml folder? Also, you have to put usergroups id's you want on the roster in the ShowRoster Setting options now.

CoZmicShReddeR 03-22-2010 10:20 PM

Ok deleting bitfield_showroster.xml fixed the showing empty field in usergroup issue!

But the Nav button not showing globally still exists... I tried disabling the tab mod didn't show even after trying 1-9 for position to show tab...

Sarcoth 03-23-2010 12:51 AM

1 Attachment(s)
@ Cozmic - Got it working. No changes to the showroster.php file. I'll repost the beta version for further testing. Just do an install, no need to reinstall Cozmic. BTW, the tab button order setting (What order would you like your Roster tab to appear on the Navbar?) doesn't work yet. I may have to remove that from the release.

If you have 4.0.2 installed, you will have to uninstall and do a fresh install of this version. MAKE SURE YOU DELETE THE BITFIELD_SHOWROSTER.XML FILE in the includes/xml folder before doing this install.

CoZmicShReddeR 03-23-2010 07:50 AM

Awesome the tab is finally showing globally!

Also too is under "Permission Settings" ; "Usergroups displayed on the roster" I set it too show 26,25,21 but the view order is showing 26, 21, 25 can you make it so it forces the display order?

And another thing maybe way down the road would be to have the gamecard mod/ icons work with this like maybe even the actual banners since with a guild or clan it would come as a helpful addition since we both use xfire at least... Might be just allow the user field to be edited by whatever script those use from the post bit and have an example here how to add the script might be really simple just need to be able to edit the view field area...

But first things first... :)

Sarcoth 03-23-2010 11:29 AM

Quote:

Originally Posted by CoZmicShReddeR (Post 2008636)
Awesome the tab is finally showing globally!

Also too is under "Permission Settings" ; "Usergroups displayed on the roster" I set it too show 26,25,21 but the view order is showing 26, 21, 25 can you make it so it forces the display order?

And another thing maybe way down the road would be to have the gamecard mod/ icons work with this like maybe even the actual banners since with a guild or clan it would come as a helpful addition since we both use xfire at least... Might be just allow the user field to be edited by whatever script those use from the post bit and have an example here how to add the script might be really simple just need to be able to edit the view field area...

But first things first... :)

I had to be sneaky to get that to work, but I'm glad it is working. In regards to those usergroupids displayed on the roster...I think the mod would have to be fully rebuilt to get it to do that. I've already looked at it once, and I just didn't see a way. There is an alternative though and I'm looking into it. You'll need to do what I do though. Change your usergroup titles to something so they are alphabetically. Take a look at my roster to see what I mean. I'll then see if I can use the Description or User Title for that Usergroup for display rather than the title.

It's easy to make adjustments to each private own roster, but I don't know about putting in those types of selections. That's something I'll probably add to the HOW TO document. Who knows though, we'll see.

I also still need to fix a small sorting malfunction, but I'll get to it tomorrow. Not to mention that I would like to get the avatar thing working, but without knowing what settings are preventing it...I'm having a hard time figuring out what to do there. Someone said they have avatar's off in the profile's, but what setting controls that?

I doubt I'll be available the rest of the day, so I'll check back this evening.

Shadawg 03-24-2010 11:57 AM

I liked this mod, but it would be nice to have the usergroups displayed in whatever order wanted by using the i.d's, i.e. 6,2,8,12,7,5 etc....

Sarcoth 03-24-2010 02:24 PM

@ Cozmic - I was at a LabView programming seminar yesterday and a possible solution for arranging the usergroups came to me. Surprisingly, I actually got it working 5 minutes ago. I won't need to rewrite the code like I thought I might have to do. So, in the next version you will now be able to arrange the usergroups from the display field in the ShowRoster settings.

I still have to fix the sorting problem I found and the avatar's before I release it though.

Sarcoth 03-24-2010 04:21 PM

Frontrunner confirms that the avatars are working in this version as well, so that just leaves my sorting issue and this should be ready for release.

CoZmicShReddeR 03-24-2010 05:01 PM

Well I am excited you were able to fix the group sorting issue! Am eager to see what lies down the road with your abilities! Hopefully this hasn't been interfering with your studies too much!

Front Range 4x4 03-24-2010 10:02 PM

I just need to say thanks again Sarcoth. While my use is far from the clan/guild it's pretty easy for anyone to modify this for just about any member list format they would care to have. I run a 4x4 club and have this set to provide a snapshot view of all members profile information including added fields, avatar, join/activity dates, etc.

Very nice for anyone wanting the perfect memberlist alternative.

*installed*
*nominated*
*very happy*

Sarcoth 03-25-2010 03:10 PM

Welcome. I was trying to get the release done before I went out for lunch, but sadly I encountered yet another problem with the sorting. The sorting is very tricky and probably the most difficult part of the coding. If and Switch statements make it do one thing or another and I'm even having a hard time keeping track of them now. Fun stuff though.

Anyhow, yesterday I had come to a decision that I just couldn't get the usergroup thing to work without breaking the sorting. I had given up. While I was typing the message here though, another idea came to me; and it worked. I figured, since sorting by usergroupid is only important when...SORTING by usergroupid, I could add an IF...Statement for that. Bingo, that did the trick. So, this way, when sorting via another field, it will use the old code for that which works for the other fields.

Well, that sounded all good, but while retesting things this morning after a fresh install, I noticed that something wasn't right with the sorting again. I'll have to recheck the code again to double check, but now groups appear to always want to start off with ASC, so maybe I copied something out of old code over my new stuff and screw the sorting up for some dumbass reason. I need some food now though, so off to lunch.

CoZmicShReddeR 03-25-2010 04:28 PM

Well take your time don't rush it rather see a Master Piece of your work then a horrible numbered job!;)

Sarcoth 03-25-2010 05:13 PM

Thanks, but this is no where near a master piece. That would be the EasyForms code. I can't believe all the stuff banana was able to do in that thing. I'm lower than a beginner compared to him.

Well, I'm either crazy or somehow the code is randomly causing the sorting issue. I don't see how it could occur randomly, so I must be losing it. I looked over the code, couldn't find the problem, went back and tested it again and nothing was wrong. I walked away, came back, tested again, and thought I saw the problem again. I threw my hands up, retested, and nothing. I have now tested it over and over and I don't think the problem is there. I'm going to release the new version now.

If you are a new user of this mod installing it for the first time, it is very basic. Upload the showroster.php file and install the product_showroster.xml file.

If you are upgrading from a previous version, I recommend you play it safe and just delete all the old files and do a fresh install. If you don't delete the bitfield_showroster.xml file, you will have problems.

If you are upgrading from the beta 4.0.3 version, you should be safe just copying over the new showroster.php file and installing (overwriting) the beta. Although, you will need to revert your template changes if you want all the new code to take affect. I had to really do a number on the code this time. I really don't see how I will ever remember what it all does. :)

Please let me know if you find any problems. I'll consider suggestions but my week off from school is almost over and I need to get back to homework and studying.

XLCR GODFATHER 03-25-2010 09:46 PM

If the sort option could sort by and group together members by social group this mod would be perfect for me

CoZmicShReddeR 03-26-2010 10:11 AM

Quote:

Originally Posted by XLCR GODFATHER (Post 2010273)
If the sort option could sort by and group together members by social group this mod would be perfect for me

If you mean like Facebook, Myspace this mod was originally intended for Guilds and Clans if I am not mistaken. You can make it show for specific user fields... Just have it use the registered user and for Filtering User the user field for Facebook or Myspace but you can only pic one with 4.03 might be a good suggestions to allow to have it filter to more then one and have it show in certain order.. Then for it to show for all users set it to Usergroups displayed which by default is Group #2...

Anyways for suggestions for this mod:
I was going to suggest it would be neat to set it by leaders of certain groups with a title if possible then have a list under those groups/subgroups then have it tear down into other subgroups which would be ideal for huge Guilds as well for runs if you set it to an event system!

Maybe even have it re-size the user images and avatars to show it in a tear system and then you could have user info in a small quick mini profile box show somewhere...

There is a Tournaments & Ladders mod here for just such a system but the roster could be ideal if it could produce a separate list for events maybe hooked into the calender...

But I see it like this for a Group that has separate group leaders and you want to have those leaders run separate groups of people underneath them for that day, week, month or year...

Leader Boards might be a better name then Roster Mod with all of this!

1st Division | 2nd Division | 3rd Division
Division Leader | Devision Leader | Devision Leader
1 Senior Officer | 1 Senior Officer | 1 Senior Officer
10 Members | 3 Members | 3 Members
3 Recruits | 2 Recruits | 1 Recruit

Now the members could be set to show just the list in a row of boxes if the system was too full rather then just showing all members at first glance. Then when you view the group it expands shows the actual user accounts with pictures and other info...

Sarcoth 03-26-2010 12:30 PM

@ Cozmic - Sadly, I don't see this mod being able to do that. A new one would have to be built. The code in this one only allows for users to be divided into groups. Rather than try and rework this code to make it do subgroups and sub-subgroups, it would be better if someone just started something from scratch.

For me, I mainly built this for use with my guild and then posted it to share with others. The suggestions were boundless and I was sucked into wanting to upgrade further. I don't mind adding to what is already here, but I doubt I'll have the time to rebuild it from the ground up. If there are options within the scope of this mod, I'll do my best to add them if they are within my power.

@ XLCR - I think he means the social groups within vBulletin. I know there is a table for that, but I'd need to see more interest in it (from people that click install) if I were to consider looking into it.

CoZmicShReddeR 03-26-2010 12:51 PM

Whatever you have built so far has been fine!

I am willing to support you along the way if you so chose to continue your work...:up:

Sarcoth 03-26-2010 01:26 PM

Thanks, I appreciate that. BTW, the roster looks operational Cozmic. May I suggest you not include the Wii column till someone is using it. You can probably also set up links for each of those profiles so if someone clicks on an ID it takes you to a page.

Time to study, online exam due by Sunday.

CoZmicShReddeR 03-26-2010 07:27 PM

Quote:

Originally Posted by Sarcoth (Post 2010529)
Thanks, I appreciate that. BTW, the roster looks operational Cozmic. May I suggest you not include the Wii column till someone is using it. You can probably also set up links for each of those profiles so if someone clicks on an ID it takes you to a page.

Time to study, online exam due by Sunday.

Sure thing! Thanks!

kevius 03-27-2010 02:16 PM

i'm sorry but, where is the sort menu ?????

dennisuello 03-28-2010 03:35 AM

How do I rename the tab? I don't want it to say Roster.

XLCR GODFATHER 03-28-2010 04:03 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2010467)
If you mean like Facebook, Myspace this mod was originally intended for Guilds and Clans if I am not mistaken. You can make it show for specific user fields... Just have it use the registered user and for Filtering User the user field for Facebook or Myspace but you can only pic one with 4.03 might be a good suggestions to allow to have it filter to more then one and have it show in certain order.. Then for it to show for all users set it to Usergroups displayed which by default is Group #2...

Anyways for suggestions for this mod:
I was going to suggest it would be neat to set it by leaders of certain groups with a title if possible then have a list under those groups/subgroups then have it tear down into other subgroups which would be ideal for huge Guilds as well for runs if you set it to an event system!

Maybe even have it re-size the user images and avatars to show it in a tear system and then you could have user info in a small quick mini profile box show somewhere...

There is a Tournaments & Ladders mod here for just such a system but the roster could be ideal if it could produce a separate list for events maybe hooked into the calender...

But I see it like this for a Group that has separate group leaders and you want to have those leaders run separate groups of people underneath them for that day, week, month or year...

Leader Boards might be a better name then Roster Mod with all of this!

1st Division | 2nd Division | 3rd Division
Division Leader | Devision Leader | Devision Leader
1 Senior Officer | 1 Senior Officer | 1 Senior Officer
10 Members | 3 Members | 3 Members
3 Recruits | 2 Recruits | 1 Recruit

Now the members could be set to show just the list in a row of boxes if the system was too full rather then just showing all members at first glance. Then when you view the group it expands shows the actual user accounts with pictures and other info...

The only reason I asked is I have altered my languages for social groups to list as squads, group owners=squad leaders etc. as this is how I keep my large clan more organized.

Having the roster display and sort by the social group would just create an easier way for members to view them. The only thing I see was the ability to sort by a userprofile field but with the way my set up is this would create more work changing the value of the field everytime a member joins or transfers to a squad manually. My user groups are set up for the squad leaders to accept or remove members from their squads at will, with minimal effort. My member ranking system is directaly tied to the user groups and the squad leaders have the ability to alter the user groups under them for changing ranks.

Please forgive me I am new to all this and a little unfamiliar with some of the more complex coding found on vb.org. But I have been learning fairly quickly.


All times are GMT. The time now is 05:08 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.01629 seconds
  • Memory Usage 1,891KB
  • 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_php_printable
  • (9)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
  • (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