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 03-15-2010 03:08 PM

Quote:

Originally Posted by k10i (Post 2003948)
In it that and the problem - me is not necessary registration date in a roaster. It is necessary for me, that date of last visiting of a forum was in the field deduced

If try {vb:raw userinfo.datejoined} registration date is deduced normally.

I see what you were asking now. You want to have Last Visit displayed. Use the following:

{vb:raw userinfo.lastactive}

I have it in the next version already.

Sarcoth 03-15-2010 03:37 PM

Quote:

Originally Posted by Front Range 4x4 (Post 2003899)
Nice job Sarcoth! Installed, any tips on getting the users avatars to display?

I have the Profile Pics and Avatars now working, but there was a lot of code changes to the php file involved. Rather than give a walk through on how to do it all, I'd rather wait until the new version is released. There are still a lot of things I'd like to update, but I may release it tonight or tomorrow. If not, Friday will be the target release day. Why not Wed or Thurs? I have a couple tests those days and I will be busy studying and taking tests.

Front Range 4x4 03-15-2010 05:07 PM

I think everyone would rather wait until you're ready to release the update. Thanks for your effort.

CoZmicShReddeR 03-16-2010 08:24 AM

I think what your doing is totally awesome!

I tried this update for some reason nothing is working with the styles...

But then I might have goofed something... I do have profile fields that have the same numbers. Will look into it more later today...

Sarcoth 03-16-2010 01:36 PM

@ Cozmic - That's the first time I've heard of it not working. Let me know if you continue to have issues and let me know what you've done. Double check my instructions too.

CoZmicShReddeR 03-16-2010 07:34 PM

Template in the database from Show Roster 4.00 didn't uninstall had to use phpmyadmin and remove it...

There was other information that that didn't uninstall from 4.00 had to remove from database as well...

I think it was a glitch from the older version with the group permissions not being uninstalled...

Found a blank permissions row in user groups add group showroster in admincp
under it was the show roster permissions

After I wiped everything from the database I cleared the catche and reinstalled worked beautiful!

Great job on this your surely headed in a great direction!:up:

k10i 03-16-2010 08:19 PM

Quote:

Originally Posted by Sarcoth (Post 2004127)
I see what you were asking now. You want to have Last Visit displayed. Use the following:

{vb:raw userinfo.lastactive}

I have it in the next version already.

thx, all work )

Sarcoth 03-16-2010 11:35 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2004987)
Template in the database from Show Roster 4.00 didn't uninstall had to use phpmyadmin and remove it...

There was other information that that didn't uninstall from 4.00 had to remove from database as well...

I think it was a glitch from the older version with the group permissions not being uninstalled...

Found a blank permissions row in user groups add group showroster in admincp
under it was the show roster permissions

After I wiped everything from the database I cleared the catche and reinstalled worked beautiful!

Great job on this your surely headed in a great direction!:up:

Ahhh, did you try to revert the template (That's in Step 0)? That's the way to remove your edited templates without having to go into the DB. I'm glad you got it working though.

Quote:

Originally Posted by k10i (Post 2005005)
thx, all work )

NP.

Sarcoth 03-17-2010 01:37 PM

4.0.2 has been released. Let me know if you encounter any problems upgrading.

If you are upgrading from 4.0.0, you need to uninstall everything first and revert your templates if you made changes. Remember to back everything up first (templates & php file). Upload the new files (php and bitfield.xml) and install the product.xml.

If you are upgrading from 4.0.1, you probably don't need to uninstall everything. Backup your templates if you made changes though. Upload the new php file; no changes to the bitfield file.

There are a lot of settings that you can change in the ShowRoster Settings so enjoy. Remember to adjust the Usergroup setting so the correct usergroups can view the roster. I forgot to add permissions for the Roster tab AGAIN so I'll try to add that next time. Basically, all usergroups can see the tab, but only the usergroups you add can see the page. I'm going to try to also give you more ability to control where the tab is displayed in the next version. Eventually, I also want to control the sorting from the mini menu where you see Default Sort, but I'm still not quite sure on how I'm going to do that yet.

I have a lot of things I'd like to do, so I'll continue upgrading this as time permits. I'll get back to work on upgrades Friday. I have a test tomorrow though so back to studying. Feel free to ask questions and I'll answer them the best I can.

Oh, and the PHP file is a little dirty. I haven't removed unneeded code this version because I want to make sure everything is working fine before I start removing things. I put // in front of those items so it won't hurt or slow down anything.

Sarcoth 03-19-2010 01:55 PM

1 Attachment(s)
I had a major breakthrough yesterday; the displaygroups option finally works which will allow you to avoid editing each usergroup. The install now allows you to make all setting adjustments from the ShowRoster Settings page.

Since it is only one update, I'm not going to release a package for it yet, but if you are interested, I'll attach a sneak preview of the two files here. If you use these, please remember to delete the bitfield_showroster.xml file in the includes/xml directory (it is no longer needed). You'll also have to do an uninstall this time around to remove the showrosteraddpermissions column in your usergroup table.

Please forgive the code mess in the php file. I usually don't clean up things until it is ready for full release.

Enjoy!

EDIT: xml removed and added back 2 posts down.


All times are GMT. The time now is 07:57 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.01544 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
  • (5)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