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)

Sarcoth 07-15-2010 02:11 PM

Quote:

Originally Posted by Dragonsys (Post 2069501)
I got this working.
1 = Secondary Group Membership only
2 = Primary or Secondary Group Membership
Default = Primary Group Membership only

You can see it in action here:
Default - http://forums.texas-fbody.org/showroster.php
1 - http://forums.texas-fbody.org/showroster.php?m=1
2 - http://forums.texas-fbody.org/showroster.php?m=2
With Group ID - http://forums.texas-fbody.org/showroster.php?m=1&id=12

Very cool stuff Dragon. I am actually working on some other code for the roster, but I would be interested in using this as well. Credit to you for your help on this, nice work. :)

Sarcoth 07-16-2010 03:39 PM

Just a quick update. I only did about a few hours a day work on updating this a week for the last month. I am redoubling my efforts to get an update out soon though, hopefully next week. I am nearing completion of the style revisions (big thanks to Irish for help on that), just a few more tweaks and I can finish up a couple other things I have been working on. I can't swear I used everything that Irish suggested, but I really like having a CSS file now. It will allow users to edit the CSS rather than making those changes to the mod templates.

I also will have Dragon's revised code in the next version as well.

For those that are having style problems with their roster, please wait till the next version.

Sarcoth 07-22-2010 01:54 PM

Just another heads up. After some banging our heads together, Dragon's additional code is working for me now. It will be in the next version. I do need to add a few more things and am planning to do that today. I should have all testing completed by tomorrow or this weekend. I will aim for a Monday release.

Trek 07-22-2010 08:20 PM

Nice to hear Sarcoth, I've been waiting for this update myself. =)

Sarcoth 07-23-2010 07:40 PM

Okay, I think it is done. I'm going to send it to a couple users for testing while I work on typing up some new help files. It should be released on Monday or Tuesday unless I can finish the docs this weekend.

Please don't ask to be one of the testers. I will get it out soon.

Trek 07-23-2010 07:51 PM

Quote:

Originally Posted by Sarcoth (Post 2073516)
Okay, I think it is done. I'm going to send it to a couple users for testing while I work on typing up some new help files. It should be released on Monday or Tuesday unless I can finish the docs this weekend.

Please don't ask to be one of the testers. I will get it out soon.

Good to hear! May my roster no longer look like crap, thank you! =)

TripleChin 07-24-2010 02:23 AM

Quote:

Originally Posted by TripleChin (Post 2038826)
I love this mod. I am have done a few custom tweeks to it and would like some help with one I can't seem to work out.

In lieu of displaying a particular profile field, I would like to display an image in it's place. The field is not required, so some users will have it and other's won't. I am attempting to only display if the user has selected 'Yes'.

In "showroster_userbits" template I have made the following modification without success. If you have a suggestion as to how I could get it working that would be great.

Code:

<vb:if condition="$show[field4th]"><td nowrap="nowrap" align="center"><vb:if condition="$userinfo.$column[columns4] == /yes/i"><img src='http://myimages.com/image.gif'></vb:if></td></vb:if>
Thank you.

Does anyone have any suggestions to the questions I posted?

Sarcoth 07-24-2010 03:00 AM

Quote:

Originally Posted by TripleChin (Post 2073681)
Does anyone have any suggestions to the questions I posted?

Not sure about your second IF condition there, but why not use something like:
<vb:if condition="$userinfo.$column[columns4] != ''">{vb:var userinfo.{vb:var columns[column4]}}<vb:else /><img src='http://myimages.com/image.gif'></vb:if>

Not 100% sure about that since I am a little rusty with the fields. If that does not work, I can take a look at it next week once the new version is released.

Here is how the entire line will look in version 4.0.4:
Code:

<vb:if condition="$show[field4th] AND exec_switch_bg()"><td><vb:if condition="$userinfo.$column[columns4] != ''">{vb:var userinfo.{vb:var columns[column4]}}<vb:else /><img src='http://myimages.com/image.gif'></vb:if></td></vb:if>

Sarcoth 07-24-2010 04:52 AM

Mod has been updated. I know this has been long in the waiting. Please let me know any issues that you find and I will try to get them fixed promptly. To those I sent a pre-release version to, download this one and use it instead. I ended up adding a few more things to the final.

Thank you and enjoy!

ProFifaLeagues 07-24-2010 05:53 AM

Loving this mod thanks Sarcoth great work.


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